LCM Calculator
Find the least common multiple of two or more whole numbers, with prime factors and steps.
Use non-zero whole numbers. Negative values are treated by absolute value.
Status: initial
Results
Awaiting calculation
Introduction
The LCM Calculator finds the least common multiple of two or more whole numbers and shows prime factors and calculation steps.
For two numbers, LCM(a,b) = abs(a x b) / GCD(a,b). For more than two numbers, apply the same formula pair by pair.
Formula and method guide
Two-number LCM
LCM(a,b) = abs(a x b) / GCD(a,b)
Use this efficient method when the GCD is known.
Multiple numbers
LCM(a,b,c) = LCM(LCM(a,b), c)
Use this for three or more whole numbers.
Prime factorization
LCM = product of highest prime powers
Use this method when explaining LCM by factors.
Variables
The whole numbers used to find the LCM.
The smallest positive number divisible by every input value.
The greatest common divisor used in the pairwise formula.
Prime-number building blocks of each input value.
A number produced by multiplying another number by a whole number.