GCF Calculator
GCF(a,b) via Euclidean algorithm: repeatedly replace larger by remainder until zero.48=18×2+12; 18=12×1+6; 12=6×2+0 → GCF=6
Free online tool
Enter two integers to find their GCF using the Euclidean algorithm.
Instant calculation
Enter two integers to find their GCF using the Euclidean algorithm.
Your numbers stay in this browser. Nothing is uploaded or saved.
Three clear steps
Type the first integer.
Type the second integer.
Calculate to see the greatest common factor.
The formula
The greatest common factor is the largest integer that divides both numbers evenly.
GCF(a,b) via Euclidean algorithm: repeatedly replace larger by remainder until zero.48=18×2+12; 18=12×1+6; 12=6×2+0 → GCF=6
Check the method
Each example follows the same formula used by the calculator.
48=18×2+12; 18=12×1+6; 12=6×2+0 → GCF=66Common questions
The GCF Calculator helps you find the greatest common factor of two numbers. Enter your values and select Calculate to get an instant result.
The greatest common factor is the largest integer that divides both numbers evenly.
Example: GCF of 48 and 18? — 6.
No. All calculations run locally in your browser. Your inputs and results are never uploaded, stored or shared with anyone.
Yes. The GCF Calculator is completely free. No account, sign-up or payment is required. It works on mobile, tablet and desktop.
Continue calculating