Numbers in Binary

Numbers in binary use only the digits 0 and 1, with each digit position worth double the one to its right. Counting works like decimal counting with faster carrying: zero is 0, one is 1, and two carries over to become 10, the same way ten does in decimal.

The table on this page lists numbers alongside their binary forms so you can see the machinery move. Before you scan it, here’s what to look for.

How binary counting works

Watch the ones column as you read down the table: it alternates 1, 0, 1, 0 the whole way, because odd and even numbers strictly take turns. The twos column flips every two rows, the fours column every four. Each column is a gear spinning half as fast as the gear to its right. That’s all counting is, in any base; decimal’s gears just have ten teeth instead of two.

The rows worth stopping at are the powers of two: 2, 4, 8, 16. Each one is written as a single 1 followed by zeros, like 10000, and each marks the moment binary numbers grow a digit. Their neighbors one step down (3, 7, 15) are solid ones across, like 1111. The pair is binary’s version of 99 rolling over to 100, and it happens so often that you develop a feel for it within minutes of scanning the table.

Every number from 0 through 20 also has its own page with a full place-value breakdown; 10 in binary and 16 in binary are good ones to start with. For numbers beyond the table, the decimal to binary converter handles anything, and the repeated-division technique in how to convert decimal to binary lets you do it yourself. Going the other direction, how to convert binary to decimal covers reading any row of this table from right to left.

One warning that saves confusion later: number encoding and text encoding are different systems. The number 7 in binary is 111, three digits. The character “7” typed in a text file is stored as a full ASCII byte, which is a different, longer pattern. This page and table are about numbers. For character codes, see the binary chart, and for the theory underneath all of it, the binary number system article.

Binary numbers 0 to 100

DecimalBinaryHexOctal
0000
1111
21022
31133
410044
510155
611066
711177
81000810
91001911
101010A12
111011B13
121100C14
131101D15
141110E16
151111F17
16100001020
17100011121
18100101222
19100111323
20101001424
21101011525
22101101626
23101111727
24110001830
25110011931
26110101A32
27110111B33
28111001C34
29111011D35
30111101E36
31111111F37
321000002040
331000012141
341000102242
351000112343
361001002444
371001012545
381001102646
391001112747
401010002850
411010012951
421010102A52
431010112B53
441011002C54
451011012D55
461011102E56
471011112F57
481100003060
491100013161
501100103262
511100113363
521101003464
531101013565
541101103666
551101113767
561110003870
571110013971
581110103A72
591110113B73
601111003C74
611111013D75
621111103E76
631111113F77
64100000040100
65100000141101
66100001042102
67100001143103
68100010044104
69100010145105
70100011046106
71100011147107
72100100048110
73100100149111
7410010104A112
7510010114B113
7610011004C114
7710011014D115
7810011104E116
7910011114F117
80101000050120
81101000151121
82101001052122
83101001153123
84101010054124
85101010155125
86101011056126
87101011157127
88101100058130
89101100159131
9010110105A132
9110110115B133
9210111005C134
9310111015D135
9410111105E136
9510111115F137
96110000060140
97110000161141
98110001062142
99110001163143
100110010064144

FAQ

How do you count in binary?

Count like decimal, but carry after 1 instead of after 9. Start 0, 1, then you’re out of digits, so two becomes 10 and three is 11. Four carries again to 100. Every column flips half as often as the column to its right.

Why do binary numbers get long so fast?

Each binary digit only carries two possibilities, so you need more of them to say the same thing. Roughly ten binary digits do the work of three decimal digits. Twenty already needs five digits (10100). Computers don’t mind the length; two-state digits are what their circuits do best.

What are the place values in binary?

From the right: 1, 2, 4, 8, 16, 32, 64, 128, doubling forever. A number is the sum of the place values where its digits are 1. So 1101 means 8 + 4 + 1, which is 13. Decimal works identically with places of 1, 10, 100.

Is 10 in binary the same as ten?

No, and this catches everyone. The digits “10” read as binary mean two: a 1 in the twos place, nothing in the ones place. The number ten in binary is 1010. When the base is ambiguous, people write subscripts or say “one zero” aloud to avoid exactly this mix-up.

How high can 8 bits count?

To 255. Eight doubling place values sum to 255 when every digit is 1, giving 256 total values counting zero. That single fact explains many familiar limits: RGB color channels, IPv4 address segments, and classic game stats that cap at 255 are all one byte wide.