The string 101101 means five in binary, sixty-five in octal, and one hundred one in decimal — same three symbols, three different values. Once you see that the base controls everything, binary, octal, and hexadecimal stop looking mysterious.

When you use this conversion method

These place-value systems differ only in base: binary is base 22, octal is base 88, hexadecimal is base 1616. You reach for them whenever you need to read or convert between bases — binary is the language of digital systems (switches have two states), while octal and hexadecimal are compact ways to write long binary strings. The math idea stands on its own: in any positional system each place is a power of the base, so the value depends on the base and the place.

The procedure, step by step

1. Identify the base. Check how many digit symbols the system allows and what each place means:

  • Binary uses only 00 and 11.
  • Octal uses 00 through 77.
  • Hexadecimal uses 1616 symbols: 00 through 99, then AA through FF for values 1010 through 1515.

One hex place counts in powers of 1616, so a hex digit holds more information than a binary digit.

2. Read place values. In base bb, each position is a power of bb: b0,b1,b2,b^0, b^1, b^2, \ldots. In base 1010 the places are 1,10,100,1, 10, 100, \ldots; in base 22 they are 1,2,4,8,16,1, 2, 4, 8, 16, \ldots.

3. Expand or regroup. Convert by writing the value as a sum of powers of the base, or by grouping binary digits — sets of 33 for octal, sets of 44 for hexadecimal.

4. Verify the value. Confirm that all forms represent the same base-1010 quantity. A number does not change value when you rewrite its base; only the representation changes. Different bases are like different languages for the same amount.

Full worked example: write 4545 in binary, octal, and hex

Start in base 1010 and expand into powers of 22:

45=32+8+4+1=25+23+22+2045 = 32 + 8 + 4 + 1 = 2^5 + 2^3 + 2^2 + 2^0

So binary has 11s in the 252^5, 232^3, 222^2, and 202^0 places:

4510=101101245_{10} = 101101_2

Regroup for octal. Since 8=238 = 2^3, group binary digits in threes from the right:

1011012=101 1012,1012=5,1012=5101101_2 = 101\ 101_2,\qquad 101_2 = 5,\quad 101_2 = 5 4510=55845_{10} = 55_8

Regroup for hexadecimal. Since 16=2416 = 2^4, group in fours from the right, adding leading zeros:

1011012=0010 11012,00102=2,11012=13=D101101_2 = 0010\ 1101_2,\qquad 0010_2 = 2,\quad 1101_2 = 13 = D 4510=2D1645_{10} = 2D_{16}

Verify — all four forms are the same quantity:

4510=1011012=558=2D1645_{10} = 101101_2 = 55_8 = 2D_{16}

Where the steps break down, and how to check

  • Step 1, using a digit the base does not allow. 22 cannot appear in binary, and 88 cannot appear in octal. Scan your digits against the allowed set first.
  • Step 2, forgetting the base sets the place values. 101101 does not mean the same thing in base 22, base 88, and base 1010.
  • Step 3, grouping binary digits incorrectly. Always group from the right, and add leading zeros to complete a group.

Self-check the whole conversion by expanding each form back to base 1010 — they must all match (here, 4545).

Try a conversion

Convert 581058_{10} into binary, octal, and hexadecimal. First write it as a sum of powers of 22, then group the binary digits into threes and fours for the other two forms — and expand back to base 1010 to confirm you landed on 5858 every time.

Frequently Asked Questions

What is the difference between binary, octal, and hexadecimal?
They are positional number systems with different bases: binary uses base $2$, octal uses base $8$, and hexadecimal uses base $16$.
Why do octal and hexadecimal connect so well to binary?
Because $8 = 2^3$ and $16 = 2^4$, each octal digit matches exactly $3$ binary bits and each hexadecimal digit matches exactly $4$ binary bits.

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →