Find the least common multiple of two or more integers, with exact results and calculation steps.
Least Common Multiple Calculator (LCM)
FREE ONLINE TOOL
Separate integers with spaces, commas or semicolons. Up to 30 digits per integer.
Least common multiple (LCM)
72
Calculation steps
LCM(a, b) = |a × b| ÷ GCD(a, b). A zero input gives LCM = 0.
GCD(12, 18) = 6; LCM(12, 18) = 36
GCD(36, 24) = 12; LCM(36, 24) = 72
STEP BY STEP
How to use least common multiple calculator (lcm)
Enter 2–20 integers separated by spaces, commas or semicolons.
Read the exact least common multiple and each GCD-based step.
Copy the result or change the numbers to calculate again.
WHEN IT HELPS
Common uses
Find a common denominator for several fractions.
Find when repeating cycles coincide.
IN PRACTICE
Example
The least common multiple of 12, 18 and 24 is 72.
GOOD TO KNOW
Can I enter zero or negative numbers?
Negative numbers use their absolute values. If any input is zero, the LCM is zero by convention. Each integer may contain up to 30 digits.
Negative integers use absolute values. If any input is zero, the LCM is zero by convention. Each integer may contain up to 30 digits; decimals are not accepted.
Find the least common multiple with a worked example
The least common multiple, or LCM, is the smallest positive integer divisible by every input. For 12 and 18, the multiples of 12 begin 12, 24, 36 and the multiples of 18 begin 18, 36. Their first common multiple is 36. It is useful for finding a common denominator or the next shared occurrence of repeating intervals.
LCM and greatest common divisor are different
The greatest common divisor divides both numbers; the LCM is divisible by both. For 12 and 18, the GCD is 6 and the LCM is 36. For two positive integers, LCM(a, b) = a ÷ GCD(a, b) × b. Repeatedly apply the calculation when using more than two inputs, and use whole numbers rather than decimal measurements.
Least Common Multiple Calculator — Find LCM | Toolnoza