4 in Binary

BINARY
0100
The decimal number 4 in binary is 100.

All Representations of 4

SystemValue
Decimal4
Binary0100
Hexadecimal4
Octal4
ASCII(code 4)

Step-by-Step Conversion

Dividend÷ 2QuotientRemainder (bit)
4÷ 220
2÷ 210
1÷ 201
Read remainders bottom to top:100

Powers of 2 in 4

4 = 22 (4) + 21 (2) + 20 (1)

22 = 4
21 = 2
20 = 1

Nearby Values

← Back to Decimal to Binary Converter

Frequently Asked Questions