How to use
- Type or paste two or more whole numbers, separated by commas, spaces or new lines.
- Read the least common multiple, with the prime factorization of every number and how the answer is built from it.
- Open the other methods to see it again with the greatest common factor, the division ladder and a list of multiples.
Formula
LCM(a, b) = a x b / GCF(a, b). For more numbers, combine them one at a time: LCM(a, b, c) = LCM(LCM(a, b), c). By primes, take every prime that appears in any number, each to the highest power it has in any of them.Example
For 12, 15 and 20: 12 = 2 x 2 x 3, 15 = 3 x 5, 20 = 2 x 2 x 5. The highest powers are 2 squared, 3 and 5, so the LCM is 4 x 3 x 5 = 60. Buses that leave every 12, 15 and 20 minutes all leave together again after 60 minutes.
Only whole numbers of 1 or more are accepted, up to 18 digits each and 50 numbers. The answer is exact even when it has far more digits than the numbers you typed. The LCM is also called the lowest common multiple (LCM) and is the denominator you need to add fractions without simplifying first.