Hexadecimal Calculation—Add, Subtract, Multiply, or Divide

Convert Hexadecimal Value to Decimal Value

Convert Decimal Value to Hexadecimal Value

Hex Calculator

The Hex Calculator is generally used to perform the addition, subtraction, division, and multiplication of any two hexadecimal numbers.

What is a hexadecimal number?

Hexadecimal is a 16 base numbering system that uses sixteen symbols from 0 to 9 and letters A, B, C, D, E, F. Here, A, B, C, D, E, F represents decimal value 10 to 15. Hexadecimal based on four-bit binary coding.

The calculator performs three calculations: Hexadecimal Calculator, Convert Hexadecimal and Convert Decimal. Firstly, you can perform Hexadecimal addition, subtraction, division, and multiplication. Secondly, use this calculator to perform hexadecimal value to decimal value. Lastly, convert decimal values to hexadecimal values using this calculator.

Also see: Standard Deviation Calculator

Hexadecimal Number System

Base 16 number system which consists numbers {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b, c, d, e, f}.

Decimal Number System

Base 10 number system which consists numbers {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}.

1. Hex to Decimal

In regular decimal numbers, the digits are multiplied by 10.Each digit of 137 is multiplied with the corresponding power of 10:

13710 = 1×102+3×101+7×100 = 100+30+7

Unlike regular numbers, hexadecimal numbers are read as power of 16 rather than power of 10.

Multiply each digit of the hex number with its corresponding power of 16.

2. Decimal to Hexadecimal

The below table will help you to convert decimal numbers to hexadecimal numbers.

Decimal Number

0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

Equivalent Hexadecimal

0 1 2 3 4 5 6 7 8 9 A B C D E F

Conversion steps:

  1. Divide the number by 16.
  2. Get the integer quotient for the next iteration.
  3. Hex digit remainder.
  4. Once the quotient reaches 0, repeat the steps.

Example #1

Convert 756210 to hex:

Division by 16 Quotient (integer) Remainder (decimal) Remainder (hex) Digit #
7562/16 472 10 A 0
472/16 29 8 8 1
29/16 1 13 D 2
1/16 0 1 1 3

So answer is 756210 = 1D8A16

This calculator gives you an accurate Hex calculatation calculation. For more calculator, you can also try out the Standard Deviation Calculator and Variance Calculator.

History