Skip to main content
Mathematics & Percentages

Greatest Common Divisor (GCD) Calculator

Find the greatest common divisor (GCD/HCF) of two or more integers of any size, with Euclidean algorithm steps.

Your inputs

Results

GCD

12

Coprime (GCD = 1)?
No

✓Exact calculation — rounded only for display

Show calculation steps
  1. Euclidean algorithm for the first two numbers:
  2. 48 = 0 × 180 + 48
  3. 180 = 3 × 48 + 36
  4. 48 = 1 × 36 + 12
  5. 36 = 3 × 12 + 0