GCF of 8 and 12
The greatest common factor of 8 and 12 is 4 — the largest number that divides both.
GCF is 4.
GCF of 8, 124
LCM24
Relatively prime?No
Step by step
- Prime factorize each number (table). The GCF uses each prime that appears in all of them, with its smallest power: 22 = 4
- Check with the Euclidean algorithm on 8 and 12:
12 = 1 × 8 + 4
8 = 2 × 4 + 0
The last non-zero remainder is 4. - Listing method: factors of 8: 1, 2, 4, 8; 12: 1, 2, 3, 4, 6, 12. The largest one they share is 4.
| Number | power of 2 | power of 3 | Prime factorization |
|---|---|---|---|
| 8 | 3 | 0 | 23 |
| 12 | 2 | 1 | 22 × 3 |
Quick answer
8 = 23, 12 = 22 × 3. The primes they share, at the lowest power, multiply to 4.
The LCM of 8 and 12 is 24. Simplify the fraction 8/12: divide by 4 → 2/3.
Related
factors of 8, factors of 12; GCF calculator for any numbers.
GCF of 8 and 12: questions
What is the GCF of 8 and 12?
4.
How do you find the GCF of 8 and 12?
Prime factorize: 2³ and 2² × 3; multiply the shared primes at their lowest power.