📐 Math

Hex Calculator

Perform arithmetic on hexadecimal (base-16) numbers commonly used in programming, memory addressing, and color codes.

⏳

Formula

Base-16 Digits: 0-9, A(10), B(11), C(12), D(13), E(14), F(15)

Example

Adding Hexadecimal Values

Add A3 and 5C.

  1. Align by place value. Rightmost column: 3 + C (12) = 15.
  2. Since 15 is F in hex, write F.
  3. Next column: A (10) + 5 = 15.
  4. Since 15 is F, write F.
  5. Result: FF (which is 255 in decimal).

Frequently Asked Questions

Hexadecimal is a human-friendly way to represent binary data. Exactly four binary digits (bits) can be represented by a single hex digit. For example, the byte 1010 0011 is much easier to read as A3.

Related Calculators