Bezout Coefficients Calculator
Enter integers a and b to get the GCD and Bezout coefficients x and y.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
Bezout's identity states that for any integers a and b, there exist integers x and y — the Bezout coefficients — satisfying ax + by = gcd(a, b). This calculator finds x, y and the GCD using the extended Euclidean algorithm, which runs the ordinary GCD algorithm forward while tracking the coefficients backward through each remainder step.
Beyond number theory, Bezout coefficients are the standard way to compute a modular multiplicative inverse — essential in RSA and other cryptographic key generation — and they underlie solving linear Diophantine equations of the form ax + by = c.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)