CalcGallery

Least Common Multiple Calculator

Find the smallest positive multiple shared by two whole numbers.

Built by AbhiLast reviewed September 19, 2026

First shared multipleLCM(18, 24)= 72

Your numbers

Result

Least common multiple: 72 multiple

The result is the smallest positive number divisible by both inputs.

Greatest common factor
6
Multiplier for first number
4
Multiplier for second number
3
Report a problem with this calculator
Your entries are kept on this device only.

Results follow the mathematical operation and values shown. Check that you selected the intended operation, convention and dataset type before relying on the result. Read the full disclaimer

How to use the Least Common Multiple Calculator

  1. Enter two positive whole numbers.
  2. Read the smallest positive multiple shared by both.
  3. Use the multipliers to verify how each input reaches the LCM.

The first multiple the numbers share

Listing multiples works for small values, but the relationship with the GCF is faster and exact:

lcm(a,b) = |a ÷ gcd(a,b) × b|

Dividing by the GCF first keeps the intermediate product smaller. The result is then divided by each input to show its whole-number multiplier.

See OpenStax least common multiple.

With your numbers

  1. GCF(18, 24) = 6.
  2. LCM = first ÷ GCF × second = 72.

Quick reference

The result is the smallest positive number divisible by both inputs.

Common math examples, worked out with this calculator's starting values.
ExampleLeast common multiple
18 and 2472
15 and 2060
7 and 963
12 and 1836
25 and 100100
8 and 88

Common questions about the Least Common Multiple Calculator

What is a least common multiple?
It is the smallest positive whole number divisible by both entered numbers.
How is LCM related to GCF?
For positive integers, LCM equals the absolute product divided by the GCF.
Why divide before multiplying?
It lowers the intermediate value and reduces overflow risk while producing the same exact integer.
How does LCM help with fractions?
The LCM of denominators is their least common denominator for addition or subtraction.

Report a problem with this calculator