Least common multiple (LCM)

Least common multiple (LCM): The smallest number that two or more numbers all divide into evenly. Used for common denominators and for aligning repeating cycles.

The LCM of 4, 6 and 10 is 60. List multiples: 4, 8, 12, ... 60.

Six: 6, 12, ... 60. Ten: 10, 20, ...

60. Sixty is the first number in all three lists; use prime factors for larger numbers: 4 = 2², 6 = 2 × 3, 10 = 2 × 5, so take the highest power of each prime: 2² × 3 × 5 = 60. In practice: buses leave every 12 and 18 minutes.

They leave together every 36 minutes, the LCM. And to add 1/4 + 1/6 you convert to a common denominator of 12: 3/12 + 2/12 = 5/12.

Least common multiple (LCM): interpretation pitfalls

Multiplying the two numbers together and calling it the LCM. That is a common multiple, it is often not the least one, and it is only correct when the two share no factors.

Least common multiple (LCM): comparisons with other measurements

Common multiples are candidates for shared denominators or repeat cycles. Adding or multiplying denominators without considering their common factors can give a larger common multiple rather than the least one. A zero input needs the stated special convention.

Least common multiple (LCM): limits of the definition

LCMs of several or large numbers can grow huge, faster than the numbers themselves. Calculators may overflow. The concept applies to positive integers, and conventions for zero and negatives vary.

For fractions, using the LCM of denominators gives the smallest common denominator, but any common multiple works, just with larger numbers to simplify afterward.

Understanding Least common multiple (LCM)

The LCM is the first point at which two repeating cycles coincide. Common denominators, gear ratios, maintenance schedules that fall due every four and every six months: all the same problem. Finding it directly beats listing multiples until something matches, particularly once the numbers stop being small.

Using Least common multiple (LCM)

Adding and subtracting fractions with different denominators relies on it. Scheduling problems use it to find when repeating events align: gear teeth meeting again, shifts rotating together or traffic lights syncing. Music uses it for rhythms in different meters.

Programmers use it to synchronize loop cycles. In manufacturing, packing sizes that divide evenly into a shipment come from common multiples.

Least common multiple (LCM): calculation reference

GCF via the Euclidean algorithm; LCM = (a × b) ÷ GCF

Least common multiple (LCM): assumed inputs and calculated quantities
QuantityEntered or calculated amountMeaning
First number24Explicit example input.
Second number36Explicit example input.
Greatest common factor12Result under the listed assumptions.
Least common multiple72Result under the listed assumptions.
Greatest common factor by First numberGCF & LCM Calculator. Assumed First number values and their calculated Greatest common factor. Second number: 361912222412262291
Greatest common factor by Second numberGCF & LCM Calculator. Assumed Second number values and their calculated Greatest common factor. First number: 242913283612408431
Least common multiple by First numberGCF & LCM Calculator. Assumed First number values and their calculated Least common multiple. Second number: 361968422396247226468291,044

GCF & LCM Calculator: change the inputs and compare the resulting cases

How do I find the LCM using the GCF?

Multiply the two numbers and divide by their GCF. For 12 and 18, the product is 216 and the GCF is 6, so the LCM is 36.

When do I need the LCM for fractions?

When adding or subtracting fractions with different denominators. The LCM of the denominators is the smallest common denominator, which keeps numbers small.

Is the LCM ever smaller than the numbers?

Never. It is at least as large as the largest number. It equals it only when the others divide it evenly.

What is the LCM of two primes?

Their product. Two different primes share no factors, so the smallest number both divide is the product of the two.

How do I find the LCM of three numbers?

Find the LCM of the first two, then find the LCM of that result with the third. Prime factors work too: take the highest power of each prime.

Both original numbers must divide the result exactly, and that no smaller number does.

Least common multiple (LCM): other glossary lookups