Tools 365

All Tools74 tools available

LCM Calculator

Calculate the Least Common Multiple (LCM) of two numbers

Enter Numbers
Enter two non-negative integers to find their LCM
How to Use

What is LCM?

The Least Common Multiple (LCM) is the smallest positive integer that is divisible by both numbers. It's the smallest number that both numbers can divide into evenly.

Examples:

Example 1:
LCM(12, 18) = 36
GCD(12, 18) = 6
Formula: (12 × 18) / 6 = 216 / 6 = 36
Example 2:
LCM(4, 6) = 12
GCD(4, 6) = 2
Formula: (4 × 6) / 2 = 24 / 2 = 12
Example 3:
LCM(7, 5) = 35
GCD(7, 5) = 1
Formula: (7 × 5) / 1 = 35 / 1 = 35

Use Cases:

  • Finding common denominators when adding or subtracting fractions
  • Scheduling problems (e.g., when two events will coincide)
  • Determining when gears or cycles will align
  • Planning repeating events that occur at different intervals
  • Solving problems in music theory (rhythm and timing)

Special Cases:

  • LCM(n, 0) = 0 (any number with 0)
  • LCM(n, 1) = n (any number with 1)
  • LCM(n, n) = n (a number with itself)
  • If two numbers are coprime (GCD = 1), their LCM is their product