LCM Calculator

Least common multiple of two or more numbers — free, private, no signup. It works alongside the factoring calculator, the lead tool in this group.

2+ numbers Euclid method Free forever

✓ Meets the ToolVaultly Standard · Last tested: Oct 10, 2026

Try

🔒Private by design. Everything runs in your browser — nothing is uploaded or stored.
Quick answer: enter two or more numbers above — the calculator instantly finds their least common multiple, e.g. LCM of 6 and 10 is 30.

LCM calculator

Short answer: the LCM (least common multiple) is the smallest number divisible by all your numbers. Enter them above — e.g. LCM(4, 6, 8) = 24.

Least common multiple

Short answer: the least common multiple of 6 and 10 is 30 — the smallest number both divide into evenly. The calculator uses LCM(a,b) = |a × b| ÷ GCD(a,b), extended across all numbers.

What is LCM in math?

Short answer: LCM means least common multiple — the smallest positive integer that is a multiple of each number in a set. It's also called the least common denominator when adding fractions.

Worked example: LCM of 8, 12 and 15

Step 1 — Prime factorisations: 8 = 2³, 12 = 2² × 3, and 15 = 3 × 5.

Step 2 — Take the highest power of every prime that appears anywhere: 2³, 3 and 5.

Answer: LCM = 2³ × 3 × 5 = 120. Check: 120 ÷ 8 = 15, 120 ÷ 12 = 10 and 120 ÷ 15 = 8 — all whole numbers, and no smaller number manages all three.

This prime factorisation method beats listing multiples once the numbers grow, because you never write out long lists — the highest powers do all the work.

The LCM × GCF rule

For any two numbers, the numbers multiplied together always equal their LCM multiplied by their GCF: a × b = LCM(a, b) × GCF(a, b). Test it on 12 and 18: 12 × 18 = 216, and LCM 36 × GCF 6 = 216. So if you know one of the pair, the other is a single division away — LCM(12, 18) = 216 ÷ 6 = 36. Note the rule holds for two numbers only; with three or more numbers, use the prime factorisation method above instead.

Where the LCM shows up: timetables and denominators

Scheduling problems are LCM problems in disguise. If one bus leaves every 20 minutes and another every 30 minutes, and both leave together at 9:00, they next leave together after LCM(20, 30) = 60 minutes, at 10:00. The same logic lines up shift rotas, flashing lights and gym classes that repeat on different cycles.

Adding fractions is the other classic use. To work out 2/5 + 1/6, the denominators 5 and 6 need a common one: LCM(5, 6) = 30, so the sum becomes 12/30 + 5/30 = 17/30. Using the least common denominator keeps the numbers small and the final fraction easier to simplify.

Frequently asked questions

What is the LCM of 6 and 10?
30. Multiples of 6: 6, 12, 18, 24, 30… Multiples of 10: 10, 20, 30… The smallest shared multiple is 30. Enter any numbers above for an instant answer.
How do you find the LCM of two numbers?
Use LCM(a, b) = |a × b| ÷ GCD(a, b). For 6 and 10: (6 × 10) ÷ 2 = 30. The calculator above does this automatically for two or more numbers.
What is the difference between LCM and GCF?
LCM is the smallest number both divide into (LCM of 6 and 10 is 30); GCF is the largest number dividing both (GCF of 6 and 10 is 2). Try our GCF calculator for the other one.
Can I find the LCM of more than two numbers?
Yes — enter up to 12 numbers separated by commas or spaces. The calculator applies the pairwise LCM across all of them.
What is the least common denominator?
It's the LCM of the denominators — the smallest denominator that works for all fractions in a sum. Find it with the LCM calculator above.
Is this LCM calculator free?
Yes — unlimited calculations, free forever. No account, no limits. Everything runs in your browser.

Worked example: LCM of 12 and 18

Multiples of 12 run 12, 24, 36, 48… and multiples of 18 run 18, 36, 54… The first number in both lists is the least common multiple: 36. The prime-factor method agrees: 12 = 2² × 3 and 18 = 2 × 3², so the LCM takes the highest power of each prime — 2² × 3² = 36.

The LCM is the tool behind adding fractions with different denominators: 1/12 + 5/18 becomes 3/36 + 10/36 = 13/36, because 36 is the smallest denominator both fractions can share.