All tools
Math & Everyday

LCM Calculator

Least common multiple of two or more numbers, reduced step by step.

🔒 Runs entirely in your browser — nothing here is ever uploaded

About the LCM Calculator

Finds the least common multiple of two or more positive integers — the smallest number every value in your list divides into evenly.

100% Free Runs in Your Browser No Sign-Up Required
How to use it
  1. Enter two or more positive integers, separated by commas.
  2. The LCM is computed pairwise across your whole list, reducing left to right.
  3. Read the result, along with the GCD of the same set.
Formula
LCM(a, b) = (a × b) ÷ GCD(a, b), where GCD comes from the Euclidean algorithm; for more than two numbers, reduce pairwise across the list.
Worked example

LCM(4, 6, 8): LCM(4,6) = 24÷2 = 12, then LCM(12,8) = 96÷4 = 24. So the LCM of 4, 6, and 8 is 24.

Recommendations
  • Useful for adding fractions with different denominators — the LCM of the denominators is the smallest common denominator.
  • For scheduling problems (e.g. two events repeating every 4 and 6 days), the LCM tells you when they next coincide.
  • The LCM is always a multiple of every number in your list, and the GCD always divides every number — related but different.
Frequently asked questions
The LCM is the smallest common multiple; the GCD is the largest common divisor. For two numbers, LCM(a,b) × GCD(a,b) = a × b.
Sources