GCF of 30 and 42
The greatest common factor of 30 and 42 is 6 — the largest number that divides both.
GCF is 6.
GCF of 30, 426
LCM210
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: 2 × 3 = 6
- Check with the Euclidean algorithm on 30 and 42:
42 = 1 × 30 + 12
30 = 2 × 12 + 6
12 = 2 × 6 + 0
The last non-zero remainder is 6. - Listing method: factors of 30: 1, 2, 3, 5, 6, 10, 15, 30; 42: 1, 2, 3, 6, 7, 14, 21, 42. The largest one they share is 6.
| Number | power of 2 | power of 3 | power of 5 | power of 7 | Prime factorization |
|---|---|---|---|---|---|
| 30 | 1 | 1 | 1 | 0 | 2 × 3 × 5 |
| 42 | 1 | 1 | 0 | 1 | 2 × 3 × 7 |
Quick answer
30 = 2 × 3 × 5, 42 = 2 × 3 × 7. The primes they share, at the lowest power, multiply to 6.
The LCM of 30 and 42 is 210. Simplify the fraction 30/42: divide by 6 → 5/7.
Related
factors of 30, factors of 42; GCF calculator for any numbers.
GCF of 30 and 42: questions
What is the GCF of 30 and 42?
6.
How do you find the GCF of 30 and 42?
Prime factorize: 2 × 3 × 5 and 2 × 3 × 7; multiply the shared primes at their lowest power.