Need to find the least common multiple of two or more numbers? Our free LCM Calculator makes it quick and easy. Enter your numbers and get the LCM instantly, along with a simple explanation of the result. It is useful for math homework, fractions, schedules, and everyday calculations.
LCM Calculator
How to Use the LCM Calculator
Using the LCM Calculator is simple. Enter two or more positive whole numbers in the boxes and click Calculate LCM.
If you need to work with more than two numbers, click + Add Number to add another field. The calculator can handle up to 10 numbers at a time.
The result will show the least common multiple of the numbers you entered. Click Clear whenever you want to start a new calculation.
What Is LCM?
LCM stands for Least Common Multiple. It is the smallest positive number that is a multiple of two or more numbers.
For example, the multiples of 4 are 4, 8, 12, 16, 20, 24 and so on.
The multiples of 6 are 6, 12, 18, 24 and so on.
The first positive number that appears in both lists is 12, so the LCM of 4 and 6 is 12.
LCM Formula
One common way to find the LCM of two numbers is:
LCM(a, b) = |a × b| ÷ GCD(a, b)
Here, GCD means the Greatest Common Divisor.
For larger calculations, the calculator does the math automatically, so you do not have to find the common multiples by hand.
LCM Calculator Examples
Example 1: LCM of 4 and 6
The multiples of 4 include 4, 8, 12, 16, 20…
The multiples of 6 include 6, 12, 18, 24…
The first common multiple is 12.
Therefore:
LCM(4, 6) = 12
Example 2: LCM of 12 and 18
The LCM of 12 and 18 is 36.
Therefore:
LCM(12, 18) = 36
Example 3: LCM of 5, 10 and 15
When working with three numbers, the calculator can find the common multiple of all three.
LCM(5, 10, 15) = 30
Where Is LCM Used?
LCM is useful in many everyday and mathematical situations. It can help when working with fractions, repeating schedules, number patterns, and problems where different intervals need to line up.
For example, if one event happens every 4 days and another happens every 6 days, the LCM can help determine when their schedules will line up again.
LCM vs. GCD
LCM and GCD solve different types of problems.
LCM finds the smallest positive number that is a multiple of the given numbers.
GCD finds the largest whole number that divides the given numbers without leaving a remainder.
For example, for 12 and 18:
LCM = 36
GCD = 6
Both are useful when working with factors, multiples, fractions, and other mathematical problems.
LCM and Fractions
LCM is particularly useful when adding or subtracting fractions with different denominators.
For example, when working with:
1/4 + 1/6
the LCM of 4 and 6 is 12. This gives both fractions a common denominator:
1/4 = 3/12
1/6 = 2/12
So:
3/12 + 2/12 = 5/12
Finding the LCM makes these types of fraction calculations easier.
Frequently Asked Questions
What does LCM stand for?
LCM stands for Least Common Multiple. It is the smallest positive number that is a multiple of two or more given numbers.
Can I calculate the LCM of more than two numbers?
Yes. You can add additional number fields and calculate the LCM of several positive whole numbers at once.
Can I enter decimal numbers?
No. LCM is normally calculated using positive whole numbers, so this calculator accepts whole numbers only.
What is the LCM of two prime numbers?
If two different prime numbers are given, their LCM is the product of the two numbers.
For example:
LCM(5, 7) = 35
Can LCM be used for fractions?
Yes. LCM is commonly used to find a common denominator when adding or subtracting fractions.
Related Calculators
You may also find our GCD Calculator, Fraction Calculator, Percentage Calculator, Ratio Calculator, Average Calculator, Square Root Calculator and Exponent Calculator useful for other math problems.