GCF of 4 and 18

The greatest common factor of 4 and 18 is 2 — the largest number that divides both.

GCF is 2.

GCF of 4, 182
LCM36
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: 2 = 2
  2. Check with the Euclidean algorithm on 4 and 18:
    18 = 4 × 4 + 2
    4 = 2 × 2 + 0
    The last non-zero remainder is 2.
  3. Listing method: factors of 4: 1, 2, 4; 18: 1, 2, 3, 6, 9, 18. The largest one they share is 2.
Numberpower of 2power of 3Prime factorization
42022
18122 × 32

Quick answer

4 = 22, 18 = 2 × 32. The primes they share, at the lowest power, multiply to 2.

The LCM of 4 and 18 is 36. Simplify the fraction 4/18: divide by 2 → 2/9.

Related

factors of 4, factors of 18; GCF calculator for any numbers.

GCF of 4 and 18: questions

What is the GCF of 4 and 18?

2.

How do you find the GCF of 4 and 18?

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