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