D4 · Lesson 9 · Link budgets, worked for Wi-Fi
Adding up a radio link in decibels, transmit power, antenna gains, free-space path loss and why it grows with frequency, indoor path-loss exponents and walls, receiver sensitivity and margin, and estimating a Wi-Fi router's range at each data rate
Will the Wi-Fi reach the back bedroom? A radio engineer answers with a link budget: start with the transmitter's power, add the antennas' gains, subtract every loss along the way, and compare what's left with what the receiver needs. Working in decibels turns all the multiplying into adding, so the whole calculation fits on the back of an envelope. It explains why 5 GHz Wi-Fi is faster but doesn't reach as far, why each wall matters, and why the router's speed falls in steps as you walk away.
- Received power against distance from a Wi-Fi router transmitting 20 dBm (100 mW) through 2 dBi antennas at each end, with path loss plus any walls.
- n = 2 is free space; indoor paths through furniture and people usually behave like n = 3 to 3.5. Each interior wall costs roughly 3 to 6 dB, taken here as 5 dB.
- The dashed lines are typical sensitivities: −65 dBm for 54 Mb/s and −82 dBm for 6 Mb/s. Where the curve crosses them is the range for each rate.
Predict
A 2.4 GHz router sends 20 dBm through 2 dBi antennas at each end. Indoors with a path-loss exponent of 3, how much power arrives 10 m away?
The path loss to 1 m at 2.4 GHz is 20 log₁₀(4π × 1 m/0.125 m) = 40.0 dB, and from 1 m to 10 m with n = 3 another 30 dB. So 20 + 2 + 2 − 40 − 30 = −46 dBm, about 25 nanowatts, which is 50 dB above the −96 dBm noise floor of lesson 1: plenty for the fastest rates.
Name it
The budget
In decibels, the received power is
with powers in dBm (decibels relative to 1 mW: 20 dBm = 100 mW, −80 dBm = 10 pW), antenna gains in dBi and losses in dB. The link margin is minus the receiver's sensitivity, the least power at which a given rate still works. A positive margin of 10 dB or more allows for fading.
Free-space path loss
Between antennas a distance d apart at wavelength λ = c/f,
which grows 6 dB for every doubling of distance and every doubling of frequency. The frequency dependence comes from the receiving antenna: an antenna of fixed gain captures less power at shorter wavelengths, so 5.8 GHz loses 7.7 dB more than 2.4 GHz over the same path.
Indoors
Walls, floors and furniture absorb and scatter, so measured indoor loss grows faster with distance: with n around 3. Each wall adds a few decibels, a concrete floor 10 to 20.
Rates and range
Each Wi-Fi rate needs a certain SNR (lesson 5), so a certain received power. As distance grows the router steps down through slower modulations and codes, which is why speed falls in steps.
Worked example
With n = 3, how far does the 2.4 GHz router reach at 6 Mb/s (−82 dBm) and at 54 Mb/s (−65 dBm)? And at 5.8 GHz?
Show the solution
- Allowed loss at 6 Mb/s.
- Range at 6 Mb/s. gives
- At 54 Mb/s. The allowance is 89 dB, so 43 m.
- At 5.8 GHz. The 1 m loss is 47.7 dB, so the 6 Mb/s range shrinks to 88 m.
- In free space. In open free space (n = 2) the 2.4 GHz range would be about 2 km.
Answer at 2.4 GHz it reaches 158 m at 6 Mb/s and 43 m at 54 Mb/s; at 5.8 GHz the 6 Mb/s range is 88 m.
Worked example
A laptop is 20 m away through two 5 dB walls. Can it get 54 Mb/s?
Show the solution
- Received power.
- Margin. Against a sensitivity of −65 dBm, that's a margin of −0.1 dB.
- In practice. It's right at the edge, so the link will drop to a slower rate whenever someone walks through the path.
Answer only just: it receives −65.1 dBm against the −65 dBm it needs, so the link sits right at the edge.
Worked example
How much does doubling the distance cost with a path-loss exponent of 3, and in free space?
Show the solution
- Loss per doubling. With exponent n the loss grows by .
- Exponent 3.
- Free space. With n = 2:
- Compare. Indoors, every doubling of range costs half again as many decibels as outdoors.
Answer doubling the distance costs 9.0 dB with n = 3 and 6.0 dB in free space.
Check
What's the free-space path loss over 100 m at 0.9 GHz?
Check
A transmitter sends 20 dBm through a 2 dBi antenna to a 2 dBi antenna, with 100 dB of total loss between them. What power arrives?
Check
A 2.4 GHz link (40.0 dB of loss to 1 m) sends 20 dBm between 2 dBi antennas, with path-loss exponent 2.5. How far can the receiver be if it needs −70 dBm?
Write units the way you normally would: 1.5 m, 1500 mm and 0.0015 km are the same answer.
Check
What's 10 dBm in milliwatts?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
Check
Path loss grows with distance to the power 3. A link's distance grows 2 times.
(a)
How much more loss is there?
(b)
By what factor does the received power fall?
Check
A transmitter of 20 dBm uses antennas of 2 dBi at each end over 110 dB of path loss; the receiver needs −65 dBm.
(a)
What power arrives?
(b)
What is the margin?
Explain why
Why does 5 GHz Wi-Fi reach less far than 2.4 GHz Wi-Fi with the same transmit power and antennas?
The power a receiving antenna collects depends on its effective area, and an antenna of a given gain has an effective area proportional to the square of the wavelength. At 5.8 GHz the wavelength is about 2.4 times shorter than at 2.4 GHz, so the receiving antenna captures about 2.4 squared, almost six times, less of the spreading power, which is the extra 7.7 dB of free-space path loss. Walls and other obstacles also tend to absorb more at higher frequencies. With less power arriving at every distance, the received signal falls below each rate's sensitivity sooner, so the range at each rate is shorter, although the wider 5 GHz channels give faster rates up close.
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.