Mortgage & Loans

Investing & Retirement

Salary, Tax & Business

India Finance

Health & Fitness

Math & Statistics

Date, Time & Everyday

Home, Construction & Science

Unit Converters

LCM Calculator

Find the smallest number that two or more whole numbers all divide into, with the prime-factor table and the GCF shortcut shown.

Free, no sign-upPrivate — runs in your browserUpdated October 2026
Live
LCM of 4, 6, 10
60
Greatest common factor (GCF)
2
LCM ÷ each numberThe multiplier needed for each number to reach the LCM
15, 10, 6
Next common multiples
120, 180, 240
Step-by-step solution
  1. Prime-factorize each number: 4 = 2²; 6 = 2 × 3; 10 = 2 × 5.
  2. For each prime, take the highest power that appears in any number: 22, 3, 5.
  3. Multiply them: 22 × 3 × 5 = 60.
  4. Check with the GCF formula, LCM(a, b) = a × b ÷ GCF(a, b), applied pair by pair: LCM(4, 6) = 4 × 6 ÷ GCF(2) = 12; LCM(12, 10) = 12 × 10 ÷ GCF(2) = 60.
  5. Listing multiples confirms it: 4: 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60 | 6: 6, 12, 18, 24, 30, 36, 42, 48, 54, 60 | 10: 10, 20, 30, 40, 50, 60.

Prime factor table

Prime4610Highest power
22²222²
3—3—3
5——55
At a glance

Find the smallest number that two or more whole numbers all divide into, with the prime-factor table and the GCF shortcut shown.

Formula4 = 22   6 = 2 × 3   10 = 2 × 5
LCM = 22 × 3 × 5 = 60
Also searched asleast common multiple · lowest common multiple · lcm of numbers · common multiple · least common denominator · lcd calculator

How to use the LCM calculator

Enter two or more positive whole numbers separated by commas or spaces. You get the least common multiple, the greatest common factor, the multiplier that takes each number to the LCM (exactly what you need when building a common denominator) and the next few common multiples. The steps show the prime-factor method with a table, the GCF shortcut, and — for small numbers — the lists of multiples.

What is the least common multiple?

A multiple of a number is the result of multiplying it by a whole number: the multiples of 4 are 4, 8, 12, 16, 20 and so on. A common multiple of several numbers is a number that appears in all of their lists, and the least common multiple is the smallest positive one. It is also called the lowest common multiple, and when the numbers are denominators it is the least common denominator (LCD).

Methods and formulas

Prime factorization

Factor each number into primes. The LCM is the product of every prime that appears, each raised to the highest power found in any of the numbers.

4 = 22   6 = 2 × 3   10 = 2 × 5
LCM = 22 × 3 × 5 = 60

Compare this with the GCF, which takes only the shared primes with the lowest powers.

The GCF shortcut

LCM(a, b) = a × b ÷ GCF(a, b)   |   LCM(a, b, c) = LCM(LCM(a, b), c)

For 4 and 6, the GCF is 2, so the LCM is 4 × 6 ÷ 2 = 12. Then LCM(12, 10): the GCF is 2, so 12 × 10 ÷ 2 = 60. This is the fastest method for large numbers because the GCF can be found quickly with the Euclidean algorithm.

Listing multiples

For small numbers, simply list multiples until you find the first one they share. Multiples of 10: 10, 20, 30, 40, 50, 60. Check: 60 ÷ 4 = 15 and 60 ÷ 6 = 10, both whole, so 60 is the LCM.

Worked example: adding fractions

To add 1/4 + 1/6 + 3/10, you need a common denominator. The LCM of 4, 6 and 10 is 60, and the calculator's "LCM ÷ each number" row (15, 10, 6) gives the multipliers: 1/4 = 15/60, 1/6 = 10/60 and 3/10 = 18/60. Adding gives 43/60. Using the LCM keeps the numbers as small as possible; multiplying the denominators together would give 240 and a fraction that still needs simplifying. The fraction calculator applies this automatically.

Real-world uses of the LCM

  • Scheduling: if one bus leaves every 4 minutes, another every 6 and a third every 10, they all depart together every 60 minutes.
  • Buying in packs: hot dogs come in packs of 10 and buns in packs of 8. The smallest number of each that matches exactly is LCM(10, 8) = 40: four packs of hot dogs and five packs of buns.
  • Gears and cycles: two meshing gears with 12 and 18 teeth return to their starting alignment after LCM(12, 18) = 36 teeth have passed.
  • Music and rhythm: a 3-beat and a 4-beat pattern line up again every 12 beats.

Useful facts

  • For two numbers, GCF × LCM = the product of the numbers.
  • If two numbers are coprime (GCF = 1), their LCM is simply their product: LCM(8, 9) = 72.
  • If one number divides another, the LCM is the larger number: LCM(6, 18) = 18.
  • The LCM is always at least as large as the largest number in the set.
Tip: The LCM of several numbers grows quickly. The LCM of 1 through 20 is already 232,792,560. Use the prime factorization calculator to see why.
Built and reviewed by the Calcivia editorial team following our editorial policy · Last updated .
Cite or link to this page

Using this lcm calculator in an article, report or homework? Copy a citation or a ready-made link:

APACalcivia. (2026). LCM Calculator. Retrieved October 31, 2026, from https://www.calcivia.com/lcm-calculator/
MLA"LCM Calculator." Calcivia, 2026, https://www.calcivia.com/lcm-calculator/. Accessed 31 Oct. 2026.
HTML link<a href="https://www.calcivia.com/lcm-calculator/">LCM Calculator</a> by Calcivia
Was this calculator helpful?

Frequently asked questions

What is the least common multiple?

The LCM is the smallest positive number that is a multiple of every number in the set. The LCM of 4, 6 and 10 is 60.

How do you find the LCM using prime factorization?

Factor each number into primes, then multiply every prime that appears using the highest power found in any number. For 4 = 2², 6 = 2 × 3 and 10 = 2 × 5, LCM = 2² × 3 × 5 = 60.

What is the formula connecting LCM and GCF?

For two numbers, LCM(a, b) = a × b ÷ GCF(a, b). For 4 and 6 this gives 24 ÷ 2 = 12.

Is the least common multiple the same as the least common denominator?

The least common denominator is the LCM of the denominators of a set of fractions. It is the same calculation applied to denominators.

What is the LCM of two prime numbers?

Two different primes share no factors, so their LCM is their product. For example, the LCM of 7 and 11 is 77.

Related calculators