How Least Common Multiple Calculator Works?
The Least Common Multiple Calculator works in 4 steps: it reads 2 numbers, finds their greatest common factor (GCF), divides their product by the GCF, and prints the least common multiple (LCM). The tool reads the 2 numbers from the denominator fields of the fraction form.
Enter the 2 numbers
Type the first number in the first denominator box and the second number in the second denominator box. Set both numerators to 1, so
1/14and1/21stand for the numbers 14 and 21.Find the GCF
The calculator runs the Euclidean algorithm on 14 and 21: 21 = 1 × 14 + 7 and 14 = 2 × 7 + 0, so the GCF is 7.
Divide the product by the GCF
The product 14 × 21 = 294 is divided by 7. The result, 42, is the smallest number that both 14 and 21 divide into.
Read the result
The result panel shows
LCD = 42, which is the LCM of 14 and 21. The second line shows1/14 = 3/42and1/21 = 2/42, where 3 and 2 are the multipliers 42 ÷ 14 and 42 ÷ 21.
Least Common Multiple Calculator Formula
The least common multiple formula is LCM(a, b) = |a × b| ÷ GCF(a, b). The prime factor method gives the same value for 2 or more numbers.
GCF division rule
Multiply the 2 numbers and divide by their GCF. LCM(16, 20) = 320 ÷ 4 = 80.
Prime power rule
Write each number as prime powers and keep the largest exponent of each prime. 12 = 2² × 3 and 45 = 3² × 5 give 2² × 3² × 5 = 180.
Coprime rule
Numbers with no shared factor have an LCM equal to their product, for example LCM(7, 13) = 91.
Three or more numbers
Reduce the list 1 pair at a time. LCM(6, 8, 10) = LCM(24, 10) = 120.
Worked example: LCM of 28 and 36
- Factor 28: 28 = 2² × 7.
- Factor 36: 36 = 2² × 3².
- Keep the highest power of each prime: 2², 3², and 7.
- Multiply: 4 × 9 × 7 = 252.
- Check with the GCF rule: GCF(28, 36) = 4, and 28 × 36 ÷ 4 = 1008 ÷ 4 = 252.
Least Common Multiple Calculator Conversion Table
The least common multiple conversion table lists 12 number pairs with their prime factors, the GCF, the LCM, and a product check.
| Numbers | Prime Factors | GCF | LCM | Product ÷ GCF |
|---|---|---|---|---|
| 4, 10 | 2²; 2 × 5 | 2 | 20 | 40 ÷ 2 = 20 |
| 6, 15 | 2 × 3; 3 × 5 | 3 | 30 | 90 ÷ 3 = 30 |
| 8, 12 | 2³; 2² × 3 | 4 | 24 | 96 ÷ 4 = 24 |
| 9, 21 | 3²; 3 × 7 | 3 | 63 | 189 ÷ 3 = 63 |
| 16, 20 | 2⁴; 2² × 5 | 4 | 80 | 320 ÷ 4 = 80 |
| 18, 30 | 2 × 3²; 2 × 3 × 5 | 6 | 90 | 540 ÷ 6 = 90 |
| 25, 35 | 5²; 5 × 7 | 5 | 175 | 875 ÷ 5 = 175 |
| 12, 45 | 2² × 3; 3² × 5 | 3 | 180 | 540 ÷ 3 = 180 |
| 7, 13 | 7; 13 | 1 | 91 | 91 ÷ 1 = 91 |
| 24, 36 | 2³ × 3; 2² × 3² | 12 | 72 | 864 ÷ 12 = 72 |
| 30, 42 | 2 × 3 × 5; 2 × 3 × 7 | 6 | 210 | 1260 ÷ 6 = 210 |
| 40, 64 | 2³ × 5; 2⁶ | 8 | 320 | 2560 ÷ 8 = 320 |
What is Least Common Multiple Calculator?
A Least Common Multiple Calculator is a tool that returns the smallest positive integer that 2 numbers both divide into with no remainder. The least common multiple (LCM) of 8 and 12 is 24: 24 ÷ 8 = 3 and 24 ÷ 12 = 2.
The LCM and the greatest common factor (GCF) are linked by 1 identity: LCM(a, b) × GCF(a, b) = a × b. For 18 and 30, the GCF is 6 and the LCM is 90, and 6 × 90 = 540 = 18 × 30. The calculator uses this identity to find the LCM in a few division steps.
The LCM of 2 fraction denominators is the least common denominator (LCD). The calculator labels the LCM as LCD for that reason, and the same value answers whole-number questions such as cycle timing, gear rotations, and schedule overlaps.
What are the uses of Least Common Multiple Calculator?
The Least Common Multiple Calculator has 6 main uses, including schedule alignment, gear timing, and fraction denominators.
Schedule alignment
2 buses leave a station every 12 and 18 minutes. LCM(12, 18) = 36, so both buses leave together every 36 minutes.
Gear timing
A 24-tooth gear meshes with a 36-tooth gear. The same 2 teeth meet again after LCM(24, 36) = 72 teeth: 3 turns of the small gear and 2 turns of the large gear.
Package matching
Hot dogs come in packs of 10 and buns in packs of 8. LCM(10, 8) = 40, so 4 packs of hot dogs and 5 packs of buns match with no leftovers.
Fraction denominators
The LCM of 9 and 21 is 63, so
4/9 + 2/21uses the denominator 63:28/63 + 6/63 = 34/63.Rhythm patterns
A 3-beat pattern and a 4-beat pattern line up again after LCM(3, 4) = 12 beats.
Number theory practice
Students verify the identity LCM × GCF = a × b on pairs such as 25 and 35: 175 × 5 = 875 = 25 × 35.