13 in Binary — What is 13 in Binary?

13 in binary is 1101. The binary form has 3 one(s) and 1 zero(s). In octal 13 is 15 and in hexadecimal it is D. The bit pattern uses 4 bits and fits in 1 byte....

13 IN ALL BASES

13 IN BINARY

1101

4 bits · 1 byte · 3 ones

Binary (base 2)

1101

Octal (base 8)

15

Decimal (base 10)

13

Hexadecimal (base 16)

D

BCD

0001 0011

Bit length

4

Byte count

1

Count of 1s

3

Count of 0s

1

Is power of 2

No

Nearest 2ⁿ

2^3 = 8

HOW TO CONVERT 13 TO BINARY

Method: divide by 2, collect remainders

1

13 ÷ 2 = 6 remainder 1

2

6 ÷ 2 = 3 remainder 0

3

3 ÷ 2 = 1 remainder 1

4

1 ÷ 2 = 0 remainder 1

Read remainders bottom to top: 1101

VERIFY: BINARY BACK TO DECIMAL

1×2^3 + 1×2^2 + 0×2^1 + 1×2^0

= 8 + 4 + 1 = 13

FUN FACT

13 is a prime Fibonacci number. In binary, 13 = 1101 — three bits set with only bit position 1 zero. In hex, 13 = D.

BIT VISUALIZER

BIT PATTERN

Byte 1

0
7
0
6
0
5
0
4
1
3
1
2
0
1
1
0

POWERS OF 2 REFERENCE

n2ⁿBinaryHex
0111
12102
241004
3810008
4161000010
53210000020
664100000040
71281000000080
8256100000000100
95121000000000200
10102410000000000400
153276810000000000000008000
16655361000000000000000010000
Created with❤️byeaglecalculator.com

HOW TO CONVERT

  1. 1

    Divide 13 by 2 repeatedly, collecting remainders: 13 div 2 = 6 remainder 1 -> 6 div 2 = 3 remainder 0 -> 3 div 2 = 1 remainder 1 -> 1 div 2 = 0 remainder 1. Read remainders bottom to top: 1101.

  2. 2

    Verify: 1*2^3 + 1*2^2 + 0*2^1 + 1*2^0 = 8 + 4 + 1 = 13. Each bit position represents a power of 2, starting at 2^0 = 1 on the right.

  3. 3

    13 in other bases: octal = 15, hexadecimal = D. The binary form has 3 one(s) and 1 zero(s).

  4. 4

    The bit pattern uses 4 bits and fits in 1 byte. When stored as a full byte: 00001101.

WORKED EXAMPLE

13 decimal to binary: 13 div 2 = 6 remainder 1 -> 6 div 2 = 3 remainder 0 -> 3 div 2 = 1 remainder 1 -> 1 div 2 = 0 remainder 1 -> read bottom to top: 1101. Verify: 1*2^3 + 1*2^2 + 0*2^1 + 1*2^0 = 13. Octal: 15, Hex: D.

FREQUENTLY ASKED QUESTIONS

RELATED

MORE NUMBER THEORY CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.