Binary numbers 0–255

Every value one byte can hold, written in binary, decimal, hexadecimal and octal. Counting in binary works like an odometer with only two digits: 0, 1, then roll over to 10.

Counting in binary: 1 to 16

1 · 10 · 11 · 100 · 101 · 110 · 111 · 1000 · 1001 · 1010 · 1011 · 1100 · 1101 · 1110 · 1111 · 10000

Powers of two

PowerDecimalBinary
2011
21210
224100
2381000
241610000
2532100000
26641000000
2712810000000
28256100000000
295121000000000
2101,02410000000000
2112,048100000000000
2124,0961000000000000
2138,19210000000000000
21416,384100000000000000
21532,7681000000000000000
21665,53610000000000000000

Binary number table 0–255

DecimalBinaryBinary (8-bit)HexOctal
000000000000000
110000000101001
2100000001002002
3110000001103003
41000000010004004
51010000010105005
61100000011006006
71110000011107007
810000000100008010
910010000100109011
101010000010100A012
111011000010110B013
121100000011000C014
131101000011010D015
141110000011100E016
151111000011110F017
16100000001000010020
17100010001000111021
18100100001001012022
19100110001001113023
20101000001010014024
21101010001010115025
22101100001011016026
23101110001011117027
24110000001100018030
25110010001100119031
2611010000110101A032
2711011000110111B033
2811100000111001C034
2911101000111011D035
3011110000111101E036
3111111000111111F037
321000000010000020040
331000010010000121041
341000100010001022042
351000110010001123043
361001000010010024044
371001010010010125045
381001100010011026046
391001110010011127047
401010000010100028050
411010010010100129051
42101010001010102A052
43101011001010112B053
44101100001011002C054
45101101001011012D055
46101110001011102E056
47101111001011112F057
481100000011000030060
491100010011000131061
501100100011001032062
511100110011001133063
521101000011010034064
531101010011010135065
541101100011011036066
551101110011011137067
561110000011100038070
571110010011100139071
58111010001110103A072
59111011001110113B073
60111100001111003C074
61111101001111013D075
62111110001111103E076
63111111001111113F077
6410000000100000040100
6510000010100000141101
6610000100100001042102
6710000110100001143103
6810001000100010044104
6910001010100010145105
7010001100100011046106
7110001110100011147107
7210010000100100048110
7310010010100100149111
741001010010010104A112
751001011010010114B113
761001100010011004C114
771001101010011014D115
781001110010011104E116
791001111010011114F117
8010100000101000050120
8110100010101000151121
8210100100101001052122
8310100110101001153123
8410101000101010054124
8510101010101010155125
8610101100101011056126
8710101110101011157127
8810110000101100058130
8910110010101100159131
901011010010110105A132
911011011010110115B133
921011100010111005C134
931011101010111015D135
941011110010111105E136
951011111010111115F137
9611000000110000060140
9711000010110000161141
9811000100110001062142
9911000110110001163143
10011001000110010064144
10111001010110010165145
10211001100110011066146
10311001110110011167147
10411010000110100068150
10511010010110100169151
1061101010011010106A152
1071101011011010116B153
1081101100011011006C154
1091101101011011016D155
1101101110011011106E156
1111101111011011116F157
11211100000111000070160
11311100010111000171161
11411100100111001072162
11511100110111001173163
11611101000111010074164
11711101010111010175165
11811101100111011076166
11911101110111011177167
12011110000111100078170
12111110010111100179171
1221111010011110107A172
1231111011011110117B173
1241111100011111007C174
1251111101011111017D175
1261111110011111107E176
1271111111011111117F177
128100000001000000080200
129100000011000000181201
130100000101000001082202
131100000111000001183203
132100001001000010084204
133100001011000010185205
134100001101000011086206
135100001111000011187207
136100010001000100088210
137100010011000100189211
13810001010100010108A212
13910001011100010118B213
14010001100100011008C214
14110001101100011018D215
14210001110100011108E216
14310001111100011118F217
144100100001001000090220
145100100011001000191221
146100100101001001092222
147100100111001001193223
148100101001001010094224
149100101011001010195225
150100101101001011096226
151100101111001011197227
152100110001001100098230
153100110011001100199231
15410011010100110109A232
15510011011100110119B233
15610011100100111009C234
15710011101100111019D235
15810011110100111109E236
15910011111100111119F237
1601010000010100000A0240
1611010000110100001A1241
1621010001010100010A2242
1631010001110100011A3243
1641010010010100100A4244
1651010010110100101A5245
1661010011010100110A6246
1671010011110100111A7247
1681010100010101000A8250
1691010100110101001A9251
1701010101010101010AA252
1711010101110101011AB253
1721010110010101100AC254
1731010110110101101AD255
1741010111010101110AE256
1751010111110101111AF257
1761011000010110000B0260
1771011000110110001B1261
1781011001010110010B2262
1791011001110110011B3263
1801011010010110100B4264
1811011010110110101B5265
1821011011010110110B6266
1831011011110110111B7267
1841011100010111000B8270
1851011100110111001B9271
1861011101010111010BA272
1871011101110111011BB273
1881011110010111100BC274
1891011110110111101BD275
1901011111010111110BE276
1911011111110111111BF277
1921100000011000000C0300
1931100000111000001C1301
1941100001011000010C2302
1951100001111000011C3303
1961100010011000100C4304
1971100010111000101C5305
1981100011011000110C6306
1991100011111000111C7307
2001100100011001000C8310
2011100100111001001C9311
2021100101011001010CA312
2031100101111001011CB313
2041100110011001100CC314
2051100110111001101CD315
2061100111011001110CE316
2071100111111001111CF317
2081101000011010000D0320
2091101000111010001D1321
2101101001011010010D2322
2111101001111010011D3323
2121101010011010100D4324
2131101010111010101D5325
2141101011011010110D6326
2151101011111010111D7327
2161101100011011000D8330
2171101100111011001D9331
2181101101011011010DA332
2191101101111011011DB333
2201101110011011100DC334
2211101110111011101DD335
2221101111011011110DE336
2231101111111011111DF337
2241110000011100000E0340
2251110000111100001E1341
2261110001011100010E2342
2271110001111100011E3343
2281110010011100100E4344
2291110010111100101E5345
2301110011011100110E6346
2311110011111100111E7347
2321110100011101000E8350
2331110100111101001E9351
2341110101011101010EA352
2351110101111101011EB353
2361110110011101100EC354
2371110110111101101ED355
2381110111011101110EE356
2391110111111101111EF357
2401111000011110000F0360
2411111000111110001F1361
2421111001011110010F2362
2431111001111110011F3363
2441111010011110100F4364
2451111010111110101F5365
2461111011011110110F6366
2471111011111110111F7367
2481111100011111000F8370
2491111100111111001F9371
2501111101011111010FA372
2511111101111111011FB373
2521111110011111100FC374
2531111110111111101FD375
2541111111011111110FE376
2551111111111111111FF377

Need a number above 255? Use the decimal to binary converter (with working) or the all-in-one binary converter.

Frequently asked questions

How do you count in binary from 1 to 10?

1, 10, 11, 100, 101, 110, 111, 1000, 1001, 1010.

What is the biggest number in 8 bits?

255 (11111111). With 8 bits there are 2⁸ = 256 different values, 0–255.

What are the powers of two?

1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 … Each is a 1 followed by zeros in binary: 2ⁿ is 1 followed by n zeros.