LCM Calculator (Least Common Multiple)

Find the least common multiple (LCM), also called the lowest common multiple, of two or more positive integers, with the working shown step by step.

Result

Fill in the fields above, then press Calculate.

An LCM calculator finds the least common multiple of two or more positive integers using prime factorization and the GCD relationship, which is essential for finding common denominators. The lowest common multiple is the same thing as the least common multiple.

How to find the LCM

Write each number as a product of primes. The LCM takes every prime that appears, to its highest power in any of the numbers.

Worked example: 12 = 2² × 3 and 18 = 2 × 3², so LCM(12, 18) = 2² × 3² = 36. Check: 12 × 18 ÷ GCF 6 = 36.

The greatest common factor (GCF, also called HCF) of the same numbers is found with the GCF calculator. For two numbers, LCM × GCF = the product of the numbers.

LCM and GCF table for common numbers

The LCM is the smallest number every one of them divides into. The GCF is the largest number that divides every one of them.

LCM and GCF of common numbers
NumbersLCMGCF (HCF)
4, 6122
6, 8242
8, 12244
12, 18366
12, 15603
15, 20605
3, 4, 5601
6, 10, 15301

Enter two or more positive integers, separated by commas or spaces. Click Calculate to find their least common multiple (LCM). The result uses the GCD relationship and is useful for finding common denominators or aligning schedules.

Examples

LCM of 12 and 18

Multiples of 12: 12, 24, 36, 48... Multiples of 18: 18, 36, 54... LCM is 36.

Frequently Asked Questions

Why is LCM useful?
LCM is essential for finding a Common Denominator when adding or subtracting fractions with different denominators.
What is the difference between LCM and GCF?
The LCM is the smallest number that all of the numbers divide into evenly, so it is at least as large as the biggest number. The GCF is the largest number that divides all of them evenly, so it is at most as large as the smallest number. For 12 and 18, the LCM is 36 and the GCF is 6.
Is lowest common multiple the same as LCM?
Yes. Lowest common multiple, least common multiple and LCM all name the same number. The matching term for the greatest common factor is the highest common factor (HCF), which is how many UK and Australian schools name it.

Quick Tips

  • •Use the LCM to find a common denominator when adding or subtracting fractions.
  • •Double-check your inputs — small errors in numbers lead to large errors in results.
  • •For more than two numbers, the calculator chains the pairwise LCM automatically.