GCF of 4 and 12
The greatest common factor of 4 and 12 is 4 — the largest number that divides both.
GCF is 4.
GCF of 4, 124
LCM12
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 4 and 12:
12 = 3 × 4 + 0
The last non-zero remainder is 4. - Listing method: factors of 4: 1, 2, 4; 12: 1, 2, 3, 4, 6, 12. The largest one they share is 4.
| Number | power of 2 | power of 3 | Prime factorization |
|---|---|---|---|
| 4 | 2 | 0 | 22 |
| 12 | 2 | 1 | 22 × 3 |
Quick answer
4 = 22, 12 = 22 × 3. The primes they share, at the lowest power, multiply to 4.
The LCM of 4 and 12 is 12. Simplify the fraction 4/12: divide by 4 → 1/3.
Related
factors of 4, factors of 12; GCF calculator for any numbers.
GCF of 4 and 12: questions
What is the GCF of 4 and 12?
4.
How do you find the GCF of 4 and 12?
Prime factorize: 2² and 2² × 3; multiply the shared primes at their lowest power.