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
| Step | Division (a = b × q + r) |
|---|---|
| Step 1 | 48 = 18 × 2 + 12 |
| Step 2 | 18 = 12 × 1 + 6 |
| Step 3 | 12 = 6 × 2 + 0 |
How to use GCD / GCF Calculator
- Enter two or more whole numbers separated by commas or spaces.
- Read the Greatest Common Divisor (GCF) and Least Common Multiple (LCM).
- 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 CalculatorsLCM Calculator
Find the Least Common Multiple (LCM) and GCD of two or more integers.
Prime Number Checker
Check whether any whole number is prime, see its prime factorization, and find neighboring primes.
Fraction Calculator
Add, subtract, multiply, and divide fractions or mixed numbers with simplified and decimal results.
Age Calculator
Find your exact age in years, months, and days, plus total days lived and your next birthday countdown.