NewAI Part GeneratorFree to get started
FREE TOOL

RF link budget calculator

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.

Solve for
Examples
dBm
dBi
dB
dBi
dB
Hz

Accepts 915M, 2.4G.

Distance unit
dB

Fading allowance, walls, foliage, polarization mismatch.

dBm

From the datasheet, for your data rate and bandwidth. Presets use typical figures.

dB

Link margin

34.34 dB

Received power
-88.656 dBm
Free-space path loss
105.66 dB
EIRP
15.5 dBm 35.5 mW
Maximum path loss
140 dB with no margin
Range at 10 dB margin
82.45 km free space

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.

Received power versus distance
-140-120-100-80-60-401001k10k100kDistance (m)Received power (dBm)Sensitivity -123 dBmSensitivity + 10 dB5 kmRange 82.4 km

Link margin around this distance

DistancePath lossReceived powerMargin
500 m85.7 dB-68.7 dBm54.3 dB
1.25 km93.6 dB-76.6 dBm46.4 dB
2.5 km99.6 dB-82.6 dBm40.4 dB
5 km105.7 dB-88.7 dBm34.3 dB
10 km111.7 dB-94.7 dBm28.3 dB
20 km117.7 dB-100.7 dBm22.3 dB
50 km125.7 dB-108.7 dBm14.3 dB

How to calculate link budget margin

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.

Link budget formula

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.

Prx = Ptx + Gtx − Ltx + Grx − Lrx − FSPL − Lother
Prx
received power at the receiver input, dBm
Ptx
transmit power at the radio output, dBm
Gtx, Grx
antenna gains, dBi
Ltx, Lrx
cable and connector losses, dB
FSPL
free-space path loss, dB
Lother
other losses, such as fading allowance, walls and foliage, dB

The margin is what is left above the sensitivity, and the maximum range comes from the path loss the budget can afford:

Margin = Prx − Sensitivity
FSPLmax = Ptx + Gtx − Ltx + Grx − Lrx − Lother − Sensitivity − Required margin
dmax = (λ ÷ 4π) × 10^(FSPLmax ÷ 20)

Link budget examples

Example 1: LoRa SF7 over 5 km at 915 MHz

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.

Example 2: maximum range of Bluetooth LE at 1 Mbps

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.

Example 3: what 30 dB of obstruction does to LoRa SF12

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.

Free-space range of common radios

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.

RadioFrequencyTransmitSensitivityAllowed path lossFree-space range
SX1276 LoRa SF7, 125 kHz915 MHz14 dBm−123 dBm130.0 dB82.4 km
SX1276 LoRa SF9, 125 kHz915 MHz14 dBm−129 dBm136.0 dB165 km
SX1276 LoRa SF12, 125 kHz915 MHz14 dBm−136 dBm143.0 dB368 km
nRF52840 BLE 1 Mbps2.44 GHz8 dBm−95 dBm92.0 dB389 m
nRF52840 BLE 125 kbps coded2.44 GHz8 dBm−103 dBm100.0 dB978 m
ESP32 Wi-Fi 11b 1 Mbps2.437 GHz19.5 dBm−98 dBm110.5 dB3.28 km
ESP32 Wi-Fi 11n HT20 MCS72.437 GHz13 dBm−73 dBm79.0 dB87.2 m

What each extra dB buys in free space

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 budgetRange multiplied by
1 dB1.12×
3 dB1.41×
6 dB2.00×
10 dB3.16×
20 dB10.00×

Getting a link budget analysis you can trust

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.

Glossary

Link budget
The sum of all gains and losses from transmitter to receiver, in dB.
Link margin
Received power minus receiver sensitivity. A positive margin means the link closes on paper.
Fade margin
Extra margin held in reserve for fading, weather and other variation in the path.
Receiver sensitivity
The lowest signal level at which a receiver meets a stated error rate.
dBi
Antenna gain relative to an isotropic antenna.
EIRP
Equivalent isotropically radiated power: transmit power plus antenna gain minus feed loss.
Spreading factor (SF)
In LoRa, the number of chips per symbol as a power of two. A higher SF is slower but more sensitive.

Related guides

Frequently asked questions

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.

How do you calculate received power?

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.

What is the fade margin formula?

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.

How much fade margin do I need?

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.

How do I calculate radio range from a link budget?

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.

How much does range increase per dB?

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.

Why is the calculated range so much longer than what I get in practice?

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.

What sensitivity should I use for LoRa?

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.

How do I estimate sensitivity if the datasheet does not list it?

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.

More free PCB tools

See all free electronics tools →

Sources

Design the whole board, not one number

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.

Get for Mac

Free to start. No card required.