SubnettingPractice.com The most extensive subnetting practice site on the web!

To convert between binary, decimal and hexadecimal simply type in the number you wish to convert from into the corresponding field. Remember that binary only allows digits of one and zero and hexadecimal allows digits from zero to the letter F.

Remember, IPv6 is written in hexadecimal and IPv4 in decimal. However computers use the binary version of both of these because computers only 'think' in binary. Being able to convert between the three will help with understanding computer and networking.

## Decimal

Decimal is a system of counting using ten different symbols to represent numbers. These ten symbols or 'digits' are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. using these digits we can represent every number from zero to nine using a single one of these symbols. However, when we need to represent a larger number, like ten or eleven, we have to combine two or more of our digits. For the number ten we use the digit '1' and the digit '0', together to write '10'. For the number twenty-five we use the two digits '2' and '5'. This system is also called base-10, because it uses ten digits to express the number that we mean. The reason we use ten different digits is simply because we have ten fingers on our hands, and that is how we first began to count. That is why children can count to ten more easily than they can to fifteen. They can use their fingers to help them.

## Binary

Binary, and other systems of representing numbers is similar to decimal, only the use a different amount of symbols or digits to represent a number. Binary is base-2, which means there are only two symbols used to represent a number; 0 and 1. So the numbers zero and the number one can be represented by a single binary digits - 0 and 1, respectively. However, for any number greater than one, binary must use more than one digit. The number two is represented by two separate digits '10'. The number three is also represented by two digits, '11'. The number four however, cannot be represented by two digits, so now binary has to use three digits. The number four is '100'. Five is '101', and so on.

When translating from binary, the right most digit is always going to represent a value of 'one' or 'zero', the second right most is always going to be 'two' or 'zero', the third will be 'four' or 'zero' the fifth will be 'eight' or zero, and so on. All digits place is always a exponent of the number 'two'. To really understand what is going on, n practice converting binary and decimal back and forth.