# Arithmetic Operations of Hexadecimal Numbers

**Hexadecimal Numbers** have base of 16 digits ranging from 0 to F (i.e., 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, and A, B, C, D, E, F). A, B, C, D, E, F are equivalent single digits of 10, 11, 12, 13, 14, 15 respectively. Generally, it is expressed by subscript 16 or Hexa (H) or (h).

Arithmetic operations of hexadecimal numbers can be performed using addition table for hexadecimal numbers which is given as below:

**Arithmetic Operations of Hexadecimal Numbers :**

**Addition :**

We can perform additions of hexadecimal numbers, with the help of the above table

**Subtraction :**

Subtraction of hexadecimal numbers can be performed by using complement methods or simply as decimal sutractions. The rule of simple hexadecimal subtraction is the digit borrowed from the immediate higher place is counted as 16.**Multiplication :**

In the multiplication of hexadecimal numbers, if the product is less than radix of hexadecimal (i.e, 16), then we take it as the result, else divide it by radix of hexadecimal (i.e., 16) and take the remainder as the LSB (least significant bit). The quotient is taken as carry in the next significant digit. Using these rules, you can make a table for hexadecimal multiplications.**Division :**

Similarly, division of hexadecimal numbers can be performed by following the rules of division of decimal numbers but the maximum allowed digit will be F(=15 in decimal).

Arithmetic operations of *decimal numbers* are very popular and much easier. These operations are also performed as same in other number systems.

Don’t stop now and take your learning to the next level. Learn all the important concepts of Data Structures and Algorithms with the help of the most trusted course: **DSA Self Paced**. Become industry ready at a student-friendly price.

## Recommended Posts:

- Arithmetic Operations of Octal Numbers
- Arithmetic Operations of Binary Numbers
- Basic Laws for Various Arithmetic Operations
- Program for Hexadecimal to Decimal
- Overflow in Arithmetic Addition in Binary Number System
- DataFrame Operations in R
- Array Operations in R Programming
- Functionally Complete Operations
- Algebraic Operations on a Matrix in R
- Bitwise Operations on Digits of a Number
- Maximum strength in a Matrix after performing specified operations
- Various operations on Fibonacci nodes in a Singly Linked list
- Minimum number of operations required to make two strings equal
- Curzon Numbers
- Maximise the sum of two Numbers using at most one swap between them
- How to increment letters like numbers in PHP ?
- Panarithmic numbers within a given range
- Group all co-prime numbers from 1 to N
- Find the Nth Hogben Numbers
- Multiplying Floating Point Numbers

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.