Factors of 512

The factors of 512 are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512 (10 factors). 512 = 29, so it is not prime. In words: five hundred twelve.

Five hundred twelve
512 = 29
DXIIRoman numeral
compositetype
evenparity
10divisors
1000000000binary
8digit sum

All facts about 512 →

512 as a cube number

512 is a perfect cube: 8 × 8 × 8 = 512, so ∛512 = 8.

Factors of 512

512 has 10 factors: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512. Prime factorization: 512 = 29.

Factor pairProduct
1 × 512512
2 × 256512
4 × 128512
8 × 64512
16 × 32512

The factors add up to 1,023. Without 512 itself they sum to 511, which is less than 512, so 512 is a deficient number. What does that mean?

Is 512 a prime number? No

512 is a composite number: it is divisible by 2, so 512 = 2 × 256. It has 10 divisors in total. The nearest primes are 509 below and 521 above.

How to write 512 in words

Five hundred twelve

StyleWritten
Cardinal (US)five hundred twelve
Ordinalfive hundred twelfth (512th)
On a checkFive hundred twelve and 00/100 dollars

In US English there is no “and” after “hundred” (five hundred twelve); British English adds it (five hundred and twelve).

512 in Roman numerals

512 = DXII

Break 512 into place values and write each one: 500 = D, 10 = X, 2 = II. Joined: DXII.

Properties of 512

PropertyValue
Parityeven
Number of digits3
Digit sum8
Digital root8
Reversed215
Perfect square?no
Perfect cube?yes
Triangular number?no
Fibonacci number?no
Classificationdeficient

512 in binary, octal and hexadecimal

Base512 is written
Binary (2)10 0000 0000 (10 bits)
Ternary (3)200222
Octal (8)1000
Duodecimal (12)368
Hexadecimal (16)200
Base 36E8

512 is a power of 2 (29), which is why its binary form is a single 1 followed by zeros.

Convert 512 to any base

512 as a sum of two primes

Goldbach’s conjecture says every even number above 2 is a sum of two primes. 512 can be written that way in 11 ways, for example 3 + 509, 13 + 499, 73 + 439, 79 + 433, 103 + 409, ….

Multiplication table of 512

512 ×Result
512 × 1512
512 × 21,024
512 × 31,536
512 × 42,048
512 × 52,560
512 × 63,072
512 × 73,584
512 × 84,096
512 × 94,608
512 × 105,120
512 × 115,632
512 × 126,144

Nearby numbers

Frequently asked questions

What are the factors of 512?
1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
Is 512 a prime number?
No. 512 is divisible by 2 (512 = 2 × 256).
How do you write 512 in words?
Five hundred twelve.
What is 512 in Roman numerals?
DXII.