Skip to main content
← All calculators

LCM Calculator

Find least common multiple

Last updated:
Try:
LCM (Least Common Multiple)
0
GCD (Greatest Common Divisor)
0
Step-by-Step: Prime Factorization
Step 1: Prime factorize each number
12 = 2^2 × 3
18 = 2 × 3^2
Step 2: Take highest power of each prime for LCM
LCM = 2^2 × 3^2 = 36
Step 3: Take lowest power of common primes for GCD
GCD = 2 × 3 = 6
Prime Factor Visualization
2^2(shared)
3^2(shared)

LCM & GCD Relationship

For Two Numbers
LCM(a,b) × GCD(a,b) = a × b
Coprime Numbers
If GCD = 1, then LCM = a × b

When to Use LCM

Adding Fractions
Find common denominator
Scheduling
Events that repeat at different intervals
Gear Ratios
When gears sync up again
Time Cycles
Multiple periodic events

How to Use the LCM Calculator

The LCM (Least Common Multiple) calculator finds the smallest number that is a multiple of two or more numbers. See the solution using multiple methods: prime factorization, listing multiples, and the division method.

What is LCM?

The Least Common Multiple is the smallest positive number that is divisible by all the given numbers:

LCM(4, 6) = 12 because 12 is the smallest number divisible by both 4 and 6.

Method 1: Prime Factorization

  1. Find the prime factorization of each number
  2. Take the highest power of each prime
  3. Multiply them together

Example: LCM(12, 18)
12 = 2² × 3
18 = 2 × 3²
LCM = 2² × 3² = 4 × 9 = 36

Method 2: Listing Multiples

List multiples of each number until you find a common one:

Multiples of 4: 4, 8, 12, 16, 20...
Multiples of 6: 6, 12, 18, 24...
LCM = 12

Method 3: Using GCF

The LCM and GCF are related:

LCM(a, b) = (a × b) / GCF(a, b)

Real-World Applications

  • Adding fractions: Finding a common denominator
  • Scheduling: When events coincide again
  • Gear ratios: Finding full rotation cycles

Related Calculators

For finding the GCF, use our GCF calculator. For fraction operations, try our fraction calculator.

Frequently Asked Questions

The Least Common Multiple (LCM) is the smallest positive number that both numbers divide into evenly. For example, LCM(4, 6) = 12 because 12 is the smallest number divisible by both 4 and 6 (12÷4=3, 12÷6=2).

Stay Updated

Get new calculators and tips delivered to your inbox.