Skip to content
BetterDL

Hexadecimal addition

Also called: hex addition, adding hex numbers

Adding hex numbers column by column, where a column carries 1 into the next whenever its total reaches 16 rather than 10.

Hex addition follows the same column method as decimal, but each column holds values up to 15 and carries at 16.

For each column, from the right:

  1. Turn the digits into their values (A = 10, …, F = 15) and add them, plus any carry.
  2. If the total is 15 or less, write it as one hexadecimal digit (10–15 become A–F). No carry.
  3. If it's 16 or more, subtract 16, write that digit, and carry 1.

A column total is at most 15 + 15 + 1 = 31, so the carry is never more than 1.

The most common slip is carrying at 10 out of habit. 9 + 7 = 16 = 10₁₆, but 9 + 6 = 15 = F, with no carry.

If you prefer, you can always convert both numbers to binary, use binary addition, and convert back. Hex is just a shorthand for the same bits.

8
16¹
A
16⁰

Worked examples

Example

5E₁₆ + 2C₁₆

One carry, out of the right-hand column.

  1. 1.

    1s column: E + C = 14 + 12 = 26.

  2. 2.

    26 = 16 + 10, so write A and carry 1.

  3. 3.

    16s column: 5 + 2 + 1 = 8.

  4. 4.

    Result: 8A₁₆. Check: 94 + 44 = 138 = 8 × 16 + 10.

Example

F7₁₆ + 1A₁₆

A carry out of both columns.

  1. 1.

    1s column: 7 + A = 7 + 10 = 17 = 16 + 1. Write 1, carry 1.

  2. 2.

    16s column: F + 1 + 1 = 17. Write 1, carry 1.

  3. 3.

    Result: 111₁₆. Check: 247 + 26 = 273 = 256 + 16 + 1.

Common mistakes

  • Carrying at 10 instead of 16.

  • Writing a total of 10–15 as two digits instead of one letter.

  • Forgetting to subtract 16 before writing the digit when a column carries.

Practice Hexadecimal addition

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Hexadecimal addition is taught in Number Systems.