LCM Calculator
Separate numbers using commas, spaces, semicolons, or new lines. Maximum 100 numbers.
Least Common Multiple (LCM)
—
LCM Calculator – How to Use
Use this free LCM calculator to find the Least Common Multiple of two or more positive whole numbers.
How to Use the Calculator
- Select whether you want to calculate the LCM of two numbers or multiple numbers.
- Enter your numbers in the input fields.
- Click the Calculate LCM button.
- Your answer will appear in the result section.
- Click Copy Result to copy your answer.
LCM Formula
LCM(a, b) = (a × b) ÷ GCD(a, b)
For multiple numbers, calculate the LCM step by step using the result and the next number.
Worked Examples
- LCM of 4 and 6 = 12
- LCM of 5 and 10 = 10
- LCM of 12 and 18 = 36
- LCM of 8, 12 and 16 = 48
- LCM of 3, 5 and 7 = 105
Important Notes
- Enter positive whole numbers only.
- Decimal numbers and negative numbers are not accepted.
- You can enter up to 100 numbers in multiple-number mode.
- The LCM is the smallest positive number divisible by all the given numbers.
Frequently Asked Questions
What is LCM?
LCM stands for Least Common Multiple. It is the smallest positive number that is exactly divisible by two or more given numbers.
How do you calculate LCM?
You can find the LCM by listing multiples, using prime factorization, or applying the formula involving the GCD.
What is the LCM of 12 and 18?
The LCM of 12 and 18 is 36 because 36 is the smallest number divisible by both.
Can I calculate the LCM of more than two numbers?
Yes. Select Multiple Numbers mode and enter up to 100 positive whole numbers.
What is the difference between LCM and GCD?
LCM is the smallest common multiple of numbers, while GCD is the greatest positive integer that divides all the given numbers.