Common Multiple Calculator

When will repeating cycles align again?

Calculate the least common multiple and other shared multiples of any set of numbers

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Imagine two gears with different numbers of teeth rotating together. The smaller gear completes more rotations, but eventually both gears return to their starting position simultaneously. This alignment point represents the least common multiple.

The calculator uses prime factorization to find LCM efficiently. Every number breaks down into prime factors (2, 3, 5, 7, 11, etc.). To find LCM, take the highest power of each prime that appears in any factorization. For 12 (2² × 3) and 18 (2 × 3²), the LCM uses 2² and 3², giving 36.

This method works because LCM represents the smallest number containing all prime factors needed to build each original number. Think of it as the minimal toolkit containing every component needed to construct all your starting numbers.

When To Use This
Right tool, right situation

Use LCM when predicting alignment of repeating cycles: bus schedules, medication timing, work rotations, or equipment maintenance intervals. LCM also solves fraction problems requiring common denominators.

LCM works well for scheduling problems where you control the starting time. If events already run on independent schedules, LCM predicts future alignments but cannot force synchronization.

Avoid LCM for averaging or proportional calculations. LCM grows larger than inputs, making it unsuitable for problems requiring values between the original numbers. Also avoid LCM when dealing with continuous variables like distances or weights - it applies only to discrete counting numbers.

Common Mistakes
Why results sometimes look wrong

The most common error is confusing LCM with simple multiplication. Many people assume the LCM of 6 and 8 is 48 (6 × 8), but it is actually 24. This mistake occurs because they ignore shared factors that reduce the final answer.

Another frequent mistake involves thinking LCM applies to fractions or decimals. LCM is defined only for positive integers. Converting 2.5 hours to 150 minutes before calculating LCM avoids this conceptual error.

People also misapply LCM to problems requiring GCD. If you need to divide something into equal parts, you want GCD (greatest common divisor), not LCM. LCM answers when cycles align; GCD answers what equal portions fit into multiple quantities.

The Math
Worked examples and deeper derivation

LCM connects directly to the fundamental theorem of arithmetic: every integer has a unique prime factorization. This uniqueness makes LCM calculation deterministic and reliable.

The relationship LCM(a,b) × GCD(a,b) = a × b provides a useful check. For numbers 12 and 18: LCM is 36, GCD is 6, and 36 × 6 = 216, which equals 12 × 18. This identity holds because together, LCM and GCD account for all prime factors exactly once.

For multiple numbers, LCM is associative: LCM(a,b,c) = LCM(LCM(a,b),c). This property allows the calculator to process any quantity of numbers by computing LCM pairs sequentially. However, LCM grows quickly - even small inputs can produce surprisingly large results.

Bus Schedule Synchronization
Bus A runs every 12 minutes, Bus B runs every 18 minutes
The LCM of 12 and 18 is 36, meaning both buses arrive at the same stop together every 36 minutes. If they align at 9:00 AM, they will next align at 9:36 AM, then 10:12 AM, and so on.
Medication Timing
Medicine A every 8 hours, Medicine B every 12 hours
The LCM of 8 and 12 is 24, so both medications align every 24 hours. If you take both at 8:00 AM today, you will take both together again at 8:00 AM tomorrow.
Work Shift Patterns
Department A: 5-day cycle, Department B: 7-day cycle, Department C: 4-day cycle
The LCM of 5, 7, and 4 is 140, meaning all three departments return to their starting shift pattern every 140 days (about 20 weeks).
Expert Unlock
The thing most explanations skip

LCM calculation time grows exponentially with input size due to prime factorization requirements. Numbers with many small prime factors (like 2520 = 2³ × 3² × 5 × 7) calculate quickly, while large primes cause delays. This explains why the calculator limits inputs to reasonable ranges.

When do repeating cycles align?

What is the difference between LCM and GCD?
LCM finds the smallest number that all your inputs divide into evenly, while GCD finds the largest number that divides evenly into all inputs. LCM answers when cycles align; GCD answers what interval they share.
Why does LCM matter for scheduling?
LCM tells you when repeating events happen simultaneously. Bus routes, medication schedules, work shifts, and maintenance cycles all use LCM to predict alignment points.
Can LCM be smaller than the largest input number?
No, LCM is always at least as large as the biggest input number. If one number divides evenly into another, the LCM equals the larger number.

Need something this doesn't cover?

Suggest a tool — we'll build it →