Factors of 512

The factors of 512 are 1, 2, 4, 8, 16, 32, 64, 128, 256 and 512.

512 has 10 factors.

Factors of 5121, 2, 4, 8, 16, 32, 64, 128, 256, 512
How many10 factors
Prime factorization29
TypeComposite

1 × 5122 × 2564 × 1288 × 6416 × 32

1248163264128256512
Factor rainbow: each arc joins two factors that multiply to 512.
51222562128264232216282422
Factor tree: circled numbers are prime.

Step by step

  1. Only numbers up to √512 ≈ 22.6274 need checking (so up to 22), because every factor above that pairs with one below it.
  2. Divide by 1, 2, 3, … 22 and keep the ones that divide evenly:
    512 ÷ 1 = 512 ✓
    512 ÷ 2 = 256 ✓
    512 ÷ 4 = 128 ✓
    512 ÷ 8 = 64 ✓
    512 ÷ 16 = 32 ✓
  3. Each division gives a pair: the divisor and the quotient. Listed in order, the factors are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
Number of factors10
Sum of factors1,023
Prime or compositecomposite
Prime factorization29
Perfect squareNo
Square root≈ 22.627417
Even or oddEven
Proper factors (all except 512)1, 2, 4, 8, 16, 32, 64, 128, 256
Negative factors−1, −2, −4, −8, −16, −32, −64, −128, −256, −512

Factor pairs of 512

512 has 5 factor pairs: 1 × 512, 2 × 256, 4 × 128, 8 × 64, 16 × 32.

Negative pairs work too: (−1) × (−512) = 512.

Number facts

  • Deficient number: its proper factors add up to 511, which is less than 512
  • 1 odd factor and 9 even factors
  • Perfect cube: 8³ = 512

Prime factorization of 512

512 = 29. Its prime factors are 2. Add 1 to each exponent and multiply to count the factors: (9 + 1) = 10.

Is 512 a prime number?

No — 512 is composite: it can be divided evenly by 2, 4, 8, 16, 32 and 64 and others.

How to find the factors of 512

Try dividing 512 by every whole number from 1 up to √512 ≈ 22.63, so up to 22. Each division with no remainder gives a factor pair.

DivisionResultFactors found
512 ÷ 1512✓ 1 and 512
512 ÷ 2256✓ 2 and 256
512 ÷ 3170 R 2✗
512 ÷ 4128✓ 4 and 128
512 ÷ 5102 R 2✗
512 ÷ 685 R 2✗
512 ÷ 773 R 1✗
512 ÷ 864✓ 8 and 64
512 ÷ 956 R 8✗
512 ÷ 1051 R 2✗
512 ÷ 1146 R 6✗
512 ÷ 1242 R 8✗
512 ÷ 1339 R 5✗
512 ÷ 1436 R 8✗
512 ÷ 1534 R 2✗
512 ÷ 1632✓ 16 and 32
512 ÷ 1730 R 2✗
512 ÷ 1828 R 8✗
512 ÷ 1926 R 18✗
512 ÷ 2025 R 12✗
512 ÷ 2124 R 8✗
512 ÷ 2223 R 6✗

Divisibility checks for 512

ByTestDivisible?
2last digit 2 is even✓ yes
3digit sum 5 + 1 + 2 = 8 is not a multiple of 3✗ no
4last two digits 12 are a multiple of 4✓ yes
5last digit 2 is not 0 or 5✗ no
6divisible by both 2 and 3? no✗ no
9digit sum 8 is not a multiple of 9✗ no
10last digit 2 is not 0✗ no
11alternating digit sum 6 is not a multiple of 11✗ no

Rules explained: divisibility rules.

Common factors with other numbers

NumbersCommon factorsGreatest
512 and 121, 2, 4GCF 4
512 and 181, 2GCF 2
512 and 241, 2, 4, 8GCF 8
512 and 361, 2, 4GCF 4

Nearby numbers

See also: is 512 a prime number?

Popular: factors of 12 · 15 · 16 · 18 · 20 · 21 · 24 · 27 · 28 · 30 · 32 · 35 · 36 · 40 · 42 · 45 · 48 · 54 · 56 · 60 · 63 · 72 · 80 · 90

Factors of 512: questions

What are the factors of 512?

1, 2, 4, 8, 16, 32, 64, 128, 256 and 512.

What are the factor pairs of 512?

1 × 512, 2 × 256, 4 × 128, 8 × 64, 16 × 32.

What is the prime factorization of 512?

2⁹

Is 512 prime or composite?

512 is a composite number.

How many factors does 512 have?

10.