Calculate Shannon channel capacity from bandwidth and SNR in dB or as a ratio, or the Nyquist bit rate from signal levels, and solve for bandwidth or SNR.
- Shannon-Hartley Theorem Calculator
- Shannon Channel Capacity Calculator
- Bits Per Second Calculator
- Baud Rate Calculator
- Bit Error Rate (BER) Calculator
- Bandwidth Delay Product Calculator
- All Math and Numbers Calculators
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Shannon capacity — linear SNR | Finds the highest error-free bit rate of a noisy channel | Requires the bandwidth and the signal-to-noise ratio as a plain power ratio |
| Shannon bandwidth — linear SNR | Finds the bandwidth a target bit rate needs | Requires the bit rate and the signal-to-noise ratio as a plain power ratio |
| Shannon linear SNR | Finds the signal-to-noise ratio a bit rate needs in a given bandwidth | Requires the bandwidth and the bit rate |
| Shannon capacity — SNR in dB | Finds the highest error-free bit rate from an SNR in decibels | Requires the bandwidth and the SNR in dB |
| Shannon bandwidth — SNR in dB | Finds the bandwidth a target bit rate needs from an SNR in decibels | Requires the bit rate and the SNR in dB |
| Shannon SNR in dB | Finds the SNR in decibels a bit rate needs in a given bandwidth | Requires the bandwidth and the bit rate |
| Shannon spectral efficiency | Finds the capacity per hertz of bandwidth | Requires the SNR in dB |
| Nyquist noiseless bit rate | Finds the bit rate of a noise-free channel with a fixed number of signal levels | Requires the bandwidth and the number of signal levels |
| Nyquist noiseless bandwidth | Finds the bandwidth a noise-free channel needs for a target bit rate | Requires the bit rate and the number of signal levels |
| Nyquist minimum signal levels | Finds the fewest signal levels that carry a bit rate in a given bandwidth | Requires the bandwidth and the bit rate |
Bandwidth can be entered in Hz, kHz or MHz, and bit rate in bps, Kbps, Mbps or Gbps, with decimal prefixes (1 Kbps = 1,000 bps). Each Shannon result also lists the spectral efficiency in bits/s/Hz and the SNR in its other form, linear or dB.
Channel Capacity Formulas
| C | Channel capacity (bits per second) |
| B | Bandwidth of the channel (Hz) |
| S/N | Signal power divided by noise power, as a plain ratio and not in dB |
This is the Shannon limit for a band-limited channel with white Gaussian noise. With suitable coding, data can be sent at any rate below C with as few errors as desired, and no coding scheme can do that above C [1].
Shannon capacity — linear SNR
The main formula applies directly. A 1,000 Hz channel with S/N = 10 has a capacity of 1,000 × log2(11) = 3,459.4 bps.
Shannon bandwidth — linear SNR
A bit rate of 10,000 bps at S/N = 15 needs 10,000 ÷ log2(16) = 10,000 ÷ 4 = 2,500 Hz.
Shannon linear SNR
Sending 4,000 bps through 1,000 Hz needs S/N = 24 − 1 = 15.
Shannon capacity — SNR in dB
The decibel value is converted to a power ratio, then the main formula applies. A 1 MHz channel at 20 dB has S/N = 100, so its capacity is 1,000,000 × log2(101) = 6,658,211.5 bps, or about 6.66 Mbps. Negative dB values are valid: they mean the noise is stronger than the signal.
Shannon bandwidth — SNR in dB
The SNR is converted from dB as above, then B = C ÷ log2(1 + S/N). A 1 Mbps link at 30 dB (S/N = 1,000) needs 1,000,000 ÷ log2(1,001) = 100,328.8 Hz.
Shannon SNR in dB
log10(2C ÷ B − 1)
Sending 4,000 bps through 1,000 Hz needs 10 × log10(15) = 11.76 dB.
Shannon spectral efficiency
η is the capacity per hertz, in bits/s/Hz. At 10 dB, S/N = 10 and η = log2(11) = 3.4594 bits/s/Hz.
Nyquist noiseless bit rate
M is the number of distinct signal levels, a whole number of 2 or more. A band of B hertz carries 2 × B independent amplitude values each second, and each value picked from M levels carries log2(M) bits [1]. A 3,000 Hz channel with 4 levels gives 2 × 3,000 × 2 = 12,000 bps.
Nyquist noiseless bandwidth
A bit rate of 12,000 bps with 4 levels needs 12,000 ÷ (2 × 2) = 3,000 Hz.
Nyquist minimum signal levels
Sending 20,000 bps through 3,000 Hz gives 23.333 = 10.08, which rounds up to 11 levels. The result is never less than 2.
Limits of This Estimate
- The Shannon functions give a theoretical ceiling for white Gaussian noise, not a measured throughput. Real links run below it, and reaching it takes long, complex codes [1].
- S/N is a ratio of powers. An amplitude or voltage ratio has to be squared first, and a dB figure has to be entered in the dB functions.
- The Nyquist functions assume no noise at all, so the bit rate rises without limit as levels are added. On a real channel, noise limits how many levels can be told apart.
- Interference, fading and distortion that is not white Gaussian noise are outside both models.
Sources
- C. E. Shannon, Communication in the Presence of Noise, Proceedings of the IRE, 1949 (reprinted in Proceedings of the IEEE, 1998): capacity formula, its meaning as a limit, and the count of 2B amplitude values per second
