GCD and LCM Calculator
Find the greatest common divisor and least common multiple of two positive integers.
Runs entirely in your browser — your selected files are not uploaded by this tool. Device-provided speech voices may use online services.
About this free gcd and lcm calculator tool
Find the greatest common divisor and least common multiple of two positive integers. Calculators answer a defined arithmetic question using the values you supply. Keep units and currencies consistent, choose the correct starting amount and inspect the assumptions before using a result. Estimates do not replace a lender quotation, an official tax rate, a medical assessment or a jurisdiction-specific deadline rule.
A practical example
A concrete example uses first integer: 12; second integer: 18. The result is GCD: 6 LCM: 36.
Before you rely on the result
Results use floating-point arithmetic and are rounded to six decimal places. Confirm units and required precision before using the result.