Skip to main content
CalculatorAnything
Popular
Mortgage CalculatorPercentage CalculatorAge CalculatorBMI CalculatorGPA CalculatorWork Hours Calculator
Categories
Finance Business Percentage Date & Time Health Math Everyday Construction
All Calculators About

LCM Calculator

Find the Least Common Multiple (LCM) of two or more numbers.

About the LCM Calculator

The Least Common Multiple is the smallest number that all the numbers in a set divide into evenly — essential for adding fractions with different denominators, scheduling repeating events, and various number theory problems. This calculator finds the LCM of any list of numbers.

How It Works

The calculator combines numbers pairwise using the relationship between LCM and greatest common divisor: the LCM of two numbers equals their product divided by their greatest common divisor. It applies this repeatedly across the full list to find the LCM of all of them together.

LCM(a,b) = |a × b| / GCD(a,b), applied iteratively across the full list of numbers.

Worked example

Scenario: Finding the least common multiple of 4, 6 and 8.

  1. Prime factors: 4 = 2², 6 = 2 × 3, 8 = 2³.
  2. Take the highest power of each prime: 2³ and 3.
  3. LCM = 8 × 3 = 24.

Result: LCM(4, 6, 8) = 24.

When is the LCM useful?

The least common multiple is the smallest positive number that is a multiple of every supplied integer. It is useful for finding common denominators and for recurring schedules. For example, if one event repeats every 6 days and another every 8 days, both repeat together every 24 days because LCM(6, 8) = 24.

Tips and common mistakes

  • LCM × GCF = the product of the numbers, for two numbers: 4 × 6 = 24 = 12 × 2.
  • The LCM of fractions' denominators is the lowest common denominator.
  • Only positive whole numbers are accepted.

Assumptions & Limitations

  • Requires at least two numbers to compute a meaningful least common multiple.
  • Works with positive whole numbers, consistent with the standard mathematical definition of LCM.
  • Very large numbers with few small factors can produce a very large LCM, which is mathematically correct but may look surprising.

Frequently Asked Questions

Why do I need LCM to add fractions?

To add fractions with different denominators, you need a common denominator that both original denominators divide into evenly, and the smallest such number is the LCM of the two denominators, which minimizes the size of numbers you work with.

What is the LCM of two prime numbers?

The LCM of two different prime numbers is always simply their product, since prime numbers share no common factors other than 1.

How is LCM related to GCF?

For any two numbers, the product of their LCM and their GCF always equals the product of the two numbers themselves — the two concepts are mathematically linked through that identity.

Where is LCM used?

Adding fractions, scheduling repeating events (two buses every 4 and 6 minutes meet every 12), and gear ratios.

Related Calculators

GCF CalculatorFraction CalculatorPrime Number Calculator