MDC Euclides

algoritmo最多公约数.
Created by
Renato Passos, Eng. de Software
Reviewed by
Renato Passos, Eng. de Software

Last updated: Apr 18, 2026

MDC
21

About this calculator

The Euclidean GCD Calculator is an online tool that uses the Euclidean algorithm to find the greatest common divisor (GCD) of two integers. The Euclidean algorithm is an efficient method for computing the GCD, based on the idea that the GCD of two numbers is equal to the GCD of the smaller number and the remainder of the division of the larger number by the smaller number.

The calculator works simply: just enter two integers and click calculate. The calculator then applies the Euclidean algorithm, performing successive divisions and taking the remainder until the remainder is zero. The last non-zero divisor is the GCD of the two initial numbers.

The GCD is useful in various situations, such as simplifying fractions, solving Diophantine equations, and finding the solution to problems in number theory. For example, when simplifying a fraction, it is necessary to find the GCD of the numerator and denominator to divide both by the GCD and obtain the simplified form.

Care must be taken when using the calculator, as the Euclidean algorithm assumes that the numbers are integers. If the entered numbers are not integers, the calculator may not provide accurate results.

Frequently asked questions

What is the Euclidean algorithm?

The Euclidean algorithm is a method for finding the greatest common divisor (GCD) of two integers, based on successive divisions and remainders.

How does the Euclidean GCD calculator work?

The calculator applies the Euclidean algorithm, performing divisions and taking the remainder until the remainder is zero. The last non-zero divisor is the GCD.

What are the applications of GCD?

The GCD is useful in various situations, such as simplifying fractions, solving Diophantine equations, and finding solutions to problems in number theory.

Can I use the calculator for non-integer numbers?

No, the calculator assumes that the numbers are integers. If the entered numbers are not integers, the calculator may not provide accurate results.

Is the calculator free?

Yes, the calculator is a free online tool.

Other Teoria Números calculators