Hex Calculator
It supports hex addition, subtraction, multiplication, division, hex to decimal, decimal to hex, and hex to binary conversions.
Hexadecimal Calculator
Hexadecimal to Decimal
Decimal to Hexadecimal
Hexadecimal to Binary
Hex/Decimal/Binary Conversion
| Hex | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Decimal | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
| Binary | 0000 | 0001 | 0010 | 0011 | 100 | 0101 | 0110 | 0111 | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 | 10000 |
Hex Addition Method
Add each pair of hexadecimal digits from right to left. If the sum is 16 or more, carry 1 to the next column, just like decimal addition.
Example: 9DA + C12 = 15EC

Hex Subtraction Method
Subtract each digit from right to left. If a digit in the top number is smaller than the digit below it, borrow 1 from the next column, which equals 16 in hexadecimal.
Example: C12 - 9DA = 238

Hex Multiplication Method
Multiply each digit of the bottom number by the top number, starting from the rightmost digit. Shift each partial product one position to the left for each new digit, then add the partial products together.
Example: 9DA × C12 = 76E954

Hex Division Method
Divide the hexadecimal dividend by the hexadecimal divisor using long division in base 16. The quotient and remainder are shown after each step.
Example: 9DAF8 ÷ C1 = D12 Remainder: 66

Hexadecimal to Decimal Conversion Formula
Decimal value = Σ (hex digit × 16position)
Example: CBA
CBA = (12 × 162) + (11 × 161) + (10 × 160) = 3258

Decimal to Hexadecimal Conversion Method
Divide the decimal number by 16 repeatedly. Record the remainder each time. Convert any remainder from 10 to 15 into A to F. Read the remainders in reverse order to get the hexadecimal result.
Example: 280
280 ÷ 16 = 17 remainder 8
17 ÷ 16 = 1 remainder 1
1 ÷ 16 = 0 remainder 1
Therefore, 28010 = 11816

Hexadecimal to Binary Conversion Formula
Each hexadecimal digit corresponds to 4 binary bits.
Example: A12
A = 1010, 1 = 0001, 2 = 0010
So, A1216 = 1010000100102

Hexadecimal Multiplication Table
| x | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | A | B | C | D | E | F | 10 |
| 2 | 2 | 4 | 6 | 8 | A | C | E | 10 | 12 | 14 | 16 | 18 | 1A | 1C | 1E | 20 |
| 3 | 3 | 6 | 9 | C | F | 12 | 15 | 18 | 1B | 1E | 21 | 24 | 27 | 2A | 2D | 30 |
| 4 | 4 | 8 | C | 10 | 14 | 18 | 1C | 20 | 24 | 28 | 2C | 30 | 34 | 38 | 3C | 40 |
| 5 | 5 | A | F | 14 | 19 | 1E | 23 | 28 | 2D | 32 | 37 | 3C | 41 | 46 | 4B | 50 |
| 6 | 6 | C | 12 | 18 | 1E | 24 | 2A | 30 | 36 | 3C | 42 | 48 | 4E | 54 | 5A | 60 |
| 7 | 7 | E | 15 | 1C | 23 | 2A | 31 | 38 | 3F | 46 | 4D | 54 | 5B | 62 | 69 | 70 |
| 8 | 8 | 10 | 18 | 20 | 28 | 30 | 38 | 40 | 48 | 50 | 58 | 60 | 68 | 70 | 78 | 80 |
| 9 | 9 | 12 | 1B | 24 | 2D | 36 | 3F | 48 | 51 | 5A | 63 | 6C | 75 | 7E | 87 | 90 |
| A | A | 14 | 1E | 28 | 32 | 3C | 46 | 50 | 5A | 64 | 6E | 78 | 82 | 8C | 96 | A0 |
| B | B | 16 | 21 | 2C | 37 | 42 | 4D | 58 | 63 | 6E | 79 | 84 | 8F | 9A | A5 | B0 |
| C | C | 18 | 24 | 30 | 3C | 48 | 54 | 60 | 6C | 78 | 84 | 90 | 9C | A8 | B4 | C0 |
| D | D | 1A | 27 | 34 | 41 | 4E | 5B | 68 | 75 | 82 | 8F | 9C | A9 | B6 | C3 | D0 |
| E | E | 1C | 2A | 38 | 46 | 54 | 62 | 70 | 7E | 8C | 9A | A8 | B6 | C4 | D2 | E0 |
| F | F | 1E | 2D | 3C | 4B | 5A | 69 | 78 | 87 | 96 | A5 | B4 | C3 | D2 | E1 | F0 |
| 10 | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | A0 | B0 | C0 | D0 | E0 | F0 | 100 |
Write Reply to This Calculator