The smallest number where the multiples of two numbers meet again — all prime factors × larger exponent in the factorization table
The LCM is the smallest number where the two multiple lists meet again. Multiples of 12: 12, 24, 36, 48… Multiples of 18: 18, 36, 54… — they meet at 36. It's also the tool for computing "when two things with different cycles line up again" when they repeat simultaneously.
In the factorization table, the LCM is picked the opposite way from the GCD. Collect every prime factor, but take the larger exponent. Taking the larger exponent is what makes the result a multiple of both numbers. 12 $= 2^{2}\times 3$, 18 $= 2\times 3^{2}$ — for $2$ take the larger exponent $2$, for $3$ the larger exponent $2$: $2^{2}\times 3^{2} = 36$.
Let's build the result step by step, instead of memorizing.
Multiples of $12$: $12, 24, 36, 48, \ldots$ / Multiples of $18$: $18, 36, 54, \ldots$ — common multiples: $36, 72, \ldots$; the smallest is 36. You can see it by listing, but it gets hard for big numbers.
$12 = 2^{2}\times 3$, $18 = 2\times 3^{2}$. A common multiple must be divisible by $12$ and also divisible by $18$. So it must contain $2^{2}$ and also $3^{2}$ — the exponent of $2$ is at least 2, and the exponent of $3$ is at least 2. That's why $2^{2}\times 3^{2} = 36$ is the least.
Prime-factorize both numbers, then multiply all prime factors with their larger exponents. If there is no common prime factor (relatively prime), just the product of the two numbers.
Each step also shows the "why".
The classic ways to lose points on a test.
Three questions to check the core idea. Click an option to see the explanation.
The formula is hiding in familiar scenes. Read it as a story and it sticks.
At a stop, bus A comes every 8 minutes and bus B every 12 minutes. After they arrive at the same time, the next time they arrive together is $\mathrm{LCM}(8, 12) = $ 24 minutes later. When the headways aren't relatively prime, they meet only every LCM cycle, not every time.
Machine gears work the same way. A 12-tooth gear meshed with an 18-tooth gear: both return to their starting position every 36 turns — $\mathrm{LCM}(12, 18) = 36$. In music, the beat where 3/4 and 4/4 overlap; in a calendar, the cycle where Mondays and Fridays coincide — all the same structure.