LCM Calculator - LCM of two Numbers Calculator

Created By : Jatin Gogia

Reviewed By : Rajasekhar Valipishetty

Last Updated : May 22, 2023

The full form of LCM is Least Common Multiple and also noted as Lowest Common Multiple (LCM) or Least Common Divisor (LCD). LCM is the smallest positive integer that is equally divisible by two integers a and b. It is denoted as LCM(a,b). For example, if you take integer a=8 and b=12, the LCM(a,b) i.e., LCM(8,12)=24.

Use this free online LCM Calculator and provide the input numbers that are given to calculate the LCM of two integers. Give the first input in the number 1 field and then second input in the number 2 field and press on the ‘Calculate’ button which is colored in blue. Remember not to use commas within your numbers like 5,000, 7,500.

Ex: LCM of 44 and 60 (or) LCM of 45 and 30 (or) LCM of 32 and 48

LCM of:


Here are some samples of LCM of two numbers calculations.


Least Common Multiple of two Numbers Calculator

We have created this handy calculator which is useful for any kind of integers to find out the LCM. Students can get the least common multiple (LCM) of a set of integers with a detailed explanation by using this LCM Calculator. Not only the final result it also displays the solution steps and how it works.

Finding the Least Common Multiple (LCM)

Our LCM calculator can give the final result of LCM of two numbers in a step by step manner. You can find the Least Common Multiple of two integers in three different methods. They are as follows:

  1. Using Listing Multiples
  2. Using Prime Factorization
  3. Using Greatest Common Factor (GCF) method

How to Find LCM Using Prime Factorization Method

First and foremost, Find all the prime numbers of each given integer. Now, list out all the prime numbers that you found until most often for anyone given number. Multiply the list of prime factors together to find the LCM.

To find LCM(a,b), first, calculate the prime factorization of both a and b. Implement the same process for the LCM of two given numbers or more than two.

Example: Find LCM of 12 and 18 using prime factorization

Prime factorization of 12 = 2 × 2 × 3

Prime factorization of 18 = 2 × 3 × 3

Using all prime numbers obtained as oftentimes as each occurs most usually we take 2 × 2 × 3 × 3 = 36

Therefore LCM(12,18) = 36.

How to Find LCM Using Listing Multiples Method

First, take each number that you would like to find the LCM and list out the multiples of each integer separately till one of the multiples arrives on all integer listings.

Find out the least number that has arrived on all of the lists. And finally, that smallest number is the LCM.

Example: Find LCM of two numbers i.e., 12 and 18

Multiples of 12: 12, 24, 36

Multiples of 18: 18, 36

Now, our calculator looks for the same number which is the smallest in all the lists and displays it as a result of LCM(12, 18). Here, the similar lowest number will be highlighted in bold and yellow color.

Therefore, LCM of 12 and 18 is 36.

How to Find Least Common Multiple via Primes using Exponents Method

How to Find Least Common Multiple via Primes using Exponents Method

How to Find LCM Using GCF Method

In the first step, you should know the formula to calculate the LCM with the Greatest Common Factor (GCF) of two or more numbers. Here, is the formula for finding LCM using GCF:

LCM(a,b) = ( a × b) / GCF(a,b).

Now, calculate the GCF of two numbers and then apply in the above formula to find out the Least Common Multiple of two integers.

Example: Find LCM(12,18)

Find the GCF(12,18) = 6

Use the LCM by GCF formula to calculate the least common multiples of 12, 18:

LCM(12,18) = ( 12 × 18) / 6

LCM(12,18) = 216 / 6

LCM(12,18) = 36

A factor is a number that results when you can equally divide one number by another. In this sense, a factor is also known as a divisor.

The Greatest Common Factor (GCF) of a set of numbers is the largest factor that all the numbers share. The greatest common factor (GCF) is the same as:

  • HCF – Highest Common Factor
  • GCD – Greatest Common Divisor
  • HCD – Highest Common Divisor
  • GCM – Greatest Common Measure
  • HCM – Highest Common Measure

Other Methods to Find Least Common Divisor (LCD) or LCM

1. Finding LCM Using the Cake Method (Ladder Method)

This cake method utilizes division to calculate the LCM of two or more numbers. Cake and Ladder Method is the easiest and quickest method to find the LCM of a set of numbers. So people use most of this method because it is a simple division.

The cake method is quite similar to some other methods like ladder method, the box method, the factor box method, and the grid method of shortcuts to find the LCM. But the grid and box methods may look some different, but they all do division by primes to get the result of LCM of a set of integers.

2. Finding LCM Using the Division Method

Follow the steps given below and know how to find the Least Common Multiple by using the Division method:

  1. First, note down the numbers in a row on a white paper or ruled book (your’s wish).
  2. Start calculating the division by taking the lowest prime number, divide the row of integers by a prime number that is equally divisible by one of your numbers and write down the number in the next row.
  3. If any of the integers in the row is not divisible by the prime number then write down as it is that number in the next row.
  4. Go ahead by dividing the rows by prime numbers that divide equally into a minimum one number.
  5. If the final row of results is filled with all 1’s that means you’re done with the division.
  6. Now, multiple all the prime numbers from the first column to ending numbers and find the LCM of a set of numbers.

Properties of LCM

  • The LCM is associative: LCM(a, b) = LCM(b, a)
  • The LCM is commutative: LCM(a, b, c) = LCM(LCM(a, b), c) = LCM(a, LCM(b, c))
  • The LCM is distributive: LCM(da, db, dc) = dLCM(a, b, c)
  • The LCM is related to the greatest common factor (GCF): LCM(a,b) = a × b / GCF(a,b) and GCF(a,b) = a × b / LCM(a,b) is a tool that has different types of calculators for LCM, GCF, HCF, etc. under one roof making it simple for you to solve your problems.

LCM of Two Numbers Example Calculations

FAQs on LCM Calculator

 What is Common Multiple?


The Common Multiples are those numbers that are found in all the lists of each number.

What is the full form of LCM?

LCM stands for Least Common Multiple also referred to as Lowest common multiple(LCM) or Least common Divisor (LCD).

What is the definition of Least Common Multiple(LCM) of numbers?

Least Common Multiple(LCM) of numbers is the smallest number of the common multiples.

What are the different methods to find the LCM of two or more numbers?

There are 5 most common methods that are used by the students and teachers to find out the LCM of numbers. There are as follows:

  • Listing multiples,
  • Prime factorization,
  • Division Method,
  • Cake or ladder method, and
  • Greatest Common Factor (GCF)

How to Find LCM of a set of numbers using the Prime Exponential Method?

You can get a detailed explanation of how to find the Least Common Multiple(LCM) of two numbers by referring above.