BinaryBase 2
0b
OctalBase 8
0o
DecimalBase 10
HexadecimalBase 16
0x
Bit Visualization
8-bit
1
1
1
1
1
1
1
1
Decimal: 255Signed 8-bit: -1Bits needed: 8Even/Odd: Odd
Quick Reference
| Dec | Hex | Oct | Bin |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 |
| 2 | 2 | 2 | 10 |
| 4 | 4 | 4 | 100 |
| 8 | 8 | 10 | 1000 |
| 10 | A | 12 | 1010 |
| 15 | F | 17 | 1111 |
| 16 | 10 | 20 | 10000 |
| 32 | 20 | 40 | 100000 |
| 64 | 40 | 100 | 1000000 |
| 127 | 7F | 177 | 1111111 |
| 128 | 80 | 200 | 10000000 |
| 255 | FF | 377 | 11111111 |
What is a Number Base Converter?
A Number Base Converter translates numbers between binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16) with bit-level visualization. It is a must-have tool for computer science students, developers, and anyone working with low-level programming or digital systems.
How to Use It
- 1Type a number in any base field: binary, octal, decimal, or hexadecimal
- 2All other base representations update instantly
- 3View the binary representation with bit grouping for easy reading
- 4Use the bit-length selector (8-bit, 16-bit, 32-bit) to see representations with leading zeros
Example
Decimal 255 = Binary 11111111 = Octal 377 = Hexadecimal FF. This is why web colors max out at #FFFFFF — 255 (maximum RGB value) is FF in hex. chmod 755 in Unix = binary 111 101 101 (owner: rwx, group: r-x, others: r-x).
Why Use It
- Convert between number systems for programming and computer science coursework
- Understand binary representations for bitwise operations and flags
- Decode hex color codes, memory addresses, and file offsets
- Verify octal permissions in Unix/Linux systems (chmod)