Find the Least Common Multiple (LCM) of two or more numbers with step-by-step solutions using prime factorization and division methods.
Enter 2 to 5 positive integers to find their Least Common Multiple (LCM) and Greatest Common Divisor (GCD).
Find the LCM of 12 and 18.
Prime factorization: 12 = 2ยฒ ร 3, 18 = 2 ร 3ยฒ
LCM: Take highest power of each prime: 2ยฒ ร 3ยฒ = 4 ร 9 = 36
The smallest number that both 12 and 18 divide into evenly is 36.
Find the LCM of 4, 6, and 9.
Prime factorization: 4 = 2ยฒ, 6 = 2 ร 3, 9 = 3ยฒ
LCM: Take highest power of each prime: 2ยฒ ร 3ยฒ = 4 ร 9 = 36
36 is divisible by 4, 6, and 9, and no smaller positive integer is.
Bus A runs every 6 minutes and Bus B runs every 8 minutes. When will they depart together again?
LCM(6, 8): 6 = 2 ร 3, 8 = 2ยณ โ 2ยณ ร 3 = 8 ร 3 = 24 minutes
The buses will depart together every 24 minutes.
Find the LCM of 7 and 11.
Both are prime numbers, so their LCM is simply their product.
LCM(7, 11) = 7 ร 11 = 77
When numbers are coprime (no common factors), the LCM is their product.
If two numbers share no common prime factors (e.g., 5 and 7), their LCM is simply their product.
For any two positive integers a and b: LCM(a, b) ร GCD(a, b) = a ร b. This is a handy check!
LCM(a, b, c) = LCM(LCM(a, b), c). Calculate the LCM of the first two, then find the LCM of that result with the next number.
If one number divides another (e.g., 4 and 12), the LCM is the larger number (12 in this case).
The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is divisible by each of the given integers. In other words, it's the smallest number that all the original numbers divide into evenly. The LCM is also known as the Lowest Common Multiple or Smallest Common Multiple.
For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that is divisible by both 4 (12 รท 4 = 3) and 6 (12 รท 6 = 2). The multiples of 4 are 4, 8, 12, 16, 20, 24... and the multiples of 6 are 6, 12, 18, 24, 30... โ the first common multiple is 12.
The LCM is a fundamental concept in number theory and arithmetic with many practical applications. It is essential for adding and subtracting fractions with different denominators, solving problems involving periodic events (like scheduling and gear ratios), and is used extensively in algebra when working with polynomial equations. Understanding LCM also strengthens your grasp of prime factorization and divisibility rules, which are key building blocks of mathematics.
There are several reliable methods to calculate the LCM. Our calculator uses the prime factorization method for clarity and the GCD-based method for efficiency.
Break each number into its prime factors, then multiply each prime raised to its highest exponent found in any of the numbers.
Write out multiples of each number until you find the smallest one that appears in all lists. Best for small numbers.
Use the relationship LCM(a, b) = a ร b รท GCD(a, b). This is the fastest method for two numbers.
Divide numbers by common prime factors in a ladder arrangement until no common factors remain. Multiply the divisors together.
โ ๏ธ Important Note: LCM calculations work with positive integers only. While our LCM Calculator provides accurate mathematical results, double-check critical calculations manually or with additional verification. The step-by-step breakdown is designed to help you understand the process, not just the final answer.