Space in binary code
AnswerSpace ␠ (space) is 00100000 in binary — ASCII code 32.
012806413201608040201
How space becomes 00100000
The character’s code is 32. Writing 32 as a sum of powers of two gives 32. Put a 1 under each place value used and a 0 everywhere else, and you get 00100000.
| Binary (8-bit) | 00100000 |
|---|---|
| Decimal (ASCII code) | 32 |
| Hexadecimal | 20 (0x20) |
| Octal | 040 |
| Unicode | U+0020 |
| HTML entity |   |
Frequently asked questions
What is space in binary?
Space is 00100000 in 8-bit binary. That is ASCII and UTF-8 code 32, which is 32.