VerifySolveSolve a problem

LCM Calculator — the smallest multiple, proven

Type two or more numbers and get the least common multiple by the prime-power method — every factorization shown, the GCD alongside. Then this lcm calculator proves nothing smaller works by testing each prime factor's removal.

  • ✓100% free — no paywall, ever
  • ✓No sign-up, no app
  • ✓Every answer verified before you see it

In short

To find an LCM, factor every number into primes, take the highest power of each prime that appears, and multiply: LCM(12, 18) = 2² × 3² = 36. This lcm calculator shows the factorization of each input, the highest-power table, and the GCD — then proves the answer is divisible by every input and that nothing smaller works.

The prime-power method, in four lines

One method handles every LCM problem: factor, compare powers, multiply. This lcm calculator names each move so the method transfers to your homework.

Factor each number

12=22×3,18=2×3212 = 2^2 \times 3, \qquad 18 = 2 \times 3^2

LCM: highest powers

LCM=22×32=36\mathrm{LCM} = 2^2 \times 3^2 = 36

GCD: lowest powers

GCD=21×31=6\mathrm{GCD} = 2^1 \times 3^1 = 6

The two-number check

LCM(a,b)=a×bGCD(a,b)\mathrm{LCM}(a, b) = \frac{a \times b}{\mathrm{GCD}(a, b)}

Worked examples — factored, compared, proven least

From a pair to a triple to coprime numbers. Every note is the divisibility check — the same verification this lcm calculator prints on every problem.

LCM(12, 18)

  1. 1.12 = 2² × 3, 18 = 2 × 3²
  2. 2.Highest powers: 2² and 3²

LCM = 2² × 3² = 36, GCD = 6

Check: 36 ÷ 12 = 3 ✓, 36 ÷ 18 = 2 ✓, and 36 ÷ 2 = 18 is not a multiple of 12 — nothing smaller works.

LCM(8, 12, 20)

  1. 1.8 = 2³, 12 = 2² × 3, 20 = 2² × 5
  2. 2.Highest powers: 2³, 3, 5

LCM = 2³ × 3 × 5 = 120, GCD = 4

Check: 120 ÷ 8 = 15 ✓, 120 ÷ 12 = 10 ✓, 120 ÷ 20 = 6 ✓.

LCM(7, 13)

  1. 1.7 and 13 are both prime — no shared factors
  2. 2.Highest powers: 7 and 13

LCM = 7 × 13 = 91, GCD = 1

Coprime numbers: the LCM is just the product, and the GCD is 1. Check: 91 ÷ 7 = 13 ✓, 91 ÷ 13 = 7 ✓.

LCM(24, 36)

  1. 1.24 = 2³ × 3, 36 = 2² × 3²
  2. 2.Highest powers: 2³ and 3²

LCM = 2³ × 3² = 72, GCD = 12

Cross-check: 24 × 36 ÷ 12 = 72 ✓ — the two-number identity agrees.

Common mistakes — and how to dodge them

Multiplying everything together

12 × 18 = 216 IS a common multiple — but not the least. The LCM reuses shared prime factors instead of counting them twice: 2² × 3² = 36. Multiplying blindly always overshoots when the numbers share factors.

Taking the wrong power

For 12 = 2² × 3 and 18 = 2 × 3², the LCM needs 2² (the higher 2-power) and 3² (the higher 3-power). Taking 2¹ or 3¹ gives 12 or 18 — numbers that are not multiples of both inputs. Highest power wins, every time.

Mixing up LCM and GCD

LCM is the SMALLEST number both divide into (36 for 12 and 18); GCD is the LARGEST number dividing both (6). They are mirror images — highest powers vs lowest powers — and this lcm calculator shows both so the pair is never confused.

LCM Calculator — questions

What is the least common multiple?

The smallest positive number that is a multiple of every input: LCM(12, 18) = 36, because 36 is divisible by both 12 and 18 and nothing smaller is. It is the number you need whenever cycles, schedules or fraction denominators have to line up.

How does this lcm calculator verify its answer?

Two checks, both computed: the answer is divided by every input (all remainders must be 0), and minimality is tested by removing each prime factor in turn — if 36 ÷ 2 = 18 were still a multiple of 12, 36 would not be least. The GCD is also re-checked by Euclid's algorithm.

What happens with negative numbers?

Signs are dropped first, by the standard convention: multiples do not depend on sign, so LCM(−12, 18) is LCM(12, 18) = 36. The steps show the absolute-value step openly, so nothing is hidden.

Why is the GCD shown too?

Because the two are one method: the LCM takes the HIGHEST power of each prime, the GCD takes the LOWEST. Seeing both side by side makes the prime-power method click — and for two numbers, LCM × GCD = a × b gives a second, independent route to the same answer.

How many numbers can it handle?

From 2 to 6 numbers, each up to 10¹². More than 6 makes the prime-power table unreadable, so the limit keeps the steps honest and readable instead of cramped.

Is the lcm calculator free?

Yes — free, no sign-up, no app, full steps and verification included.

Keep solving

A note on honest use: VerifySolve is built for learning. Use the steps to understand the method, then close the tab and try one on your own — that is where the grade actually comes from. If your teacher or school has a policy on calculators, follow it.