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