LCM Calculator
The LCM Calculator finds the least common multiple of two or more positive integers. The least common multiple is the smallest positive integer that is divisible by every number in the set without a remainder. Enter numbers separated by commas or spaces. The calculator supports more than two numbers and combines them pair by pair using the relationship between LCM and the greatest common factor.
Separate numbers with commas or spaces. You can calculate more than two numbers at once.
The calculator repeatedly applies LCM(a,b) = |a × b| ÷ GCF(a,b) until every entered integer has been included.
How to use the LCM Calculator
- Enter two or more positive whole numbers separated by commas or spaces.
- The calculator determines the greatest common factor for the first pair.
- It applies LCM(a,b) = |a × b| ÷ GCF(a,b).
- If more numbers were entered, the previous LCM is combined with the next number.
- This process continues until every entered number has been included.
- The final value is the smallest positive multiple shared by all entered numbers.
- Use the GCF Calculator when you need the greatest shared factor instead.
Examples
LCM of 4 and 6
Multiples first shared by 4 and 6 meet at 12, so LCM(4,6) = 12.
LCM of 12 and 18
GCF(12,18) = 6, so LCM = 12 × 18 ÷ 6 = 36.
LCM of 3, 4 and 5
The smallest positive integer divisible by 3, 4 and 5 is 60.
LCM of 8 and 12
The first shared positive multiple is 24.
Frequently asked questions
What does LCM mean?
LCM means least common multiple: the smallest positive number divisible by all numbers in the set.
How do you calculate LCM using GCF?
For two positive integers, LCM(a,b) = |a × b| ÷ GCF(a,b).
Can I find the LCM of more than two numbers?
Yes. This calculator accepts multiple positive integers and combines them successively.
What is the LCM of 4 and 6?
12.
What is the difference between LCM and GCF?
LCM is the smallest shared multiple, while GCF is the largest shared factor.
Can the LCM be smaller than the entered numbers?
For positive integers, the LCM cannot be smaller than the largest number in the set.
More math tools
GCF Calculator
PopularFind the greatest common factor of two or more positive integers.
Open tool →Prime Number Checker
PopularCheck whether a whole number is prime or composite and list its positive factors.
Open tool →Ratio Calculator
PopularSimplify ratios and find equivalent ratios.
Open tool →Proportion Calculator
Solve proportions and missing ratio values.
Open tool →Fraction Calculator
PopularCalculate and simplify fractions and mixed numbers with steps.
Open tool →Scientific Calculator
PopularAdvanced calculator for trig, logs, roots, powers, factorials and more.
Open tool →