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.
- 1Enter the numbersTwo or more whole numbers
- 2Press Find GCFResults update as you type
- 3See two methodsPrime 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
- NumbersHow to Calculate Percentage: 3 Formulas and Quick TricksThe three types of percentage question, mental shortcuts, a fraction table and the reverse percentage.4 min read · Updated 12 October 2026
- StudentsSGPA to CGPA: How to Calculate It with CreditsThe credit-weighted formulas for SGPA and CGPA, a worked grade card, and the SGPA needed for a target.4 min read · Updated 12 October 2026
- StudentsGPA on the 4.0 Scale: A Guide for Indian StudentsThe 4.0 scale, how GPA is calculated, why Indian marks don't convert directly, and what to report.4 min read · Updated 12 October 2026
Sources
Last reviewed: 15 October 2026

