Actual widget output
Find the GCD in the browser

Find the greatest common divisor, with the steps.

Each example below is the actual published output of the Greatest common divisor widget. Type two or more whole numbers; the result updates as you type, and nothing you enter is sent anywhere.

This calculator needs JavaScript.

Default settings with “48, 36”: “gcd(48, 36) = 12”, Euclid's two steps and the numbers divided by 12, 4 and 3.