Greatest Common Divisor Calculator
Find the GCD of two integers.
Calculations run in this browser. Values are not submitted to the server.
Result
Formula and assumptions
Uses Euclid’s algorithm on the absolute values of the two integers.
Example values are shown in the input placeholders. Results use browser number precision unless the tool uses exact integer arithmetic. Check units and assumptions before using a result.