Skip to main content
Reviewed for accuracy by Manoj Kumar, Mathematics Educator

Extended Euclidean Algorithm Calculator

Calculator

Adjust values & calculate

Enter your values below. Every result is computed in your browser โ€” no data is sent to any server.

Formula: gcd(a, b) = ax + by (Extended GCD with Bezout coefficients)

Your Result

Worked example โ€” gcd(240, 46) = 2 | 240*(-9) + 46*(47) = 2 | x = -9, y = 47

Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy