GCF Calculator
Free GCF calculator with the Euclidean algorithm step-by-step. Find the greatest common factor (GCD) of two or more numbers — instant answer plus the working.
How to Calculate GCF?
The Greatest Common Factor (GCF), also known as the Greatest Common Divisor (GCD), is the largest positive integer that divides two or more numbers without leaving a remainder. It's useful for simplifying fractions and solving various mathematical problems.
Finding GCF of Multiple Numbers:
- Find the GCF of the first two numbers
- Use that result to find the GCF with the next number
- Continue until all numbers are processed
GCF(12, 18, 24) = 6
Finding GCF using Prime Factorization:
- Find the prime factors of each number
- Identify the common prime factors
- Multiply the common prime factors with the lowest exponents
48 = 2⁴ × 3
60 = 2² × 3 × 5
GCF(48, 60) = 2² × 3 = 12
Common GCF examples
| Numbers | GCF |
|---|---|
| 12, 18 | 6 |
| 24, 36 | 12 |
| 15, 25 | 5 |
| 8, 12, 16 | 4 |
| 20, 30, 40 | 10 |
| 7, 11 | 1 |
| 100, 200 | 100 |
About this GCF calculator
This calculator accepts any list of two or more positive integers — comma-, space-, or newline-separated — and returns their greatest common factor along with the full Euclidean working. GCF, GCD and HCF are three names for the same thing; this tool uses GCF as the label but the result is identical whichever term your textbook uses. The step-by-step box prints both the Euclidean reduction (remainders chain) and the prime-factorization view, so the calculator works as both a quick answer and a study aid.
Frequently Asked Questions

