Mathematics, Statistics & Geometry

LCM (Least Common Multiple) Calculator

Find the Least Common Multiple of multiple numbers instantly. Crucial for adding unlike fractions and solving periodic cycle problems.

Least Common Multiple (LCM)
60
Calculation StepsInputs: 12, 15, 20 Using the formula: LCM(a,b) = (a * b) / GCD(a,b) Finding LCM of 12 and 15: GCD(12, 15) = 3 LCM = (12 * 15) / 3 LCM = 180 / 3 = 60 Finding LCM of 60 and 20: GCD(60, 20) = 20 LCM = (60 * 20) / 20 LCM = 1200 / 20 = 60

Calculated locally in your browser. Fast, secure, and private.

Synchronizing Frequencies

The LCM Calculator (Least Common Multiple) is a fundamental mathematical tool that solves cycle synchronization and fractional arithmetic. By automatically calculating the Greatest Common Divisor behind the scenes, it finds the absolute lowest multiple instantly.

LCM(a,b)=abGCD(a,b)\begin{aligned} \text{LCM}(a, b) = \frac{|a \cdot b|}{\text{GCD}(a, b)} \end{aligned}

Where:
LCM\text{LCM}=
The smallest positive integer divisible by both numbers
a, b=
The two numbers being evaluated
GCD\text{GCD}=
The largest number that divides both inputs

The Mathematics of Cycles

Whenever you are dealing with independent events that cycle at different rates, the LCM tells you exactly when they will align. If bus A arrives every 15 minutes and bus B arrives every 25 minutes, the LCM (75) tells you that both buses will arrive at the exact same time every 75 minutes.

Real-World Applications

  • Computer Science: Scheduling CPU tasks in real-time operating systems. If task A runs every 10ms and task B runs every 14ms, the 'Hyperperiod' (where the whole schedule repeats) is their LCM (70ms).
  • Gear Ratios: In mechanical engineering, if a 12-tooth gear drives a 30-tooth gear, the LCM (60) dictates that the small gear must turn 5 times and the large gear 2 times before they return to their exact original alignment.
  • Music Theory: Determining the true repeating cycle length of polyrhythms (e.g., playing a 3-beat rhythm against a 4-beat rhythm repeats every 12 beats).

Frequently Asked Questions

The LCM is the smallest positive number that is a multiple of two or more numbers. For example, the LCM of 4 and 6 is 12, because 12 is the smallest number divisible by both.

They are mathematically linked. If you multiply two numbers together and divide by their Greatest Common Factor (GCF), you will always get their Least Common Multiple (LCM).

The most common use of the LCM is finding the 'Lowest Common Denominator' (LCD) when adding or subtracting fractions with different bottom numbers.

If the two numbers are prime (e.g., 5 and 7), their GCD is 1. Therefore, their LCM is simply the two numbers multiplied together (5 * 7 = 35).

Yes. You find the LCM of the first two numbers, then find the LCM of that result and the third number, and continue down the line.