About the GCF Calculator
FreeToolr's GCF Calculator finds the greatest common factor of the numbers you enter. GCF is also called greatest common divisor, or GCD, and highest common factor, or HCF. Students, teachers, parents and anyone checking integer work can use it for fractions, ratios, grouping problems and basic number theory. Enter your numbers, and the result updates as you type. The calculator applies Euclid's method, which reduces each pair through remainders. For three or more numbers, it applies the method in turn. You do not press a calculate button. The result appears in your browser, and your numbers are not uploaded. You can copy the result or share a link that reopens with the same numbers. This gives you a quick answer while keeping the input available for checking.
How to use it
- 1Enter your numbers in the input field.
- 2Separate multiple numbers with commas, spaces or new lines.
- 3Read the GCF as the result updates instantly.
- 4Copy the result or share a link that reopens with your numbers.
Worked example
For 24, 36 and 60, first find gcd(24, 36) = 12. Then find gcd(12, 60) = 12. The GCF is 12.
The formula
Euclid's method: gcd(a, b) = gcd(b, a mod b) until the remainder is 0For more numbers, apply it in turnSource: NIST: Greatest common divisorNIST Dictionary of Algorithms: Euclid's algorithmWolfram MathWorld: Euclidean Algorithm. Last checked 2 November 2026.
What it is good for
- Updates the GCF as you type, with no calculate button.
- Keeps your numbers in the browser without uploading them.
- Lets you copy the result or share the calculation link.
- The result shows the GCF only. It does not show prime-factorization or step-by-step working.
Questions people ask
What is the GCF?
The greatest common factor is the largest positive integer that divides every input without a remainder. For 12 and 18, the GCF is 6.
Is GCF the same as GCD and HCF?
Yes. Greatest common factor, greatest common divisor and highest common factor describe the same value. GCF is common in US materials, while HCF is common in UK and Nigerian school maths.
How do you find the GCF of three or more numbers?
Find the GCF of the first two numbers. Then find the GCF of that result and the next number, continuing in order.
What is the GCF of 24, 36 and 60?
The GCF is 12. Twelve divides 24, 36 and 60 without a remainder.
What does a GCF of 1 mean?
It means the inputs share no factor greater than 1. The numbers are collectively coprime, but they do not all need to be prime.
How can the GCF simplify a fraction?
Divide the numerator and denominator by their GCF. For example, dividing 24 and 36 by 12 reduces the fraction to 2/3.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.