Binary & Hex Calculator
Perform arithmetic and convert numbers between binary, hexadecimal, decimal and octal. Free, instant.
💻 Developer Tools
Free
Browser-based
+
Binary Arithmetic Rules
| Operation | Rule | Example |
|---|---|---|
| Addition | 1+1 = 10 (carry 1) | 1011 + 0110 = 10001 |
| Subtraction | 10−1 = 1 (borrow) | 1011 − 0110 = 0101 |
| Multiplication | Like decimal, only 0s and 1s | 101 × 11 = 1111 |
| Division | Integer division, remainder possible | 1100 ÷ 11 = 100 |
Hex Digit to Binary Mapping
| Hex | Binary | Decimal |
|---|---|---|
| 0–9 | 0000–1001 | 0–9 |
| A | 1010 | 10 |
| B | 1011 | 11 |
| C | 1100 | 12 |
| D | 1101 | 13 |
| E | 1110 | 14 |
| F | 1111 | 15 |