Least Common Multiple Calculator example
{
"values": "12, 18, 30"
}
{
"lcm": 180,
"gcd": 6,
"normalized_values": "12, 18, 30"
}
Math
Find the least common multiple and greatest common divisor of two or more integers.
Published Last reviewed
Find the least common multiple and greatest common divisor of two or more integers. Enter integers in a purpose-built workspace that keeps related controls together and makes units explicit. The Euclidean algorithm finds greatest common divisors, and each least common multiple is accumulated with abs(a × b) divided by gcd(a,b). The result panel reports least common multiple, greatest common divisor, integers used with copy-ready values and supporting context. Inputs are treated as integers. Zero produces an LCM of zero, and signs do not change the positive LCM or GCD. Processing stays in your browser and the entered values are not sent to UtilityPages.
Workspace
Adjust the values below to turn the calculation into a visual, interpretable result.
Complete the fields to prepare a result.
Enter the values above, then find lcm and gcd to see the result.
The Euclidean algorithm finds greatest common divisors, and each least common multiple is accumulated with abs(a × b) divided by gcd(a,b).
The Euclidean algorithm finds greatest common divisors, and each least common multiple is accumulated with abs(a × b) divided by gcd(a,b). Inputs are treated as integers. Zero produces an LCM of zero, and signs do not change the positive LCM or GCD.
{
"values": "12, 18, 30"
}
{
"lcm": 180,
"gcd": 6,
"normalized_values": "12, 18, 30"
}
This tool does not store your inputs or results on UtilityPages.org.
The Euclidean algorithm finds greatest common divisors, and each least common multiple is accumulated with abs(a × b) divided by gcd(a,b).
Enter integers. Use values from the same scenario and keep measurement units consistent with the labels shown.
The result workspace reports least common multiple, greatest common divisor, integers used. Supporting values are included so the primary result can be checked and interpreted.
Inputs are treated as integers. Zero produces an LCM of zero, and signs do not change the positive LCM or GCD.