0 in Binary
0 = 0₂
The decimal number 0 is 0 in binary.
Step by step
- 0 in any base is 0.
Zero is written 0 in binary, decimal, hexadecimal and octal alike — it is the only number that looks the same in every base. Inside a computer, zero is stored with every bit switched off: 00000000 in one byte, or 32 zero bits in a 32-bit integer. In the two’s complement system used for signed integers, zero has a single representation, and subtracting 1 from it flips every bit to 1, which is how −1 is stored (11111111 in eight bits).
Details
- Binary
- 0
- 8-bit form
- 00000000
- Hexadecimal
- 0
- Octal
- 0
- Bits needed
- 1
- Number of 1 bits
- 0
How it works
Binary is base 2: each digit is a bit worth a power of two (1, 2, 4, 8, 16, 32 …). To convert a decimal number to binary, divide it by 2 again and again, writing down each remainder (0 or 1), until the quotient reaches 0. The binary number is the remainders read from the last one to the first. To check, add the powers of two where the bits are 1.
Nearby values
Related conversions
Frequently asked questions
What is 0 in binary?
0.
How do you convert 0 to binary?
Divide by 2 repeatedly and read the remainders from bottom to top.
How many bits are needed for 0?
1 bit.
What is 0 in hexadecimal?
0.