Channel Capacity Calculator (Shannon–Hartley)
Enter the channel bandwidth and the signal-to-noise ratio, as a plain ratio or in dB. See the Shannon capacity in bits per second and the spectral efficiency in bit/s per hertz.
For planning and learning. The Shannon limit is the most any coding can carry over a channel with white Gaussian noise; real links reach less, and fading, interference and protocol overheads lower it further. Not a licensed design or a regulatory compliance check.
- Channel capacity (bit/s)
- –
- Channel capacity (Mbit/s)
- –
- Spectral efficiency
- –
- S/N as a power ratio
- –
- S/N
- –
Assumptions
- The noise is white Gaussian noise across the whole bandwidth, as in Shannon's Theorem 17.
- S/N is the average signal power over the noise power in that same bandwidth.
- No fading, multipath or interference; the capacity is a limit, not a speed any real link reaches.
Checked 29 October 2026 C. E. Shannon, "A Mathematical Theory of Communication" (1948), Theorem 17 (copy hosted by Harvard University, Department of Mathematics) All sources
How it is calculated
- C = B × log2(1 + S/N) (bit/s), with B in Hz and S/N a power ratio
- S/N from decibels: S/N = 10^(dB ÷ 10)
- Spectral efficiency = C ÷ B = log2(1 + S/N) (bit/s per Hz)
Worked example
A 1 MHz channel with a signal 20 dB above the noise.
| You enter | |
|---|---|
| Bandwidth | 1 |
| Bandwidth unit | Megahertz (MHz) |
| Signal-to-noise ratio (S/N) | 20 |
| S/N is given | In decibels (dB) |
| You get | |
| Channel capacity (bit/s) | 6,658,211 bit/s |
| Channel capacity (Mbit/s) | 6.6582 Mbit/s |
| Spectral efficiency | 6.6582 bit/s/Hz |
| S/N as a power ratio | 100 |
| S/N | 20 dB |
With S/N of 100 as a power ratio, each hertz of bandwidth can carry at most 6.6582 bit/s, so the channel's Shannon limit is about 6.6582 million bits per second. Real systems stay below this.
Questions
Why is my real data rate lower than the capacity?
Shannon's capacity assumes ideal coding of unlimited length and only white noise. Real links use practical modulation and coding, have fading, multipath and interference, and spend part of the rate on protocol overheads.
Can S/N be negative in dB?
Yes. A negative dB value means the signal is weaker than the noise. The capacity is then small but not zero; for example −10 dB gives about 0.1375 bit/s per hertz.
Sources and checks
- C. E. Shannon, "A Mathematical Theory of Communication" (1948), Theorem 17 (copy hosted by Harvard University, Department of Mathematics)
- Northwestern University, MSIT Week 5: Shannon capacity C = B log(1 + S/N) and its GSM/EDGE example (a test here)
Last checked: 29 October 2026. This tool passes 6 automatic tests before every release. How we check our tools
Cite this page
Channel Capacity Calculator (Shannon–Hartley). GlanceDesk Compute. Last checked 29 October 2026. https://glancedeskcompute.com/
Your numbers stay on your device unless you share them.
For planning and learning. A theoretical limit, not a measured or guaranteed data rate; it does not replace a qualified telecom engineer or your network's specifications. Results are estimates for planning and learning. They are not a design check and do not replace a qualified engineer or your local building/electrical code.