Math

Least Common Multiple Calculator

Live

Find the least common multiple and greatest common divisor of two or more integers.

About Least Common Multiple Calculator

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.

Set up Least Common Multiple Calculator

Workspace

Visual model

Adjust the values below to turn the calculation into a visual, interpretable result.

Complete the fields to prepare a result.

Enter two or more integers separated by commas, spaces, or line breaks.

Least Common Multiple Calculator results

Enter the values above, then find lcm and gcd to see the result.

Least Common Multiple Calculator method

The Euclidean algorithm finds greatest common divisors, and each least common multiple is accumulated with abs(a × b) divided by gcd(a,b).

How it works

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.

Examples

Least Common Multiple Calculator example

Example input
{
    "values": "12, 18, 30"
}
Expected result
{
    "lcm": 180,
    "gcd": 6,
    "normalized_values": "12, 18, 30"
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Frequently asked questions

How does the Least Common Multiple Calculator work?

The Euclidean algorithm finds greatest common divisors, and each least common multiple is accumulated with abs(a × b) divided by gcd(a,b).

What information should I enter in the Least Common Multiple Calculator?

Enter integers. Use values from the same scenario and keep measurement units consistent with the labels shown.

What results does the Least Common Multiple Calculator provide?

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.

How exact is the Least Common Multiple Calculator?

Inputs are treated as integers. Zero produces an LCM of zero, and signs do not change the positive LCM or GCD.