LCM Calculator (Least Common Multiple)

Find the Least Common Multiple of two numbers.

Formula

LCM(a,b) = |a×b| / GCF(a,b)
  • GCF calculated with Euclidean algorithm.

LCM(12, 18)

Inputs
  • Number A: 12
  • Number B: 18

GCF=6; LCM = 216/6 = 36

Frequently asked questions

What is LCM?
The smallest positive integer divisible by both a and b.