Math & Scientific
LCM Calculator
LCM: LCM Calculator uses integer factorisation and the Euclidean algorithm to find the result exactly. Worked through below with real figures, and the calculator repeats the working on your own inputs — free, on-device, instant.
LCM Calculator lets you work through a calculation in seconds: enter your whole numbers for the result, all worked out locally in your browser.
About this calculator
LCM is easiest to get wrong in the setup, not the arithmetic. LCM Calculator uses integer factorisation and the Euclidean algorithm to find the result exactly. It matters when you need the exact relationship checked quickly rather than worked through by hand. The worked example on this page (LCM of 4 and 6: 4 = 2², 6 = 2×3, so LCM = 2² × 3 = 12 .) shows the full substitution; the calculator above runs the same working on your own numbers, in your browser, with nothing uploaded.
How to use
- Enter two or more whole numbers to combine, e.g. 12, 18, 24.
- Press Calculate to run the lcm calculator.
- Read the result: the least common multiple, with the GCF shown alongside.
- Press Reset to clear the lcm calculator and start again.
Why use LCM Calculator
Fast
Calculations run in your browser. No round trip to a server.
Private
Your inputs never leave your device. Nothing is uploaded.
Free
No signup, no paywall, no ads-in-results, no watermarks.
Accurate
Based on standard, well-established formulas.
Mobile-ready
Optimised for phones, tablets, and desktops alike.
Transparent
Honest disclaimers wherever browser limits or regional rules apply.
Common uses
Use it when comparing two different methods
LCM in research and report calculations
Use it when revising for exams
Use it for understanding a formula's behaviour
Use it for verifying answers from a textbook
Use it for double-checking a spreadsheet result
Technical notes
LCM Calculator uses integer factorisation and the Euclidean algorithm to find the result exactly.
Zero values are retained: GCF(0, a) is |a|, and LCM is 0 if any input is 0. For an all-zero list both displayed results are 0 by convention. Inputs are taken exactly as entered, so check for typos before trusting an answer.
The tool works offline once loaded, since every computation is client-side.
FAQ
What is the least common multiple?
The smallest whole number that all of your numbers divide into exactly.
How do I enter numbers in the LCM Calculator?
Type two or more whole numbers separated by commas or spaces, e.g. 12, 18, 24.
Does it also give the GCF?
Yes, both the LCM and the greatest common factor are shown.
Does the LCM Calculator send my data to a server?
No — the LCM Calculator runs entirely in your browser, so the numbers you enter never leave your device.
Worked example
LCM of 4 and 6: 4 = 2², 6 = 2×3, so LCM = 2² × 3 = 12.