Binary Converter
Binary, decimal, hex and octal in one step.
Enter your values
Results update instantly as you type — no submit needed.
Results
- Binary
- 11111101010
- Decimal
- 2,026
- Hexadecimal
- 0x7EA
- Octal
- 0o3752
- Bits required
- 11
- Bytes (padded)
- 2
Working
- 12026 (base 10) = 2,026 decimal = 11111101010 binary
Quick answer
Binary is base 2, octal base 8 and hexadecimal base 16 — all shorthand for the same underlying value.
How to use the Binary Converter
- 1Enter the value you want to convert.
- 2Select which base it's written in.
- 3Read all four representations.
Frequently asked questions
Why is hex used for colours?
Each hex digit covers exactly 4 bits, so two digits express one byte per colour channel — compact and lossless.
How many values fit in 8 bits?
256, from 0 to 255 unsigned, or −128 to 127 signed.