Eight bits to one byte

Use B = bit × 0.125. The starting value of 10 bits gives 1.25 B. An illustrative 4,096 bits gives 512 B.

Bytes back into bits

Reversing the units turns 64 B into 512 bits. Write the word bit or byte where a lone letter could be misread.

A fractional byte in the answer

A bit count that is not divisible by 8 produces a decimal. The converter shows that arithmetic and makes no assumption about how a system would store the remainder.