CalcVind

HCF Calculator (GCF / GCD)

Greatest common factor of two or more numbers

By Team Vind · Updated · How we check

Quick answer: The HCF (GCF) is the largest number that divides all the inputs exactly: multiply the prime factors they share, or use Euclid's method.

Example: Whole numbers: 48, 180. This gives GCF of 48, 180: 12.

Your Numbers

Separate numbers with commas or spaces.

Greatest Common Factor

12GCF of 48, 180
720
LCM
2² × 3
GCF as primes

Working

  1. 48 = 2⁴ × 3
  2. 180 = 2² × 3² × 5
  3. GCF = shared primes at their lowest power = 12
  4. Euclid's method:
  5. 180 = 3 × 48 + 36
  6. 48 = 1 × 36 + 12
  7. 36 = 3 × 12 + 0
Read the guide · 4 minHCF and LCM: Methods, Formula and Word ProblemsRead the guide · 4 minFractions: How to Add, Subtract, Multiply and Divide
  1. 1
    Enter the numbers
    Two or more whole numbers
  2. 2
    Press Find GCF
    Results update as you type
  3. 3
    See two methods
    Prime factors and Euclid

How is the GCF found?

The greatest common factor is the largest number that divides every input exactly. Two ways to find it:

Prime factors: multiply the primes they share, at the lowest power

Euclid: GCF(a, b) = GCF(b, a mod b), until the remainder is 0

Example

48 = 2⁴ × 3 and 180 = 2² × 3² × 5. They share 2² and 3, so the GCF is 4 × 3 = 12.

Where GCF is used

Simplifying fractions (divide top and bottom by the GCF), splitting things into equal groups, and cutting tiles or fabric into the largest equal squares.

Related calculators

Frequently asked questions

Is GCF the same as HCF?

Yes. Greatest common factor (GCF), highest common factor (HCF) and greatest common divisor (GCD) are three names for the same thing.

What does it mean if the GCF is 1?

The numbers are co-prime: they share no factor other than 1, like 8 and 15.

How do I use the GCF to simplify a fraction?

Divide the numerator and denominator by their GCF. 48/180 ÷ 12 = 4/15.

How do I find HCF by the division method?

Divide the larger number by the smaller, then divide the divisor by the remainder, and repeat until the remainder is 0. The last divisor is the HCF: for 48 and 180, 180 ÷ 48 leaves 36, 48 ÷ 36 leaves 12, 36 ÷ 12 leaves 0, so the HCF is 12.

Related guides

Sources

Last reviewed: 15 October 2026