4 in Binary System

How to write the number 4 in binary? The answer is 100. Online converter.

Your ad is on it's way...

the answer:

100

Convert to binary system

About Binary System

The binary system is a way of representing numbers using only two digits: 0 and 1. Unlike the decimal system, which has ten digits (0 to 9), the binary system has only two digits, and we use them repeatedly.

How to Convert Decimal to Binary

We divide the number by 2 and record the remainders:

  1. Divide 10 by 2. Get 5, remainder 0.
  2. Now divide 5 by 2. Get 2, remainder 1.
  3. Divide 2 by 2. Get 1, remainder 0.
  4. Divide 1 by 2. Get 0, remainder 1.

Now write down the remainders in reverse order: 1010. This is the binary representation of the number 10.

So, to convert a decimal number to binary, divide it by 2 and record the remainders until the result is 0.