ChalksumThe right answer, with the work shown.
Math › LCM calculator

LCM calculator

Enter two or more numbers to find their least common multiple, worked out with prime factors.

Your numbers

Two or more whole numbers, separated by commas or spaces.

LCM = 180
180least common multiple
6greatest common factor
12 = 2² × 3 18 = 2 × 3² 30 = 2 × 3 × 5 take each prime the most times it appears: 2² × 3² × 5 LCM = 180

How it works

Write each number as a product of primes. The least common multiple uses every prime that appears, each raised to the highest power it has in any of the numbers. For two numbers there is a shortcut: LCM = a × b ÷ GCF.

LCM of common pairs

NumbersLCM
2 and 36
3 and 412
4 and 612
6 and 824
8 and 1224
12 and 1836
6 and 1030
9 and 1236
12 and 1560
15 and 2060

Questions

What is the LCM of 12 and 18?

36. 12 = 2² × 3 and 18 = 2 × 3², so the LCM is 2² × 3² = 36.

What is the least common multiple used for?

Mostly for adding and subtracting fractions: the least common denominator is the LCM of the denominators. It also answers "when will two repeating events line up again" problems.

What is the difference between LCM and GCF?

The LCM is the smallest number both numbers divide into. The GCF is the largest number that divides into both. For 12 and 18, the LCM is 36 and the GCF is 6.

More math calculators