BITS & ENCODING SIMULATION

A kilobyte is not 1000 bytes but 1024, because machines count in powers of two rather than on ten human fingers. Eight bits side by side cover 256 values: the rightmost bit flips every tick, while each bit further left flips exactly half as often. The very same byte 11111111 reads as 255 when unsigned, yet under two’s complement the top bit carries a weight of −128 and that byte means −1. The letter A is not stored as the shape of an A either; the machine keeps only the code 65 and lets a font draw the shape.

▸ Powering up the 8-bit register…
▸ Loading weights 128 64 32 16 8 4 2 1
▸ Calibrating the ASCII / UTF-8 decoder
▸ Building the pixel grid & hex table 0–F
▸ Enabling two’s complement for signed numbers…
▸ Ready — Online. ✅
0%
⌂ Mind & Machine

Simulation room Bits & Encoding

Bits, Bytes & Encoding
Online
binary · ASCII · hex · two’s comp.
Value gauge
🔢 8-bit byte
Decimal—
Hexadecimal—
Binary—
Bits set—
Unit—
Viewing—
Notes
Computers use binary because circuits have only 2 states: off = 0 and on = 1. Grouping 8 bits = 1 byte represents 256 values (0–255).
—
Click a bit cell to flip 0↔1 · pick a ‘Scenario’ (count / ASCII / image / two’s comp. / hex / units) · click a concept for details
Your browser has canvas disabled.
Byte value over time value 0–255bits set
About Binary & Encoding

A kilobyte is not 1000 bytes but 1024, because machines count in powers of two rather than on ten human fingers. Eight bits side by side cover 256 values: the rightmost bit flips every tick, while each bit further left flips exactly half as often. The very same byte 11111111 reads as 255 when unsigned, yet under two’s complement the top bit carries a weight of −128 and that byte means −1. The letter A is not stored as the shape of an A either; the machine keeps only the code 65 and lets a font draw the shape.

Related topics in Mind & Machine