LCM Calculator (Least Common Multiple)

Write down numbers in the designated field and select the method. The LCM calculator will instantly determine the least common multiple of numbers provided.

ADVERTISEMENT

LCM Calculator:

This LCM calculator finds the least common multiple (LCM) of two or more numbers, providing instant results along with step-by-step explanations. You can choose different methods, like prime factorization, the GCD formula, or the division/ladder method, to see how the result is derived. 

What Is LCM?

In mathematics, the LCM of two numbers a and b is referred to as the smallest positive number that is divisible by both a and b.

For example, the LCM of 2, 5, and 7 is 70, because 70 is the smallest number that all three divide into without leaving a remainder.

Determining the LCM is important in mathematics, especially when dealing with ratios, fractions, and repeating patterns.

Other Names for LCM:

The Least Common Multiple is also known as:

  • Lowest Common Multiple
  • Smallest Common Multiple
  • Least Common Denominator (when working with fractions)

Why Use an LCM Calculator?

Using an LCM calculator saves you from doing the hard work of manual calculation. The tool provides instant results and also shows you how the answer is derived. This way, it not only saves time and effort but also reduces the chance of errors.

Benefits of Using an Online LCM Tool

  • Instant Results: Provides the LCM in seconds
  • Step-by-Step Methods: Provides step-by-step solutions using prime factorization, GCF method, or division/ladder method
  • Handles Multiple Numbers: Easily handle the LCM of 2, 3, or even more values at once
  • Error-Free Calculations: Reduces the risk of human errors 
  • Learning Support: Helps in understanding the process, instead of just providing the answer

Common Scenarios Where LCM Is Useful:

  • Fractions: Helpful when needed to find the common denominator for performing the addition or subtraction
  • Patterns and Sequence Identification: Useful for recognizing repeating patterns or sequences 
  • Problem-Solving & Competitive Exams: Often used with the number theory questions for quick LCM calculations

How to Calculate LCM?

Here, we have mentioned four popular methods to find the LCM of numbers. Let's take a look:

1. By Listing Multiples (Brute-Force Method):

The LCM can be calculated by listing all the multiples of the given integers until the matched integer is reached. This method is also known as the Brute-Force method. Here is an example to clear the concept of calculation by listing the multiples.

Example:

What is the least common factor of 8,12, and 16?

Solution:

Multiples of 8 = 8,16,24,32,40,48,56,64

Multiples of 12 = 12,24,36,48,60,72

Multiples of 16 = 16,32,48,64,80

Here, the smallest number that is on all the lists is 48. So, the LCM of 8,12,16 is 48. Manual calculation is time-consuming and prone to human errors. Simply, input your numbers into the least common multiple calculator and get the results. 

2. By Prime Factorization Method:

Prime factorization includes the splitting of each number, which is further compared to the product of prime numbers. After that, the LCM is calculated by multiplying the highest power of every prime by one another. This method is more efficient than the Brute-Force method. To learn the step-by-step method for finding the LCM through prime factorization, try our free prime factorization calculator. Let’s try an example of this method:

For example:

Find out the LCM of 10,15, and 20?

Solution:

Prime factors of 10: 2 × 5

Prime factors of 15: 3 × 5

Prime factors of 20: 2 × 2 × 5

Then,

LCM is = 5 × 2 × 2 × 3 = 60

3. By The Greatest Common Factor (GCF) Method:

GCF is also known as the greatest common divisor method. In the GCF method, all you need to do is divide the product of numbers by their greatest common factor. The formula to find LCM with this method is as follows: 

LCM (a,b) = a * b / GCF

Example:

Find the LCM of 4 and 10?

Solution:

The GCF of 4 and 10 = 2 LCM (4 ,10) = 4 * 10 / 2 LCM (4 ,10) = 20

4. By the Cake/Ladder Method:

The cake method finds the LCM of the given numbers using simple division. People use the cake/ladder method to find the least common multiple because it is the easiest way of finding the LCM. Let’s try an example for this method.

Example:

Find LCM of 8,12,14,20?

Solution:

Write the numbers in a row. 8,12,14,20 Divide the numbers by a prime number that is divisible by two or more numbers.

table { border-collapse: collapse; margin: 20px 0; font-family: Arial, sans-serif; } th, td { border: 1px solid #000; padding: 10px 15px; text-align: center; } .highlight-col { background-color: #f7ec3d; /* yellow for first column */ } .highlight-row { background-color: #f7ec3d; /* yellow for bottom row */ } 

Cake / Ladder Method:

2 8 12 14 20
2 4 6 7 10
2 3 7 5  

The LCM of 8,12,14,20 = 2 × 2 × 2 × 3 × 7 × 5 = 840. 

For a quick calculation using the cake/ladder method, try an online LCM calculator.

5. By Division Method: 

You can easily find the LCM of any set of numbers by using this method. 

Example:

Find out the LCM of 6,12,15?

Solution:

Write the numbers in a row. 8,12,14,20 Divide the numbers by a prime number that is divisible by two or more numbers. Divide until the last term will be all one’s.

LCM of 8, 12, 14, 20 Using Division (Ladder) Method

Divisor 8 12 14 20
2 4 6 7 10
2 2 3 7 5
2 1 3 7 5
3 1 1 7 5
5 1 1 7 1
7 1 1 1 1

LCM = 2 × 2 × 2 × 3 × 5 × 7 = 840

Properties of LCM:

1. Commutative Property:

The order in which the numbers are arranged does not affect the LCM.
LCM(a, b) = LCM(b, a)

Example:
LCM(10, 12) = LCM(12, 10) = 60

2. Associative Property:

Grouping the numbers in any arrangement does not change the LCM.
LCM(a, LCM(b, c)) = LCM(LCM(a, b), c)

Example:
LCM(4, LCM(5, 10)) = LCM(4, 10) = 20
LCM(LCM(4, 5), 10) = LCM(20, 10) = 20

3. Distributive Property:

LCM does not have a distributive property over addition or subtraction.
However, LCM and GCF share a multiplicative relationship that can behave like a distributive shortcut in solving certain problems.

4. Relationship Between LCM and GCF

LCM and GCF (Greatest Common Factor) are closely related.

For any two positive integers a and b:
a × b = LCM(a, b) × GCF(a, b)

You can rearrange this formula to find LCM:
LCM(a, b) = (a × b) / GCF(a, b)

Example:
a = 12, b = 15
GCF(12, 15) = 3
LCM(12, 15) = (12 × 15) ÷ 3 = 180 ÷ 3 = 60

Real-World Applications:

LCM is widely used in various fields of life. However, here we have listed a few of them:

  • Fractions /Least Common Denominator: LCM is used in performing the addition and subtraction of fractions
  • Scheduling Repeating Events: It is used to find out when two or more repeating events occur at the same time
  • Engineering / Periodic Processes: In engineering, LCM is used to synchronize processes that operate in cycles

How to Use the LCM Calculator?

  1. Input the numbers separated by commas in the designated field of the calculator (for example: 12, 14, 32). 
  2. Choose the method from the drop-down menu. The available methods are:
    1. Listing Multiples
    2. Prime Factorization
    3. GCF Method
    4. Cake/Ladder Method
    5. Division Method
  3. Click the “Calculate” button
  4. See the least common multiple along with the detailed steps based on the chosen method

Allowed Inputs:

The LCM finder accepts:

Positive Integers Only:

  • Multiple numbers separated by commas
  • No decimals, fractions, negatives, or special symbols
  • No blank entries or non-numeric characters

Valid Inputs Examples:

  • 6, 12
  • 6, 10, 18
  • 14, 20, 25, 30

Invalid Inputs Examples:

  • 4.5, 7.2 (decimals not allowed)
  • -5, 10 (no negative numbers)
  • 10, twenty (letters not allowed)

FAQ’s:

How to Find the LCM of Fractions?

Follow these steps:

  1. Find the LCM of the numerator
  2. Find the LCM of the denominator
  3. Divide the LCM of the numerator by the LCM of the denominator

LCM of Fractions = LCM of Numerators / LCM of Denominators

How is LCM different from GCD?

  • LCM (Least Common Multiple): The smallest common number that is divisible by all the numbers in a set. 
  • GCD / GCF (Greatest Common Divisor / Greatest Common Factor): The largest common number that divides all the given numbers in a set exactly. 

Can I find the LCM of More than Two Numbers?

Yes, you can easily find the LCM of two or more numbers with our LCM calculator online. Simply, input your numbers, separate them with commas, click calculate, and that's it, you will see the LCM. 

What to Do if Numbers are Negative / Zero?

  • Zero: If one or more zeros are present in a set, then the LCM is undefined
  • Negative Number: If the set contains a negative number, then the LCM finder will not process it

Tip: Always provide the positive integers to get a valid LCM. 

Why do we need LCM in Fractions?

In fractions, LCM is used to get the least common denominator(LCD). With a common denominator, fractions can be added or subtracted directly, which makes calculations much easier.

What is the LCM of 12, 15, and 21?

The least common multiple of 12,15, and 21 is 420.

What is the LCM for 24 and 300 by the Prime Factorization Method?

For finding the least common multiple by the prime factorization method, we have to write the factors of both numbers,

Prime factors of 24 = 2 × 2 × 2 × 3

Prime factors of 300 = 2 × 2 × 3 × 5 × 5

LCM = 2 × 2 × 3 × 2 × 5 × 5

LCM = 600

What is the LCM of 15 and 20?

Accordign to our least common multiple calculator, the LCM of 15 and 24 is 120. The smallest number is 120, which exactly divides 15 and 24. 

References:

  1. From the source of Wikipedia: Least common multiple (LCM), application, calculations, and much more 
  2. From the source of smartickmethod: How to Calculate Least Common Multiple: Category: Divisibility, Learning Resources
  3. From the source of splashlearn.com: number sense-least common multiple.
  4. From the source of libretexts.org: Prime Factorization and the Least Common Multiple.

Give Us Your Feedback