Math calculator
GCD / LCM Calculator
Find the greatest common divisor and least common multiple of two numbers.
Formula
GCD and LCM
LCM(a,b) = abs(a x b) / GCD(a,b)
GCD of 12 and 18 is 6; LCM is 36.
FAQs
What does GCD mean?+
GCD is the largest whole number that divides each input without a remainder.
How does the GCD / LCM Calculator calculate the result?+
It uses the GCD and LCM: LCM(a,b) = abs(a x b) / GCD(a,b). GCD of 12 and 18 is 6; LCM is 36.
What information do I need to use the GCD / LCM Calculator?+
Find the greatest common divisor and least common multiple of two numbers.
How accurate is the GCD / LCM Calculator?+
GCD / LCM Calculator applies the formula and assumptions shown on this page. Results may be rounded for readability, so verify changing rates, thresholds, medical guidance, or legal rules with the cited source or a qualified professional.
What should I check before using the GCD / LCM Calculator result?+
Check that the units, dates, rates, and assumptions match your situation. Change one input at a time to understand which values have the largest effect on the result.
Math guide
How to use the GCD / LCM Calculator
Find the greatest common divisor and least common multiple of two numbers. The page also explains the GCD and LCM and shows a practical example: GCD of 12 and 18 is 6; LCM is 36.
- 1
Enter your details
Enter the values for the gcd / lcm calculator scenario you want to check.
- 2
Check the calculation
Review the result alongside the GCD and LCM: LCM(a,b) = abs(a x b) / GCD(a,b).
- 3
Compare scenarios
Change one or more inputs to see how they affect the GCD / LCM Calculator result before you use the estimate.
Was this calculator useful?
0/1200