Skip to content

Least common multiple (LCM) calculator

Calculate the least common multiple of two or more integers.

Processed on your device. Nothing is sent to any server.

LCM

24

Calculate the least common multiple (LCM) of two or more integers, the smallest number that is a multiple of all of them at once.

Calculates the LCM iteratively from the greatest common divisor: LCM(a,b) = |a x b| / GCD(a,b).

Use cases

  • Adding fractions with different denominators.
  • Synchronizing events that repeat at different frequencies.
  • Solving school arithmetic problems.

How it works

  1. 1

    Type the numbers

    Enter two or more integers separated by commas or spaces.

  2. 2

    Read the result

    The LCM is calculated automatically.

Frequently asked questions

Does it work with more than two numbers?
Yes, it calculates the LCM of the whole list by applying the pairwise formula cumulatively.
Calculators