Math Calculator
Professional mathematical conversions and calculations. Convert fractions, decimals, number systems, and perform geometric calculations with step-by-step solutions.
Finds the largest number that divides both inputs without a remainder. The GCD is the basis of fraction simplification.
The Euclidean algorithm is one of the oldest algorithms in existence (c. 300 BCE), and one of the most efficient. Even for very large numbers, it requires at most 5ร the number of digits in the smaller number.
GCD(0, n) = n (not 0). Zero contributes no constraints, so the GCD is the other number.