LCM Calculator

Find the least common multiple (LCM) of 2 to 4 numbers.

This tool is for informational and educational purposes only. It is not a substitute for professional financial, medical, legal, or engineering advice. See Terms of Service.

Can't find what you need?

Request a Tool

How to Use the LCM Calculator

Enter 2 to 4 numbers and the calculator instantly finds their least common multiple. The step-by-step breakdown shows each LCM calculation.

  1. Enter at least two numbers. Type the numbers you want to find the LCM of.
  2. Add more numbers (optional). Use the third and fourth fields when you need the LCM of three or four numbers.
  3. Read the result. The LCM appears with the calculation steps.

The LCM is the smallest positive integer that is a multiple of all the given numbers. It is calculated using the formula LCM(a, b) = |a x b| / GCD(a, b), which is efficient and exact.

About the Least Common Multiple

The least common multiple is the smallest number that all given numbers divide into evenly. It is used for finding common denominators in fractions, scheduling problems (when events with different cycles align), and many engineering applications.

The formula LCM(a, b) = |a x b| / GCD(a, b) connects the LCM to the GCD. For multiple numbers, apply iteratively: LCM(a, b, c) = LCM(LCM(a, b), c). This approach is computationally efficient because it avoids listing multiples.

Frequently Asked Questions

How do you find the LCM of two numbers?

Divide the product of the two numbers by their GCD. For LCM(4, 6): the product is 24, the GCD is 2, so LCM = 24 / 2 = 12. You can verify: 12 is divisible by both 4 and 6, and no smaller number is.

What is the difference between LCM and GCF?

The GCF is the largest number that divides into all given numbers. The LCM is the smallest number that all given numbers divide into. They are related by the formula: GCF x LCM = product of the two numbers.

When do you use LCM in real life?

LCM is used when scheduling events that repeat at different intervals (like when two bus routes will align again), finding common denominators for fractions, and solving problems involving gears, rotations, or cycles with different periods.