Decimal to hex or hex to decimal converter

  • Decimal to HEX and opposite Converter

What is this tool?

CONVERT DECIMAL VALUE TO HEX VALUE OR HEX VALUE TO DECIMAL VALUE

Do you remember the conversion that you did in your computer class when you were young? Your teacher would have asked to you to convert a decimal number to a hexadecimal number or the vice versa. You might have had a hard time solving those because you need a lot of time to solve it. You might have been surprised when your teacher says hexadecimal numbers has alphabets!

How to use?

How to use this tool?

Online tool is time effective and the results are outstanding. You just get the result in no time. The tool is designed with two text boxes, one for the decimal values and the other for hexadecimal values. If you want to convert a decimal value to a hexadecimal value, you need to enter the value in the text box named ‘decimal value’ and click on the button ‘convert to hexadecimal’. Your result is displayed on the field that says ‘hexadecimal value’.  You can try the vice versa for converting hexadecimal to a decimal value.

Decimal numbers

They are the oldest numbering system that came into existence. You must be familiar with the decimal numbers as they are used commonly by all of us. Base 10 numbering system is also known as decimal number system. 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9 are the decimal numbers and they have their own position and decimal point.

Hexa Decimal value

Base 16 numbering system is also known as hex system.  In the familiar decimal system, you use 10 digits to represent a number but in hexa decimal system, 16 digits are used. This means you need an additional 6 digits to represent a number. So in this case, alphabets are introduced to represent numbers. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F is the hexadecimal numbers.

Hexadecimal numbers are commonly used in mathematics and also in computers. Hexadecimal numbers are also used to represent colours. Black can be represented by 000000; white can be represented by FFFFFF. Html uses these codes to represent the colours.

How do you convert a decimal number to a hexadecimal number manually?

•    You need to divide the decimal number by 16.
•    You need to use this as an integer division
•    Make a note of the remainder. Write the remainder in Hexadecimal notation. If the reminder is 11 the hexadecimal value is B.
•    Divide the result again by 16
•    You need to repeat the step until you get the result as 0
•    The hexadecimal value is the digit of the remainders from the last to first
•    For example the hexadecimal value for 317547 is 4D86B

Take a paper and pen and work out to check if the result is correct. To work out problems like this will definitely take more than 10 minutes of your time. So, programmers have invented a tool that converts hexadecimal to decimal value and a decimal value to hexadecimal value in not more than few seconds.