IP to decimal converter tool converts a given IP Address to a Decimal Number which can be used to store the IP addresses in a database or used in many other places. A standard IP Address contains the period sign several times between it. Each number before a decimal sign can contain a value from 0 to maximum 255 range. The Format of a MAC Address. Traditional MAC addresses are 12-digit (6 bytes or 48 bits) hexadecimal numbers. By convention, these addresses are usually written in one of the following three formats, though there are variations.
To use this online hex to decimal converter tool, type a hex value like 1E into the left field below, and then hit the Convert button. You can convert up to 16 hex characters (max. Value of 7fffffffffffffff) to decimal. 7fffffffffffffff) Decimal Value swap conversion: Decimal to Hex. Just paste your hex IP address in the form below, press Convert to IP button, and you get a dot-decimal IP. Press button, get IP. No ads, nonsense or garbage. Works with dot-separated hex IPs and hex numbers. The hexadecimal number has base-16, and the 16 in decimal can be represented as the fourth power of 2 (or 2 4). This has a direct relation with binary numbers with base-2. So, one hex digit is equivalent to 4 binary digits. 1 hexadecimal digit = 4 binary digits. Also, hexadecimal makes it easy to write large binary digits into fewer hexadecimal.
Hexadecimal describes a numbering system which contains 16 sequential numbers as base units including 0.
The hexadecimal numbers are 0-9 and then we use the letters A-F. The example of the equivalence of binary, decimal, and hexadecimal numbers are shown in the table below.
Hexadecimal is used to convert byte/modern computer numbers into defined binary digits. In order to convert any value from hexadecimal to binary ,one has to translate each hexadecimal digit into its 4 bit binary equivalent. And so two hexadecimals can show eight binary digits/ 1 byte.It is used in debugging a new computer program or coding a new program or HTML page.
Decimal system claims to be the oldest system of all and historically arose from Hindu numeral system.
Decimal number system is the most common and the familiar system used by all of us.It is based on 10 of the following symbols: 0,1,2,3,4,5,6,7,8 and 9.In decimal system, every digit has its own position as well as the decimal point.
Decimal to binary conversion examplesDecimal to Hexadecimal to Binary Conversion Table
Dec | Hex | Binary | Dec | Hex | Binary |
0 | 00 | 0000 0000 | 128 | 80 | 1000 0000 |
1 | 01 | 0000 0001 | 129 | 81 | 1000 0001 |
2 | 02 | 0000 0010 | 130 | 82 | 1000 0010 |
3 | 03 | 0000 0011 | 131 | 83 | 1000 0011 |
4 | 04 | 0000 0100 | 132 | 84 | 1000 0100 |
5 | 05 | 0000 0101 | 133 | 85 | 1000 0101 |
6 | 06 | 0000 0110 | 134 | 86 | 1000 0110 |
7 | 07 | 0000 0111 | 135 | 87 | 1000 0111 |
8 | 08 | 0000 1000 | 136 | 88 | 1000 1000 |
9 | 09 | 0000 1001 | 137 | 89 | 1000 1001 |
10 | 0A | 0000 1010 | 138 | 8A | 1000 1010 |
11 | 0B | 0000 1011 | 139 | 8B | 1000 1011 |
12 | 0C | 0000 1100 | 140 | 8C | 1000 1100 |
13 | 0D | 0000 1101 | 141 | 8D | 1000 1101 |
14 | 0E | 0000 1110 | 142 | 8E | 1000 1110 |
15 | 0F | 0000 1111 | 143 | 8F | 1000 1111 |
16 | 10 | 0001 0000 | 144 | 90 | 1001 0000 |
17 | 11 | 0001 0001 | 145 | 91 | 1001 0001 |
18 | 12 | 0001 0010 | 146 | 92 | 1001 0010 |
19 | 13 | 0001 0011 | 147 | 93 | 1001 0011 |
20 | 14 | 0001 0100 | 148 | 94 | 1001 0100 |
21 | 15 | 0001 0101 | 149 | 95 | 1001 0101 |
22 | 16 | 0001 0110 | 150 | 96 | 1001 0110 |
23 | 17 | 0001 0111 | 151 | 97 | 1001 0111 |
24 | 18 | 0001 1000 | 152 | 98 | 1001 1000 |
25 | 19 | 0001 1001 | 153 | 99 | 1001 1001 |
26 | 1A | 0001 1010 | 154 | 9A | 1001 1010 |
27 | 1B | 0001 1011 | 155 | 9B | 1001 1011 |
28 | 1C | 0001 1100 | 156 | 9C | 1001 1100 |
29 | 1D | 0001 1101 | 157 | 9D | 1001 1101 |
30 | 1E | 0001 1110 | 158 | 9E | 1001 1110 |
31 | 1F | 0001 1111 | 159 | 9F | 1001 1111 |
32 | 20 | 0010 0000 | 160 | A0 | 1010 0000 |
33 | 21 | 0010 0001 | 161 | A1 | 1010 0001 |
34 | 22 | 0010 0010 | 162 | A2 | 1010 0010 |
35 | 23 | 0010 0011 | 163 | A3 | 1010 0011 |
36 | 24 | 0010 0100 | 164 | A4 | 1010 0100 |
37 | 25 | 0010 0101 | 165 | A5 | 1010 0101 |
38 | 26 | 0010 0110 | 166 | A6 | 1010 0110 |
39 | 27 | 0010 0111 | 167 | A7 | 1010 0111 |
40 | 28 | 0010 1000 | 168 | A8 | 1010 1000 |
41 | 29 | 0010 1001 | 169 | A9 | 1010 1001 |
42 | 2A | 0010 1010 | 170 | AA | 1010 1010 |
43 | 2B | 0010 1011 | 171 | AB | 1010 1011 |
44 | 2C | 0010 1100 | 172 | AC | 1010 1100 |
45 | 2D | 0010 1101 | 173 | AD | 1010 1101 |
46 | 2E | 0010 1110 | 174 | AE | 1010 1110 |
47 | 2F | 0010 1111 | 175 | AF | 1010 1111 |
48 | 30 | 0011 0000 | 176 | B0 | 1011 0000 |
49 | 31 | 0011 0001 | 177 | B1 | 1011 0001 |
50 | 32 | 0011 0010 | 178 | B2 | 1011 0010 |
51 | 33 | 0011 0011 | 179 | B3 | 1011 0011 |
52 | 34 | 0011 0100 | 180 | B4 | 1011 0100 |
53 | 35 | 0011 0101 | 181 | B5 | 1011 0101 |
54 | 36 | 0011 0110 | 182 | B6 | 1011 0110 |
55 | 37 | 0011 0111 | 183 | B7 | 1011 0111 |
56 | 38 | 0011 1000 | 184 | B8 | 1011 1000 |
57 | 39 | 0011 1001 | 185 | B9 | 1011 1001 |
58 | 3A | 0011 1010 | 186 | BA | 1011 1010 |
59 | 3B | 0011 1011 | 187 | BB | 1011 1011 |
60 | 3C | 0011 1100 | 188 | BC | 1011 1100 |
61 | 3D | 0011 1101 | 189 | BD | 1011 1101 |
62 | 3E | 0011 1110 | 190 | BE | 1011 1110 |
63 | 3F | 0011 1111 | 191 | BF | 1011 1111 |
64 | 40 | 0100 0000 | 192 | C0 | 1100 0000 |
65 | 41 | 0100 0001 | 193 | C1 | 1100 0001 |
66 | 42 | 0100 0010 | 194 | C2 | 1100 0010 |
67 | 43 | 0100 0011 | 195 | C3 | 1100 0011 |
68 | 44 | 0100 0100 | 196 | C4 | 1100 0100 |
69 | 45 | 0100 0101 | 197 | C5 | 1100 0101 |
70 | 46 | 0100 0110 | 198 | C6 | 1100 0110 |
71 | 47 | 1100 0111 | 199 | C7 | 1100 0111 |
72 | 48 | 0100 1000 | 200 | C8 | 1100 1000 |
73 | 49 | 0100 1001 | 201 | C9 | 1100 1001 |
74 | 4A | 0100 1010 | 202 | CA | 1100 1010 |
75 | 4B | 0100 1011 | 203 | CB | 1100 1011 |
76 | 4C | 0100 1100 | 204 | CC | 1100 1100 |
77 | 4D | 0100 1101 | 205 | CD | 1100 1101 |
78 | 4E | 0100 1110 | 206 | CE | 1100 1110 |
79 | 4F | 1100 1111 | 207 | CF | 1100 1111 |
80 | 50 | 0101 0000 | 208 | D0 | 1101 0000 |
81 | 51 | 0101 0001 | 209 | D1 | 1101 0001 |
82 | 52 | 0101 0010 | 210 | D2 | 1101 0010 |
83 | 53 | 0101 0011 | 211 | D3 | 1101 0011 |
84 | 54 | 0101 0100 | 212 | D4 | 1101 0100 |
85 | 55 | 0101 0101 | 213 | D5 | 1101 0101 |
86 | 56 | 0101 0110 | 214 | D6 | 1101 0110 |
87 | 57 | 1101 0111 | 215 | D7 | 1101 0111 |
88 | 58 | 0101 1000 | 216 | D8 | 1101 1000 |
89 | 59 | 0101 1001 | 217 | D9 | 1101 1001 |
90 | 5A | 0101 1010 | 218 | DA | 1101 1010 |
91 | 5B | 0100 1011 | 219 | DB | 1101 1011 |
92 | 5C | 0101 1100 | 220 | DC | 1101 1100 |
93 | 5D | 0101 1101 | 221 | DD | 1101 1101 |
94 | 5E | 0101 1110 | 222 | DE | 1101 1110 |
95 | 5F | 1101 1111 | 223 | DF | 1101 1111 |
96 | 60 | 0110 0000 | 224 | E0 | 1110 0000 |
97 | 61 | 0110 0001 | 225 | E1 | 1110 0001 |
98 | 62 | 0110 0010 | 226 | E2 | 1110 0010 |
99 | 63 | 0110 0011 | 227 | E3 | 1110 0011 |
100 | 64 | 0110 0100 | 228 | E4 | 1110 0100 |
101 | 65 | 0110 0101 | 229 | E5 | 1110 0101 |
102 | 66 | 0110 0110 | 230 | E6 | 1110 0110 |
103 | 67 | 1110 0111 | 231 | E7 | 1110 0111 |
104 | 68 | 0110 1000 | 232 | E8 | 1110 1000 |
105 | 69 | 0110 1001 | 233 | E9 | 1110 1001 |
106 | 6A | 0110 1010 | 234 | EA | 1110 1010 |
107 | 6B | 0110 1011 | 235 | EB | 1110 1011 |
108 | 6C | 0110 1100 | 236 | EC | 1110 1100 |
109 | 6D | 0110 1101 | 237 | ED | 1110 1101 |
110 | 6E | 0110 1110 | 238 | EE | 1110 1110 |
111 | 6F | 1110 1111 | 239 | EF | 1110 1111 |
112 | 70 | 0111 0000 | 240 | F0 | 1111 0000 |
113 | 71 | 0111 0001 | 241 | F1 | 1111 0001 |
114 | 72 | 0111 0010 | 242 | F2 | 1111 0010 |
115 | 73 | 0111 0011 | 243 | F3 | 1111 0011 |
116 | 74 | 0111 0100 | 244 | F4 | 1111 0100 |
117 | 75 | 0111 0101 | 245 | F5 | 1111 0101 |
118 | 76 | 0111 0110 | 246 | F6 | 1111 0110 |
119 | 77 | 1111 0111 | 247 | F7 | 1111 0111 |
120 | 78 | 0111 1000 | 248 | F8 | 1111 1000 |
121 | 79 | 0111 1001 | 249 | F9 | 1111 1001 |
122 | 7A | 0111 1010 | 250 | FA | 1111 1010 |
123 | 7B | 0111 1011 | 251 | FB | 1111 1011 |
124 | 7C | 0111 1100 | 252 | FC | 1111 1100 |
125 | 7D | 0111 1101 | 253 | FD | 1111 1101 |
126 | 7E | 0111 1110 | 254 | FE | 1111 1110 |
127 | 7F | 0111 1111 | 255 | FF | 1111 1111 |
Hex or Hexadecimal, is a 16-base number system with values from 0-9 as well as ABCDEF where A=10, B=11, C=12, D=13, E=14, F=15.
Hex is used in many things in IT, most commonly seen in Mac addresses (A unique identity number on every Network Card).
It is also seen in certain features such as HSRP (Hot Standby Routing Protocol) group numbers.
This section is here to help understand how to convert Hex into Binary, and Binary into Decimal and of course the reverse.
Let’s begin with the easy one, the reverse… If I have the number 47 and wanted to convert that into Hexadecimal, the easiest way is to first put it into Binary.
Using our binary table (as described in the post “How to count in Binary” ) we see the binary value is 00101111
128 64 32 16 8 4 2 1
0 0 1 0 1 1 1 1
Hex is not that much harder to get to from here, but what we need to do is break up the byte (8 bits) into 2 halves of 4 bits each. And draw a new table above each of the 4 bits (as seen below)
8 4 2 1 8 4 2 1
0 0 1 0 1 1 1 1
You will notice that the above Binary is the same as it was in the first table, however I’ve split the 8 bits in half and created 2 new groups of 4 bits each.
If we look at the first group we see that only the 2 has been turned on which results in the value been equal to ‘2’
In the second group, the 8 and 4 and 2 and 1 have all been turned on which results in the value been equal to ’15’ (8+4+2+1)
So we currently have 2 (from the first group) and 15 (from the second group). 2 is a valid number in Hex so it remains exactly the same however 15 is represented in Hex as ‘F’
Therefore 47 in Decimal is equal to 2F in Hexadecimal.
So what if we had the Hex value and wanted to get it back to Decimal, let’s look at the value 4C.
We know that ‘4’ is a valid Hex value, and we now know that ‘C’ is a representation of ’12’ in Hex.
Working backwards we need to create 2 tables of 4 bits each, and fill ‘4’ into the first table, and ’12’ into the second
8 4 2 1 8 4 2 1
0 1 0 0 1 1 0 0
After we have done this, we now need to re-join the 2 halves back into a single 8 bit structure
128 64 32 16 8 4 2 1
0 1 0 0 1 1 0 0
And if we add up all our “On” bits, we have (64+8+4=76)
Therefore 4C in Hexadecimal is equal to 76 in decimal