Skip to content

13 in Binary

Decimal 13 equals 1101 in binary.

13 in all number bases

Decimal13
Hexadecimal0xD
Binary1101
Octal15

Try another value

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

Input base:
Decimal13
Hex0xD
Binary0b1101
Octal0o15

How 13 converts from decimal to binary

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

13÷ 2 =6remainder1
6÷ 2 =3remainder0
3÷ 2 =1remainder1
1÷ 2 =0remainder1

Result (remainders bottom to top): 1101

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.