CalculatorForEver
MATH / CALCULATOR

Least Common Multiple Calculator

Find the smallest positive multiple shared by two integers.

The least common multiple is the smallest positive whole number divisible by both entered positive integers. It is useful for matching repeating intervals and finding common denominators.

Your numbers

BROWSER-LOCAL INPUTS

Your inputs stay in this browser. No account needed.

RESULT

Your result

Enter your values and select Calculate.

Check the units and assumptions before using this result.

METHOD

How the least common multiple calculator works

How to use this calculator

Enter the two positive integers. The result is useful for finding a common denominator.

What the result means

A common multiple is divisible by both entered integers. The least common multiple is the first positive one. When combining fractions, a common denominator based on the LCM is often smaller than the product of the denominators.

The formula

LCM(a,b) = |ab|/GCF(a,b)

A worked example

The least common multiple of 12 and 18 is 36.

Assumptions & methodology

This tool accepts positive whole numbers. Large results must remain within JavaScript’s exact integer range. Results are rounded for display; intermediate calculations retain precision. This tool is informational and does not replace institutional or professional guidance.

References

OpenStax: Introductory Statistics and Prealgebra.

INTERPRETATION

Understanding least common multiple results

LCM versus multiplying the numbers

The product is always a common multiple, but it may not be the least one. Shared factors can be removed using the greatest common factor. For 12 and 18, the product is 216 while their least common multiple is 36.

Common denominators without extra work

Fractions with denominators 12 and 18 can both be expressed with denominator 36. Choosing the least common denominator keeps the intermediate numbers smaller. Enter positive whole numbers for both inputs.

Example: finding the least common multiple of 12 and 18

Use positive whole numbers. The least common multiple is the first positive value in both lists.
Method stepResult
Multiples of 1212, 24, 36, 48…
Multiples of 1818, 36, 54…
Greatest common factor6
12 × 18 ÷ 636
RELATED GUIDES

Least Common Multiple questions and examples

Read a worked explanation before trying another calculation.

QUESTIONS

Least Common Multiple questions

What if one number divides the other?+

The larger number is the LCM. For example, the LCM of 4 and 12 is 12.

Can the LCM be smaller than either input?+

Not for positive integers. It must be a positive multiple of each one.