Advertisement

Least Common Multiple Calculator

Find the least common multiple of two or more integers quickly and accurately.

▼ Enter numbers separated by commas and click Calculate
Least Common Multiple —

What Is the Least Common Multiple (LCM)?

The least common multiple (LCM), also known as the lowest common multiple, is the smallest positive integer that is divisible by two or more integers without leaving a remainder.

Example:
LCM(12, 18) = 36
Another example:
LCM(8, 20) = 40

The LCM is useful when working with fractions, repeating schedules, and problems involving common multiples.

Brute Force Method

List the multiples of each number until you find a common multiple. The smallest positive common multiple is the LCM.

Example:
Multiples of 12: 12, 24, 36, 48, 60, ...
Multiples of 18: 18, 36, 54, 72, ...
Therefore, LCM(12, 18) = 36.

This method is easy to understand but can be slow for large numbers.

Prime Factorization Method

Break each number into its prime factors, then multiply the highest power of every prime factor that appears in any of the numbers.

Example:
12 = 2 × 2 × 3
18 = 2 × 3 × 3
LCM(12, 18) = 2 × 2 × 3 × 3 = 36.

LCM Using the GCF

For two nonzero integers, the LCM can be calculated using their greatest common factor (GCF).

Formula:
LCM(a, b) = |a × b| ÷ GCF(a, b)
Example:
GCF(12, 18) = 6
LCM(12, 18) = (12 × 18) ÷ 6 = 36.

For more than two nonzero integers, calculate the LCM of the first two numbers, then use that result with the next number until all the numbers have been included.

How to Use the LCM Calculator

Step 1: Enter two or more integers separated by commas.
Step 2: Click the Calculate button.
Step 3: View the least common multiple displayed in the result area.

Where Is LCM Used?

  • Fractions: Finding a common denominator when adding or subtracting fractions.
  • Schedules: Finding when repeating events occur together again.
  • Mathematics: Solving divisibility and number-pattern problems.

Explore Related Calculators

Explore these free math calculators to solve related problems and check your calculations.

Frequently Asked Questions

What is the least common multiple?

The least common multiple (LCM) is the smallest positive integer divisible by two or more given integers without leaving a remainder.

How many numbers can I enter?

You can enter two or more integers separated by commas. The calculator finds the LCM of all the numbers entered.

How do I calculate the LCM of two numbers?

You can list their multiples, use prime factorization, or calculate the product of their absolute values divided by their greatest common factor.

Can I enter negative numbers?

The LCM of nonzero integers is based on their absolute values. For example, the LCM of -4 and 6 is 12.

What happens if I enter zero?

Under the convention used by many calculators, if any entered number is zero, the LCM result is zero. Check the calculator's behavior for the exact handling of zero.

What is the difference between LCM and GCF?

The LCM is the smallest positive common multiple, while the GCF is the greatest positive integer that divides all the given integers.

Can I find the LCM of more than two numbers?

Yes. Enter all the integers separated by commas to calculate their least common multiple together.

What is the prime factorization method?

Prime factorization breaks each number into prime factors. To find the LCM, multiply the highest power of each prime factor that appears in any of the numbers.

Where is the LCM used in everyday mathematics?

The LCM is useful for finding common denominators in fractions, comparing repeating schedules, and solving divisibility and number-pattern problems.

Is the LCM Calculator free to use?

Yes. SmartMyTools provides this online calculator free of charge for mathematical and educational purposes.

Disclaimer

This calculator is provided for general mathematical and educational purposes. While we aim to provide accurate results, SmartMyTools does not guarantee that the results are suitable for professional, academic, financial, engineering, or other specialized applications.

Advertisement