Skip to content
CalcSolver

LCM and GCF Calculator

Find the least common multiple and greatest common factor.

Result

GCF = 6

LCM = 180

  1. Numbers: 12, 18, 30.
  2. GCF so far with 18 → 6.
  3. GCF so far with 30 → 6.
  4. LCM so far with 18 → 36.
  5. LCM so far with 30 → 180.

Formula

GCF via Euclidean algorithm; LCM(a,b) = |a·b| / GCF(a,b)

How it works

Enter two or more whole numbers. Results update as you type.

Common wrong answer

Swapping LCM and GCF, or ignoring zeros.

Related tools

Related guides