MathCalcLab
Language

LCM & GCD Calculator

Find least common multiple and greatest common divisor with step-by-step solutions

Enter integers separated by commas or spaces.

GCDLCMn₁n₂GCD ⊆ Numbers ⊆ LCM

GCD is the greatest common divisor, LCM is the least common multiple

Results

Enter values and click Calculate to see the result.

Theory

Gcd title

  • Gcd desc1
  • Gcd desc2
  • Gcd desc3
  • Gcd desc4

Lcm title

  • Lcm desc1
  • Lcm desc2
  • Lcm desc3
  • Lcm desc4

Relationship title

  • Relationship1
  • Relationship2
  • Relationship3

Worked Examples

Example 1

\(\text{GCD}(12, 18) = 6, \text{LCM}(12, 18) = 36\)

Example 2

\(\text{GCD}(24, 36, 48) = 12, \text{LCM}(24, 36, 48) = 144\)

Concept check

What is the relationship between LCM(a, b) and GCD(a, b)?
LCM & GCD Calculator | MathCalcLab | MathCalcLab