Least Common Multiple (LCM) Calculator

Find the Least Common Multiple (LCM) of a set of numbers. Enter two or more integers separated by commas to get the result.

Your Result

Enter at least two numbers above to find their LCM.

Understanding the Least Common Multiple (LCM)

The Least Common Multiple (LCM), also known as the Lowest Common Multiple, of two or more integers is the smallest positive integer that is a multiple of all the numbers. It's a fundamental concept in number theory and arithmetic.

For example, the LCM of 4 and 6 is 12.
Multiples of 4 are: 4, 8, 12, 16, 20, 24, ...
Multiples of 6 are: 6, 12, 18, 24, 30, ...
The first number to appear in both lists (the smallest common multiple) is 12.


How to Find the LCM

While listing out multiples works for small numbers, it becomes inefficient for larger ones. Our calculator uses a more efficient method, but here are the two most common manual techniques:


1. Prime Factorization Method

This method involves breaking down each number into its prime factors.

  1. Find the prime factorization of each number.
  2. List all prime factors that appear in any of the factorizations.
  3. For each prime factor, take the highest power it appears in any of the factorizations.
  4. Multiply these highest-powered prime factors together to get the LCM.

Example: Find the LCM of 12, 18, and 20


2. Using the Greatest Common Divisor (GCD)

For two numbers, a and b, the LCM can be found using their Greatest Common Divisor (GCD). The formula is:

LCM(a, b) = (|a × b|) / GCD(a, b)

To find the LCM of more than two numbers, this formula can be applied iteratively. For example:

LCM(a, b, c) = LCM( LCM(a, b), c )

This is the method our calculator uses as it is highly efficient. If you need to find the GCD of numbers, you can use our dedicated Greatest Common Divisor Calculator (Coming Soon).


Applications of LCM


Related Math Tools

Explore more of our calculators to assist with your mathematical needs: