LCM Calculator Online
Enter two or more positive integers (comma or space separated) to calculate their Least Common Multiple (LCM).
Enter two or more positive integers — separated by commas or spaces — to instantly find their Least Common Multiple (LCM).
What Is LCM?
The Least Common Multiple (LCM) of two or more integers is the smallest positive number that is evenly divisible by all of them. It’s a fundamental concept in mathematics, widely used when adding or subtracting fractions, solving number theory problems, and scheduling repeating events.
Formula & Method
The LCM is calculated using the relationship between LCM and the Greatest Common Divisor (GCD):
LCM(a, b) = |a × b| ÷ GCD(a, b)
The GCD is found using the Euclidean algorithm — one of the oldest and most efficient methods in mathematics.
For more than two numbers, the LCM is computed step by step:
LCM(a₁, a₂, …, aₙ) = LCM(LCM(a₁, a₂), a₃, …, aₙ)
Each pair is resolved in sequence until a single result remains.
How to Use This Calculator
- Enter your numbers — type two or more positive integers, separated by commas or spaces (e.g., 12, 15, 20).
- Click “Calculate” or press Enter to run the computation.
- View your result — the LCM is displayed instantly.
- Review the steps — a detailed breakdown of each GCD and LCM calculation is shown below the result.
- Export if needed — use the PDF export option for a clean, single-page printout.
Why Use This LCM Calculator?
Instant & Accurate Powered by the Euclidean algorithm, results are computed in milliseconds with full mathematical precision — no rounding, no guesswork.
Step-by-Step Breakdown Every calculation is explained clearly, showing each GCD step and how the final LCM is reached. Great for learning or verifying your work.
Supports Multiple Numbers Unlike basic calculators, this tool handles two or more integers at once, making it useful for complex problems involving several values.
PDF Export Ready The results page is optimized for clean PDF export — ideal for students submitting homework or professionals documenting their work.
Completely Free No sign-up, no subscription, no limits. Just open the page and calculate.
Common Use Cases
Simplifying and comparing fractions with different denominators, solving problems in number theory and algebra, finding repeating cycles in real-world scheduling problems, and academic assignments and exam preparation.