Least Common Multiple (LCM) Calculator

The least common multiple (LCM), also called the lowest common multiple, is the smallest number that two or more whole numbers all divide into exactly. Type your numbers to see it with the working. You need it to add fractions with different denominators.

Two to 20 whole numbers above 0, separated by commas or spaces. Type 1200, not 1,200.

Least common multiple
24

The least common multiple of 6 and 8 is 24: the smallest number both divide into exactly.

Greatest common factor 2
Product of the numbers 48
Numbers used 2

What is the least common multiple (LCM)?

The least common multiple is the smallest number that each of your numbers divides into exactly. People also call it the lowest common multiple. Finding it is part of grade 6 maths in the Common Core standards, and it is the common denominator you need when adding fractions.

Source Microsoft Support · LCM function (least common multiple), with examples ↗Common Core State Standards · Grade 6, The Number System (6.NS.B.4) ↗

How to calculate the LCM

The shortcut works for numbers of any size: multiply the numbers and divide by their greatest common factor. With three or more numbers, do it two at a time.

LCM = (a × b) ÷ GCF

Here it is with your numbers:

  1. The GCF of 6 and 8 is 2.
  2. LCM(6, 8) = 6 × 8 ÷ 2
  3. LCM(6, 8) = 24

It means 24 is the first number that is in both the 6 times table and the 8 times table.

Source NIST · Dictionary of Algorithms and Data Structures: Euclid's algorithm ↗

Two ways to check it

Write out each times table until a number appears in all of them, or break each number into prime factors and multiply the highest power of each prime.

NumberMultiplesPrime factors
66, 12, 18, 242 × 3
88, 16, 242³
LCM242³ × 3

LCM examples

NumbersLCM
6 and 824
4 and 612
8 and 1224
6 and 918
9 and 1236
10 and 510
24 and 3672

FAQs

What is the least common multiple?

The least common multiple is the smallest positive whole number that is a multiple of every one of your numbers. For 24 and 36 it is 72. It is the common denominator you need to add fractions with different denominators.

Source Microsoft Support · LCM function (least common multiple), with examples ↗

How do you find the least common multiple?

Multiply the two numbers and divide by their greatest common factor. For 6 and 8: 6 × 8 is 48, their greatest common factor is 2, and 48 ÷ 2 is 24. For small numbers you can also write out each times table until a number appears in both.

Source NIST · Dictionary of Algorithms and Data Structures: Euclid's algorithm ↗

What are the least common multiples of 6 and 8?

The least common multiple of 6 and 8 is 24. The 6 times table goes 6, 12, 18, 24 and the 8 times table goes 8, 16, 24, so 24 is the first number in both.

Source Microsoft Support · LCM function (least common multiple), with examples ↗

Sources

Related calculators