Prime Factorization of 124
Updated · exact integer math
124 = 2² × 31
2 × 2 × 31
The prime factorization of 124 is 2² × 31: the only way to write 124 as a product of prime numbers. Its prime factors are 2 and 31.
How to find the prime factorization of 124
Divide by the smallest prime that goes in evenly, and repeat with the result until you reach 1:
| Step | Division | Why this prime |
|---|---|---|
| 1 | 124 ÷ 2 = 62 | 124 is even |
| 2 | 62 ÷ 2 = 31 | 62 is even |
| 3 | 31 ÷ 31 = 1 | 31 is prime, so it divides only by itself |
The primes you divided by, 2 × 2 × 31, multiply back to 124. Grouping repeats with exponents gives 2² × 31.
Factor tree for 124
A factor tree splits the number into two factors, then keeps splitting any factor that isn't prime:
- 124 → 2 × 62
- 62 → 2 × 31
The branch ends at 2 and 31, both prime. Every leaf of the tree is a prime factor.
All factors of 124
124 has 6 factors: 1, 2, 4, 31, 62, 124. As factor pairs:
| 1 × 124 = 124 |
| 2 × 62 = 124 |
| 4 × 31 = 124 |
You can count them from the exponents: add 1 to each exponent in 2² × 31 and multiply, (2 + 1) × (1 + 1) = 6. The factors add up to 224.
Prime factorization of nearby numbers
| Number | Prime factorization |
|---|---|
| 114 | 2 × 3 × 19 |
| 115 | 5 × 23 |
| 116 | 2² × 29 |
| 117 | 3² × 13 |
| 118 | 2 × 59 |
| 119 | 7 × 17 |
| 120 | 2³ × 3 × 5 |
| 121 | 11² |
| 122 | 2 × 61 |
| 123 | 3 × 41 |
For any other number, the prime number checker shows the full factorization of numbers up to 24 digits, and the divisibility rules make the first steps quick by hand.
Questions people ask
What is the prime factorization of 124?
124 = 2² × 31, or 2 × 2 × 31.
What are the prime factors of 124?
2 and 31.
How many factors does 124 have?
6: 1, 2, 4, 31, 62, 124.