Hexadecimal (base 16) uses digits 0–9 and letters A–F. Programmers use it for colours, memory addresses and byte values. Do hex arithmetic or convert numbers here.
How to Use this Hex Calculator – Step-by-Step Guide
- Step 1: Type two hex numbers. With or without 0x.
- Step 2: Pick the operation. Add, subtract, multiply or divide.
- Step 3: Read the result. In hex, decimal and binary.
Hex digits
A = 10, B = 11, C = 12, D = 13, E = 14, F = 15. Each place is a power of 16: 1F4 = 1×256 + 15×16 + 4 = 500.
Worked example
With the values already filled in the calculator above:
- First hex number: 1F4
- Operation: Add
- Second hex number: A
The calculator shows Result (hex): 1FE.
It also works out:
- Decimal: 510
- Binary: 111111110
- Inputs in decimal: 500 and 10
Frequently asked questions
Where is hex used?
Web colours like #163A9E, memory addresses and MAC addresses.

