What is a link budget?
It is an accounting of every gain and loss between a transmitter and a receiver, in dB. If the received power is above the receiver sensitivity, the link closes, and the difference is the link margin.
This RF link budget calculator works out received power and link margin from transmit power, antenna gains, cable losses, free-space path loss and receiver sensitivity. Or give it a required margin and get the maximum free-space range, with datasheet presets for LoRa, Bluetooth LE and Wi-Fi radios.
Accepts 915M, 2.4G.
Fading allowance, walls, foliage, polarization mismatch.
From the datasheet, for your data rate and bandwidth. Presets use typical figures.
Link margin
34.34 dB
The link closes with 24.3 dB more margin than the 10 dB you asked for.
Range assumes free space: a clear first Fresnel zone and no ground reflection, terrain or walls. Put known extra losses in "Other losses"; real ground-level links usually fall well short of the free-space range.
Link margin around this distance
| Distance | Path loss | Received power | Margin |
|---|---|---|---|
| 500 m | 85.7 dB | -68.7 dBm | 54.3 dB |
| 1.25 km | 93.6 dB | -76.6 dBm | 46.4 dB |
| 2.5 km | 99.6 dB | -82.6 dBm | 40.4 dB |
| 5 km | 105.7 dB | -88.7 dBm | 34.3 dB |
| 10 km | 111.7 dB | -94.7 dBm | 28.3 dB |
| 20 km | 117.7 dB | -100.7 dBm | 22.3 dB |
| 50 km | 125.7 dB | -108.7 dBm | 14.3 dB |
Add the transmit power and antenna gains, then subtract cable losses, path loss and any other losses: Prx = Ptx + Gtx − Ltx + Grx − Lrx − FSPL − other. A +14 dBm LoRa radio with 2 dBi antennas and 0.5 dB of feed loss at each end has 17.0 dBm before the path. Over 5 km at 915 MHz the path loss is 105.7 dB, so it receives −88.7 dBm, which is 34.3 dB above the −123 dBm sensitivity at SF7.
Work in dB and dBm so the link budget equation becomes a sum. The path loss is the free-space value from ITU-R P.525.
The margin is what is left above the sensitivity, and the maximum range comes from the path loss the budget can afford:
Before the path: 14 + 2 − 0.5 + 2 − 0.5 = 17.0 dBm, with an EIRP of 15.5 dBm. FSPL over 5 km is 105.7 dB, so Prx = −88.7 dBm. Against the SX1276's −123 dBm typical sensitivity, the margin is 34.3 dB.
An nRF52840 at +8 dBm with 0 dBi antennas, 0.5 dB of feed loss at each end, and −95 dBm sensitivity, keeping a 10 dB margin, can afford a path loss of 92.0 dB. At 2.44 GHz that is 389.2 m in free space. A PCB antenna inside an enclosure will have less gain, and indoor walls will cut this further.
In free space with a 10 dB margin, an SX1276 at SF12 reaches 368.3 km. Adding 30 dB to Other losses for buildings and foliage divides the range by 31.6, to 11.65 km.
Typical datasheet transmit power and sensitivity, with a 10 dB margin and 0.5 dB of feed loss at each end. Antenna gain is an assumption: 2 dBi for LoRa and Wi-Fi, 0 dBi for Bluetooth LE. These are free-space figures, and a real link at ground level usually reaches much less.
| Radio | Frequency | Transmit | Sensitivity | Allowed path loss | Free-space range |
|---|---|---|---|---|---|
| SX1276 LoRa SF7, 125 kHz | 915 MHz | 14 dBm | −123 dBm | 130.0 dB | 82.4 km |
| SX1276 LoRa SF9, 125 kHz | 915 MHz | 14 dBm | −129 dBm | 136.0 dB | 165 km |
| SX1276 LoRa SF12, 125 kHz | 915 MHz | 14 dBm | −136 dBm | 143.0 dB | 368 km |
| nRF52840 BLE 1 Mbps | 2.44 GHz | 8 dBm | −95 dBm | 92.0 dB | 389 m |
| nRF52840 BLE 125 kbps coded | 2.44 GHz | 8 dBm | −103 dBm | 100.0 dB | 978 m |
| ESP32 Wi-Fi 11b 1 Mbps | 2.437 GHz | 19.5 dBm | −98 dBm | 110.5 dB | 3.28 km |
| ESP32 Wi-Fi 11n HT20 MCS7 | 2.437 GHz | 13 dBm | −73 dBm | 79.0 dB | 87.2 m |
Range scales as 10^(dB ÷ 20). Multiply the range by this factor for added power, gain or sensitivity, and divide by it for added loss.
| Change in budget | Range multiplied by |
|---|---|
| 1 dB | 1.12× |
| 3 dB | 1.41× |
| 6 dB | 2.00× |
| 10 dB | 3.16× |
| 20 dB | 10.00× |
Datasheet sensitivity is measured under lab conditions: the SX1276 figures use a split Rx/Tx path at the highest LNA gain, and the nRF52840 figures use an ideal transmitter. Subtract RF switch and matching losses from the budget. Check that antenna gains are real for your mounting: a ground plane, enclosure or nearby battery can change them by several dB. Regulatory limits may also cap the EIRP below what the radio can deliver, so run the transmit side through the EIRP calculator. Free-space range is a best case, so confirm the result by measuring RSSI on the actual path.
It is an accounting of every gain and loss between a transmitter and a receiver, in dB. If the received power is above the receiver sensitivity, the link closes, and the difference is the link margin.
Prx = Ptx + Gtx − Ltx + Grx − Lrx − FSPL − other losses, all in dB or dBm. A LoRa link with +14 dBm, 2 dBi antennas and 0.5 dB of feed loss at each end gives −88.7 dBm after the 105.7 dB of a 5 km path at 915 MHz.
Link margin is received power minus receiver sensitivity, Margin = Prx − Sensitivity, and the part you hold in reserve for fading is the fade margin. The 5 km LoRa example on this page receives −88.7 dBm against a −123 dBm sensitivity, which leaves 34.3 dB.
It depends on the path. A clear, fixed line-of-sight link needs less than a mobile, indoor or foliage path with deep multipath fades. The 10 dB default here is only a starting point, so size it from measurements of your own environment where you can.
Find the path loss the budget can afford, FSPLmax, after subtracting the sensitivity and the required margin, then solve dmax = (λ ÷ 4π) × 10^(FSPLmax ÷ 20). An nRF52840 at 1 Mbps (+8 dBm, 0 dBi antennas, 0.5 dB of feed loss at each end) with a 10 dB margin can afford 92.0 dB, which is 389.2 m in free space.
In free space, range scales as 10^(dB ÷ 20). Six decibels doubles the range, and 20 dB multiplies it by ten. Real ground-level paths lose power faster with distance, so the same decibels buy less.
This calculator gives the free-space range, which assumes a clear line of sight with an unobstructed first Fresnel zone. Antenna height, terrain, the curvature of the Earth, buildings and interference all shorten it. Use the Other losses field for what you know about, and test on the real path.
The SX1276 datasheet lists −123 dBm typical at SF7 and −136 dBm typical at SF12 with 125 kHz bandwidth in the 862 to 1020 MHz band. Those figures use the highest LNA gain and a split Rx/Tx path, so subtract the insertion loss of any RF switch on your board.
Use kT + 10 log₁₀(BW) + NF + SNR, where kT is −174 dBm/Hz at 290 K: the dB form of Smin = (S/N)min k T0 B NF in the U.S. Navy’s electronic warfare handbook. With the SX1276 figures (125 kHz, 7 dB noise figure, −7.5 dB SNR at SF7 and −20 dB at SF12) this gives −123.5 dBm and −136.0 dBm, within 1 dB of the datasheet sensitivities.
See all free electronics tools →
ProtoFlow is free AI PCB design software: describe a circuit and get a schematic with real parts, PCB layout with an autorouter, SPICE simulation and Gerber files. Native KiCad, Altium and EAGLE import and export. Free on macOS, Windows and Linux.
Free to start. No card required.