GCD Calculator
Find the greatest common divisor of two integers.
Find the greatest common divisor of two integers.
The GCD Calculator finds the largest positive integer that divides two integers without leaving a remainder. The same value is also called the greatest common factor or highest common factor in many textbooks.
For related tasks, try LCM Calculator, Prime Number Checker or Fraction Calculator.
The tool uses the Euclidean algorithm, repeatedly replacing the larger relationship with a remainder until the remainder reaches zero. The last non-zero divisor is the GCD.
The GCD of 48 and 18 is 6 because 6 is the largest integer that divides both values exactly.
Yes. GCD, GCF and HCF are commonly used for the same concept.
Yes. The absolute values are used for the divisor calculation.
The GCD is the absolute value of the non-zero integer.