LCM LCM Calculator
Least Common Multiple · Free Math Tool
Instant · Free · No signup Works for 2–6 positive integers

Prime Factorization

Home » Prime Factors

Break a number into primes. Highest powers across a set of factorizations give you the LCM; lowest powers give you the GCD.

Integer greater than 1
Result
—
360 = 23 × 32 × 5 — press Factorize to confirm.

Why primes matter for LCM

Math notes and equations

Once every number is written as primes, LCM becomes a bookkeeping exercise: scan each prime column and keep the tallest exponent. No listing multiples, no missed commons.

Number235
12223—
18232—
30235
LCM22325

LCM(12,18,30) = 22 × 32 × 5 = 180.