Math CalculatorsClient-Side Calculation Engine

Least Common Multiple (LCM) Calculator

Find the LCM of two or more numbers.

Math Calculators

Least Common Multiple (LCM) Calculator

Find the least common multiple (LCM) of two or more numbers with step-by-step formula and prime factor breakdown.

Greatest Common Factor (GCF)
12
Least Common Multiple (LCM)
144

What is the Least Common Multiple (LCM) Calculator and How Does It Work?

The LCM Calculator finds the smallest positive number that two or more numbers all divide into evenly, using each number's relationship to their greatest common factor.

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

The least common multiple is calculated by multiplying the two numbers together and dividing by their greatest common factor, which removes the shared factors counted twice.

Where:
a, b= The numbers being compared
GCF(a, b)= The greatest common factor shared by a and b
Worked Calculation Examples
LCM of Two Numbers
Input:12, 18
Output:36

GCF(12,18) = 6, so LCM = (12×18)/6 = 216/6 = 36.

LCM of Three Numbers
Input:4, 6, 8
Output:24

The LCM is found pairwise: LCM(4,6)=12, then LCM(12,8)=24.

Common Real-World Use Cases

Adding & Subtracting Fractions

Find the least common denominator needed to add or subtract fractions with different denominators.

Scheduling & Recurring Events

Determine when two or more recurring events (e.g. every 4 days and every 6 days) will next line up.

Classroom Math

Verify LCM homework answers with step-by-step prime factor breakdowns.

How to Use the Least Common Multiple (LCM) Calculator
  1. 1Enter two or more numbers separated by commas or spaces.
  2. 2The calculator finds the GCF of the numbers, then computes the LCM from it.
  3. 3View the least common multiple along with the calculation steps.
Pro Tips & Suggestions
  • •The LCM of any two numbers is always divisible by both original numbers.
  • •When two numbers are coprime (GCF = 1), their LCM is simply their product.

Frequently Asked Questions

Explore Category

Math Calculators

Essential mathematical calculators for fractions, algebra, formulas, and general math.

View All Category Tools

Related Calculators & Tools