Free online calculator

LCM Calculator

The LCM Calculator finds the least common multiple of two or more positive integers. The least common multiple is the smallest positive integer that is divisible by every number in the set without a remainder. Enter numbers separated by commas or spaces. The calculator supports more than two numbers and combines them pair by pair using the relationship between LCM and the greatest common factor.

Separate numbers with commas or spaces. You can calculate more than two numbers at once.

Least common multiple
180
Numbers used
12, 18, 30

The calculator repeatedly applies LCM(a,b) = |a × b| ÷ GCF(a,b) until every entered integer has been included.

How to use the LCM Calculator

  1. Enter two or more positive whole numbers separated by commas or spaces.
  2. The calculator determines the greatest common factor for the first pair.
  3. It applies LCM(a,b) = |a × b| ÷ GCF(a,b).
  4. If more numbers were entered, the previous LCM is combined with the next number.
  5. This process continues until every entered number has been included.
  6. The final value is the smallest positive multiple shared by all entered numbers.
  7. Use the GCF Calculator when you need the greatest shared factor instead.

Examples

LCM of 4 and 6

Multiples first shared by 4 and 6 meet at 12, so LCM(4,6) = 12.

LCM of 12 and 18

GCF(12,18) = 6, so LCM = 12 × 18 ÷ 6 = 36.

LCM of 3, 4 and 5

The smallest positive integer divisible by 3, 4 and 5 is 60.

LCM of 8 and 12

The first shared positive multiple is 24.

Frequently asked questions

What does LCM mean?

LCM means least common multiple: the smallest positive number divisible by all numbers in the set.

How do you calculate LCM using GCF?

For two positive integers, LCM(a,b) = |a × b| ÷ GCF(a,b).

Can I find the LCM of more than two numbers?

Yes. This calculator accepts multiple positive integers and combines them successively.

What is the LCM of 4 and 6?

12.

What is the difference between LCM and GCF?

LCM is the smallest shared multiple, while GCF is the largest shared factor.

Can the LCM be smaller than the entered numbers?

For positive integers, the LCM cannot be smaller than the largest number in the set.

Related tools

More math tools