Skip to main content
DigiCalcs

How to Calculate GCF

What is GCF?

The Greatest Common Factor (GCF), also called Greatest Common Divisor (GCD), is the largest integer that divides two or more numbers exactly. Used in simplifying fractions, finding common denominators, and solving Diophantine equations.

Step-by-Step Guide

  1. 1Prime factorization method: factor each number, take common prime factors with lowest powers
  2. 2Euclidean algorithm: GCF(a,b) = GCF(b, a mod b), repeat until remainder is 0
  3. 3GCF(a,b) × LCM(a,b) = a × b
  4. 4GCF of two primes is always 1 (they share no common factors)

Worked Examples

Input
GCF(48, 18)
Result
6
48=2⁴×3, 18=2×3² → GCF=2×3=6
Input
GCF(100, 75)
Result
25
100/25=4, 75/25=3, both exact

Ready to calculate? Try the free GCF Calculator

Try it yourself →

Settings

PrivacyTermsAbout© 2026 DigiCalcs