Number 13 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 13 in binary?

Answer

Decimal number 13 in binary is
1101

4 bits: 3 ones, 1 zero · as a byte: 0000 1101

Base 2, unsigned: each place is worth a power of 2 — from 2³ = 8 on the left to 2⁰ = 1 on the right.

Divide by 2, keep the remainder
divisionquotientremainder
13 ÷ 261
6 ÷ 230
3 ÷ 211
1 ÷ 201

↑ Read the remainders from bottom to top: 1101

See Also

FAQ

What is number 13 in binary?

Decimal number 13 in binary is 1101

How many ones and zeros are in 13 in binary?

1101 has 4 bits: 3 ones and 1 zero. As a byte it is written 0000 1101.

What is 13 in hexadecimal?

13 in hexadecimal is D (0xD): each hex digit stands for 4 bits — 1101 = D.