How to Add Hexadecimal Numbers Step by Step

15 min read

Learn how to add hexadecimal numbers with simple rules, carrying methods, solved examples, practice questions, and real-world applications.

hexadecimal addition

Calcifyai Team

Expert calculators & financial tools

Hexadecimal addition is a simple arithmetic process once you understand how the base-16 number system works. It follows rules similar to decimal addition, but instead of using digits from 0 to 9, it uses 16 symbols: 0–9 and A–F.

The key is to remember that when a column adds up to 16 or more, you carry 1 to the next column. With a few examples and practice, you can add hexadecimal numbers accurately.

This guide explains hexadecimal addition step by step, including digit values, carrying rules, worked examples, common mistakes, and practical uses.

What Is Hexadecimal Addition?

Hexadecimal addition is the process of adding two or more numbers in the base-16 number system.

Unlike the decimal system, which uses 10 digits (0–9), hexadecimal uses 16 symbols:

Hexadecimal digit

Decimal value

0–9

0–9

A

10

B

11

C

12

D

13

E

14

F

15

For example:

  • A + 2 = C

  • 7 + 5 = C

  • F + 1 = 10 (hexadecimal)

The last example is important. F represents 15 in decimal. Adding 1 gives 16, which is written as 10 in hexadecimal.

Understanding the Rules of Hexadecimal Addition

Before adding hexadecimal numbers, learn these basic rules.

  1. Add digits from right to left, just like decimal addition.

  2. Convert letters A–F into their decimal values when needed.

  3. If a column's total is less than 16, write the result directly.

  4. If the total is 16 or more, subtract 16 and carry 1 to the next column.

  5. Include any final carry in the answer.

These rules make hexadecimal addition easier to understand and apply.

Hexadecimal Addition Table (0–F)

Before solving examples, understand the hexadecimal digit values. This table will help you add numbers without getting confused by letters.

Hexadecimal

Decimal value

0

0

1

1

2

2

3

3

4

4

5

5

6

6

7

7

8

8

9

9

A

10

B

11

C

12

D

13

E

14

F

15

Important: F is the largest single hexadecimal digit. After F, the next value is 10 in hexadecimal, which equals 16 in decimal.

You can use the Hex Calculator to check hexadecimal addition results and practice different calculations.

If you want to understand how hexadecimal digits and their place values work before performing arithmetic, read our guide to the hexadecimal number system explained for beginners.

How to Add Hexadecimal Numbers Step by Step

Hexadecimal addition follows the same column-by-column approach as ordinary addition. The main difference is that you carry when the total reaches 16 instead of 10.

Here are the steps to follow:

  1. Write the hexadecimal numbers one below the other, aligning digits from the right.

  2. Start adding from the rightmost column.

  3. Convert letters into their decimal values when necessary.

  4. If the total is less than 16, write its hexadecimal equivalent.

  5. If the total is 16 or greater, subtract 16 and carry 1 to the next column.

  6. Continue until all columns are added.

  7. Bring down any remaining carry to complete the answer.

For a deeper mathematical explanation of carrying in different number systems, see this

Solved Examples of Hexadecimal Addition

Let's understand hexadecimal addition through practical examples. Each example demonstrates a different situation, including basic addition, letter values, and carrying.

Example 1: Add 25 and 13

Given:

25 + 13

Step 1: Arrange the numbers vertically.

Step 2: Add the rightmost digits.

5 + 3 = 8

Write 8 in the answer.

Step 3: Add the leftmost digits.

2 + 1 = 3

Step 4: Write the final answer.

Final Answer: 25 + 13 = 38 (Hexadecimal)

There is no carrying because both column totals are below 16.

Example 2: Add A and 7

This example introduces hexadecimal letters.

Given:

A + 7

Step 1: Convert A into its decimal value.

A = 10

Step 2: Add the values.

10 + 7 = 17

Step 3: Convert 17 into hexadecimal.

17 in decimal = 11 in hexadecimal.

Step 4: Write the result.

  • Write 1 in the answer.

  • Carry 1 to the next column.

Final Answer: A + 7 = 11 (Hexadecimal)

Remember that 11 here is a hexadecimal number, not decimal eleven.

Example 3: Add 2F and 1B

This example shows how to add two hexadecimal numbers containing letters.

Given:

2F + 1B

Step 1: Arrange the numbers vertically.

Step 2: Add the rightmost digits.

F = 15 and B = 11.

15 + 11 = 26

Since 26 is greater than 16:

26 − 16 = 10

10 in hexadecimal is A.

Write A and carry 1.

Step 3: Add the next column.

2 + 1 + 1 (carry) = 4

Step 4: Write the final result.

Final Answer: 2F + 1B = 4A

Example 4: Add 3A7 and 1C9

Let's solve a three-digit hexadecimal addition problem.

Given:

3A7 + 1C9

Step 1: Arrange the numbers.

Step 2: Add the rightmost column.

7 + 9 = 16

  • Write 0.

  • Carry 1.

Step 3: Add the middle column.

A = 10 and C = 12.

10 + 12 + 1 = 23

23 − 16 = 7

  • Write 7.

  • Carry 1.

Step 4: Add the leftmost column.

3 + 1 + 1 = 5

Step 5: Write the final answer.

Final Answer

3A7 + 1C9 = 570

This example demonstrates how carrying works across multiple columns.

Example 5: Add 4B7 and 2D9

This example includes multiple carrying steps.

Given:

4B7 + 2D9

Step 1: Add the rightmost digits.

7 + 9 = 16

Write 0 and carry 1.

Step 2: Add the middle digits.

B = 11 and D = 13.

11 + 13 + 1 = 25

25 − 16 = 9

Write 9 and carry 1.

Step 3: Add the leftmost digits.

4 + 2 + 1 = 7

Step 4: Write the result.

Final Answer: 4B7 + 2D9 = 790

Quick Reference: Hexadecimal Addition Rules

Use this table to understand how different digit combinations work.

Addition

Result (Hex)

Carry

3 + 4

7

0

8 + 5

D

0

9 + 7

10

1

A + 5

F

0

A + 7

11

1

B + 6

11

1

C + 8

14

1

D + A

17

1

F + F

1E

1

Remember: When the total reaches 16, write the remainder after dividing by 16 and carry the quotient to the next column.

How to Check Your Hexadecimal Addition Answer

One reliable way to verify hexadecimal addition is to convert both numbers into decimal, add them, and convert the result back to hexadecimal. computer number systems guide

Let's check the example:

4B7 + 2D9 = 790

Step 1: Convert 4B7 into decimal.

  • 4 × 256 = 1,024

  • B (11) × 16 = 176

  • 7 × 1 = 7

Total = 1,207

Step 2: Convert 2D9 into decimal.

  • 2 × 256 = 512

  • D (13) × 16 = 208

  • 9 × 1 = 9

Total = 729

Step 3: Add the decimal values.

1,207 + 729 = 1,936

Step 4: Convert 790 into decimal.

  • 7 × 256 = 1,792

  • 9 × 16 = 144

  • 0 × 1 = 0

Total = 1,936

Both results match.

Therefore, the hexadecimal addition is correct:

4B7 + 2D9 = 790

Common Mistakes to Avoid in Hexadecimal Addition

Beginners often make small mistakes when adding hexadecimal numbers. Understanding these errors will help you improve your accuracy.

1. Forgetting That Hexadecimal Uses Base 16

The most common mistake is carrying at 10 instead of 16.

In decimal addition, you carry when a total reaches 10. In hexadecimal addition, you carry when a total reaches 16.

2. Using Incorrect Letter Values

Some learners forget the values of hexadecimal letters.

Remember:

  • A = 10

  • B = 11

  • C = 12

  • D = 13

  • E = 14

  • F = 15

Using incorrect values can change the entire answer.

3. Forgetting to Include the Carry

When a column total reaches 16 or more, you must carry 1 to the next column.

For example:

F + 2 = 17 in decimal.

The correct hexadecimal result is 11, not 17.

4. Adding Numbers From Left to Right

Always begin with the rightmost column, just as you do in decimal addition.

Starting from the wrong side can cause carrying errors.

5. Ignoring the Final Carry

If the leftmost column produces a carry, include it as the next digit.

For example:

   FF
 + 01
 ----
  100

The final carry is essential to the correct answer.

Real-Life Applications of Hexadecimal Addition

Hexadecimal addition is useful in computer science and digital technology. It helps developers and engineers work with numerical data more efficiently.

1. Computer Programming

Programmers use hexadecimal values when working with memory locations, data values, and low-level programming operations.

Hexadecimal addition helps them calculate and update numerical addresses and values.

2. Memory Address Calculations

Computer memory addresses are often represented in hexadecimal.

For example, adding an offset to a memory address can help identify another location in memory.

3. Digital Electronics

Digital systems use hexadecimal notation to represent binary information in a shorter format.

Engineers may use hexadecimal addition when working with registers, data values, and hardware operations.

4. Web Development

Web developers use hexadecimal values for HTML and CSS color codes.

For example, RGB color values are often written as hexadecimal pairs. Understanding hexadecimal arithmetic helps when adjusting or calculating color component values.

5. Networking and Data Processing

Hexadecimal numbers are used in network addresses, data packets, debugging tools, and protocol analysis.

Adding hexadecimal values can help when calculating offsets and working with numerical fields in digital data.

Practice Questions: Test Your Hexadecimal Addition Skills

Try these questions to check your understanding.

  1. Add 12 and 23.

  2. Add A and 5.

  3. Add 2A and 15.

  4. Add 3F and 12.

  5. Add FF and 01.

  6. Add 4B7 and 2D9.

Answers – Try solving them before checking.

Question

Answer

12 + 23

35

A + 5

F

2A + 15

3F

3F + 12

51

FF + 01

100

4B7 + 2D9

790

Frequently Asked Questions About Hexadecimal Addition

1. What is hexadecimal addition?

Hexadecimal addition is the process of adding numbers using the base-16 number system. It uses digits 0–9 and letters A–F. You carry to the next column whenever the total reaches 16 or more.

2. How do you add hexadecimal numbers?

Write the numbers vertically, align their digits, and start from the rightmost column. Add each column, write the hexadecimal result, and carry 1 whenever the total reaches 16.

3. What is the carry rule in hexadecimal addition?

The carry rule states that whenever a column's total is 16 or greater, subtract 16 and carry 1 to the next column. The remaining value is written in hexadecimal.

4. What is F + 1 in hexadecimal?

F represents 15 in decimal. Adding 1 gives 16, which is written as 10 in hexadecimal.

Therefore, F + 1 = 10.

5. What is A + B in hexadecimal?

A represents 10 and B represents 11.

10 + 11 = 21 in decimal.

21 in hexadecimal is 15.

Therefore, A + B = 15.

6. Can you add hexadecimal numbers without converting them into decimal?

Yes. You can add hexadecimal numbers directly by following base-16 addition rules. You only need to understand the values of A–F and the carrying process.

7. What happens when the hexadecimal sum is greater than F?

When a column total is greater than F, subtract 16, write the remaining value as a hexadecimal digit, and carry 1 to the next column.

For example, F + 2 = 11 in hexadecimal.

8. Is hexadecimal addition similar to decimal addition?

Yes. Both methods use column-by-column addition and carrying. The main difference is the base: decimal uses 10, while hexadecimal uses 16.

9. What is FF + 01 in hexadecimal?

FF + 01 = 100 in hexadecimal.

This happens because adding 1 to FF causes a carry in both digit positions.

10. Where is hexadecimal addition used?

Hexadecimal addition is used in programming, computer memory calculations, digital electronics, networking, and data processing.

Conclusion

Hexadecimal addition becomes much easier when you understand the base-16 number system and its carrying rules. The main difference from decimal addition is that you carry when a column reaches 16 instead of 10.

Start by learning the values of A–F, practice adding individual columns, and gradually move toward larger hexadecimal numbers. You can also verify your answers by converting them into decimal.

With regular practice, you will be able to perform hexadecimal addition accurately without needing to convert every number into decimal.

Disclaimer

The information provided in this article is for educational and informational purposes only. It should not be considered as professional financial, medical, or legal advice. Always consult with qualified professionals for specific guidance related to your situation.

Popular Calculators

Explore our most-used free calculators for finance, health, and everyday needs.