512
512 is 2⁹, and the traditional size in bytes of a disk sector.
Where 512 fits
Why 512 is special
512 was the unit that storage was measured in for decades: hard disks addressed data in 512-byte sectors, so file systems, partition tables and boot sectors were all built around it. Drives moved to 4,096-byte sectors from around 2010, but many still present a 512-byte view to software that cannot cope otherwise.
512 is part of
Factors & digit properties
- Divisors (10)
- 1, 2, 4, 8, 16, 32, 64, 128, 256, 512
- Prime factorisation
- 2^9
- Digit sum
- 8
- Digital root
- 8
Representations
- Decimal
- 512
- Scientific notation
- 5.120 × 10^2
Roman numerals
D X I I
Binary
1 0 0 0 0 0 0 0 0 0
1 × 512 + 0 × 256 + 0 × 128 + 0 × 64 + 0 × 32 + 0 × 16 + 0 × 8 + 0 × 4 + 0 × 2 + 0 × 1 = 512
Octal
1 0 0 0
1 × 512 + 0 × 64 + 0 × 8 + 0 × 1 = 512
Hexadecimal
2 0 0
2 × 256 + 0 × 16 + 0 × 1 = 512
Read as powers of two: 512 = 512.
In historical numeral systems
Egyptian
5 coils of rope, 1 hobble, 2 strokes
5 × 100 + 1 × 10 + 2 × 1 = 512. The signs are simply repeated and added; where they sit on the line is a matter of layout, not value.
Babylonian
8 vertical wedges (sixties place), 3 corner wedges + 2 vertical wedges (units place)
8 × 60 + 32 = 512. Places are separated by a space on the tablet, with the higher place written first.
Greek (Ionic)
phi, then iota, then beta, marked as a numeral
phi-iota-beta + keraia
phi + iota + beta written in descending order and added — the letters carry their values wherever they stand, so this is addition, not place value.
Hebrew numerals
tav, then qof, then yod, then bet
tav-qof-yod-bet
tav (400) + qof (100) + yod (10) + bet (2) = 512, written in descending order.
Systems that simply cannot reach this value are left out. Where a script needs a font most readers do not have, the reading is given instead of the glyphs — see number systems for each system in full.
Other mathematical patterns
- Deficient number
- Powerful number
- Harshad (Niven) number
Related numbers & connections
Consecutive powers of two, and consecutive units of storage history: 256 values in a byte, 512 bytes in the disk sector that file systems assumed for decades. Doubling is the only step the binary world takes.
View 256 →512 is 2⁹, the traditional disk sector size that file systems and boot loaders were built around for decades.
Technology & computing
Hard disks addressed data in 512-byte sectors for decades, so partition tables, file systems and boot loaders all encoded that assumption. When drives moved to 4,096-byte sectors around 2010 the transition needed an emulation layer presenting the old 512-byte view, because too much software could not be changed — a clear case of a number outliving its reason.
DocumentedTechnology & computingPeriod: 1980s – 2010sHard disks used 512-byte sectors for decades. The move to 4,096-byte physical sectors required drives to emulate the old size, and misaligned partitions caused significant performance loss.
DocumentedTechnology & computingPeriod: 1950s–
Mathematics
512 is 2⁹, and because 9 is divisible by 3 it is also 8³ — the only cube among the familiar disk and memory sizes. Powers of two are cubes exactly when their exponent is a multiple of three, which is why 64, 512 and 4,096 are and 128, 256 and 1,024 are not. The coincidence is arithmetic rather than anything to do with storage, but it is why 512 turns up as a cube-root answer far more often than a number of its size otherwise would.
DocumentedMathematics
Common questions
Is 512 a prime number?
No, 512 is not prime.
What are the factors of 512?
The factors of 512 are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512.
What is 512 in Roman numerals?
512 in Roman numerals is DXII.
About this page's data
Mathematical facts:computed directly from the number's value — nothing to source or verify externally.
Contextual records: 3 reviewer-confirmed records, sourced and reviewed before publication.
Last reviewed: 15 July 2026