Skip to content

Math glossary

Least common multiple

The least common multiple, or LCM, of two or more whole numbers is the smallest positive number that each of them divides evenly. The LCM of 4 and 6 is 12, because 12 is the first number on both lists of multiples. Use it to find common denominators and to work out when repeating events line up.

LCM meaning

A multiple of a number is what you get when you multiply it by 1, 2, 3 and so on. The multiples of 4 are 4, 8, 12, 16, 20, 24... A common multiple of two numbers appears on both lists. The least common multiple is the smallest one, ignoring zero.

For 4 and 6:

  • Multiples of 4: 4, 8, 12, 16, 20, 24, 28...
  • Multiples of 6: 6, 12, 18, 24, 30...

Common multiples are 12, 24, 36 and so on. The least is 12, written LCM(4, 6) = 12. Every other common multiple is a multiple of the LCM, which is a useful check.

Three ways to find the LCM

1. List multiples. Write out multiples of each number until one appears on every list. Quick for small numbers, slow for big ones.

2. Prime factorization. Break each number into primes, then take each prime at its highest power.

  • 18 = 2 × 3²
  • 24 = 2³ × 3
  • LCM = 2³ × 3² = 8 × 9 = 72

The prime factorization calculator gives the factor trees, and prime factorization made simple explains the method.

3. Use the GCF. For two numbers,

LCM(a,b)=a×bGCF(a,b)\text{LCM}(a, b) = \frac{a \times b}{\text{GCF}(a, b)}

For 18 and 24, the greatest common factor is 6, so LCM = 18 × 24 ÷ 6 = 432 ÷ 6 = 72. Same answer, and often fastest when the GCF is easy to spot.

LCM examples

NumbersPrime factorsLCM
4, 62², 2 × 312
6, 82 × 3, 2³24
9, 123², 2² × 336
5, 75, 735
12, 182² × 3, 2 × 3²36
8, 12, 152³, 2² × 3, 3 × 5120
10, 15, 252 × 5, 3 × 5, 5²150

With three or more numbers, prime factorization is usually the cleanest route. For 8, 12 and 15, the highest powers are 2³, 3 and 5, so the LCM is 8 × 3 × 5 = 120.

Where the LCM is used

Adding fractions. To add 5/12 + 7/18, you need a common denominator. LCM(12, 18) = 36, so rewrite as 15/36 + 14/36 = 29/36. Using 12 × 18 = 216 also works, but you would have to simplify at the end. The fraction calculator does this automatically.

Schedules that repeat. One bus leaves every 12 minutes and another every 20 minutes. If both leave at 8:00, they next leave together after LCM(12, 20) = 60 minutes, at 9:00.

Packaging. Hot dogs come in packs of 10 and buns in packs of 8. To have exactly the same number of each, buy LCM(10, 8) = 40 of each: 4 packs of hot dogs and 5 packs of buns.

Gears and cycles. Two meshing gears with 12 and 18 teeth return to their starting positions after 36 teeth have passed: 3 turns of the small gear and 2 of the large one.

LCM vs GCF

Least common multipleGreatest common factor
Question it answersSmallest number both divide intoLargest number dividing both
SizeAt least as big as the largest numberNo bigger than the smallest number
From prime factorsHighest power of every primeLowest power of shared primes
12 and 18366
Typical useCommon denominators, repeating eventsSimplifying fractions, splitting into equal groups

For any two positive whole numbers, LCM × GCF = the product of the numbers: 36 × 6 = 216 = 12 × 18.

Common mistakes

  • Just multiplying the numbers. 12 × 18 = 216 is a common multiple, but not the least unless the numbers share no factors.
  • Taking the lowest power of each prime. That gives the GCF. The LCM needs the highest.
  • Dropping primes that appear in only one number. In LCM(8, 15), both 2³ and 3 × 5 must be included, giving 120.
  • Confusing the two words. Factors go into a number; multiples come out of it.

For instant answers with steps, use the LCM calculator, and see GCF and LCM explained for practice problems.

FAQ

Frequently asked questions

01What is the LCM of 6 and 8?

24. Multiples of 6 are 6, 12, 18, 24; multiples of 8 are 8, 16, 24. The first one they share is 24.

02What is the difference between LCM and GCF?

The LCM is the smallest number both numbers divide into. The GCF is the largest number that divides into both. For 12 and 18, the LCM is 36 and the GCF is 6.

03What is the LCM of two prime numbers?

Their product. Primes share no factors, so the LCM of 5 and 7 is 35.

04Is the LCM ever smaller than the numbers?

No. The LCM is always at least as large as the biggest number in the set. If one number divides the other, the LCM is the larger number: LCM(4, 12) = 12.

05Is least common multiple the same as lowest common multiple?

Yes. Least, lowest and smallest common multiple all mean the same thing. When the numbers are denominators, it is also called the least common denominator.

Related terms

Last updated November 9, 2026. See all math terms.