- Mathematics and Other
- Find LCM
- Find HCF
- Matrix Addition
- Matrix Subtraction
- Matrix Multiplication
- Triangle Area and Circumference
- Celsius to Fahrenheit
- Pascal's Triangle
- Explanation of Leap Year
- Computer Programming
- Learn Python
- Python Keywords
- Python Built-in Functions
- Python Examples
- Learn C++
- C++ Examples
- Learn C
- C Examples
- Learn Java
- Java Examples
- Learn C#
- Learn Objective-C
- Web Development
- Learn HTML
- Learn CSS
- Learn JavaScript
- JavaScript Examples
- Learn SQL
- Learn PHP

# How to Find HCF

You will learn how to find the highest common factor (HCF) of two or more than two numbers by following the steps in this article. But before we jump right into the method to find HCF, let's first make sure we fully grasp what it is.

## What is HCF?

HCF is an abbreviation for "Highest Common Factor." It is the greatest of all the common factors of two or more numbers (from which HCF is to be calculated).

The highest common factor is also known as:

- Greatest Common Measure (GCM)
- Greatest Common Divisor (GCD)
- Greatest Common Factor (GCF)

Factors of a number are the numbers that divide the number. For example, the factors of 10 are: 1, 2, 5, and 10.

Let's move on to the next step and learn how to calculate the HCF of two or more numbers.

## Steps to find the HCF of two or more numbers

Follow the steps below in order to determine the highest common factor of two or more sets of numbers:

- Write down all the factors of the given numbers.
- Only the common factors from all of the factors should be searched for and written down.
- The highest common factor is the HCF.

It's time to take a look at a full command for calculating the HCF of two or more numbers. So, without further ado, let us begin with an example.

## Find the HCF of two numbers: Example

Let me start by calculating the HCF of two numbers first. For example, to find the HCF of 18 and 27, write down all factors first as shown below.

**Factors of 18:**1, 2, 3, 6,__9__, and 18**Factors of 27:**1, 3,__9__, and 27

From the list of all factors in both numbers, the common factors are 1, 3, and 9. And since the highest factor among these three common factors is 9, Therefore, the HCF of 18 and 27 is 9. This can be written as follows:

HCF(18, 27) = 9

## Find the HCF of three numbers: Example

Now, to find the HCF of three numbers, we have to follow the same steps. For example, to find the HCF of 8, 9, and 25, write down the common factors of all three numbers as shown below:

**Factors of 8:**__1__, 2, 4, and 8**Factors of 9:**__1__, 3, and 9**Factors of 25:**__1__, 5, and 25

There is only one common factor among all three numbers, which is 1. As a result, the HCF of 8, 9, and 25 can be written as follows:

HCF(8, 9, 25) = 1

Now, to find the HCF of more than three numbers, you need to use the same procedure. To find the HCF, regardless of the number count, we need to follow the same steps.

#### Programs Created Using This

« Previous Topic Next Topic »