GCF of 21 and 28

The greatest common factor of 21 and 28 is 7 — the largest number that divides both.

GCF is 7.

GCF of 21, 287
LCM84
Relatively prime?No

Step by step

  1. Prime factorize each number (table). The GCF uses each prime that appears in all of them, with its smallest power: 7 = 7
  2. Check with the Euclidean algorithm on 21 and 28:
    28 = 1 × 21 + 7
    21 = 3 × 7 + 0
    The last non-zero remainder is 7.
  3. Listing method: factors of 21: 1, 3, 7, 21; 28: 1, 2, 4, 7, 14, 28. The largest one they share is 7.
Numberpower of 2power of 3power of 7Prime factorization
210113 × 7
2820122 × 7

Quick answer

21 = 3 × 7, 28 = 22 × 7. The primes they share, at the lowest power, multiply to 7.

The LCM of 21 and 28 is 84. Simplify the fraction 21/28: divide by 7 → 3/4.

Related

factors of 21, factors of 28; GCF calculator for any numbers.

GCF of 21 and 28: questions

What is the GCF of 21 and 28?

7.

How do you find the GCF of 21 and 28?

Prime factorize: 3 × 7 and 2² × 7; multiply the shared primes at their lowest power.