0 in binary
0 in binary, hexadecimal and octal, and how to work it out.
0
0 in binary (1 bit)
Hexadecimal0
Octal0
Decimal0
Converting 0 to binary by hand
Divide by 2 again and again, noting each remainder, until you reach 0. Then read the remainders from the bottom up: 0.
| Divide | Answer | Remainder |
|---|---|---|
| 0 ÷ 2 | 0 | 0 |
Converting 0 to hexadecimal
The same way, dividing by 16, with remainders of 10 to 15 written as A to F. Reading up gives 0. Or split the binary into groups of four from the right and write each group as one hex digit.
| Divide | Answer | Remainder |
|---|---|---|
| 0 ÷ 16 | 0 | 0 |
Whole numbers of any size. Prefixes like 0b, 0o and 0x, and spaces between digits, are ignored. Bases above 10 use the letters A to Z as digits.
Decimal0
Binary0
Octal0
Hexadecimal0
Base 30
Size1 bits
Frequently asked questions
What is 0 in binary?
0. It needs 1 bit.
What is 0 in hexadecimal?
0.
What is 0 in octal?
0.
What is 0 in decimal?
0.
Nearby numbers
1 in binary 2 in binary 3 in binary 4 in binary 5 in binary
Related calculators
Roman Numeral Converter
Numbers to Roman numerals and back, with a breakdown and reference table.
Morse Code Translator
Text to Morse and back, with sound and the full chart.
Scientific Calculator
Trig, logs, powers and roots, with a DEG/RAD toggle.
Number to Words
Numbers written out in British English, plus ordinal and cheque wording.
Decimal ↔ Fraction
Convert either way, including recurring decimals done exactly.
All Other calculators
Every calculator in the category, on one page.