Skip to content
Documentation sections

RF Link Budget Calculator

POSThttps://rftools.io/api/py/v1/calculate

Slug rf-link-budget. Free RF link budget calculator: enter Tx power, antenna gains, frequency, and distance to get received signal level, link margin, and max range. Covers satellite, terrestrial, and IoT links.

Inputs

Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.

Inputs of rf-link-budget
NameUnitRangeDefaultDescription
txPowernumberdBm−30 … 10030Transmitter output power
txGainnumberdBi−30 … 603TX antenna gain in dBi
txCableLossnumberdB0 … 201TX cable + connector losses (positive value)
frequencynumberMHz0.1 … 10000002400Center frequency
distancenumberkm0.001 … 10000001Distance between TX and RX
rainFadenumberdB0 … 500Rain attenuation per ITU-R P.838. Use 0 for line-of-sight ground links; 3–20 dB for satellite links above 10 GHz in heavy rain zones.
atmosphericLossnumberdB0 … 200.5Gaseous absorption (O₂ at 60 GHz: ~15 dB/km; H₂O at 22 GHz: ~0.2 dB/km). Use 0.5 dB typical for sub-6 GHz terrestrial links.
pointingLossnumberdB0 … 100Antenna misalignment loss. Pencil-beam dishes: 0.5–3 dB. Omnidirectional or wide-beam antennas: 0 dB.
extraLossCountnumbernone0 … 40How many extra loss terms the budget includes, such as polarisation mismatch, body loss or foliage
extraLoss1numberdB0 … 500An extra loss in the path, such as polarisation mismatch, body loss, foliage or a wall
extraLoss2numberdB0 … 500An extra loss in the path, such as polarisation mismatch, body loss, foliage or a wall
extraLoss3numberdB0 … 500An extra loss in the path, such as polarisation mismatch, body loss, foliage or a wall
extraLoss4numberdB0 … 500An extra loss in the path, such as polarisation mismatch, body loss, foliage or a wall
rxGainnumberdBi−30 … 603RX antenna gain in dBi
rxCableLossnumberdB0 … 201RX cable + connector losses
rxSensitivitynumberdBm−160 … 0-90Minimum receivable signal level
targetMarginnumberdB0 … 6010The fade margin the link must keep above the receiver sensitivity. The status passes at or above it and fails below 0 dB.

Outputs

Returned in values, by key. A value that is unbounded or undefined is null.

Outputs of rf-link-budget
FieldUnitDescription
fspldBFree Space Path Loss
eirpdBmEffective Isotropic Radiated Power
rxPowerdBmReceived Power
linkMarginheadlinedBLink Margin
maxRangeKmkmMax Range
totalAdditionalLossdBSum of rain fade, atmospheric loss, pointing loss and any extra loss terms
maxRangeAtTargetkmThe distance at which the link margin falls to the target margin
wavelengthmmWavelength
fresnelRadiusmRadius of the first Fresnel zone at the middle of the path. Keep at least 60 % of it clear of obstacles.

Calling it

  • Calculate: one call, the request and response in full, and its errors.
  • Batch: this calculator with others, or a sweep, in one request.
  • Solve for a target: the value of one input that brings an output to a target.