Least common multiple
—
Step by step
Find the least common multiple of two or more numbers, with every pairwise step shown so you can see exactly how the answer was reached.
Step by step
Enter any list of whole numbers to see the least common multiple and the working.
Type two or more positive whole numbers separated by commas or spaces, like 4, 6. Decimals are truncated and duplicates are fine.
It computes lcm(a, b) = a × b / gcd(a, b) on the first two numbers, then combines that result with the next number, and so on, until every number has been folded in.
The least common multiple appears at the top, and each pairwise reduction is listed below it. Need the largest shared factor instead? The GCF Calculator works the same list of numbers the other way.