Link Budget

Your Wi-Fi router sends out 100 mW. How much of it reaches your phone, and is that enough?

Helps to know first:AntennasRF Propagation

The intuition

A link budget is a money budget for signal. You start with some power. Some things add to it and some take it away. At the end you check what is left, and whether it is enough to pay the bill.

It is kept in decibels, so you add and subtract instead of multiplying. (That is why the decibels lesson came first.) Power is in dBm, which is decibels against 1 mW, so your router's 100 mW is 20 dBm. Gains and losses are in dB. Go down the chain:

  • Start with the transmit power, in dBm.
  • Add the transmit antenna gain, in dBi. (See the antennas lesson.)
  • Take away the cable loss at the transmitter.
  • Take away the path loss, the big one, from the signal spreading out. (See the propagation lesson.)
  • Add the receive antenna gain, and take away the receiver's cable loss.

Path loss is the biggest number by far. Each doubling of distance costs about 6 dB, so gain and distance trade against each other.

What is left is the received power, also in dBm. It is almost always a big negative number, because a tiny fraction of a milliwatt arrives. That is normal.

Now compare it with the receiver's sensitivity. This is the weakest signal the receiver can still use. A more negative sensitivity means a better receiver. The gap between what arrives and what the receiver needs is the margin. A positive margin means the link works. A negative one means it does not.

Do not plan for zero margin. Walls, rain, people walking past and multipath fades (the bounces from the propagation lesson) all take a bite on a bad day. The spare part you keep for them is called the fade margin.

One number inside the budget matters to the regulators. EIRP is how strong the signal is in its strongest direction: transmit power plus antenna gain, minus cable loss. Rules cap EIRP, not just the transmitter, because a high-gain antenna makes a weak transmitter as loud as a strong one inside its beam.

Try it

Start on Wi-Fi in a house and drag the distance out until the link fails. Then give the transmit antenna more gain and see how far you got back. Switch to the other two links to see how different the numbers can be.

Where does the signal go?

100 m
20 dBm
2 dBi
0 dBi
0 dB

Signal at the receiver

−58.0 dBm

Receiver sensitivity

−90.0 dBm

Margin

32.0 dB

Link works, with a comfortable margin.

The maths

Received power

Pr = Pt + Gt − Lt − FSPL + Gr − Lr

Start with the transmit power, add the gains, take away the losses. In dB it is only addition and subtraction.

Where:

Pr=Received power(dBm)
Pt=Transmit power(dBm)
Gt=Transmit antenna gain(dBi)
Gr=Receive antenna gain(dBi)
Lt, Lr=Cable loss at each end(dB)
FSPL=Free-space path loss(dB)

EIRP

EIRP = Pt + Gt − Lt

The power that leaves the antenna, compared with an antenna that sends equally everywhere. This is the number regulators limit.

Where:

EIRP=Radiated power(dBm)

Margin

Margin = Pr − Sensitivity

How far the received power sits above what the receiver needs. Above zero, the link works.

Where:

Sensitivity=Weakest signal the receiver can use(dBm)
Margin=Spare signal(dB)

What this assumes

  • The path loss is free space only. The demo starts with no walls, trees or rain. You can add them with the last slider, as one lump of loss.
  • The two antennas point straight at each other. A phone that is turned the wrong way loses gain.
  • Sensitivity is a fixed number for each link here (about −90 dBm for Wi-Fi). Real receivers need a stronger signal for faster speeds.
  • The numbers are typical, not those of a particular product. Real routers, phones and radios differ.
  • The signal is steady. Fading, which comes and goes, is covered by keeping spare margin.

Predict

Predict first

You add 12 dB of antenna gain. How much further can the link reach?

The takeaway

A link budget is a running total in dB: transmit power, plus gains, minus losses, compared with what the receiver needs. Each 6 dB you win, from more power or more antenna gain, doubles the distance.

Go deeper

A worked example

Take the router. It sends 20 dBm (100 mW) into a 2 dBi antenna, so the EIRP is 22 dBm. Your phone is 100 m away at 2.4 GHz, so the path loss is 80.0 dB. The phone antenna has 0 dBi. What arrives is 22 − 80.0 = −58.0 dBm. The phone needs about −90 dBm, so the margin is 32.0 dB. In empty space, it works easily. Put a few walls in the way and that margin shrinks quickly.

How much fade margin to keep

It depends on how bad a bad day can get. A short link indoors may need only 10 dB. A long link outdoors, where rain and fading are serious, may need 20 dB or more. The cost of keeping it is higher power, bigger antennas, or a shorter link. The cost of skipping it is a link that drops out at the worst time.

Where sensitivity comes from

A receiver always has some noise of its own, and the signal must stand clear of it. So sensitivity depends on the noise, and on how much cleaner the signal must be for the radio to decode it. A slow and simple signal can be decoded from very faint power. That is why the LoRa sensor link above can use −137 dBm, and a Wi-Fi link only −90 dBm. A later module covers noise.

Why your phone usually limits the link

A link works in both directions, and the weaker side decides. Router to phone, the router sends 20 dBm. Phone to router, the phone sends about 15 dBm, so it arrives 5 dB weaker. The phone also has a tiny antenna and a small battery. So a phone can hear the router well after the router can no longer hear the phone. You see full bars, but nothing loads.

EIRP limits

The limit is on EIRP, not on the transmitter alone. If you swap in an antenna with 3 dB more gain, you must turn the power down by 3 dB to stay legal. The limits differ by country and by band, so check the rules for where you are.