Calculate Shannon-Hartley channel capacity, C = B log2(1 + S/N), from bandwidth and SNR as a ratio or in dB, or solve for the bandwidth or SNR needed.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Channel capacityFinds the highest bit rate an ideal noisy channel can carry with an arbitrarily low error rateRequires the channel bandwidth and the signal-to-noise power ratio, as a plain ratio or in dB
Required bandwidthFinds the bandwidth needed to reach a given capacityRequires the channel capacity and the signal-to-noise power ratio
Required SNRFinds the smallest signal-to-noise ratio that supports a given capacityRequires the channel bandwidth and the channel capacity
Link budget to capacityFinds capacity from a radio link budget and the receiver's thermal noiseRequires transmit power in dBm, both antenna gains in dBi, path loss in dB, channel bandwidth, receiver noise figure in dB and source noise temperature in K. Other losses in dB are optional

Bandwidth is entered in Hz, kHz, MHz or GHz and capacity in bit/s, kbit/s, Mbit/s or Gbit/s, all with decimal prefixes. Every result also shows the spectral efficiency in bit/s/Hz and the signal-to-noise ratio both as a plain ratio and in dB.

Shannon Hartley Theorem Formulas

C = B × log₂(1 + S/N) [1]
CChannel capacity (bit/s)
BChannel bandwidth (Hz)
S/NAverage signal power divided by the noise power in the band, as a plain ratio and not in dB

Shannon proved this as a two-sided limit. With average transmitter power S and white thermal noise of power N in the band, binary digits can be sent at this rate with as few errors as desired, and no method of encoding can send faster while keeping the error rate arbitrarily low [1].

Channel capacity

S/N = 10^(SNRdB ÷ 10)

The main formula applies once a dB value is turned into a ratio. A 2,000 Hz channel with S/N = 100 carries 2,000 × log₂(101) = 13,316 bit/s. A 1 MHz channel at 30 dB has S/N = 1,000 and carries 1,000,000 × log₂(1,001) = 9.967 Mbit/s.

Required bandwidth

B = C ÷ log₂(1 + S/N)

At S/N = 15 each hertz carries log₂(16) = 4 bit/s, so 1 Mbit/s needs 1,000,000 ÷ 4 = 250 kHz.

Required SNR

S/N = 2^(C ÷ B) − 1

Sending 3,000 bit/s through 1,000 Hz needs S/N = 2³ − 1 = 7, which is 8.45 dB.

Pr = Pt + Gt + Gr − Lp − Lo

Received power in dBm is the transmit power plus both antenna gains, less the path loss and any other losses. The noise floor comes from the bandwidth and two temperatures:

N = k × (Ts + Te) × B [2][3]

k is the Boltzmann constant, 1.380649 × 10⁻²³ J/K [2]. Ts is the source noise temperature and Te = 290 × (10^(NF ÷ 10) − 1) is the receiver's own noise expressed as a temperature, using the 290 K reference temperature against which noise figures are defined [3]. The signal-to-noise ratio in dB is the received power minus the noise floor, both in dBm, and it then goes into the main formula.

With 20 dBm transmitted, 10 dBi at each antenna and 120 dB of path loss, the received power is −80 dBm. A 5 dB noise figure adds 627 K to a 290 K source, which in 1 MHz gives a noise floor of −108.98 dBm. The ratio is 28.98 dB and the capacity is 9.627 Mbit/s.

Limits of This Estimate

  • Capacity is a ceiling for an ideal band-limited channel with white Gaussian noise and a limit on average signal power [1]. Real modulation and coding fall below it.
  • The link budget counts thermal noise only. Interference, fading and implementation losses lower the real signal-to-noise ratio.
  • The source noise temperature is the noise arriving at the receiver input. Entering a total system temperature there counts the receiver's noise twice.

Sources

  1. C. E. Shannon, Communication in the Presence of Noise, Proceedings of the IRE, 1949: capacity formula and its meaning as a limit, Theorem 2
  2. NIST Reference on Constants, Units, and Uncertainty, Boltzmann constant: value of k
  3. Recommendation ITU-R P.372-11, Radio noise, Section 2: 290 K reference temperature and how receiver noise adds to external noise