Hexadecimal Calculator Online
Perform hexadecimal arithmetic (add, subtract, multiply, divide) and see results in hex, decimal, binary, and octal. Extended calculator adds bitwise operations and a colour converter. Professional mode supports 8/16/32/64-bit programmer mode with two's complement.
How to Use the Hex Calculator
Type your hexadecimal values (digits 0โ9 and letters AโF) in the input fields. Non-hex characters are automatically filtered. Select an operation (+, โ, ร, รท) and see the result instantly in hex, decimal, binary, and octal.
The Extended Calculator below adds bitwise operations (AND, OR, XOR, NOT, shift left/right) and a hex colour converter. The Professional Calculator is a full programmer's calculator with 8/16/32/64-bit modes, two's complement, byte grouping, and history.
| A | B | AND | OR | XOR |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 1 | 0 |
Hexadecimal Quick Reference
| Hex | Decimal | Binary | Octal |
|---|---|---|---|
| 0 | 0 | 0000 | 0 |
| 9 | 9 | 1001 | 11 |
| A | 10 | 1010 | 12 |
| F | 15 | 1111 | 17 |
| FF | 255 | 11111111 | 377 |
| 100 | 256 | 100000000 | 400 |
| FFFF | 65,535 | 1111111111111111 | 177777 |
| FFFFFF | 16,777,215 | 24 ones | 77777777 |
Hex to Decimal Conversion Method
Common Hex Values in Programming
| Hex Value | Decimal | Use Case |
|---|---|---|
| 0x00 | 0 | Null byte, false, off |
| 0x0F | 15 | Lower nibble mask |
| 0xF0 | 240 | Upper nibble mask |
| 0xFF | 255 | Max byte, all bits set |
| 0x7F | 127 | Max signed 8-bit value |
| 0x80 | 128 | Sign bit in 8-bit signed |
| 0xFFFF | 65535 | Max unsigned 16-bit |
| 0xDEAD | 57005 | Classic debug marker |