First write the hex number down. For example: 1AB5h
1AB5h is:
Add the above answers together: 5 + 176 + 2560 + 4096 = 6837. Therefore, 1AB5h = 6837 in DEC.
To convert from DEC to HEX use division. For example convert 11172 to HEX:
Now put the answers in the proper place the first number we found goes in the right most position : 2BA4h. Therefore, 11172d = 2BA4h.
To convert decimal numbers to binary divide by 2. For example 95:
Now put the first digit in the right most digit: 1011111. Therefore, 95d = 1011111b.
To convert from binary to decimal multilply. For example 0010:
(start from the right)
Now add the answers 1+1+0+0 = 2. Therefore, 0010b = 2d.
Decimal Binary Hexadecimal 0 0 0 1 1 1 2 10 2 3 11 3 4 100 4 5 101 5 6 110 6 7 111 7 8 1000 8 9 1001 9 10 1010 A 11 1011 B 12 1100 C 13 1101 D 14 1110 E 15 1111 F