LCM( 8, 12 ) = 24
The formula for finding LCM is
$$ \text{LCM} (a, b) = \frac{ a \cdot b }{ \text{GCD}(a,b)} $$In this example we have: a = 8, b = 12 and GCD(8, 12) = 4.
$$ \text{LCM} (8, 12) = \frac{ 8 \cdot 12 }{ \text{GCD}(8,12)} = \frac{ 96 }{ 4 } = 24 $$