Two buses leave the same stop at 0800. The number 14 comes every 12 minutes and the number 27 every 18 minutes. When will they next pull out together? Knowing how to find LCM, the lowest common multiple, answers that in seconds: 36 minutes, so 0836. The same skill adds fractions, plans packs for a barbecue and lines up repeating schedules of any kind.
There are four reliable methods. Each suits a different kind of number, and this guide works through all four with the same pair, 12 and 18, before moving on to bigger numbers.
Quick answer: To find the LCM of two numbers, write each as a product of prime factors and multiply the highest power of every prime that appears. For 12 (2 × 2 × 3) and 18 (2 × 3 × 3), that is 2 × 2 × 3 × 3 = 36. A shortcut: multiply the numbers and divide by their greatest common factor. Methods checked October 2026.
In This Guide
What is the LCM of two numbers?
The LCM of two numbers is the smallest positive whole number that both divide into exactly, with no remainder. For 4 and 6 it is 12, because 12 is the first number that appears in both the 4 times table and the 6 times table.
Every pair of whole numbers has infinitely many common multiples (12, 24, 36 and so on for 4 and 6), but only one lowest. You may see it written as LCM, lowest common multiple or, in American textbooks, least common multiple; all three mean the same thing. The Wikipedia article on the least common multiple covers the formal definition and its link with fractions.

How to find LCM by listing multiples
Listing multiples means writing out the times table of each number until the same value appears in every list; that first shared value is the LCM. It is the easiest method to understand and works well for small numbers.
- Multiples of 12: 12, 24, 36, 48, 60, 72
- Multiples of 18: 18, 36, 54, 72
36 is the first number in both lists, so the LCM of 12 and 18 is 36. A useful time saver: list the multiples of the larger number only, and test each one against the smaller number. 18 does not divide by 12, but 36 does, so you stop there. Listing becomes slow for numbers like 84 and 126. For pairs like that, the next three methods or our LCM calculator get there far quicker.
How do you find the LCM using prime factors?
To find the LCM using prime factors, break each number into primes, then multiply together the highest power of every prime that appears in any of the numbers. This method scales to large numbers and to three or more numbers at once.
12 is 2 squared times 3. 18 is 2 times 3 squared. The primes involved are 2 and 3. The highest power of 2 is 2 squared (from 12) and the highest power of 3 is 3 squared (from 18). Multiply them: 4 × 9 = 36. Venn diagrams show the same idea visually: shared primes go in the overlap once, and the LCM is the product of everything in the diagram.
Three numbers work the same way. For 8, 12 and 20: 8 is 2 cubed, 12 is 2 squared times 3, and 20 is 2 squared times 5. Take 2 cubed, 3 and 5, and multiply: 8 × 3 × 5 = 120.

What is the ladder or division method?
The ladder method finds the LCM by dividing all the numbers by common primes in a single table, bringing down any number that does not divide, until only 1s remain; the LCM is the product of every divisor used. Many pupils find it the tidiest written method for three or more numbers.
| Divide by | 8 | 12 | 20 |
|---|---|---|---|
| 2 | 4 | 6 | 10 |
| 2 | 2 | 3 | 5 |
| 2 | 1 | 3 (brought down) | 5 (brought down) |
| 3 | 1 | 1 | 5 (brought down) |
| 5 | 1 | 1 | 1 |
The divisors down the left are 2, 2, 2, 3 and 5. Multiply them and you get 120, matching the prime factor answer. If you lose track, check the result by dividing it by each original number: 120 divided by 8, 12 and 20 gives 15, 10 and 6, all whole numbers.
How does the GCF shortcut find the LCM?
The GCF shortcut finds the LCM of two numbers by multiplying them together and dividing by their greatest common factor. It is the fastest route for large pairs, because the GCF can be found quickly with Euclid’s algorithm.
Take 84 and 126. Euclid’s algorithm divides the larger by the smaller and keeps the remainder: 126 divided by 84 leaves 42, then 84 divided by 42 leaves 0, so the GCF is 42. Now 84 × 126 is 10,584, and 10,584 divided by 42 is 252. The LCM of 84 and 126 is 252. The Euclidean algorithm dates back more than 2,000 years and is still how calculators and computers do this. Our GCF calculator shows each division step if you want to check your working.
One caution: the shortcut works for exactly two numbers at a time. For three numbers, find the LCM of the first two, then the LCM of that answer and the third.

Where is the LCM used in real life?
The LCM is used whenever repeating cycles need to line up, and when fractions with different denominators are added or compared. Three everyday examples show the idea.
- Timetables: buses every 12 and 18 minutes leave together every 36 minutes, so after 0800 they coincide at 0836 and 0912.
- Shopping: sausages come in packs of 8 and rolls in bags of 6. The LCM is 24, so 3 packs of sausages and 4 bags of rolls leave nothing over.
- Fractions: to add 5/12 and 7/18, use the LCM 36 as the common denominator. 5/12 becomes 15/36, 7/18 becomes 14/36, and the total is 29/36.
Using the lowest common denominator keeps fractions small and saves simplifying later. Our guide on how to add fractions walks through more examples, and the fraction calculator handles mixed numbers too.
Key points
- The LCM is the smallest positive number that every number in the set divides into exactly.
- The LCM of 12 and 18 is 36, and the LCM of 8, 12 and 20 is 120.
- With prime factors, multiply the highest power of every prime that appears.
- For two numbers, LCM equals their product divided by their GCF, so LCM(84, 126) is 252.
- The LCM of two denominators is the lowest common denominator for adding fractions.
Key LCM Terms Explained
These are the ideas you rely on when working out how to find LCM by hand, by calculator or with a quick shortcut.
- Lowest common multiple
- The smallest positive whole number that each number in a set divides into without a remainder. For 12 and 18 it is 36, and for 8, 12 and 20 it is 120.
- Prime factorisation
- Writing a whole number as a product of prime numbers, such as 12 as 2 squared times 3. Comparing these products shows which prime powers the LCM needs, which is the highest power of each.
- Greatest common factor
- The largest number that divides exactly into every number in a set, also called the highest common factor. For 84 and 126 it is 42, and dividing their product by it gives the LCM of 252.
- Euclidean algorithm
- A repeated division method for finding the greatest common factor. For 126 and 84 the remainders run 42 then 0, so the last non zero remainder, 42, is the GCF.
- Lowest common denominator
- The LCM of the denominators of two or more fractions, used to add or compare them. For 5/12 and 7/18 it is 36, turning the sum into 15/36 plus 14/36.
Frequently Asked Questions
Is the LCM of 7 and 9 just 7 times 9?
Yes, the LCM of 7 and 9 is 63. When two numbers share no factor other than 1, their LCM is simply their product. This is why 12 and 18 are different: they share the factor 6, so their LCM is 36, not 216.
Can the LCM ever be smaller than one of the numbers?
No, the LCM is always at least as large as the biggest number in the set. When one number divides the other, the larger number is the LCM, so the LCM of 6 and 24 is 24.
I keep mixing up LCM and HCF. How do I tell them apart?
The HCF, also called the GCF, is the largest number that divides into both values, so it is never bigger than the smaller number. The LCM is the smallest number both divide into. For 12 and 18 the HCF is 6 and the LCM is 36.
Which method should I use in an exam?
Prime factorisation is the safest all round choice, because it works for any size and number of values and shows clear working for marks. Listing is fine for small pairs, and the ladder method is quick for three or more numbers.
The two buses meet again at 0836, the barbecue has no spare rolls, and 5/12 plus 7/18 comes to 29/36. Now that you know how to find LCM four ways, pick the method that suits your numbers and check any answer by dividing it by each original value. Methods and examples checked October 2026.
