×
How to Use
Enter two or more positive integers. Use β to add another pair of input fields and β to remove the last pair. The GCD value updates dynamically as inputs are entered.
Understanding the Greatest Common Divisor (GCD)
The GCD is the largest integer that divides all given numbers. For example, the GCD of 8 and 12 is 4, because 4 is the largest integer that divides both numbers (8 and 12). The GCD widely used for simplifying fractions, modular arithmetic, and cryptographic algorithms, such as checking coprimality, finding the modular multiplicative inverse of a unit, and detecting weak randomness of public RSA keys by computing pairwise GCD's of those keys to find shared prime numbers.