GCF / GCD Calculator

Greatest common factor of two or more numbers — the simplifying engine.

Calculate

Type your numbers and press Calculate — the answer appears with the full step-by-step working.

Whole numbers, separated by commas.
Answer
12
GCF of 36, 48, 60

Step-by-step working

  1. List the common divisors, or use Euclid's method pairwise — the running GCF is: 36 → 12 → 12
  2. The largest number that divides every value evenly is 12.
  3. 36 ÷ 12 = 3
  4. 48 ÷ 12 = 4
  5. 60 ÷ 12 = 5

Try a worked example — it loads straight into the calculator:

Formula

GCF = the largest number dividing every value exactly (Euclid's method)

Worked examples

36, 48, 60

  1. List the common divisors, or use Euclid's method pairwise — the running GCF is: 36 → 12 → 12
  2. The largest number that divides every value evenly is 12.
  3. 36 ÷ 12 = 3
  4. 48 ÷ 12 = 4
  5. 60 ÷ 12 = 5

Answer: 12 — GCF of 36, 48, 60

GCF of 84 and 126

  1. List the common divisors, or use Euclid's method pairwise — the running GCF is: 84 → 42
  2. The largest number that divides every value evenly is 42.
  3. 84 ÷ 42 = 2
  4. 126 ÷ 42 = 3

Answer: 42 — GCF of 84, 126

1071 and 462 (Euclid's classic)

  1. List the common divisors, or use Euclid's method pairwise — the running GCF is: 1071 → 21
  2. The largest number that divides every value evenly is 21.
  3. 1071 ÷ 21 = 51
  4. 462 ÷ 21 = 22

Answer: 21 — GCF of 1071, 462

About this calculator

The greatest common factor — also called GCD (greatest common divisor) or HCF (highest common factor) — is the largest number that divides every number in your list with nothing left over. It is the engine inside fraction simplifying: 36/48 reduces by the GCF of 36 and 48, which is 12, giving 3/4 in one move instead of several small ones.

For big numbers, Euclid's method (keep replacing the larger number by the remainder of the division) finds the GCF in a handful of steps — that is what runs here.

How to use it

  1. Enter two or more whole numbers.
  2. Calculate.

Frequently asked questions

GCF, GCD, HCF — are they different?

No. Three names for the same number, used in different countries and textbooks.

What if the GCF is 1?

The numbers are coprime — they share no factor. Fractions with GCF 1 are already in lowest terms.