Can I enter more than two integers?
Yes. The calculation is reduced across every entered integer.
Find the greatest common divisor and least common multiple of integers.
Calculations happen locally. We do not send your values to our server.
For 12 and 18, the greatest common divisor is 6 and the least common multiple is 36.
The Euclidean algorithm repeatedly takes remainders to find the GCD. The LCM is built from each value using |a ÷ gcd(a,b) × b|.
Enter at least two non-zero safe integers. Extremely large least common multiples are rejected to avoid unreliable precision.
Yes. The calculation is reduced across every entered integer.
Yes. Signs are ignored for the non-negative GCD and LCM results.
This tool requires non-zero values to keep its multi-value LCM behavior unambiguous.