LCM Calculator

Find the least common multiple of two or more integers and see each step of the GCD method.

LCM calculator

LCM(12, 18)36

LCM(12, 18) = 36

Calculation steps
  1. Step 1Find the GCDGCD(12, 18) = 6
  2. Step 2Apply the LCM formulaLCM = |12 × 18| ÷ 6
  3. Step 3Calculate the resultLCM(12, 18) = 36
LCM Summary
Numbers
12, 18
Least Common Multiple
36
GCD Used
6

Common LCM Problems

Adding Fractions

Use the LCM of the denominators as the least common denominator.

1/4 + 1/6 → LCM(4, 6) = 12

Repeating Events

Events repeating every 4 and 6 days meet again after 12 days.

LCM(4, 6) = 12 days

Scheduling

Synchronize several schedules that repeat at different intervals.

LCM(6, 8, 12) = 24

Ratio Planning

Align repeated quantities that follow different ratio cycles.

LCM(3, 5) = 15

Formula

Two numbers

LCM(a, b) = |a × b| ÷ GCD(a, b)

Multiple values

LCM(a, b, c) = LCM(LCM(a, b), c)

Examples

LCM of 12 and 18

LCM(12, 18) = 36

LCM of three integers

LCM(8, 12, 20) = 120

Repeating intervals

LCM(4, 6) = 12

LCM with zero

LCM(0, 12) = 0

Frequently Asked Questions

What is the least common multiple?

The least common multiple is the smallest positive integer that is divisible by every entered value.

How do you calculate LCM?

For two non-zero integers, multiply their absolute values and divide by their greatest common divisor.

What is the difference between LCM and GCD?

LCM is the smallest positive multiple shared by the values. GCD is the largest positive integer that divides all of them.

Can LCM be calculated for multiple numbers?

Yes. Calculate the LCM of the first pair, then combine that result with each remaining integer in order.

How is LCM used in fractions?

The LCM of the denominators provides the least common denominator used to add or compare fractions.