Binarybase 2
0b
Octalbase 8
0o
Decimalbase 10
Hexadecimalbase 16
0x
Quick Values
Bit ViewMSB → LSB
15–8
0
0
0
0
0
0
0
0
7–0
1
0
1
0
1
1
1
1
Properties
Decimal (signed)175
Decimal (unsigned)175
Bits set6
Bit length8
Even / OddOdd
Power of 2✗ No
ASCII / Unicode'¯'
Base
Bitwise Operations
Operand (decimal)
AND, OR, XOR require an operand. NOT, SHL, SHR work on the current value (SHL/SHR use operand as shift amount, default 1).
Quick Reference
| Dec | Hex | Oct | Bin | Char |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | ^@ |
| 1 | 1 | 1 | 1 | ^A |
| 2 | 2 | 2 | 10 | ^B |
| 3 | 3 | 3 | 11 | ^C |
| 4 | 4 | 4 | 100 | ^D |
| 5 | 5 | 5 | 101 | ^E |
| 6 | 6 | 6 | 110 | ^F |
| 7 | 7 | 7 | 111 | ^G |
| 8 | 8 | 10 | 1000 | ^H |
| 9 | 9 | 11 | 1001 | ^I |
| 10 | A | 12 | 1010 | ^J |
| 11 | B | 13 | 1011 | ^K |
| 12 | C | 14 | 1100 | ^L |
| 13 | D | 15 | 1101 | ^M |
| 14 | E | 16 | 1110 | ^N |
| 15 | F | 17 | 1111 | ^O |
| 32 | 20 | 40 | 1000 00 | |
| 48 | 30 | 60 | 1100 00 | 0 |
| 65 | 41 | 101 | 1000 001 | A |
| 97 | 61 | 141 | 1100 001 | a |
| 127 | 7F | 177 | 1111 111 | DEL |
| 128 | 80 | 200 | 1000 0000 | · |
| 255 | FF | 377 | 1111 1111 | · |
Free Online Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) in real time. Type in any field and see all other bases update instantly. Includes bit visualization and common programming reference values.