Formula & Calculator

Shannon's Channel Capacity

The theoretical maximum data rate of a communication channel given its bandwidth and signal-to-noise ratio.

Digital ElectronicsInformation Theory

Shannon's Channel Capacity Calculator C = B · log₂(1 + S/N)

C = B · log₂(1 + S/N)
C = channel capacity (bps)  ·  B = bandwidth (Hz)  ·  S/N = signal‑to‑noise ratio (linear, not dB)
⟹ Solve C, B, S/N
bps
Hz
SNR in dB: S/Nlinear = 10(dB/10)
Please fix the errors above.
Solve for:
Presets:
Channel Capacity
C: B: S/N: SNRdB:
✓ Copied!
Capacity Gauge (log scale)
Low (< 1 Mbps) Medium (1–100 Mbps) High (> 100 Mbps)
C = B·log₂(1 + S/N)  ·  S/N is a linear ratio (use dB to linear conversion above).

Interpretation

Shannon's channel capacity C = B·log₂(1 + S/N) gives the maximum theoretical data rate (bits/sec) for error‑free transmission over a noisy channel.
It depends on bandwidth and signal‑to‑noise ratio.
Example: B=3kHz, S/N=1000 (30dB) → C = 3000 × log₂(1001) ≈ 30 kbps.

C = B·log₂(1 + S/N)
Shannon's Channel Capacity

Variables

SymbolQuantityUnit
CChannel capacity (maximum data rate)bps
BBandwidthHz
S/NSignal-to-noise ratio (linear)dimensionless

What it means

Shannon’s channel capacity C is the maximum data rate (bits per second) that can be transmitted over a communication channel with bandwidth B (Hz) and signal‑to‑noise ratio S/N, without error, provided the coding scheme is sufficiently sophisticated. The formula is C = B·log₂(1 + S/N). It is a fundamental result in information theory, showing that reliable communication is possible as long as the data rate is below C. This sets the upper bound for all communication systems, such as Wi‑Fi, cellular networks, and fiber optics. Increasing bandwidth or SNR increases capacity. Example: A telephone channel with B=3kHz and SNR=1000 (30dB) has C = 3000 * log₂(1001) ≈ 3000 * 9.97 ≈ 29,910 bps (≈30 kbps). This matches the practical limit for voice‑grade lines.

Worked example

Shannon's Channel Capacity – Practical Example

Real‑World
Scenario: A communication channel has bandwidth B = 4 kHz and signal‑to‑noise ratio S/N = 100 (20 dB). Find the maximum data rate.
ParameterValue
B4 kHz = 4000 Hz
S/N100
FormulaC = B · log₂(1 + S/N)
1log₂(1 + 100) = log₂(101) ≈ 6.658
2C = 4000 × 6.658 ≈ 26,632 bps ≈ 26.6 kbps
Final Design C ≈ 26.6 kbps ✓ Channel capacity
Why: Shannon capacity defines the theoretical maximum error‑free data rate for a given bandwidth and noise level.

Common mistakes

Watch unit consistency and the assumptions behind the formula; misapplying it outside its valid conditions is the most frequent error.

Applications

Shannon's channel capacity C = B·log₂(1 + S/N) sets the theoretical maximum data rate for error‑free transmission over a noisy channel. This formula guides communication system design, bandwidth allocation, and coding strategies. Engineers use it to determine the required bandwidth or SNR for a desired bit rate, to design modulation schemes, and to evaluate the limits of communication links. It is fundamental to digital communications, including Wi‑Fi, cellular, and satellite systems. Understanding Shannon's capacity is essential for any work in telecommunications and information theory.

  • Digital communication system design (bandwidth and SNR trade‑offs)
  • Modulation and coding scheme selection
  • Network planning and capacity estimation
  • Information theory and error‑correcting codes
  • Educational understanding of channel capacity

Frequently Asked Questions

Q01What is Shannon's channel capacity formula?
A01

The formula is C = B·log₂(1 + S/N), where C is the maximum data rate (bits/s), B is the bandwidth (Hz), and S/N is the signal‑to‑noise ratio (linear). It is the theoretical limit of error‑free communication.

Q02What are the units of each parameter?
A02

C in bits/s, B in Hz, S/N is dimensionless. SNR must be in linear ratio, not dB.

Q03How do you convert an SNR in dB to linear ratio?
A03

SNR_linear = 10^(SNR_dB/10). For example, 20 dB = 100.

Q04What are common mistakes when using Shannon’s capacity formula?
A04

Common errors: 1) Using dB directly in the ratio, 2) Using natural log instead of log base 2, 3) Forgetting that the formula gives the theoretical maximum, 4) Applying it to channels with non‑Gaussian noise, 5) Ignoring bandwidth efficiency.

Q05What is the significance of the Shannon limit?
A05

It tells us the maximum data rate for a given bandwidth and SNR. Modern coding schemes approach this limit, but cannot exceed it.

Q06What are practical applications of Shannon’s capacity?
A06

Used in: 1) Designing communication systems, 2) Estimating achievable data rates, 3) Evaluating spectral efficiency, 4) Planning wireless networks, 5) Comparing modulation schemes.

Q07What is the difference between Shannon capacity and actual data rate?
A07

Shannon capacity is a theoretical upper bound. Actual systems operate below capacity due to implementation losses, coding overhead, and non-ideal channel conditions.

Q08How does bandwidth affect capacity?
A08

Capacity increases linearly with bandwidth (for fixed SNR), so wider bandwidth allows higher data rates.

Q09What is the effect of increasing SNR on capacity?
A09

Capacity increases logarithmically with SNR. Doubling SNR adds only a small increment in capacity.