Skip to content
Documentation sections

BLE Link Budget & Range Calculator — Bluetooth Low Energy by PHY

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

Slug ble-link-budget. Bluetooth Low Energy link budget by PHY: data rate and Core Specification receiver sensitivity for LE 1M, LE 2M and LE Coded, path loss in free space or the ITU-R P.1238 indoor model, received power, link margin and maximum range.

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 ble-link-budget
NameUnitRangeDefaultDescription
phynumbernone0 … 30Bluetooth LE physical layer: 1M (1 Mb/s), 2M (2 Mb/s), or the coded PHY at 500 kb/s (S=2) or 125 kb/s (S=8)
txPowernumberdBmany0The Core Specification allows −20 to +20 dBm
txGainnumberdBiany0Transmit Antenna Gain
rxGainnumberdBiany0Receive Antenna Gain
lossesnumberdBat least 00Body, Enclosure & Other Losses
frequencynumberMHzat least 12440LE channels run from 2402 to 2480 MHz; 2440 MHz is mid-band
pathLossModelnumbernone0 … 82Free space, or ITU-R P.1238 site-general for an office, corridor, industrial site or conference room, in line of sight (LoS) or not (NLoS)One of: 0 Free space · 1 P.1238 office LoS · 2 P.1238 office NLoS · 3 P.1238 corridor LoS · 4 P.1238 corridor NLoS · 5 P.1238 industrial LoS · 6 P.1238 industrial NLoS · 7 P.1238 conference room LoS · 8 P.1238 conference room NLoS
distancenumbermat least 0.0110Direct (3-D) distance between the antennas
sensitivityOverridenumberdBmat most 00Enter the radio's datasheet sensitivity to replace the Core Specification reference; 0 keeps the reference
extraLossCountnumbernone0 … 60How many further losses the link adds, such as building entry, foliage, body or polarisation mismatch (0–6)
extraLoss1numberdB0 … 500A further loss on the link, such as building entry, foliage, body loss or polarisation mismatch
extraLoss2numberdB0 … 500A further loss on the link, such as building entry, foliage, body loss or polarisation mismatch
extraLoss3numberdB0 … 500A further loss on the link, such as building entry, foliage, body loss or polarisation mismatch
extraLoss4numberdB0 … 500A further loss on the link, such as building entry, foliage, body loss or polarisation mismatch
extraLoss5numberdB0 … 500A further loss on the link, such as building entry, foliage, body loss or polarisation mismatch
extraLoss6numberdB0 … 500A further loss on the link, such as building entry, foliage, body loss or polarisation mismatch

Outputs

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

Outputs of ble-link-budget
FieldUnitDescription
linkMarginheadlinedBLink Margin
dataRateMb/sPHY Data Rate
sensitivityUseddBmReceiver Sensitivity Used
pathLossdBPath Loss
receivedPowerdBmReceived Power
maxRangemMaximum Range
shadowFadingStddBShadow-Fading Std (P.1238 σ)
totalLossdBThe cable and other losses, the path loss and every extra loss, added

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.