Hex Calculator

Make use of our free Hex Calculator tool to perform arithmetical operations on any two hexadecimal numbers easily. You just have to enter the input numbers, press on the calculate button to get the lengthy output as addition, subtraction, multiplication, division of the hexadecimal numbers and decimal form of those numbers.

Hexadecimal Calculation




Convert Hexadecimal to Decimal

Convert Decimal to Hexadecimal

Hex Calculator: This handy calculator tool is programmed to perform the basic arithmetic operations on hexadecimal numbers and it generates the output within no time. You can get the detailed explanation to convert the hexadecimal numbers to decimal numbers, add, multiply, subtract, and divide the two hexadecimal numbers. In addition to this, you can also learn how to perform arithmetic operations on hexadecimal numbers easily.

How to Perform Arithmetical Operations on Hexadecimal Numbers?

Below provided are the simple and easy steps which are helpful to you to calculate the basic arithmetic operations of hexadecimal numbers and decimal numbers and how to convert hexadecimal number to decimal number. Have a look at them and follow

1. Addition of Hexadecimal Numbers

  • Let us take any two hexadecimal numbers.
  • Write those numbers one after other in two different lines.
  • Start addition from the right most digits.
  • If the number is in the form of alphabets, convert it to the number and perform addition operation.
  • After adding convert it to the hexadecimal number.
  • Write the carry on the top of first number's next digit and sum on the bottom of second number's added digit.
  • Continue the process until you are left with nothing on the left side.

Example Question: 3F8 + 5B3 = ?

Solution:

    1

  3 F 8

+ 5 B 3

= 9 A B

8+3 = 11 which is B in hexadecimal

3F8 + 5B3 = 9 A B

2. Subtraction of Hexadecimal Numbers

  • Write the given two numbers in different lines one after other.
  • Start the subtraction process from the rightmost digits of the numbers.
  • Convert the alphabets into decimal numbers and perform subtraction operation and again convert the obtained decimal number to hex.
  • If the first number digit is smaller than second number digit, then borrow from the next digit i.e left side digit.
  • The borrowed value is 16, because the base is 16 here. Add borrowed value and first number digit and subtract the result from second number digit.
  • Mention borrow value on the top of first number digit.
  • Now, the next digit of first number will become (digit - 1).
  • Repeat the procedure till you are left with nothing on the left side.

Example Question: 35A - 172 = ?

Solution:

  2 16

  3 5 A

- 1 7 2

= 1 E 8

A is 10. So, A-2 = 10-2 = 8

5+16 = 21 - 7 = 14 = E

3-1 = 2 -1 = 1

3. Multiplication of Hexadecimal Numbers

  • First of all, multiply right most digit of second number with all the digits of first number (one by one).
  • While multiplying, convert alphabets into numbers and perform the multiplication operation. Again reconvert the result to hexadecimal.
  • If the multiplication output has two numbers, consider right most number as sum and left number as carry.
  • Write carry on the top of next digit and add it to the next digit multiplication answer.
  • Write the answers of the second number second digit below the answers of first digit and place 0 at the first value.
  • Repeat this till you are left with nothing on the left side.
  • Perform addition operation of all digits of second number multiplication values to get the final result.

Example Question: What is 4A1C x 53?

Solution:

    3 3

     1 2

  4 A 1 C

  x 5 3

  D E 5 4

1 7 2 8 C

= 2 5 0 E 0

3 x C = 3 x 12 = 36 = 24

4. Division of Hexadecimal Numbers

  • Take dividend and divisor values.
  • Find out which number when multiplied with divisor gives the exact dividend value or the value near to the dividend.
  • Subtract the dividend from the obtained values.
  • Write quotient as the output.

Example Question: Find FACE / 12?

Solution:

Dividend = FACE

Divisor = 12

12) F A C E ( D E F

   - E A

      1 0 C

      F C

       1 0 E

        1 0 E

          0

Quotient = D E F

Steps to Convert Decimal Number to Hexadecimal Number

  • Divide the given decimal number by 16 and note down the remainder and quotient.
  • Add the obtained quotient again by 16 till we get quotient zero or less than 16.
  • Write the last quotient and remainders from top to bottom to get the hexadecimal conversion.

Example Question: Convert 2482 to hexadecimal form?

Solution:

Given decimal number = 2482

1 6 ) 2 4 8 2 ( 1 5 5

    1 6

      8 8

      8 0

         8 2

          8 0

             2

Again divide 155 by 16

1 6 ) 1 5 5 ( 9

      1 4 4

         1 1

(2 4 8 2)10 = (9 11 2)16

You can get the information regarding decimal numbers arithmetical operations on our site Onlinecalculator.guru that has different math concepts calculators at one page.

Hex Calculator

Frequently Asked Questions on Hex calculator

1. Why is hex used?

Hex or hexadecimal is a base 16 system used to simplify how binary is represented. Each hex digit reflects a 4 bit binary sequence. This means you can easily write 8 bit binary numbers using only two different hex digits.


2. What is Meant by Hexadecimal Number?

The hexadecimal number system is called base 16 number system. It uses the decimal numbers from 0 to 9 along with 6 symbols. They are A, B, C, d, E, F.


3. How do yo convert 23E to decimal?

Get the decimal form of E. And multiply the right most digit to 160, next digit to 161 so on.

E = 14

2 3 E = 2 x 162 + 3 x 161 + 14 x 160

= 2 x 256 + 48 + 14

= 512 + 62 = 574

(23E)16 = (574)10


4. How to perform the arithmetic operation on hexadecimal numbers?

You just need to enter two hex numbers in the input and hit the calculate button to get the addition, subtraction, multiplication, and division of those numbers in hexadecimal form easily.