Data Rate & Capacity Calculator
Calculate maximum channel capacity using the Shannon-Hartley Theorem
Calculation Results
How to Calculate Data Rate from Bandwidth
Understanding the relationship between bandwidth and data rate is fundamental to telecommunications and networking. While people often use these terms interchangeably, they represent different physical properties of a communication channel.
The Shannon-Hartley Theorem
The maximum data rate (also known as Channel Capacity) is determined by the Shannon-Hartley Theorem. This formula tells us the maximum amount of error-free information that can be transmitted over a communication channel with a specified bandwidth in the presence of noise.
- C: Channel Capacity (bits per second)
- B: Bandwidth (Hertz)
- S/N: Signal-to-Noise linear power ratio
Steps to Calculate Data Rate Manually
- Convert SNR from dB to Linear: If your Signal-to-Noise Ratio is in decibels (dB), convert it using the formula: Ratio = 10^(SNR_dB / 10).
- Add 1: Add 1 to the linear ratio calculated in step 1.
- Logarithm Base 2: Calculate the log base 2 of that result. (In most calculators, this is
log(x) / log(2)). - Multiply by Bandwidth: Multiply the result by the bandwidth in Hertz (Hz) to get the capacity in bits per second.
Practical Example
Suppose you have a channel with a bandwidth of 1 MHz (1,000,000 Hz) and an SNR of 30 dB.
- Convert 30 dB to linear: 10^(30/10) = 10^3 = 1000.
- Calculate log2(1 + 1000) ≈ 9.967.
- Capacity = 1,000,000 × 9.967 = 9,967,000 bits per second (approx. 9.97 Mbps).
The Difference Between Bandwidth and Data Rate
Bandwidth is the width of the frequency range (the size of the "pipe") measured in Hertz. Data Rate is the actual speed of information transfer (the amount of "water" flowing through the pipe) measured in bits per second (bps). Higher bandwidth allows for higher data rates, but the actual speed is limited by the quality of the signal (noise).