Factor Calculator

Factors of 128

The factors of 128 are 1, 2, 4, 8, 16, 32, 64, and 128. In total, 128 has 8 factors. Its prime factorization is 2⁷, and the sum of all its factors is 255.

All factors of 128

Here are all 8 factors of 128, listed from smallest to largest.

1248163264128

Factor pairs of 128

These 4 pairs of whole numbers each multiply to give 128.

1 × 128 = 128
2 × 64 = 128
4 × 32 = 128
8 × 16 = 128

Prime factorization of 128

Dividing 128 by the smallest prime at each step gives its prime factorization:

128 ÷ 2 = 64
64 ÷ 2 = 32
32 ÷ 2 = 16
16 ÷ 2 = 8
8 ÷ 2 = 4
4 ÷ 2 = 2
2 ÷ 2 = 1
Result: 128 = 2 × 2 × 2 × 2 × 2 × 2 × 2 = 2⁷

The distinct prime factors of 128 are 2. To factorize any other number, use the prime factorization calculator.

Factor tree of 128

A factor tree shows the same prime factorization visually. Each composite branch splits until every endpoint is a prime number.

Factor tree of 128128264232216282422
Prime factors are shown in solid indigo. Composite numbers split into their smallest prime and the quotient.

Properties of 128

Number of factors8
Sum of factors255
Sum of proper factors127
Prime factorization2⁷
Prime or composite?Composite
Even or odd?Even
Perfect square?No
Perfect cube?No
ClassificationDeficient

What makes 128 interesting

  • 128 is a composite number, meaning it has more than two factors. It can be written as a product of smaller whole numbers in 4 different ways.
  • 128 is a deficient number: its proper factors sum to 127, which is 1 less than 128 itself.
  • 128 is a prime power: it is 2 raised to the power of 7. All of its factors are powers of 2.

How to find the factors of 128 yourself

Divide 128 by each whole number starting from 1. Whenever the division leaves no remainder, both the divisor and the quotient are factors. You only need to test up to √12811.31, because every factor above that pairs with one below it.

128 ÷ 1 = 128
128 ÷ 2 = 64
128 ÷ 4 = 32
128 ÷ 8 = 16

Reading both columns gives every factor: 1, 2, 4, 8, 16, 32, 64, 128. The factor calculator does this automatically for any number.

Frequently asked questions about 128

What are the factors of 128?

The factors of 128 are 1, 2, 4, 8, 16, 32, 64, and 128. That is 8 factors in total, counting both 1 and 128.

Is 128 a prime number?

No, 128 is not prime — it is a composite number with 8 factors. A prime number has exactly two factors, but 128 is also divisible by 2.

What is the prime factorization of 128?

The prime factorization of 128 is 2⁷. Written out in full: 2 × 2 × 2 × 2 × 2 × 2 × 2 = 128. Its distinct prime factors are 2.

What two numbers multiply to give 128?

There are 4 pairs of whole numbers that multiply to 128: 1 × 128, 2 × 64, 4 × 32, 8 × 16.

What is the sum of the factors of 128?

Adding all the factors of 128 together gives 255. Excluding 128 itself, the proper factors sum to 127.

Is 128 a perfect square?

No, 128 is not a perfect square. There is no whole number that multiplies by itself to give 128. The nearest perfect squares are 121 and 144.

What is the largest factor of 128 other than itself?

The largest factor of 128 apart from 128 itself is 64, since 128 ÷ 64 = 2.

How many factors does 128 have?

128 has 8 factors: 1, 2, 4, 8, 16, 32, 64, and 128. You can verify this from the prime factorization 2⁷: add 1 to each exponent and multiply, giving 8 = 8.

Explore more

Try another number in the factor calculator, break 128 down further with the prime factorization calculator, or compare 128 with another number using the GCF calculator and LCM calculator. For divisor counts and sums, see the divisor calculator.