How to Calculate Least Common Multiple (LCM)
Learn how to find the Least Common Multiple (LCM) of two or more numbers using listing multiples, prime factorization, and the GCF formula. Includes step-by-step examples for each method.
What Is the Least Common Multiple?
The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is divisible by all of them. For 4 and 6, the LCM is 12 because 12 is the smallest number that both 4 and 6 divide into evenly. The LCM is fundamental for adding fractions with unlike denominators.
Method 1: Listing Multiples
List the first several multiples of each number and find the smallest one they share. Multiples of 4: {4, 8, 12, 16, 20, 24, ...}. Multiples of 6: {6, 12, 18, 24, ...}. The first common multiple is 12, so LCM(4, 6) = 12. This method is intuitive but becomes tedious for large numbers.
Method 2: Prime Factorization
Write each number as a product of primes, then take each prime factor to the highest power it appears in any of the numbers, and multiply. For LCM(12, 18): 12 = 2² × 3 and 18 = 2 × 3². Taking the highest powers: 2² × 3² = 4 × 9 = 36. So LCM(12, 18) = 36.
Method 3: Using the GCF Formula
Since GCF(a, b) × LCM(a, b) = a × b, you can compute LCM(a, b) = (a × b) / GCF(a, b). For a = 20 and b = 30: GCF(20, 30) = 10, so LCM = (20 × 30) / 10 = 600 / 10 = 60. This is often the fastest method once you know the GCF.
LCM of More Than Two Numbers
To find the LCM of three or more numbers, find the LCM of the first two, then find the LCM of that result with the third number. For LCM(4, 6, 9): LCM(4, 6) = 12, then LCM(12, 9) = 36. You can also use prime factorization across all numbers at once, taking the highest power of each prime.
Using LCM to Add Fractions
When adding fractions with different denominators, the LCM of the denominators is the Least Common Denominator (LCD). To add 1/4 + 1/6, find LCM(4, 6) = 12. Convert: 3/12 + 2/12 = 5/12. Using the LCM ensures the resulting fraction is already in its simplest form, or close to it.
Real-World Applications
LCM is used in scheduling problems: if Bus A arrives every 8 minutes and Bus B every 12 minutes, they both arrive together every LCM(8, 12) = 24 minutes. It is also used in gear ratios, musical rhythm patterns, and synchronizing repeating events of different frequencies.
Try These Calculators
Put what you learned into practice with these free calculators.
Related Guides
How to Calculate Greatest Common Factor (GCF)
Learn how to find the Greatest Common Factor (GCF) of two or more numbers using listing factors, prime factorization, and the Euclidean algorithm. Includes step-by-step examples and real-world uses.
How to Work with Fractions
Learn how to add, subtract, multiply, and divide fractions with step-by-step examples. Master simplifying fractions, finding common denominators, and converting between mixed numbers and improper fractions.
How to Calculate Ratios and Proportions
Learn how to set up and solve ratios and proportions with clear examples. Understand the difference between ratios and proportions and apply them in real-world situations like recipes, maps, and scaling.