Below you get the prime factor method that the solver uses, two other ways to reach the same answer, and a few places where 36 turns up in real problems.
How do you find the LCM of 12 and 18 step by step?
Prime factorization is the method that works for any pair of numbers, so it is the one worth learning first. Break each number into primes, then build the smallest number that contains both sets.
- Factor 12: 12 = 2 × 2 × 3, which is 2² × 3.
- Factor 18: 18 = 2 × 3 × 3, which is 2 × 3².
- List every prime that appears: 2 and 3.
- For each prime, keep its highest power: 2² and 3².
- Multiply: 2² × 3² = 4 × 9 = 36.
Check the result by dividing: 36 ÷ 12 = 3 and 36 ÷ 18 = 2. Both come out as whole numbers, so 36 works. Nothing smaller will, which is what “least” promises.
| Prime | In 12 | In 18 | Highest power |
|---|---|---|---|
| 2 | 2² | 2¹ | 2² |
| 3 | 3¹ | 3² | 3² |
Why does taking the highest power work?
A multiple of 12 must contain 12’s building blocks: two 2s and one 3. A multiple of 18 must contain one 2 and two 3s. To satisfy both, your number needs at least two 2s and at least two 3s. Anything less misses a block for one of the numbers.
Taking more than the highest power would give a common multiple, but not the smallest one. That is why the rule says highest, not combined. The 2 that 12 and 18 share is counted once at its higher count (two), not added up to three.
12 and 18 both contain a 2 and a 3. Those shared pieces go into the LCM once, and each number's extra piece (another 2 from 12, another 3 from 18) is added on top.
LCM of 12 and 18 by listing multiples
Listing is slower but very easy to see. Write the multiples of each number until one appears in both lists.
Multiples of 12: 12, 24, 36, 48, 60, 72. Multiples of 18: 18, 36, 54, 72. The first match is 36, and the next is 72, so the common multiples are 36, 72, 108 and onward. Every common multiple is a multiple of 36.
The mistake I see most often in class is stopping too early. A student lists 12, 24 and 18, 36, spots that 24 is “close,” and writes it down. Always finish the check: 24 ÷ 18 is not a whole number, so 24 fails.
Finding the LCM of 12 and 18 with the GCF
If you already know the greatest common factor, there is a one-line shortcut: LCM = (a × b) ÷ GCF. The GCF of 12 and 18 is 6, so the LCM is (12 × 18) ÷ 6 = 216 ÷ 6 = 36. To see how to find that 6 quickly, the worked example on the GCF of 36 and 60 uses the same prime factor approach.

Divide first to keep the numbers small: 12 ÷ 6 = 2, then 2 × 18 = 36. This also gives you a handy mental trick for pairs like these. Scan the larger number’s multiples (18, 36) and ask whether each one is divisible by 12. It is at 36, so you are done in two steps.
Try this: Find the LCM of 10 and 12 by the GCF shortcut. Work out the GCF first, then compute (10 × 12) ÷ GCF. Compare your answer with the LCM of 10 and 12.
Why isn’t the LCM of 12 and 18 just 216?
Multiplying 12 × 18 always gives a common multiple, but it is only the least one when the two numbers share no factors. Here they share a 6, so the product counts that shared 6 twice. Dividing by the GCF removes the extra copy: 216 ÷ 6 = 36.
Compare that with the LCM of 3 and 8, where the numbers share nothing and the product 24 really is the LCM. A nice identity ties it all together: GCF × LCM = a × b, so 6 × 36 = 216 = 12 × 18.
Using 36 as a common denominator
The most common reason to find this LCM is adding or subtracting fractions with denominators 12 and 18. The least common denominator is 36. For 5/12 + 7/18, convert each fraction: 5/12 = 15/36 and 7/18 = 14/36.

Add the numerators: 15/36 + 14/36 = 29/36. Since 29 is prime and does not divide 36, the fraction is already simplified. If you had used 216 as the denominator you would still get a right answer, but you would need to simplify at the end, which is extra work.
For a different fraction skill, see how simplifying 25/10 works with a GCF.
Where does the LCM of 12 and 18 show up in real life?
The LCM answers “when do two repeating cycles line up again?” With 12 and 18 the answer is always every 36 units.
- Two buses leave a stop together at 8:00. One runs every 12 minutes, the other every 18 minutes. They next leave together at 8:36.
- A plant is watered every 12 days and fertilized every 18 days. Both jobs fall on the same day every 36 days.
- Tiles 12 inches wide and 18 inches wide laid in two rows meet at a straight seam every 36 inches.
The same idea scales to bigger problems. For three or more numbers, the division method on the LCM of 144, 180 and 384 page handles them in one table. For a pair with a different overlap, the LCM of 9 and 15 shares only a 3 and follows the same steps.
Practice problems
Try these on paper first, then check your answer or load the full steps into the solver.
- lcm of 9 and 1236
- lcm of 14 and 2142
- lcm of 24 and 3672
- lcm of 45 and 75225
What Is the LCM of 12 and 18?: common questions
What is the LCM of 12 and 18?
The LCM of 12 and 18 is 36. It is the smallest positive number that both 12 and 18 divide into evenly: 36 ÷ 12 = 3 and 36 ÷ 18 = 2.
What is the GCF of 12 and 18?
The GCF of 12 and 18 is 6. You can confirm it with the product rule: GCF × LCM = 6 × 36 = 216, which equals 12 × 18.
Is the LCM of 12 and 18 the same as the LCM of 2, 12 and 18?
Yes. The number 2 already divides 12 and 18, so adding it changes nothing. The least common multiple of 2, 12 and 18 is still 36.
What are the first common multiples of 12 and 18?
They are 36, 72, 108 and so on. Every common multiple is a multiple of the LCM, so you just keep adding 36.