LCM Calculator

Find the lowest common multiple of a list of whole numbers.

Two or more, separated by commas or spaces

Try

Result

You enteredlcm⁡(12,18,30)\operatorname{lcm}(12, 18, 30)

180\displaystyle 180

Using prime factors

12=22×3,18=2×32,30=2×3×5\displaystyle 12 = 2^{2} \times 3, \quad 18 = 2 \times 3^{2}, \quad 30 = 2 \times 3 \times 5

HCF

6\displaystyle 6
Show the work
  1. Prime factorisation of each number

    Write each number as a product of primes, using a power where a prime repeats; the LCM must contain every prime that appears.

    12=22×318=2×3230=2×3×5\begin{gathered} 12 = 2^{2} \times 3 \\ 18 = 2 \times 3^{2} \\ 30 = 2 \times 3 \times 5 \end{gathered}
  2. Highest power of each prime

    For each prime, take the largest power found in any of the numbers (a number without that prime counts as power 00), so the LCM is a multiple of every number.

    2max⁡(2, 1)=223max⁡(1, 2)=325max⁡(0, 1)=5\begin{gathered} 2^{\max(2,\,1)} = 2^{2} \\ 3^{\max(1,\,2)} = 3^{2} \\ 5^{\max(0,\,1)} = 5 \end{gathered}
  3. Multiply the highest powers

    Multiplying these powers gives the smallest number that every number in the list divides into exactly.

    22×32×5=4×9×5=180\begin{aligned} 2^{2} \times 3^{2} \times 5 &= 4 \times 9 \times 5 \\ &= 180 \end{aligned}
  4. Result

    So the lowest common multiple of 12, 18, 30 is 180180, the smallest number that all of them divide into.

Worked examples