Skip to content

7 in Binary

Decimal 7 equals 111 in binary.

7 in all number bases

Decimal7
Hexadecimal0x7
Binary0111
Octal7

Try another value

Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.

Input base:
Decimal7
Hex0x7
Binary0b111
Octal0o7

How 7 converts from decimal to binary

Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:

7÷ 2 =3remainder1
3÷ 2 =1remainder1
1÷ 2 =0remainder1

Result (remainders bottom to top): 111

This tool runs entirely in your browser - nothing you enter is uploaded or stored.

Want to learn the method behind this tool? Read How to Convert Decimal to Binary - the full step-by-step guide.