Find the least common multiple of two or more positive integers. Enter your numbers below and get the answer with step-by-step calculations.
The least common multiple (LCM) is the smallest positive integer that is divisible by two or more numbers.
For example, the multiples of 4 are:
The multiples of 6 are:
The first positive number appearing in both lists is 12. Therefore:
For two positive integers a and b, the LCM can be calculated using the greatest common divisor:
Consider 12 and 18.
Another method for finding an LCM is prime factorization. Factor each number into prime numbers and then take the highest exponent of every prime that appears.
For example:
The GCD is the greatest number that divides all of the input numbers. The LCM is the smallest positive number that is divisible by all of them.
For two positive integers, they are related by: