GCF of 18 and 24

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

GCF is 6.

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

Quick answer

18 = 2 × 32, 24 = 23 × 3. The primes they share, at the lowest power, multiply to 6.

The LCM of 18 and 24 is 72. Simplify the fraction 18/24: divide by 6 → 3/4.

Related

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

GCF of 18 and 24: questions

What is the GCF of 18 and 24?

6.

How do you find the GCF of 18 and 24?

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