Least Common Multiple (LCM) Calculator
Find the least common multiple (LCM) of two or more integers, exactly, even for very large numbers.
Your inputs
Results
LCM
60
- GCD (for reference)
- 1
✓Exact calculation — rounded only for display
What this calculator does
The LCM is the smallest number that is a multiple of every given number — used for common denominators and repeating schedules.
Formula and method
lcm(a, b) = |a × b| ÷ gcd(a, b), applied pairwise.
Worked example
Calculated by this tool with its default inputs:
Inputs
- Whole numbers: 4, 6, 15
Results
- LCM: 60
- GCD (for reference): 1
How to read the results
If any number is 0, the LCM is 0 by convention.
Assumptions and limitations
- Exact arbitrary-precision arithmetic.
Questions
How is LCM used with fractions?
The LCM of the denominators is the least common denominator.
Methodology and verification
- Result type
- Exact mathematical calculation (rounded only for display)
- Formula version
- 1.0
- Automated verification
- 4 reference and validation test cases, checked against independently computed values. The site cannot be built if any of them fail.
- Editorial review
- Awaiting human editorial review. The explanation was drafted with AI assistance; the formula and examples are verified by the automated tests above.
Privacy
Everything you enter is calculated in this browser and is not sent to Numerith or anyone else. Inputs are added to a share link only if you choose to include them. Privacy policy