Shannon Channel Capacity Calculator

Also known as Channel Capacity Calculator

The Shannon-Hartley maximum data rate for a bandwidth and SNR, and the SNR or bandwidth a target rate needs.

Free ● Live 1 standard

Free to use. Sign up free to save, download and print.

Worked example: 56 MHz at 30 dB SNR

Channel capacity: 558.16 Mbps

Loading the Shannon Channel Capacity Calculator…

How it works

Channel capacity formula: the Shannon limit

Channel capacity is the highest data rate a channel can carry with an arbitrarily low error rate. The Shannon-Hartley theorem sets it from the bandwidth and the signal to noise ratio, taken as a power ratio rather than in dB. Capacity grows in proportion to the bandwidth but only with the logarithm of the SNR, so at high SNR each extra bit per second per hertz costs about 3 dB.

No modulation or coding scheme beats it, which makes it the first check on a quoted throughput. Rearranged, the same formula gives the SNR a target rate needs in a given bandwidth, or the bandwidth it needs at a given SNR. With n spatial streams, each at the SNR given, the capacity is n times that of one stream.

C = n B log₂(1 + SNR), with SNR = 10^(SNR_dB / 10)

η = C / (n B)

SNR needed = 2^η − 1

B needed = C / (n log₂(1 + SNR))

Eb/N0 = SNR_dB − 10 log₁₀(η)

C
channel capacity, in bit/s
B
channel bandwidth, in Hz
SNR, SNR_dB
signal to noise ratio as a power ratio, and the same in dB
n
spatial streams, each at the SNR given; 1 without MIMO
η
spectral efficiency of each stream, in bit/s/Hz
Eb/N0
energy per bit over the noise density, in dB

Standards

  • 3GPP TR 36.942 Annex A.1, Table A.1: the attenuated Shannon bound for a practical LTE rate

Worked example

Worked example: 56 MHz at 30 dB SNR

A point to point microwave link in a 56 MHz channel, with 30 dB of SNR at the receiver and one stream.

StepWorkingResult
SNR as a power ratio10^(30 / 10)1000
Spectral efficiencylog₂(1 + 1000)9.97 bit/s/Hz
Channel capacity56 × 10⁶ × log₂(1001)558.16 Mbps

Carrying 1 Gbps in the same channel on one stream would take 17.86 bit/s/Hz, and so an SNR of 53.76 dB. Two spatial streams at 30 dB each give 1.12 Gbps. A quoted rate above the limit for its channel, SNR and number of streams cannot be met.

FAQ

Frequently asked questions

Not here? Ask us

Calculations run in your browser and nothing you enter is sent to a server.

How do I calculate the maximum data rate of a channel?

Multiply the bandwidth in hertz by log₂(1 + SNR), using the SNR as a linear ratio rather than in dB. For example, a 20 MHz channel at 25 dB SNR (a ratio of about 316) gives about 166 Mbps. The calculator does this for you and also reports the spectral efficiency.

What SNR do I need for a given data rate?

Divide the target rate by the bandwidth to get the spectral efficiency you need. The SNR required is then two raised to that spectral efficiency, minus one, as a linear ratio. The calculator returns this directly, and can also give the bandwidth needed at a given SNR.

What is the −1.59 dB Shannon limit?

It is the lowest energy per bit over the noise density, Eb/N0, at which any link can carry data without errors. On the Shannon bound Eb/N0 is (2^η − 1)/η for a spectral efficiency of η bit/s/Hz, which falls towards ln 2, or −1.59 dB, as η falls towards zero. At 1 bit/s/Hz the bound is 0 dB and at 5 bit/s/Hz it is 7.92 dB, so a faster link needs more energy in every bit. The calculator gives Eb/N0 for each stream at your operating point.

Why can a real system not reach the Shannon capacity?

Shannon assumes an ideal code of unlimited length on a perfectly Gaussian noise channel. Real systems use practical modulation and coding at a target bit error rate, and they lose a little more to hardware impairments. As a result they reach only part of the limit, which you can model here with 3GPP's LTE link model (TR 36.942 Annex A.1), or with your own efficiency percentage or SNR gap in dB.

How does MIMO change channel capacity?

Spatial multiplexing sends independent data streams over the same bandwidth using several antennas. In the simple model of n parallel streams, each at the SNR entered, capacity is multiplied by n. A fixed transmit power split over n streams leaves each 10 log₁₀ n dB lower, and real gains depend on the propagation environment and antenna correlation, so treat the result as a ceiling.

How is this different from the Modulation and Throughput Calculator?

This tool covers capacity and the theoretical limit: the Shannon rate, the SNR or bandwidth a rate needs, and how far a real link falls short. The Modulation and Throughput Calculator goes into specific modulation formats, bit error rate curves and throughput for particular standards.

Sign up free to keep your work.

Free to use. Saving, downloading and printing need a free account.