Skip to content

LCM Calculator

Find the least common multiple of two or more whole numbers: the smallest number they all divide into. The working shows the prime factorization, the GCF shortcut and the lists of multiples.

Try:

Least common multiple

LCM =–

How to find it

LCM chart for 1 to 12

The least common multiple of the row and column numbers. Example: LCM(4, 6) = 12.

LCM123456789101112
1123456789101112
2226410614818102212
33631215621249303312
444124201228836204412
55101520530354045105560
666612306422418306612
77142128354275663707784
888248402456872408824
9918936451863729909936
101010302010307040901011060
1111223344556677889911011132
121212121260128424366013212

Need the other one? Try the GCF calculator.

Next steps

Guide: GCF and LCM: how to find them, with examples

Key facts

Price
Free, with no sign-up and no usage limits
Privacy
Runs in your browser: your files and text are never uploaded
Works on
Any current browser on Windows, macOS, Linux, ChromeOS, Android and iPhone
Made by
Toolgu
Last updated

How to find the least common multiple

  1. Type two or more whole numbers, separated by commas or spaces, such as 6, 8, 12.
  2. The LCM appears straight away, with the GCF of the same numbers beside it.
  3. Follow the working: the prime factorization, the GCF shortcut for two numbers and, when they are short enough, the lists of multiples.

Three ways to find the LCM

Listing multiples works for small numbers. Multiples of 6: 6, 12, 18, 24. Multiples of 8: 8, 16, 24. The first one in both lists is 24.

Prime factorization works for any size: 6 = 2 × 3, 8 = 2³ and 12 = 2² × 3. Take every prime at its highest power: 2³ × 3 = 24.

The GCF shortcut for two numbers: LCM = a × b ÷ GCF. For 6 and 8, the GCF is 2, so the LCM is 48 ÷ 2 = 24.

Where the LCM is used

Adding fractions: the least common denominator of 1/6 + 1/8 is the LCM of 6 and 8, so 4/24 + 3/24 = 7/24. Schedules that repeat: if one bus comes every 12 minutes and another every 18, they meet every 36 minutes. Buying packs: hot dogs come in 10s and buns in 8s, so you need 40 of each to have none left over.

For the largest shared factor, use the GCF calculator. To add fractions with steps, try the fraction calculator.

Frequently asked questions

What is the least common multiple?

The smallest positive number that is a multiple of every number in the list. Multiples of 4 are 4, 8, 12, 16…, and of 6 are 6, 12, 18…, so the LCM of 4 and 6 is 12.

How do I find the LCM using prime factorization?

Write each number as a product of primes and multiply every prime that appears, each to its highest power. 12 = 2² × 3 and 18 = 2 × 3², so the LCM is 2² × 3² = 36.

How are the LCM and GCF related?

For two numbers, LCM × GCF = the product of the numbers, so LCM(a, b) = a × b ÷ GCF(a, b). For 12 and 18: 12 × 18 ÷ 6 = 36.

What is the least common denominator?

The LCM of the denominators. To add 1/4 + 1/6, use the LCM of 4 and 6, which is 12: 3/12 + 2/12 = 5/12.

How do I find the LCM of three or more numbers?

Use the prime factorization method on all of them at once, or find the LCM of the first two and then the LCM of that result with the next number. The LCM of 6, 8 and 12 is 24.