Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Common Factor CalculatorGreatest Common Factor CalculatorFactor CalculatorPrime Factorization CalculatorIs it a Prime Number?Divisibility Test CalculatorPrime Factor Calculator
Home Page > Math > Basic Math Operations

Least Common Multiple (LCM) Calculator

MiniWebtool’s Least Common Multiple Calculator finds the smallest multiple shared by two or more integers. Prime-factorization visuals and worked alternative methods show how the LCM is built from the input numbers.

Need help using this tool? Ask AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Free to useNo sign-up requiredInstant Results
Least Common Multiple CalculatorTry it now — free ▼
The LCM is the first number both skip-counts land on.

Enter two or more numbers below to get their LCM, with the prime factorization and step-by-step solution.

Embed Least Common Multiple Calculator Widget

Video Guide: Understanding and Calculating the Least Common Multiple (LCM)

About Least Common Multiple Calculator

The Least Common Multiple (LCM) Calculator finds the smallest positive integer that is divisible by all your input numbers. With interactive prime factorization visualization, step-by-step solutions, and multiple calculation methods, this tool helps you understand the concept deeply while getting accurate results instantly.

At a Glance

Least Common Multiple Calculator finds the smallest positive integer divisible by two or more numbers you enter. It shows the prime factorization, a factor comparison table and the main methods for finding an LCM.

Least Common Multiple Calculator: features at a glance
FeatureWhat you getGood for
Number inputEnter two or more positive integers separated by commas or spaces.Finding the LCM of a whole list at once
Prime factorizationEach number is broken into primes, and an interactive table and building-block view show how the highest power of each prime forms the LCM.Understanding where the LCM comes from
Methods explainedPrime factorization, listing multiples, the division (ladder) method and the GCD formula LCM = |a x b| / GCD(a, b) are each described.Students who must show a specific method
Example buttonsClick an example to load common number combinations and see a worked result.Trying the tool before entering your own numbers
Step-by-step solutionThe calculation is written out in steps after you click Calculate LCM.Checking classwork and common-denominator problems

What is the Least Common Multiple (LCM)?

The Least Common Multiple, often abbreviated as LCM, is the smallest positive integer that is a multiple of two or more given numbers. In other words, it is the smallest number that all the given numbers divide into evenly.

For example, the LCM of 4 and 6 is 12 because:

  • Multiples of 4: 4, 8, 12, 16, 20, 24...
  • Multiples of 6: 6, 12, 18, 24, 30...
  • Common multiples: 12, 24, 36... The smallest is 12

LCM Formulas

Using Prime Factorization

Prime Factorization Method
$$\text{LCM}(a, b) = \prod p_i^{\max(e_i, f_i)}$$

Where $p_i$ are the prime factors and $e_i$, $f_i$ are their powers in each number.

Using GCD (Greatest Common Divisor)

LCM-GCD Relationship
$$\text{LCM}(a, b) = \frac{|a \times b|}{\text{GCD}(a, b)}$$

This formula leverages the relationship that LCM × GCD = a × b.

Methods to Calculate LCM

Prime Factorization Method

  1. Find the prime factorization of each number
  2. List all unique prime factors
  3. Take the highest power of each prime
  4. Multiply all prime powers together

Listing Multiples Method

  1. List the multiples of each number
  2. Identify common multiples
  3. Select the smallest common multiple

Division Method (Ladder)

  1. Write numbers in a row
  2. Divide by smallest prime that divides at least one
  3. Repeat until all quotients are 1
  4. Multiply all divisors used

Using GCD Method

  1. Find GCD of the numbers using Euclidean algorithm
  2. Apply formula: LCM = (a × b) / GCD
  3. For multiple numbers, calculate pairwise

Why is LCM Important?

  • Adding/Subtracting Fractions: LCM helps find a common denominator when working with fractions that have different denominators
  • Scheduling Problems: Determine when recurring events with different periods will coincide
  • Gear Ratios: Calculate when gears with different tooth counts will realign
  • Music Theory: Find common time signatures and rhythmic patterns
  • Number Theory: Foundation for understanding divisibility and modular arithmetic

LCM vs GCD: Understanding the Difference

  • LCM (Least Common Multiple): The smallest number that all given numbers divide into
  • GCD (Greatest Common Divisor): The largest number that divides all given numbers
  • Relationship: LCM(a,b) × GCD(a,b) = a × b

You can also use our Greatest Common Factor Calculator to find the GCD.

How to Use This Calculator

  1. Enter Numbers: Type two or more positive integers separated by commas or spaces
  2. Use Examples: Click any example button to try common number combinations
  3. Calculate: Click "Calculate LCM" to see the result
  4. Review Steps: Explore the detailed prime factorization and step-by-step solution
  5. Understand Visually: See how prime factors combine with the interactive visualization

Frequently Asked Questions

What is the Least Common Multiple (LCM)?

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

How do you calculate LCM using prime factorization?

To find LCM using prime factorization: 1) Find the prime factorization of each number, 2) Identify all unique prime factors, 3) For each prime factor, take the highest power that appears in any number, 4) Multiply these prime powers together to get the LCM.

What is the relationship between LCM and GCD?

For two numbers a and b, LCM(a,b) × GCD(a,b) = a × b. This means LCM = (a × b) / GCD. This relationship provides an efficient way to calculate LCM when you know the GCD.

Can the LCM be one of the input numbers?

Yes, if one number is a multiple of another, the larger number is the LCM. For example, LCM(3, 9) = 9 because 9 is already a multiple of 3.

Related Calculators

Further Reading

Reference this content, page, or tool as:

"Least Common Multiple Calculator" at https://MiniWebtool.com/least-common-multiple-calculator/ from MiniWebtool, https://MiniWebtool.com/

by miniwebtool team. Updated: Jan 13, 2026

Chat with your favorite AI

For Gemini, paste the copied question into the chat. You can also copy it below.

View the question

Basic Math Operations:

Math SolverWhat would you like to solve?

Math Solver

Try
Browse expression examples

Choose an example to fill the input, edit its numbers, then Solve. log uses base 10; use ln for the natural logarithm.

Numbers & factors

Fractions & division

Powers, roots & logs

Algebra & equations

Calculus

Geometry & trigonometry

Top & Updated:

Multiple Fraction CalculatorMöbius Function CalculatorGoldbach Conjecture VerifierView all →
Home Page > Math > Basic Math Operations > Least Common Multiple Calculator