Common Multiple Calculator
When will repeating cycles align again?
Calculate the least common multiple and other shared multiples of any set of numbers
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
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.
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?
Need something this doesn't cover?
Suggest a tool — we'll build it →