SumReflex Math tools
LCM

Number Theory

Least Common Multiple Calculator

Find the smallest positive integer that each entered whole number divides evenly.

Preparing Least Common Multiple Calculator
Please wait ...
Input
Enter the integers, and the calculator will return their least common multiple.
Input summary
Your calculator summary shows here.

Step-by-Step Calculation

LCM
Step-by-step work appears here
Calculate first and the full working will be placed here.

Shared multiple notes

Finding the first number where several integer patterns meet

LCM looks upward through multiples

The least common multiple is the smallest positive number that appears in every entered number pattern. For 6 and 8, the multiples of 6 are 6, 12, 18, 24, and the multiples of 8 are 8, 16, 24. The first shared value is 24, so the LCM is 24.

This is different from finding a common factor. Multiples move upward from the entered numbers. Factors divide into the entered numbers. If the problem asks for the largest number that divides every value, use the Greatest Common Factor Calculator instead.

Prime factors give a compact route

For larger numbers, listing multiples can become slow. Prime factorization gives a cleaner method: break every number into prime powers, then keep the highest power of each prime that appears. For 12 and 18, the factors are 2^2 x 3 and 2 x 3^2. The LCM keeps 2^2 and 3^2, giving 36.

If the prime breakdown is the hard part, the Prime Factorization Calculator can show the structure before the LCM is chosen.

This method also prevents repeated multiplication from growing messy. The answer is built from the prime factors needed to cover every entered number, not from multiplying all numbers together without checking overlap.

The LCM is useful for fractions

A common denominator is usually a common multiple of the denominators. The least common denominator is the LCM. When adding 1/6 and 1/8, the LCM of 6 and 8 gives 24, which keeps the rewritten fractions smaller than using a larger common denominator. The Fraction Calculator can carry out the fraction operation after the denominator idea is clear.

Using a common denominator larger than the LCM can still work, but it often creates extra simplification later. The LCM keeps the work cleaner.

Schedules and cycles use the same idea

LCM is not only a classroom fraction tool. If one event repeats every 4 days and another repeats every 10 days, their next shared meeting point is the LCM of 4 and 10, which is 20 days. This is why LCM appears in repeating schedules, blinking lights, machine cycles, calendar patterns, and music rhythms.

For schedule problems, write the unit with the result. An LCM of 20 could mean 20 minutes, 20 days, 20 beats, or 20 cycles depending on the original pattern.

Zero and negative entries need interpretation

Standard school LCM work uses positive whole numbers. Negative signs do not change the positive multiple pattern, but zero creates a special case because zero does not have the same positive multiple behavior. If a list includes zero, read the calculator note carefully before using the result in a fraction or schedule problem.

Decimals and fractions should usually be rewritten or scaled before ordinary integer LCM methods are used. The calculator is designed around integer patterns.

Use divisibility rules as a first screen

Before calculating, quick divisibility checks can simplify the work. If one number is already a multiple of another, the larger number may be the LCM for that pair. The prime and composite numbers chart and the divisibility chart pages can support that mental screening before the full calculation begins.