WordGPT

5 in binary

5 in binary is 101. In hexadecimal it is 5 and in octal 5.

5 in binary

Pick any whole number from 1 to 10,000.

How to work it out

  1. 1

    Divide 5 by 2 again and again, writing down the remainder each time, until you reach 0.

  2. 2

    Read the remainders from the bottom up: 101.

    510=10125_{10} = 101_{2}
  3. 3

    Check by adding powers of 2: 4 + 1 = 5.

LaTeX source of the formulas on this page
\[ 5_{10} = 101_{2} \]

Dividing 5 by 2

NumberDivisionRemainder
55 ÷ 2 = 21
22 ÷ 2 = 10
11 ÷ 2 = 01

Questions

What is 5 in binary?

101.

What is 5 in hexadecimal?

5.

What is 5 in octal?

5.

How many bits does 5 need?

3 bits.

Nearby numbers

More about 5

    5 in binary: 101 (also hex and octal) | WordGPT