GCF and LCM Calculator

Your details

Switch between individual number boxes and a single comma-separated list.
Choose which method to display in the step-by-step panel.
GCF (Greatest Common Factor)Common factors exist
6

Largest positive integer that divides all the numbers evenly

LCM (Least Common Multiple)36
GCF prime factorization2 x 3
LCM prime factorization2^2 x 3^2
GCF x LCM6 x 36 = 12 x 18 = 216
Divisors of GCF1, 2, 3, 6
GCF6
LCM36

GCF = 6, LCM = 36

  • The GCF is 6, meaning 6 is the largest number that divides all your inputs without a remainder.
  • Relationship check: 6 x 36 = 12 x 18 = 216. This identity always holds for two numbers.
  • The LCM is 36. This is the smallest number into which all your inputs divide evenly, useful for adding fractions with different denominators.
  • GCF prime factorization: 2 x 3. Every input shares at least these prime factors.

Next stepTo simplify a fraction, divide both numerator and denominator by the GCF. To find a common denominator, use the LCM of the two denominators.

= Powered by OnlyCalculators