So you have a number in binary (or octal, hexadecimal, etc - your choice). You may understand how to use it in its own context, but its hard to conceptualize that number without it being in the common decimal system (Base 10) format. Below you will find out how to convert any number, of any base, to a comfortable and easy to understand decimal value. All your base are belong to us.

While you may never think of it like this, any number in decimal format can actually be represented by the sum of its digits multiplied by powers of ten. For example:

`32764 = (3 x 10^4) + (2 x 10^3) + (7 x 10^2) + (6 x 10^1) + (4 x 10^0)`

While most people are most familiar with numbers in base 10, this same method can be used to determine the decimal values for numbers of any base using five easy steps. The example below will show how to convert two common bases, Base 8 (octal) and Base 16 (hexadecimal), to Base 10, as well as a using the example on a number already in Base 10. For simplicity, the example will use a single number that is valid in all of these bases: 32764.

Before beginning, here are the answers that will be obtained. You may check them using any method of your choosing:

• Octal to Decimal: 32764(8) = 13812(10)
• Hexadecimal to Decimal: 32764(16) = 206692(10)
1. Count the number of digits in the number. We will call this number N.
Example:
32764 has five digits, so N = 5

2. Beginning with the least significant digit (i.e., the rightmost digit), start numbering the digits from 0 to N-1. We will call each of these numbers a "digit identifier".
Example:
4 3 2 1 0  <-- Digit Identifiers
3 2 7 6 4

3. Starting with the most significant digit (i.e., the leftmost digit), multiply this number by the base to the power of its "digit identifier"
Examples:
• Base 8 (Octal): (3 x 8^4)
• Base 10 (Decimal): (3 x 10^4)
• Base 16 (Hexadecimal): (3 x 16^4)

4. Repeat Step #3 using the next digit to the right until you have used up all the digits.
Examples:
Base 8 (Octal)
• Digit identifier 3: (2 x 8^3)
• Digit identifier 2: (7 x 8^2)
• Digit identifier 1: (6 x 8^1)
• Digit identifier 0: (4 x 8^0)
Base 10 (Decimal)
• Digit identifier 3: (2 x 10^3)
• Digit identifier 2: (7 x 10^2)
• Digit identifier 1: (6 x 10^1)
• Digit identifier 0: (4 x 10^0)