Hex Addition
Hex A equals 10 and D equals 13 in decimal, so their sum is 23, which is 17 in hexadecimal.
A + D
Result: 17
Use this hexadecimal calculator to solve hex arithmetic and bitwise operations in one place. It accepts hexadecimal inputs, shows decimal equivalents, and explains the result step by step.
Enter hexadecimal numbers (using 0-9 and A-F), select an operation, and click Calculate to see the result with step-by-step solution.
Hexadecimal (or hex) is a base-16 number system that uses 16 distinct symbols: the numbers 0-9 and the letters A-F to represent values. It's commonly used in computing as a more human-friendly way to represent binary-coded values.
Each hex digit represents 4 binary digits (bits), making it easier to read and write binary numbers. For example, the hex number 1A3F is equivalent to the decimal number 6719.
Enter valid hexadecimal values using digits 0-9 and letters A-F, choose the operation you need, and review the result in both hexadecimal and decimal form.
Tip: the NOT operation uses only the first input and flips each bit represented by that hexadecimal value.
Hex A equals 10 and D equals 13 in decimal, so their sum is 23, which is 17 in hexadecimal.
A + D
Result: 17
Multiplying 5 by 3 gives 15 in decimal, and 15 is written as F in hexadecimal.
5 × 3
Result: F
D is 1101 and B is 1011 in binary, so bitwise AND returns 1001, which is 9 in hex.
D AND B
Result: 9
XOR returns 1 where the bits differ, producing 0110 in binary, which equals 6 in hexadecimal.
D XOR B
Result: 6
A hex calculator performs arithmetic and bitwise operations on hexadecimal values and often shows the corresponding decimal result for verification.
Hexadecimal is base 16, so it needs 16 symbols. After 0 through 9, the letters A through F represent decimal values 10 through 15.
Hex arithmetic treats the input as whole numbers for addition, subtraction, multiplication, and division, while bitwise operations compare or invert the underlying binary bits.
Hex is compact and maps cleanly to binary because each hex digit represents four bits, which makes memory addresses, color codes, and binary data easier to read.