IMAGE, AUDIO AND COORDINATE WORKSHEETS

Reconciling an uncompressed audio bitrate with byte rate

An uncompressed audio stream has a bitrate equal to sample rate times bits per sample times channels. Dividing that by eight gives the same data rate in bytes per second.

What the bitrate model counts

The Audio Bitrate Calculator multiplies three numbers: the sample rate in samples per second, the bits stored for each sample, and the number of channels. The product is bits per second for raw, fixed-width sample data, which is what plain PCM audio stores. Each sample time holds one value per channel, and each value takes the same number of bits. Nothing in the formula depends on how long the recording runs. Duration only appears later, when you multiply a rate by the number of seconds to get a total size. The calculator gives a rate, so its output is always per second.

The 48 kHz stereo example

At 48,000 sample times per second, 16 bits per channel and two channels, the model returns 48,000 times 16 times 2, which is 1,536,000 bits per second. In common notation that is 1,536 kilobits per second using decimal kilo, or about 1.536 megabits per second. Dividing by 8 gives 192,000 bytes per second, which the Basic calculator confirms. The channel count here means values per sample time, so two channels double the data at each tick. It is not an extra multiplier for duration, and it does not mean the file is twice as long.

Why divide by eight

A byte is eight bits, so a rate in bits per second becomes a rate in bytes per second when divided by 8. The factor is easy to forget because audio specifications quote bitrates in bits, while file sizes and storage speeds are quoted in bytes. Mixing the two produces an error of exactly eight. A stream at 1,536,000 bits per second will use 192,000 bytes of storage per second, not 1,536,000. The reverse also holds: a disk or network link rated in bytes per second carries eight times that many bits per second, so a value of 192,000 bytes per second corresponds to 1,536,000 bits per second. The Basic calculator handles the division with a equal to 1,536,000, the divide operation and b equal to 8. If you want a rate in kilobytes per second, divide once more by 1,000, which gives 192 for this example, and keep the decimal prefix consistent with the bit figure you started from.

Compact disc audio as a second example

The audio on a standard compact disc uses 44,100 samples per second, 16 bits per sample and two channels. The calculator gives 44,100 times 16 times 2, which is 1,411,200 bits per second. Dividing by 8 gives 176,400 bytes per second. One minute of that raw data is 176,400 times 60, or 10,584,000 bytes, about 10.6 decimal megabytes. An hour is 635,040,000 bytes. These numbers describe the sample data only and show why uncompressed stereo recordings take far more space than compressed files of the same length.

Other settings that change the rate

Each factor scales the result in a simple way. A mono voice recording at 16,000 samples per second and 16 bits has a rate of 256,000 bits per second, or 32,000 bytes per second. A stereo recording at 96,000 samples per second and 24 bits has 4,608,000 bits per second, or 576,000 bytes per second, three times the 48 kHz, 16-bit rate. Halving the channels or the bit depth halves the rate, and doubling the sample rate doubles it. Because the three factors multiply, a change in each of them compounds quickly, which is why high-resolution audio needs much more storage. A ten-minute stereo take at 96,000 samples per second and 24 bits uses 576,000 times 600, or 345,600,000 bytes, about 346 decimal megabytes, while the same ten minutes at 48,000 samples per second and 16 bits uses 115,200,000 bytes. The higher setting costs three times the space for the same duration.

Bits per second versus bytes per second in practice

Streaming services and codec settings usually quote bits per second, so you see values like 128 or 320 kilobits per second. File managers, download progress bars and storage devices show bytes. A rate of 128 kilobits per second equals 16,000 bytes per second, so one minute takes about 960,000 bytes. Capital B stands for bytes and lowercase b for bits, and the abbreviation kbps or kb/s is nearly always bits. Check the case of the letter and the prefix before converting, and remember that a prefix such as kilo is 1,000 in these decimal rates.

Compression is a different calculation

The formula applies only to fixed-width, uncompressed samples. A compressed codec stores audio in a different way, and its bitrate depends on the codec, the settings and often the content itself. A variable-bitrate encoder may use more bits for complex passages and fewer for simple ones. So the raw 1,536,000 bits per second does not predict the rate of a compressed file made from the same audio. Treat the raw figure as the uncompressed reference point against which a compressed rate can be compared, and read the codec documentation for the actual rate. Some lossless formats reduce the size without discarding sample values, so their data rate is lower than the raw figure but still tied to the same sample rate, bit depth and channel count. The raw calculation remains a ceiling for what an unchanged copy of the samples would need, though headers and framing can add a little on top.

Headers, containers and metadata

A file also contains a header and sometimes tags, cover art or chunk structure, and these are outside the sample-data subtotal. For a short clip the overhead can be a noticeable share, while for an hour of audio it is negligible. A container such as a WAV file adds a small header in front of the samples, and other containers interleave extra data. The byte rate from the model is therefore the size per second of the sample stream, and a real file will be slightly larger once its own structure is included. For exact file sizes, check the file itself.

Keeping the units straight in a calculation

Write the unit next to every number. Samples per second is hertz, bits per sample has no time in it, and channels is a count. The product is bits per second, and the division by 8 yields bytes per second. To find a file size, multiply by seconds. To compare with a link speed, keep the result in bits per second. The ideal model assumes constant settings throughout the recording and describes data volume only. It says nothing about sound quality, which depends on the content, the converters and the listener.

Reproduce the checks

Raw bitrate

Open the Audio Bitrate Calculator and enter:

Sample rate
48000
Bits per sample
16
Channels
2

Expected output:

PCM bitrate

1536000

The output is bits per second.

Corresponding raw byte rate

Open the Basic calculator and enter:

First number
1536000
Operation
divide
Second number
8

Expected output:

Result

192000

The duration denominator remains per second.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks