Primes and pairing
Least Common Multiple Calculator: LCM with Steps
This calculator returns the least common multiple (LCM) of comma-separated positive integers. Choose prime factorization, brute-force multiples, or the greatest common factor (GCF) shortcut LCM(a,b) = (a×b)/GCF with stepped work in the on-page panel. Three or more values fold pairwise. Positive integers only; runs locally in your browser.
By Jeff Beem
Updated
Numbers
Comma-separated positive integers. The headline result is the smallest number divisible by every entry.
Positive integers only. Non-numeric characters are ignored. Zero and negatives are invalid.
Smallest positive integer that is a multiple of all given numbers.
Show your work
Each number as a product of primes. The LCM is the product of the highest power of each prime that appears in any number.
- 12=2^2 × 3
- 18=2 × 3^2
- 24=2^3 × 3
LCM (max exponent per prime):2^3 × 3^2 = 72
How to use this calculator
Enter comma-separated positives in Numbers (default 12, 18, 24). Pick a method in the dropdown; read the headline LCM in the dark results card and matching steps under Show your work.
Reading your LCM result
The dark results card is the headline LCM; the method dropdown changes how Show your work explains it.
When to switch calculation methods
Least common multiple calculator with steps
Returns the LCM of comma-separated positive integers with prime, brute-force, or GCF-formula steps in the work panel. Positive integers only; runs locally.
What this calculator does
- Prime method:
- Two-number GCF shortcut:
- Three or more:
GCF cross-check
Limits
Least Common Multiple Calculator FAQ
What is the LCM of 12 and 18?
What is the LCM of 12, 18, and 24?
Is LCM the same as LCD?
How does prime factorization find LCM here?
Can you find LCM of three or more numbers?
How is LCM related to GCF on this page?
Do all three methods always agree?
What appears in Show your work for each method?
Why only positive integers?
Mathematical Reference Note
Calculation Logic: This tool uses standard mathematical algorithms. While we strive for accuracy, errors in logic or user input can result in incorrect data.
Verification: Results should be cross-checked if used for important academic, professional, or personal calculations.
Standard Terms: This tool is provided free of charge and as-is. CalcRegistry provides no warranty regarding the accuracy or fitness of these results for your specific needs.