Shannon Channel Capacity Calculator

Find the maximum error free data rate of a noisy channel from bandwidth and signal to noise ratio.

Technology and NetUpdated 2026-11-192 min read
Shannon Channel Capacity Calculator
Channel bandwidth in hertz.
Ratio of signal power to noise power in decibels.
Channel capacity
...
Capacity in kbit/s...
Linear signal to noise ratio...
Spectral efficiency...

What it does

The Shannon Hartley theorem gives the maximum rate at which information can be sent over a communication channel with a specified bandwidth and signal to noise ratio, with arbitrarily small error.

This tool takes the bandwidth in hertz and the signal to noise ratio in decibels. It converts the ratio to a linear power ratio and applies C equal to B times log base two of one plus S over N.

The page opens with a 3000 hertz telephone bandwidth and a 30 decibel signal to noise ratio. The linear ratio is 1000 and the capacity is about 29,902 bits per second.

The theorem gives an upper bound, not a practical modem rate, and says nothing about how to construct a code that reaches the limit. It is a cornerstone of information theory.

Spectral efficiency, the ratio of capacity to bandwidth, is reported alongside the absolute capacity.

How to use

  1. Enter the channel bandwidth in hertz.
  2. Enter the signal to noise ratio in decibels.
  3. Read the channel capacity in bits per second.
  4. Check the linear signal to noise ratio.
  5. Use spectral efficiency to compare channels of different widths.
  6. Raise the signal to noise ratio to see capacity increase logarithmically.

Formula

C = B times log base 2 of (1 + S/N), with S/N = 10 to the power of (dB / 10)
B
Channel bandwidth in hertz.
S/N
Ratio of average signal power to average noise power.
C
Capacity in bits per second.

Decibels use a logarithmic power scale, so the linear ratio is ten to the power of the decibel value divided by ten. The logarithm base two then expresses capacity in bits rather than natural units.

Worked example

Example: 3 kHz channel at 30 dB

The page opens with bandwidth 3000 Hz and signal to noise ratio 30 dB.

  1. Convert decibels to a linear ratio: ten to the power of 30 divided by 10 is 1000.
  2. Add one to get 1001.
  3. Take log base 2 of 1001, about 9.9672.
  4. Multiply by 3000 hertz to get about 29,902 bits per second.
  5. Spectral efficiency is 29,902 divided by 3000, about 9.967 bits per second per hertz.
  6. The tool reports capacity_bps 29,902 bit/s.

Reference table

Sample channel capacities
BandwidthSNR (dB)Linear ratioCapacity
3,000 Hz301,00029,902 bit/s

Limits

  • Assumes additive white Gaussian noise.
  • Gives a theoretical upper bound, not a practical data rate.
  • Bandwidth and signal to noise ratio must be positive in linear terms.
  • Does not account for coding overhead or implementation losses.

Common mistakes

  • Using the decibel number directly as the linear ratio.
  • Using log base 10 instead of log base 2.
  • Forgetting the plus one inside the logarithm.
  • Confusing capacity with actual throughput.
  • Entering bandwidth in kilohertz without converting.

Try it yourself

Quick checks. Answers sit tucked under each question.

3 kHz channel at 30 dB. Capacity?

About 29,902 bit/s.

What is the linear ratio at 30 dB?

1000.

What is spectral efficiency here?

About 9.967 bit/s/Hz.

Questions

What is channel capacity?

The maximum rate of reliable communication over a noisy channel.

What is the formula?

Bandwidth times log base 2 of one plus the linear signal to noise ratio.

How do I convert decibels?

Ten to the power of the decibel value divided by ten.

Can a modem reach the capacity?

It is an upper bound; practical systems operate below it.

What is spectral efficiency?

Capacity divided by bandwidth.

Who discovered the theorem?

Claude Shannon, building on Hartley's work.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.