piko

GCD / GCF Calculator

Find the Greatest Common Divisor (GCF) of two or more integers with Euclidean algorithm steps.

Runs on your device. Nothing you add is uploaded.

Enter two or more whole numbers (e.g. 48, 18, 24)
GCD / GCF
6
Largest shared factor
LCM
144
Coprime?
No
Euclidean algorithm steps
StepDivision (a = b × q + r)
Step 148 = 18 × 2 + 12
Step 218 = 12 × 1 + 6
Step 312 = 6 × 2 + 0

How to use GCD / GCF Calculator

  1. Enter two or more whole numbers separated by commas or spaces.
  2. Read the Greatest Common Divisor (GCF) and Least Common Multiple (LCM).
  3. For two numbers, follow the Euclidean division steps shown below.

Questions

Are GCD and GCF the same thing?
Yes. Greatest Common Divisor (GCD), Greatest Common Factor (GCF), and Highest Common Factor (HCF) all mean the largest positive integer dividing every number in your list.
What does coprime mean?
Numbers are coprime (relatively prime) when their only shared positive divisor is 1.

How this works

Runs the BigInt Euclidean algorithm locally in your browser.

Everything happens in this browser tab. What you type or add stays on your device, and the page has no tracking. Your last settings are kept in this browser so the tool opens the way you left it. Privacy

Related tools

More in Calculators