Convert Bluetooth or Wi-Fi signal strength (dBm) into a rough distance, with a path loss exponent you can match to your environment.
The 1 m reference is the RSSI measured one metre from the device. BLE beacons are typically around -59 dBm, but it varies per device — measuring your own gives noticeably better estimates.
distance (m) = 10 ^ ( (RSSI at 1 m − measured RSSI) ÷ (10 × n) )
Radio signals fade logarithmically with distance. The exponent n describes how fast: close to 2 in open air, 3 to 4 where walls, furniture and people get in the way.
| RSSI | Quality | In practice |
|---|---|---|
| -30 to -50 dBm | Excellent | Right next to the device |
| -50 to -60 dBm | Strong | Same room, stable |
| -60 to -70 dBm | Good | Normal working range |
| -70 to -80 dBm | Weak | Dropouts start appearing |
| -80 to -90 dBm | Very weak | Hard to hold a connection |
| below -90 dBm | Unusable | Disconnects |
| Environment | n | Example |
|---|---|---|
| Open air | 2.0 | Outdoors, clear line of sight |
| Typical indoor | 2.7 | Home or office, one open space |
| Multiple walls | 3.3 | Signal crossing several rooms |
| Heavy obstruction | 4.0 | Metal structures, crowded spaces |
RSSI ranging is not positioning. At a fixed distance the reading still swings because of:
Real-world error is easily several metres. Treat the result as a near / medium / far band, not a measurement. If you need true distance, UWB is the appropriate technology.
dBm is a logarithmic scale referenced to 1 mW (0 dBm). Received signals are far weaker than that, so the value is negative. Closer to zero is stronger: -50 dBm beats -80 dBm.
That is expected. Reflection and interference make readings drift by several dBm second to second. An average over several samples, or the trend, is far more reliable than a single value.
Measure RSSI at exactly one metre from the device several times and average the result. Feeding that number in noticeably improves the estimate.
Earbud Dropout Check scans nearby Bluetooth LE devices and shows RSSI in real time, and helps you find why earbuds cut out with connection time, Wi-Fi congestion and a dropout log. CSV export is included. Free, with ads.