LCM Calculator — Least Common Multiple (GCD Method)
Find the Least Common Multiple of two or more numbers using both the efficient GCD-based formula and the prime factorization method side by side.
LCM Calculator
Results below
Enter Values
LCM Formula
LCM(a,b) = (a × b) / GCD(a,b)
GCD of 12 and 18
6
Prime Factorization Data
[{"number":12,"factors":[{"factor":2,"exponent":2},{"factor":3,"exponent":1}]},{"number":18,"factors":[{"factor":2,"exponent":1},{"factor":3,"exponent":2}]},{"number":24,"factors":[{"factor":2,"exponent":3},{"factor":3,"exponent":1}]}]
Multiples Data
{"a":12,"b":18,"multiplesA":[12,24,36,48,60,72],"multiplesB":[18,36,54,72],"lcm":72}
Input Numbers
[12,18,24]
Scenario Comparison
Embed Code
Copy and paste this HTML snippet into any web page to embed this calculator directly.
<iframe src="http://127.0.0.1:59362/embed/math/lcm-calculator?ref=embed" title="LCM Calculator — Least Common Multiple (GCD Method)" width="100%" style="max-width:600px; border:none; height:500px;" loading="lazy"></iframe>
Direct Link
Share this link to let others open the calculator in their browser.
Least Common Multiple
72
Multiples Comparison
Bars show multiples of 12 and 18. The first common value is the LCM: 72
Method 1 — List of Multiples
Multiples of 12:
Multiples of 18:
The first common multiple is the LCM: 72
Method 2 — Prime Factorization
12 = 2^2 × 3^1
18 = 2^1 × 3^2
24 = 2^3 × 3^1
Take the highest exponent of each prime factor across all numbers.
LCM Formula
LCM(a, b) = (a × b) / GCD(a, b)
LCM(12, 18) = (12 × 18) / 6 = 72
Related Calculators
Reviews
No reviews yet. Be the first to share your experience with LCM Calculator — Least Common Multiple (GCD Method).
Write a Review
