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