GCF Calculator
Greatest common factor of two or more whole numbers from their prime factorisations — with the shared prime core and the LCM alongside.
Greatest common factor
Note: Whole numbers only — decimals are rounded and signs ignored, since GCF is defined for positive integers.
Greatest Common Factor, Built From Primes
The GCF (also called HCF or GCD) is the largest number that divides every number in your list exactly. The transparent method: factorise each number into primes, keep only the primes that appear in every factorisation, take each at its lowest power, and multiply. For 48 = 24 × 3 and 180 = 22 × 32 × 5, the shared primes at their lowest powers are 22 × 3 = 12. The calculator shows both factorisations and the shared core, plus the LCM as a companion figure.
Worked Example
Simplifying the fraction 48/180 starts here: divide top and bottom by GCF(48, 180) = 12 to get 4/15 in one step instead of three rounds of dividing by 2 and 3. The LCM line reads 720, and the two-number identity checks it: 12 × 720 = 8,640 = 48 × 180. For big numbers the Euclidean algorithm (repeated remainders) is faster than factorising, and it returns the same answer — the factorisation view is kept here because it shows why.
GCF, LCM and Simplifying
Reach for the GCF whenever a ratio, recipe or fraction must shrink without changing: scaling a 48:180 mix down to 4:15, splitting 48 boys and 180 girls... into the largest equal groups with nobody left over (groups of 12), or tiling a 48 × 180 floor with the biggest possible square tiles (12 × 12). If two numbers share no prime at all their GCF is 1 — they are coprime, and the fraction they form is already in lowest terms.
Frequently Asked Questions
How do I find the GCF of two numbers?
Factorise both, keep the primes they share at the lowest powers, and multiply. For 48 and 180 the shared core is 2 squared x 3 = 12.
Is GCF the same as GCD and HCF?
Yes — greatest common factor, greatest common divisor and highest common factor are three names for the same number.
What if the GCF comes out as 1?
The numbers are coprime: they share no prime factors. A fraction built from them is already in its lowest terms.
How does the GCF simplify fractions?
Divide the top and bottom by it once. 48/180 divided by 12 becomes 4/15 in a single step instead of several rounds of dividing by 2 and 3.