Math / Browser calculator

Least Common Multiple Calculator

Least Common Multiple Calculator works from the inputs you provide and returns greatest common factor, least common multiple, common factors. Use the calculation panel to explore a scenario, then check the formula and limitations before applying the result.

Your inputs

Minimum: -1000000000 · Maximum: 1000000000 · Whole numbers
Minimum: -1000000000 · Maximum: 1000000000 · Whole numbers

Your results

Enter your values and calculate to see the result.

Formula and calculation method

gcd uses the Euclidean remainder algorithm. lcm(a,b)=|a/gcd(a,b) × b|. Common factors are positive divisors of gcd.

Use consistent units for all comparable inputs. The displayed result is rounded; arithmetic is performed with the full available numeric precision. Check your source measurements before relying on the result.

How to use least common multiple calculator

  1. Set First integer. The example below uses 12.
  2. Set Second integer. The example below uses 18.
  3. Select Calculate to update the result. Reset restores the illustrated inputs. Copy, print or download your own result if you need a record.

Worked example

Example inputs
First integer
12
Second integer
18
Greatest common factor
6
Least common multiple
36
Common factors
1, 2, 3, 6

Factors affecting your result

Use consistent units for all comparable inputs. The displayed result is rounded; arithmetic is performed with the full available numeric precision. Check your source measurements before relying on the result.

Changing first integer changes the scenario being evaluated. Adjust one input at a time when comparing results, keep a copy of the assumptions, and compare values using the same unit and period. A precise arithmetic result does not make an uncertain assumption precise.

Frequently asked questions

How does the least common multiple calculator work?

gcd uses the Euclidean remainder algorithm. lcm(a,b)=|a/gcd(a,b) × b|. Common factors are positive divisors of gcd.

What inputs does Least Common Multiple Calculator need?

Enter first integer, second integer. Choose values that correspond to the same situation and measurement convention.

How should I interpret the least common multiple calculator result?

Use consistent units for all comparable inputs. The displayed result is rounded; arithmetic is performed with the full available numeric precision. Check your source measurements before relying on the result.

Are my least common multiple calculator inputs uploaded?

No. The calculation runs in this browser. Favorites, recent tool names, theme and formatting preferences may be saved locally, but calculation inputs are not sent to a calculation server or stored by this website. Shared links do not include entered values.

Maintained by Calculators.buzz Editorial Team. Implementation date: . No professional credentials or clinical review are claimed. Read our methodology policy.