Binary Converter
Binary, decimal, hex and octal in one step.
Enter your values
ⓘ Live results
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.
Worked example
Using the values the calculator loads with:
Inputs
- Value2026
- Input baseDecimal
Results
- Binary11111101010
- Decimal2,026
- Hexadecimal0x7EA
- Octal0o3752
- Bits required11
- Bytes (padded)2
- 2026 (base 10) = 2,026 decimal = 11111101010 binary
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.
About this calculator
- Built and reviewed by James Whitfield · How we build and test calculators
- Report an error
Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.