Free online tools to generate, calculate,
convert, format, encode, and play.
 

LCM Calculator

Calculate the Least Common Multiple of two or more integers. See the step-by-step prime factorization method, first common multiples, and verification.

A
B

How It Works

The Least Common Multiple (LCM) of two or more integers is the smallest positive integer that is divisible by each of the given numbers. For example, LCM(4, 6) = 12 because 12 is the smallest number divisible by both 4 and 6.

Prime Factorization Method

This calculator finds the LCM using prime factorization. Each number is broken down into its prime factors, then the LCM is built by taking the highest power of each prime that appears in any factorization.

For example, LCM(12, 18):

  1. 12 = 22 × 3
  2. 18 = 2 × 32
  3. LCM = 22 × 32 = 4 × 9 = 36

Practical Uses

The LCM is used in many real-world scenarios:

  • Adding and subtracting fractions with different denominators
  • Finding when periodic events will coincide (scheduling problems)
  • Determining gear ratios and synchronization cycles
  • Solving problems involving repeating patterns

Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with