Free Online Calculator

Least Common Multiple Calculator

Find the least common multiple of two or more numbers.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: finding the LCM

The LCM is the smallest number that every input divides into. The LCM of 12, 18 and 30 is 180.

Overview of the Least Common Multiple Calculator

The least common multiple (LCM) is the smallest positive number that is a multiple of every number in your list. Enter two or more whole numbers and the calculator shows the LCM, the GCF, how the LCM is built from prime factors and the first eight multiples of the LCM.

LCM is used to add and subtract fractions with different denominators and to find when repeating events coincide. Companion tools: the GCF Calculator, Prime Factorization Calculator and Fraction Calculator.

How We Calculate

The calculator applies the standard method step by step.

  1. Factorize each number into primes.
  2. Take every prime that appears, each to its highest power in any of the numbers.
  3. Multiply those prime powers together — that is the LCM.
  4. Check: for two numbers, LCM = a × b ÷ GCF.
lcm(a, b) = a × b ÷ gcd(a, b)   (prime method: highest power of each prime)
Worked example — least common multiple calculator
ItemValue
LCM180
GCF6
LCM from the prime factors2² × 3² × 5 = 180
Prime factors of 122² × 3
Prime factors of 182 × 3²
Prime factors of 302 × 3 × 5
First multiples of the LCM
MultipleValue
1180
2360
3540
4720
5900
61,080
71,260
81,440
LCM of different sets
NumbersLCM
4 and 612
12, 18, 30180
7 and 1391
8, 12, 20120
15, 25, 35525

Least Common Multiple Calculator — Frequently Asked Questions

What is the least common multiple?

The smallest positive number that is divisible by all of the given numbers.

How do I find the LCM using prime factors?

Write each number as primes, then multiply each prime to the highest power it appears with.

What is the relationship between LCM and GCF?

For two numbers, a × b = LCM × GCF.

How do I use the LCM to add fractions?

Use the LCM of the denominators as the common denominator, then add the numerators.

What is the LCM of two coprime numbers?

Their product. The LCM of 7 and 13 is 91.

Where is the LCM used in real life?

Scheduling repeating events, gear ratios and aligning cycles — such as buses that arrive every 12 and 18 minutes meeting again after 36 minutes.

How is the least common multiple calculator calculated?

It uses the standard method: lcm(a, b) = a × b ÷ gcd(a, b)   (prime method: highest power of each prime) The full working and a worked example are shown on this page.

How accurate is this calculator?

Decimal results use standard double-precision arithmetic (about 15–16 significant digits). Tools that work with whole numbers — big numbers, factors, bases, combinations — use exact integer arithmetic, so no digits are lost.

Can I use it for homework or exams?

Yes for checking your work and learning the method. The steps and formula are shown so you can understand the answer, but follow your teacher's rules about calculators in exams.

Is my data stored?

No. Everything is calculated in your browser and nothing you enter is uploaded or saved.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

9 + 2 =
Call WhatsApp