LCM Calculator
Find the least common multiple of any set of integers. Shows prime factorization and step-by-step working — useful for adding fractions, scheduling problems, and number theory.
LCM
24
How to use the lcm calculator
Enter two or more positive integers separated by commas, spaces, or new lines.
Formula & explanation
LCM(a, b) = |a × b| ÷ GCD(a, b). Extended pairwise across the input list.
Examples
LCM(4, 6) = 12. LCM(4, 6, 8) = 24. LCM(3, 5) = 15.
Frequently asked questions
- Why no zero?
- LCM is undefined when any input is zero — anything times zero is zero.
Related math tools
- GCF / GCD CalculatorFind the greatest common factor (GCF) — also called GCD — of two or more integers. Uses the Euclidean algorithm and shows step-by-step working. Useful for simplifying fractions.
- Scientific CalculatorFull scientific calculator with trigonometric functions (sin, cos, tan), logarithms, exponents, factorials, and constants. Supports degree and radian mode.
- Average CalculatorCalculate mean, median, mode, range, sum, min, and max for any list of numbers. Paste in grades, scores, or measurements — results update instantly.
- Ratio CalculatorSimplify ratios to lowest terms, convert a ratio to a decimal, scale to any value, and compare two ratios. For recipes, map scales, and aspect ratios.
- Root CalculatorCalculate square roots, cube roots, and any nth root with high precision. Handles perfect squares and irrational results — shows the decimal approximation and the radical form.
- Permutation & Combination CalculatorCalculate nPr (permutations) and nCr (combinations) with a step-by-step formula breakdown. Enter n and r to see the count, formula expansion, and intermediate values.