WordGPT

4 in binary

4 in binary is 100. In hexadecimal it is 4 and in octal 4.

4 in binary

Pick any whole number from 1 to 10,000.

How to work it out

  1. 1

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

  2. 2

    Read the remainders from the bottom up: 100.

    410=10024_{10} = 100_{2}
  3. 3

    Check by adding powers of 2: 4 = 4.

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

Dividing 4 by 2

NumberDivisionRemainder
44 ÷ 2 = 20
22 ÷ 2 = 10
11 ÷ 2 = 01

Questions

What is 4 in binary?

100.

What is 4 in hexadecimal?

4.

What is 4 in octal?

4.

How many bits does 4 need?

3 bits.

Nearby numbers

More about 4

    4 in binary: 100 (also hex and octal) | WordGPT