Greatest common factor (GCF) calculator

Updated 30 November 2026 ยท ClearCost USA ยท 4 min read

The greatest common factor is the largest number that divides all your numbers: GCF(48, 36) = 12.
Advertisement

How do you find the greatest common factor?

Use the Euclidean algorithm: divide the bigger number by the smaller and keep the remainder, then repeat with the smaller number and that remainder until the remainder is 0. The last divisor is the GCF.

What is the GCF of 84, 126?

126 รท 84 leaves 42; 84 รท 42 leaves 0, so the GCF is 42. The LCM is 252.

Advertisement

What are common GCF answers?

The table below gives ready answers for common values; the calculator above works for any value.

GCF examples

NumbersGCFLCM
12, 18636
24, 361272
48, 18012720
17, 511751
100, 7525300
14, 21, 357210
81, 272781

How does this calculator work?

It uses the Euclidean algorithm. Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.

For more, see the math, statistics and date calculators page, least common multiple (LCM) calculator, fraction calculator, fraction to decimal converter and decimal to fraction converter.

Advertisement

Related searches

People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.

  • how to find gcf on calculator
  • factor out the greatest common factor calculator
  • how to find the greatest common factor on a calculator
  • factoring by gcf calculator
  • gcf variable calculator
  • gcf of polynomials calculator
  • greatest common factor calculator with variables
  • gcf calculator with solution
  • gcf calculator with variables
  • factor using gcf calculator

Sources and further reading

Questions people ask

Is GCF the same as GCD?
Yes, greatest common factor and greatest common divisor are the same.
What is the GCF of two primes?
1; you can check it with the greatest common factor tool above.
Why use GCF?
To simplify fractions and factor expressions.
What is GCF of 12 and 18?
6; you can check it with the greatest common factor tool above.
Can GCF be bigger than a number?
No, it is at most the smallest number.
What does relatively prime mean?
Two numbers with GCF 1.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement