LCM Calculator
Find the least common multiple (LCM) of two or more whole numbers. Enter your numbers separated by commas or spaces to see the smallest number that every value divides into evenly.
Least common multiple
24
Who should use it: Students adding fractions and anyone working with common multiples.
How to use this calculator
- 1Enter two or more whole numbers, separated by commas or spaces.
- 2Review the least common multiple.
Understanding the inputs
| Numbers | Two or more whole numbers, separated by commas or spaces. Decimal values are rounded to the nearest whole number before computing. |
How the calculation works
The least common multiple is the smallest whole number that is a multiple of every value in your list. The calculator finds it using the relationship between the LCM and the greatest common factor: LCM(a, b) = (a × b) ÷ GCF(a, b). It combines this result across all the numbers in your list.
Worked example
Scenario: Numbers 4, 6, 8.
Result: LCM = 24, the smallest number that 4, 6, and 8 all divide into evenly.
How to interpret your result
The result is the smallest whole number that every value you entered divides without a remainder. It is useful for adding and subtracting fractions with different denominators (the LCM becomes the common denominator) and for scheduling events that repeat at different intervals.
Factors that can affect the result
- Number of values: the calculator reduces all values pairwise, so adding more numbers can only raise or keep the same LCM.
- Relationship to GCF: the LCM and GCF are linked by LCM(a, b) × GCF(a, b) = a × b.
- Rounding: decimal inputs are rounded to the nearest whole number before the LCM is computed.
Limitations and assumptions
- Works with whole numbers; decimal inputs are rounded before computing.
- Very large inputs can produce a very large LCM; the result is rounded for display.
- Reports a single LCM for the whole list; it does not list the multiples step by step.
Frequently asked questions
Related calculators
Methodology
The calculator computes the LCM of two numbers as (a × b) ÷ GCF(a, b) using the Euclidean algorithm for the GCF, and reduces the result across every value in the list. Decimal inputs are rounded to whole numbers first.
Sources and references
- Mathematical basis — the relationship LCM(a, b) = (a × b) ÷ GCF(a, b) and the Euclidean algorithm are standard results of number theory; no external source is required
Disclaimer: Results are provided for informational purposes and may vary depending on the values entered, the assumptions described above, and rounding. They are not a substitute for professional advice specific to your situation. Read the full disclaimer.