1,000 divided by 8

Take one kbit/s, which is 1,000 bits each second. Eight bits make a byte, so 1,000 divided by 8 gives 125 bytes each second. The page multiplies by 125, and the default 10 kbit/s becomes 1,250 B/s. This is the cleanest of the bit-to-byte conversions, because 125 is a whole number. The conversion also works when the bitrate is a decimal such as 9.6 kbit/s, which becomes 1,200 B/s. The result is in plain bytes with no prefix, so there is no 1,000 or 1,024 question to settle. Early modem speeds convert the same way, with 2.4 kbit/s equal to 300 B/s and 33.6 kbit/s equal to 4,200 B/s. A rate of 8 kbit/s, used by some compressed voice codecs, is 1,000 B/s.

CAN bus and vehicle data

Automotive controllers talk over a CAN bus at set bit rates, with 500 kbit/s common in passenger cars and 250 kbit/s used by many heavy-duty vehicles. A rate of 500 kbit/s equals 62,500 B/s, and 250 kbit/s equals 31,250 B/s. These are raw line figures. A standard CAN frame carries at most 8 data bytes but takes roughly 108 to 130 bits on the wire with its overhead and bit stuffing, so the useful data rate is a fraction of the line rate. Converting to bytes per second helps when you log signals or decide how many messages a bus can carry. A diagnostic logger that reads ten signals of 2 bytes each at 100 samples per second handles 2,000 B/s, which is 16 kbit/s, so sending that log over a 500 kbit/s bus takes about 3 percent of its capacity.

Voice and audio payloads

Voice codecs are specified in kbit/s, but a developer who writes a buffer thinks in bytes. A 64 kbit/s call produces 8,000 B/s, so a 20 millisecond packet holds 160 bytes of audio. A compressed 16 kbit/s stream produces 2,000 B/s, and a packet of the same duration holds 40 bytes. A 128 kbit/s music stream is 16,000 B/s. Use these figures to size jitter buffers, estimate how many seconds fit in a memory block and check that a packet size in a capture matches the codec setting. The hand check is short: 64 kbit/s times 125 is 8,000 B/s, and a 20 millisecond packet is one fiftieth of a second, so 8,000 divided by 50 gives 160 bytes.

Sensors and logging firmware

A data logger that records at 24 kbit/s produces 3,000 B/s, which is 10,800,000 bytes in an hour, or 10.8 MB. A flash chip of 16 MB therefore holds about 1.5 hours of such data before it fills. Engineers working with small devices convert the bit rate from the design into bytes to plan storage and radio transmissions. A sensor sending 2,400 bit/s of readings, which is 2.4 kbit/s, produces 300 B/s and 1,080,000 bytes per hour. The calculation tells you whether the memory or the radio is the limit, and by how much. Battery life depends on the same figure, since every byte sent over a radio costs energy, and a design that cuts 3,000 B/s to 1,500 B/s halves the airtime.

Serial ports and byte throughput

A serial port at 115.2 kbit/s has a line rate of 14,400 B/s. Because each byte on an asynchronous serial link takes 10 bit times with its start and stop bits, the true payload rate is 11,520 B/s. At 9.6 kbit/s the line figure is 1,200 B/s and the payload is 960 B/s. Converting the headline rate to bytes is the first step, and the framing correction is the second. A firmware update of 64,000 bytes at 115.2 kbit/s takes about 5.6 seconds in the best case, and a slow terminal program makes it longer. Bootloaders that wait for an acknowledgment after every block add further delay, so test the update once and write down the real time.

Protocols that count in bytes

Many protocol documents give limits in bytes per second even when the link is rated in bits. A device that must not send more than 500 B/s on a shared radio channel is limited to 4 kbit/s. A fieldbus that carries 1,250 B/s is using 10 kbit/s, which is the default on this page. Converting both ways lets you check designs against specifications from two sources. If an interface says it supports 1 Mbit/s, that is 125,000 B/s, and the application has to fit its messages, headers and retries inside that. A design check multiplies bytes per message by messages per second: twenty messages a second at 50 bytes each is 1,000 B/s, which is 8 kbit/s and fits the 10 kbit/s allowance of 1,250 B/s.

Download estimates on slow links

On a 256 kbit/s link the ideal download rate is 32,000 B/s. A file of 480,000 bytes then needs 15 seconds at best. At 512 kbit/s, which is 64,000 B/s, the same file takes 7.5 seconds. These figures ignore protocol overhead and congestion, so real downloads are slower. They still give a useful lower bound, and they show that doubling the bit rate halves the time. Use the bytes-per-second value as the divisor in a time estimate for any file size you know in bytes. At 1,000 kbit/s, which is 125,000 B/s, a web page of 1,500,000 bytes needs 12 seconds.

Common slips

The most frequent error is dividing by 1,000 instead of multiplying by 125, which treats a kilobit as a kilobyte. Another is multiplying by 8 in the wrong direction, so that a bit rate is made larger rather than smaller in byte terms. A quick sanity check is that the bytes per second figure is always smaller than the bits per second figure for the same link. Entering 10 kbit/s should give 1,250 B/s, which is one eighth of 10,000 bit/s.

Line capacity versus useful data rate

It converts a rate and nothing else. It does not include headers, encoding overhead, error correction or retransmission, and the byte figure is the line capacity, not the useful data rate. It assumes a byte of 8 bits, as in nearly all modern equipment. It does not add a time period, so it cannot give a file size. To turn a rate into a size, multiply the byte rate by the number of seconds. The input is treated as a steady value, so for bursty traffic use a measured average.