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⁡(7,9)\operatorname{lcm}(7, 9)

63\displaystyle 63

Using prime factors

7=7,9=32\displaystyle 7 = 7, \quad 9 = 3^{2}

HCF

1\displaystyle 1
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. 77 is already prime.

    9=329 = 3^{2}
  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.

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

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

    32×7=9×7=63\begin{aligned} 3^{2} \times 7 &= 9 \times 7 \\ &= 63 \end{aligned}
  4. Result

    So the lowest common multiple of 7, 9 is 6363, the smallest number that all of them divide into.

Worked examples