About the LCM Calculator
Find the least common multiple (LCM) of two or more whole numbers, with prime factorisations and steps.
Also known as: least common multiple, lowest common multiple, lcm of numbers, lcd calculator, least common denominator.
How to use this calculator
- Enter whole numbers.
- The result updates instantly as you type — press Calculate (or Enter) at any time.
- Open “Step-by-step” to see how the answer was worked out.
- Use Copy result or Share to save the answer or send a link with your inputs.
Formula
LCM(a, b) = |a × b| ÷ GCD(a, b)
Worked example
Using the values pre-filled in the calculator above:
- Whole numbers: 12, 18, 30
the calculator returns:
- LCM: 180
Working
12 = 2^2 × 318 = 2 × 3^230 = 2 × 3 × 5LCM = product of the highest power of each prime