Shannon Capacity Calculator

Channel capacity29.90 kbps
Signal-to-noise ratio (linear)1,000 to 1
Spectral efficiency9.97 bps/Hz
Time to transfer 1 GB at capacity74.32 hours
How this was calculated
  1. The Shannon-Hartley theorem sets the fastest error-free rate for a channel: capacity = bandwidth x log2(1 + signal-to-noise ratio). No coding scheme can beat it, only approach it.
  2. Your signal-to-noise ratio of 30 dB is a power ratio of 1,000 to 1, so log2(1 + 1,000) = 9.967 bits per symbol period.
  3. Capacity = 3,000 Hz x 9.967 = 29.90 kbps - that is 9.97 bits per second for every hertz of bandwidth.
  4. At that ceiling, moving 1 GB (8 gigabits) takes 74.32 hours; real links land below the Shannon limit because of coding overhead, interference and protocol chatter.

The Shannon Capacity Calculator tells you the maximum data rate a communications channel can carry, based on its bandwidth and signal-to-noise ratio. Enter those two numbers and it returns the channel's theoretical capacity in bits per second, along with the spectral efficiency in bits per second per hertz. The results show just how firm the ceiling is. A classic 3,000 Hz voice phone line at 30 dB SNR tops out at 29.90 kbps, a hard limit no modem design can beat. A 20 MHz Wi-Fi channel at 20 dB SNR has a Shannon capacity of 133.16 Mbps, or 6.66 bps/Hz of spectral efficiency. A 100 MHz 5G channel at 40 dB SNR reaches 1.33 Gbps, fast enough to move a 25 GB file in 2.51 minutes. On the old phone line the same arithmetic is brutal: moving 1 GB at 29.90 kbps takes 74.32 hours.

The method behind these numbers is the Shannon-Hartley theorem, the accepted standard for calculating the capacity of a noisy channel. It is the reference result engineers use to judge whether a link design is near its physical limit or leaving performance on the table. This page shows the formula, the step-by-step workings, worked examples and sources, so you can follow every calculation from the inputs to the final capacity figure rather than taking the result on faith.

Worked examples

Classic voice phone line: 3,000 Hz, 30 dB SNR, 1 GB file

(3000 Hz · 30 dB · 1 GB)

Channel capacity29.90 kbps
Signal-to-noise ratio (linear)1,000 to 1
Spectral efficiency9.97 bps/Hz
Time to transfer 1 GB at capacity74.32 hours

20 MHz Wi-Fi channel, 20 dB SNR, 5 GB file

(20000000 Hz · 20 dB · 5 GB)

Channel capacity133.16 Mbps
Signal-to-noise ratio (linear)100 to 1
Spectral efficiency6.66 bps/Hz
Time to transfer 5 GB at capacity5.01 minutes

100 MHz 5G channel, 40 dB SNR, 25 GB file

(100000000 Hz · 40 dB · 25 GB)

Channel capacity1.33 Gbps
Signal-to-noise ratio (linear)10,000 to 1
Spectral efficiency13.29 bps/Hz
Time to transfer 25 GB at capacity2.51 minutes

How Shannon capacity is calculated

The math behind the tool is the Shannon-Hartley theorem, which gives the maximum error-free data rate a channel can carry: capacity = bandwidth × log2(1 + SNR). Bandwidth is the width of the channel in hertz, and SNR is the signal-to-noise ratio as a plain linear number, not in decibels. The logarithm is base 2, so the answer comes out in bits per second when bandwidth is in hertz. This is why a shannon capacity calculator asks for two inputs only: how wide the channel is and how clean the signal is relative to the noise.

The one step people trip over is the decibel conversion. Decibels are a logarithmic way of expressing a ratio, so they cannot go straight into the formula. A 30 dB SNR means the signal is 10^(30/10) times stronger than the noise, which is 1,000 to 1. Plug that in and the term log2(1 + 1,000) is about 9.97. Multiply by the 3,000 Hz bandwidth of a classic voice phone line and you get roughly 29,900 bits per second, or 29.90 kbps. That is a hard ceiling no modem design can beat.

The same three steps handle every case. Convert the SNR from decibels to a linear ratio, add 1, take log base 2, then multiply by the bandwidth. A 20 MHz Wi-Fi channel at 20 dB SNR works out to 133.16 Mbps, which is 6.66 bps/Hz of spectral efficiency. A 100 MHz 5G channel at 40 dB SNR reaches 1.33 Gbps. Notice how the higher SNR matters as much as the wider channel: 40 dB converts to a linear ratio of 10,000 to 1, far above the 100 to 1 of the Wi-Fi example.

Those ceilings translate directly into time. At 1.33 Gbps, a 25 GB file would take 2.51 minutes. On the old phone line the same arithmetic is brutal: moving 1 GB at 29.90 kbps takes 74.32 hours. The formula does not care how clever the equipment is; it describes the boundary set by bandwidth and noise alone.

  • Step 1: Convert SNR from decibels to a linear ratio — 30 dB becomes 1,000 to 1.
  • Step 2: Add 1 and take log base 2 — log2(1 + 1,000) is about 9.97.
  • Step 3: Multiply by bandwidth in hertz — 9.97 × 3,000 Hz gives 29.90 kbps.
Capacity = bandwidth × log2(1 + SNR). Feed it hertz and a linear ratio, never decibels — 30 dB is 1,000 to 1, and a 3,000 Hz phone line then tops out at 29.90 kbps.

Why bandwidth and SNR are not interchangeable

Bandwidth and SNR both raise Shannon capacity, but they do not raise it in the same way. In the formula, bandwidth sits in front of the logarithm, so capacity grows in direct proportion to it: double the hertz and you double the ceiling. SNR sits inside the logarithm, so each additional decibel buys a smaller and smaller gain. That is why the two are not interchangeable levers, and why a shannon capacity calculator is most useful when you change one while holding the other fixed and watch how differently the result moves.

The spectral efficiency numbers make the point. A 20 MHz Wi-Fi channel at 20 dB SNR has a Shannon capacity of 133.16 Mbps, which works out to 6.66 bps/Hz. A 100 MHz 5G channel at 40 dB SNR reaches 1.33 Gbps. Push the signal-to-noise ratio from 20 dB to 40 dB and spectral efficiency rises from 6.66 bps/Hz to 13.29 bps/Hz. Doubling the decibels roughly doubles the bits per hertz, but it does not come close to doubling the rate the way added bandwidth does, because the decibel scale is itself logarithmic and the formula takes the log of the linear ratio.

The classic 3,000 Hz voice phone line shows how firmly the ceiling holds. At 30 dB SNR it tops out at 29.90 kbps, a hard limit no modem design can beat. That figure is not a statement about cleverness in engineering; it is arithmetic. The same arithmetic is brutal when you move real data: shifting 1 GB across that line at 29.90 kbps takes 74.32 hours. No amount of coding ingenuity escapes the bound, which is why the phone network was never going to carry broadband over voice-grade copper.

The 5G example shows the other side of the trade. At 40 dB SNR and 100 MHz of bandwidth, the ceiling is 1.33 Gbps, and at that rate a 25 GB file would take 2.51 minutes. Getting there required both a wide channel and a strong signal. Widening the channel alone would have helped in proportion; strengthening the signal alone would have helped only through the logarithm. Practical systems chase both, but they chase bandwidth for linear returns and SNR for diminishing ones.

That asymmetry shapes real design choices. When a link is noise-limited, adding power yields shrinking returns, and beyond a point the extra decibels cost more than they return. When a link is bandwidth-limited, more spectrum pays off directly. Running the numbers in a shannon capacity calculator side by side, rather than assuming a stronger signal and a wider channel are interchangeable, keeps expectations honest about what any given link can actually deliver.

Doubling SNR from 20 dB to 40 dB lifts spectral efficiency from 6.66 bps/Hz to 13.29 bps/Hz — not double the rate, while added bandwidth scales capacity directly.

What the ceiling means for real links

A Shannon capacity figure is a ceiling, not a promise. It describes the fastest a channel could possibly carry information at a given bandwidth and signal-to-noise ratio, assuming perfect coding and no interference. Every real system lands somewhere below that line, because real transceivers spend part of their budget on error correction, framing, retransmissions, and coping with noise that the formula treats as a single clean number. The gap between the ceiling and what you actually see is where engineering lives.

The old voice phone line shows how tight a low ceiling can be. A classic 3,000 Hz line at 30 dB SNR tops out at 29.90 kbps, and no modem design can beat that. Run the arithmetic on a large transfer and the result is stark: moving 1 GB at 29.90 kbps takes 74.32 hours. That is more than three days of continuous connection for a single gigabyte, and it is the best case, before any coding overhead or line noise eats into the budget. This is why dial-up felt the way it did, and why the Shannon capacity calculator is useful for seeing the wall before you hit it.

Wi-Fi sits under a much higher ceiling. A 20 MHz channel at 20 dB SNR has a Shannon capacity of 133.16 Mbps, or 6.66 bps/Hz of spectral efficiency. Compare the practical gap directly: 5 GB over Wi-Fi at that ceiling takes 5.01 minutes, while 1 GB over the phone line takes 74.32 hours. The file is five times larger and the transfer is roughly 890 times faster. Nothing about the physics of copper versus radio changed the math of bits per second; the bandwidth and SNR did.

5G pushes the ceiling further still. A 100 MHz channel at 40 dB SNR reaches 1.33 Gbps, and at that ceiling a 25 GB file would take 2.51 minutes. Notice the pattern across all three cases: each jump comes from more bandwidth, better SNR, or both, not from a cleverer trick at the receiver. Coding overhead and interference still pull real throughput below these numbers, but they cannot push it above them.

So treat the Shannon limit as a design target and a sanity check. If a vendor claims a rate above the ceiling for a given bandwidth and SNR, the claim is wrong or the conditions are different from what is stated. If a real link falls well short of the ceiling, the room for improvement is in coding, equalization, and interference control. The numbers above show how much headroom each medium offers before any of that work begins.

Ceiling versus reality: 1 GB on the phone line at 29.90 kbps takes 74.32 hours; 5 GB on Wi-Fi at 133.16 Mbps takes 5.01 minutes. The Shannon capacity calculator shows the wall; real hardware stops short of it.

Reading your result

The two numbers a Shannon capacity calculator returns answer two different questions, and reading them well means keeping them apart. Spectral efficiency, measured in bits per second per hertz (bps/Hz), is the quality figure of the channel: it tells you how many bits each hertz of bandwidth can carry, given the signal-to-noise ratio you entered. Bandwidth is how much spectrum you have; spectral efficiency is how hard that spectrum is working. A high figure means the channel is clean and well-behaved, a low figure means noise is eating into every hertz. The 20 MHz Wi-Fi example makes this concrete: at 20 dB SNR the Shannon capacity is 133.16 Mbps, which works out to 6.66 bps/Hz of spectral efficiency. That single ratio lets you compare channels of different widths on equal footing, because it strips out the bandwidth and leaves only the quality.

The transfer time is a different kind of answer. It takes the capacity figure as a hard ceiling and applies it to the file size you entered, giving the fastest possible time under ideal conditions. In the 5G example, a 100 MHz channel at 40 dB SNR reaches 1.33 Gbps, and at that ceiling a 25 GB file would take 2.51 minutes. Read that as a floor on time, not a prediction. Shannon's limit says no coding scheme or modem design can push past the capacity, so the real transfer will be slower once you account for overhead, protocol traffic, and conditions that are rarely as clean as the input assumes. The number is the best case the physics allows.

The phone line shows how unforgiving the ceiling can be when the channel is narrow. A classic 3,000 Hz voice line at 30 dB SNR tops out at 29.90 kbps, a hard limit no modem design can beat. Run the same arithmetic against a larger file and the result is brutal: moving 1 GB at 29.90 kbps takes 74.32 hours. Nothing in the calculator is broken there; the bandwidth is simply too small and the ceiling too low to do better. That is why spectral efficiency matters so much in practice. Widening a channel helps, but improving the quality figure can multiply what each hertz delivers.

When you read your own result from the shannon capacity calculator, check both figures against your expectations. A spectral efficiency far above what the technology typically achieves usually means the SNR input was optimistic. A transfer time that looks too good is the same warning in different units. Treat the capacity as the wall and the transfer time as how close to that wall your file size lets you get. Neither number tells you what a real device will do; together they tell you what no device can exceed.

  • Spectral efficiency (bps/Hz) = channel quality: 6.66 bps/Hz for 20 MHz Wi-Fi at 20 dB SNR.
  • Transfer time = the ceiling applied to your file size: 25 GB at 1.33 Gbps takes 2.51 minutes.
  • Low ceilings bite hard: 1 GB at 29.90 kbps takes 74.32 hours.
Both outputs are limits, not forecasts: the capacity is the most any modem can achieve, and the transfer time is the fastest your file could move at that ceiling.

FAQs

What is the Shannon capacity of a channel?

The Shannon capacity is the fastest error-free data rate a channel allows. For a 3,000 Hz telephone line at 30 dB SNR, that ceiling is 29.90 kbps. No coding scheme or equipment can push data through that channel faster without errors, because the limit comes from the bandwidth and the signal-to-noise ratio themselves.

How do I convert SNR from dB to a ratio?

Raise 10 to the power of dB divided by 10. So 30 dB becomes a ratio of 1,000 to 1, and 40 dB becomes 10,000 to 1. The Shannon formula needs that plain ratio, not the decibel figure, so do this conversion first before you compute capacity or spectral efficiency.

Can better coding beat the Shannon limit?

No. Coding can only approach the Shannon limit, never exceed it. A 100 MHz channel at 40 dB cannot carry more than 1.33 Gbps however clever the scheme. Better coding narrows the gap between real-world throughput and the ceiling, but the ceiling itself stays fixed by bandwidth and SNR.

What is spectral efficiency?

Spectral efficiency is capacity per hertz of bandwidth. The phone line at 30 dB reaches 9.97 bps/Hz, while the 20 dB Wi-Fi channel reaches 6.66 bps/Hz. It tells you how hard each hertz of spectrum is working, which is useful for comparing channels of very different widths on a like-for-like basis.

Why does Wi-Fi get less spectral efficiency than the phone line here?

Its SNR is lower: 20 dB against 30 dB. Spectral efficiency follows the logarithm of SNR, not the bandwidth, so the weaker signal-to-noise ratio pulls the per-hertz capacity down. Wider bandwidth adds total capacity, but it does not raise efficiency when the noise floor is relatively higher.

How long would 1 GB take on a perfect phone line?

About 74.32 hours at the 29.90 kbps ceiling. That is the Shannon limit at work: even a flawless line at 30 dB SNR cannot go faster, and the Shannon limit is why dial-up could never stream video. Real dial-up fell short of this ceiling, so actual times were even longer.

Sources

Related calculators

Entropy Change Calculator (Ideal Gas)
The entropy change of an ideal gas between two states, split into its temperature and volume terms — ΔS = nCv ln(T2/T1) + nR ln(V2/V1).
555 Timer Calculator (Astable)
Frequency, period, high and low times and duty cycle for the classic 555 astable oscillator — f = 1.44 / ((R1 + 2R2) C).
Acceleration Calculator
Acceleration from a change in velocity over time, plus the distance covered and average velocity — with everyday benchmarks from gravity to braking.