код Hex to Decimal Converter - Calculatorology

Hex to Decimal Converter



16
Decimal number:
10
Decimal from signed 8/16/32 bit:
10
Binary number:
2


It is a number conversion calculator that is used to convert the values in hexadecimal (base number 16) to decimals (base number 10). It is important to know the decimal which is equivalent to the hex number of every digit. This converter tool has a single text field where you need to enter the hex number. The hexadecimal has a combination of numbers from 0 to 9 and letters from A to F. The value entered in the text box can have both letters and numbers that represent the hexadecimal. For example, 2E is a hex number because 2 and E fall in the same category of numbers and letters in the hex system.

There are three active controls used by the Hex to Decimal calculator. The ‘Convert' button is used to execute the conversions from hexadecimal to decimals. Your results will be shown on the bottom platform of the calculator below the controls. If you want to perform new calculations, you will use the ‘Reset' button. It is one of the quickest ways in which you can clear all data of the previous calculations from the converter. The ‘Swap' button alternates the flow of calculations allowing you to convert the values from Decimals to Hexadecimal.

For example;

Convert 2E to decimals.

Solution;

The first procedure is to enter the value 2E in the blank text field and then click the ‘Convert' button. The results will be displayed as;

Decimal number: 46 (10)

Decimal from signed 8/16/32 bit: 46 (10)

Binary number: 101110 (2)

Formula of converting Hexadecimal to Decimals

The sum of digits multiplied by the power of 10 is referred to as a regular decimal number. The hex numbers are usually read in the same way but instead of using the power of 10, each digit counts power of 16.

Dn-1 … d3 d2 d1 d0 is for hex number with n digits.

Decimal = dn-1 x 16n-1 + … + d3 x 163 + d2 x 162 + d1 x 161 + d0 x 160