Number theory

LCM Calculator

Find the least common multiple of any integers.

Least Common Multiple

24

GCD2
Product192

LCM × GCD = product of numbers. Useful for scheduling, fractions, and periodic cycles.

What is the LCM Calculator?

The Least Common Multiple (LCM) is the smallest positive integer that is evenly divisible by two or more numbers without leaving a remainder. For example, the LCM of 4 and 6 is 12, because 12 is the smallest number that both 4 and 6 divide into equally.

How it works

The calculator finds the LCM by identifying all prime factors of each number, then multiplying together the highest power of each prime that appears. Alternatively, it can use the mathematical relationship: LCM(a, b) = (a × b) ÷ GCD(a, b), where GCD is the Greatest Common Divisor. For more than two numbers, the process repeats pairwise until all numbers are combined.

LCM(a, b) = (a × b) ÷ GCD(a, b)

Multiply the two numbers and divide by their Greatest Common Divisor. The GCD is the largest number that divides both evenly. This relationship holds true for any pair of positive integers.

Examples

InputResultNotes
12 and 183612 = 2² × 3; 18 = 2 × 3². Taking highest powers: 2² × 3² = 36.
4, 6, and 824First find LCM(4, 6) = 12, then LCM(12, 8) = 24. All three divide evenly into 24.
5 and 735Since 5 and 7 are both prime and share no common factors, LCM = 5 × 7.

How to use the LCM Calculator

  1. Enter your first number into the calculator
  2. Add a second number (or more if the tool allows multiple inputs)
  3. Click 'Calculate' or press Enter
  4. Read the LCM result displayed on screen
  5. Use the result for your fraction reduction, scheduling, or math problem
  6. Copy or note the answer for your work

Benefits

  • Eliminates manual trial-and-error for finding common multiples
  • Saves time on fraction operations like adding or subtracting denominators
  • Helps solve real-world scheduling and synchronization problems
  • Essential for algebra, number theory, and STEM coursework
  • Works with any size numbers instantly

Tips & common mistakes

Common mistakes

  • Confusing LCM with GCD (Greatest Common Divisor)—LCM is the smallest common multiple; GCD is the largest common divisor
  • Forgetting that the LCM is always greater than or equal to the largest input number
  • Entering negative numbers or zero, which are undefined for LCM
  • Assuming two prime numbers have an LCM of 1 (it's actually their product)

Tips

  • For quick mental math, if two numbers share no common factors (coprime), their LCM is simply their product
  • When adding or subtracting fractions, use the LCM of the denominators as your common denominator to keep numbers smaller
  • LCM is useful in real life: if Bus A runs every 6 minutes and Bus B every 9 minutes, they meet every 18 minutes (the LCM)

Frequently asked questions

What is the difference between LCM and GCD?

LCM (Least Common Multiple) is the smallest number both divide into; GCD (Greatest Common Divisor) is the largest number that divides both. For 12 and 18: LCM = 36, GCD = 6.

Can I find the LCM of more than two numbers?

Yes. Calculate the LCM of the first two, then find the LCM of that result and the third number, and repeat for any additional numbers.

Why use LCM when adding fractions?

The LCM of denominators becomes your least common denominator, which keeps numerators small and final answers in simplest form.

What if I enter zero or negative numbers?

LCM is only defined for positive integers. Zero has no LCM, and negative numbers are treated by their absolute value (positive form).

Is LCM the same as the lowest common multiple?

Yes, they are identical terms. 'Least' and 'lowest' both mean the smallest positive multiple that works.

How is LCM used in real-world situations?

Scheduling (when two repeating events coincide), carpooling, production cycles, and any synchronization problem where you need events to align.

Related tools

FreeTooz Editorial Team · Last reviewed July 2026

Reviewed for accuracy. Results are estimates for general information and are not professional (medical, financial or legal) advice.