Greatest Common Divisor (GCD) Calculator

Your details

Enter two or more whole numbers separated by commas or spaces. Decimals and negative signs are ignored; only the integer part is used.
All three methods always give the same GCD. The method choice only affects which step-by-step working is shown.
Greatest Common Divisor (GCD)
12

Largest integer that divides every number in your list exactly

Least Common Multiple (LCM)720
All common factors1, 2, 3, 4, 6, 12
Numbers entered2
GCD12
LCM720

GCD = 12: every number in your list is divisible by 12.

  • The GCD 12 is the largest number that divides all your inputs without a remainder.
  • All 6 common factors: 1, 2, 3, 4, 6, 12.
  • The LCM is 720. Notice that GCD x LCM = product of the two numbers (12 x 720 = 8640).
  • GCD is used to simplify fractions: divide numerator and denominator by their GCD to get the lowest terms.

Next stepTo simplify a fraction whose numerator and denominator appear in your list, divide both by 12.

= Powered by OnlyCalculators