Automation Technologies is an engineering and software development firm that offers the highest level of experience in industrial automation and process control.

  |  Login
 
Reference » Reference Data » Hexadecimal Conversion
Hexadecimal Conversion

 

HEX BINARY DIGIT DIGIT DIGIT DIGIT
NUMBER NUMBER X000 0X00 00X0 000X
0 0000 0 0 0 0
1 0001 4,096 256 16 1
2 0010 8,192 512 32 2
3 0011 12,288 768 48 3
4 0100 16,384 1024 64 4
5 0101 20,480 1280 80 5
6 0110 24,576 1536 96 6
7 0111 28,672 1792 112 7
8 1000 32,768 2048 128 8
9 1001 36,864 2304 144 9
A 1010 40,960 2560 160 10
B 1011 45,056 2816 176 11
C 1100 49,152 3072 192 12
D 1101 53,248 3328 208 13
E 1110 57,344 3584 224 14
F 1111 61,440 3840 240 15

 

Hex to decimal examples

1234h = 4,096 + 512 + 48 + 4 = 4,660 decimal

FC96h = 61,440 + 3,072 + 144 + 6 = 64,662 decimal

 

Decimal to Hex examples

To convert from decimal to hex find the largest decimal number less than or equal to the number you are converting and find the corresponding hex digit.  Subtract the value of that hex digit and repeat for the next digit.  

13,117 decimal to hex:

3000h = 12,288 which is less than or equal to 13,117

13,117 - 12,288 = 829

0300h = 768 which is less than or equal to 829 

829 - 768 = 61

0030h = 48 which is less than or equal to 61

61 - 48 = 13 which can be read from the table as 000Dh

Therefore 13,117 decimal = 333Dh

 Print   
Terms Of Use  |  Privacy Statement
Home  |  Introduction  |  Experience  |  Reference  |  Training  |  About Us  |  Contact Us
Copyright © 2009-2012 by Automation Technologies, Inc.
health watch