Hex addition
8AB + B78 = 1423 in hex, or 2219 + 2936 = 5155 in decimal.
Result
Fill in the fields to see your result.
Every operation is computed exactly using arbitrary-precision integers internally, then converted to hex for display, with the decimal equivalent shown alongside as a cross-check — useful since hex arithmetic by hand is easy to get wrong once a carry crosses past 9 into A.
Division uses whole-number (integer) division: the result is truncated, with the leftover shown separately as a remainder, the same convention as long division.
Each digit represents a power of 16, read right to left: 1, 16, 256, 4096, …
8AB + B78 = 1423 in hex, or 2219 + 2936 = 5155 in decimal.
FF in hex is 255 in decimal — two hex digits of F is the largest value a byte can hold, the same number binary's eight 1s reach.
Each hex digit maps exactly onto 4 binary bits, so a byte (8 bits) is always exactly 2 hex digits — a much more compact and readable way to write binary values like memory addresses or color codes than spelling out every 0 and 1.
They extend the digits beyond 9 up to 15: A = 10, B = 11, C = 12, D = 13, E = 14, F = 15 — hexadecimal needs sixteen distinct symbols since it is base 16.
Color codes in web design (#FF5733), memory addresses, MAC addresses and error codes are all commonly written in hex, largely because of its clean relationship to binary.
No — A–F and a–f are treated the same; this calculator accepts either and displays results in uppercase.
Updated