Bit Rate Calculator Formula
Understand the math behind the bit rate calculator. Each variable explained with a worked example.
Formulas Used
Bit Rate
bit_rate_kbps = sample_rate_khz * bit_depth * channelsBit Rate (Mbps)
bit_rate_mbps = sample_rate_khz * bit_depth * channels / 1000Data Rate
bytes_per_sec = sample_rate_khz * 1000 * bit_depth * channels / 8Variables
| Variable | Description | Default |
|---|---|---|
sample_rate_khz | Sample Rate(kHz) | 44.1 |
bit_depth | Bit Depth(bits) | 16 |
channels | Number of Channels | 2 |
How It Works
Digital Bit Rate
Formula
Bit Rate = Sample Rate x Bit Depth x Channels
For example, CD audio is 44.1 kHz x 16 bits x 2 channels = 1411.2 kbps. This is the uncompressed data rate before any codec.
Worked Example
CD audio: 44.1 kHz, 16-bit, stereo.
sample_rate_khz = 44.1bit_depth = 16channels = 2
- 01Bit rate = 44.1 x 16 x 2 = 1411.2 kbps
- 02Bit rate = 1.411 Mbps
- 03Bytes/sec = 44100 x 16 x 2 / 8 = 176,400 B/s
Ready to run the numbers?
Open Bit Rate Calculator