Skip to content

Least Common Multiple Calculator

Find the least common multiple of any set of numbers, with steps.

Separate with commas or spaces.

LCM(12, 18, 30)

180

Next common multiples
360, 540, 720

How it was calculated

  1. 12 = 2² × 3
  2. 18 = 2 × 3²
  3. 30 = 2 × 3 × 5
  4. Take each prime at its highest power: 2² × 3² × 5
  5. LCM = 2² × 3² × 5 = 180

Calculations run on this device and your inputs are not uploaded. A share link puts your inputs in the URL, so anyone with the link can read them.

More Math Calculators

All calculators

How the lcm calculator works

The least common multiple is the smallest positive number that every number in the set divides into evenly. It's what you need to add fractions with different denominators (the least common denominator).

Prime factorization method: factor each number, then multiply every prime that appears, using its highest power. For 12 = 2² × 3, 18 = 2 × 3² and 30 = 2 × 3 × 5, the LCM is 2² × 3² × 5 = 180. For two numbers there's a shortcut: LCM(a, b) = a × b / GCF(a, b).

Using and checking your result

Published by JustYourCalculator. Check the units and assumptions above, and compare a known example before relying on the output. Calculations use browser arithmetic and may round displayed values.

Share links may contain your input values. Anyone with the URL can read them; avoid sharing sensitive personal or financial information.

Frequently asked questions

12. The multiples of 4 are 4, 8, 12... and of 6 are 6, 12..., so 12 is the first one they share.

The LCM is the smallest number both divide into; the GCF is the largest number that divides both. For 4 and 6, LCM = 12 and GCF = 2.

Adding or subtracting fractions, and timing problems like 'two buses leave every 12 and 18 minutes; when do they meet again?' (every 36 minutes).

Yes. Every calculator is free with no sign-up. Clearly labeled ads keep it that way.

Calculations run in your browser. Share links put inputs in the URL, which can be read by anyone you send it to and is sent to the hosting server when opened. Avoid sharing sensitive numbers. Currency conversion requests public exchange rates.

Results follow the formulas and assumptions shown, with normal rounding and numerical limits. Taxes, rates and health guidance can change, so treat these as estimates and confirm important decisions with a qualified professional.