Least Common Multiple Calculator
Compute the least common multiple (LCM), also called the lowest common multiple, for 2–10 positive integers. Enter values to get the LCM of multiple numbers with a pairwise LCM chain and a prime factorization table; share deep links to preset inputs.
Least Common Multiple (LCM)
Results
GCD Method (Step-by-step)
Prime Factorization
| Number | Prime Powers |
|---|---|
| 12 | 2^2 × 3^1 |
| 18 | 2^1 × 3^2 |
| 30 | 2^1 × 3^1 × 5^1 |
| Max powers | 2^2 × 3^2 × 5^1 |
| Product | 180 |
How to Calculate LCM
Formulas
Sources: Wolfram MathWorld – Least Common Multiple; Wolfram MathWorld – Greatest Common Divisor
Calculation Steps:
- 1List integersUse 2–10 positive integers
- 2Compute GCDUse Euclidean algorithm for each pair
- 3Iterate LCMLCM = LCM(prev, next)
Important Considerations
⚠️ Input Constraints
Only positive integers are supported; zeros and non-integers are ignored.
Supports 2–10 numbers; extra inputs are ignored.
LCM can grow quickly; extremely large outputs may overflow typical displays.
When numbers are co-prime, LCM equals their product.
Zero is ignored to avoid undefined behavior for LCM(0, n).
Example Cases
Case 1
Because 180 is divisible by 12, 18, and 30.
Case 2
LCM(8,9) = 8×9 / GCD(8,9) = 72.
Tips & Notes
Break each number into primes and multiply the highest powers across all numbers.
Useful for finding common periods, scheduling cycles, or aligning repeating tasks.
Frequently Asked Questions
What is the least common multiple (LCM)? Is it the same as lowest common multiple?
How do you compute LCM?
What inputs does this tool support?
Can I share a link with prefilled numbers?
Related Calculators
- 🧮
Long Multiplication Calculator
Perform long multiplication step by step with partial products and carry explanations. Enter two integers to see aligned steps and the final product.
math - 🧮
Polynomial Multiplication Calculator
Multiply polynomials with step-by-step solutions and detailed explanations. Enter coefficients to get instant results with distributive property breakdown.
math - 🧮
Matrix Multiplication Calculator
Multiply matrices of common sizes (2×2, 3×3, 2×3×3×2) with step-by-step workings, rules, and examples. Copy results as CSV/LaTeX for homework or research.
math - 🧮
Decimal Multiplication Calculator
Multiply decimals accurately with step-by-step examples, place value alignment, and consistent rounding. Enter two decimals, set precision, and get product with steps and tips.
math - 🧮
AP Statistics Calculator
Free AP Statistics calculator for mean, median, mode, standard deviation, variance, quartiles, skewness, kurtosis, z-scores and percentiles.
math - 🧮
Eigenvalue and Eigenvector Calculator
Compute eigenvalues and eigenvectors for 2x2 and 3x3 matrices. Supports analytic solution (2x2) and QR iteration (3x3); includes examples, steps, and interpretation.
math