Perform hexadecimal calculations and conversions. Enter hex numbers and select an operation.
Hexadecimal (base-16) calculations involve numbers and letters A-F. Here's a guide on performing hexadecimal calculations:
To convert between hexadecimal and decimal:
Where \(d_i\) is the decimal value of each hex digit, and \(i\) is its position from right to left.
1A = 1×16¹ + 10×16⁰ = 16 + 10 = 26
2B = 2×16¹ + 11×16⁰ = 32 + 11 = 43
26 + 43 = 69
69 ÷ 16 = 4 remainder 5
4 ÷ 16 = 0 remainder 4
Reading remainders bottom-up: 45
1A + 2B = 45 (in hexadecimal)
This diagram illustrates the process of adding hexadecimal numbers 1A and 2B to get the result 45.