GCF Calculator
Free GCF calculator: enter two whole numbers to find their greatest common factor instantly using the Euclidean algorithm - with steps shown.
About this tool
The greatest common factor is the largest number that divides two numbers evenly - the key that unlocks fraction simplification. The GCF of 48 and 180 is 12, which is why 48/180 reduces cleanly to 4/15.
Instead of listing every factor by hand, this calculator uses the Euclidean algorithm: an ancient, lightning-fast method that repeatedly replaces the larger number with the remainder of dividing by the smaller one. Two thousand years old, still the best way.
How to use
Enter two whole numbers (1 or larger) and press Find GCF.
You get the greatest common factor immediately, plus a bonus: the fraction a/b reduced to lowest terms using that factor. Students can use it to check homework; everyone else can use it to simplify ratios, recipes, and proportions.
The math behind it
Euclidean algorithm: GCF(a, b) = GCF(b, a mod b), repeating until the remainder is 0 - the last non-zero remainder is the GCF. Example: GCF(48, 180) -> GCF(180, 48) -> GCF(48, 36) -> GCF(36, 12) -> GCF(12, 0) = 12.
Once you have the GCF, dividing both numbers by it gives the simplest form of any fraction or ratio built from them.
Frequently asked questions
What is the difference between GCF and GCD?
What is the GCF used for in real life?
What if the two numbers share no factors?
Related tools
💬 Comments
Have a question about this page, or an idea to make it better? Share it below — your feedback helps everyone who uses this site.