Skip to content
IoT & RF

Wi-Fi Range Estimator

Explore an approximate Wi-Fi link budget from transmit power, antenna gains, frequency and environment assumptions. Real range depends strongly on antenna orientation, receiver sensitivity, obstructions, interference and legal EIRP limits; treat the result as a planning estimate, not a coverage guarantee.

A free-space link-budget estimate using the Friis path-loss model. This is an ideal upper-bound calculation, not a prediction of indoor ESP32 coverage.

Ideal free-space range

1.25 km

Available path-loss budget

102.0 dB

Free-space loss at 1 m: 40.1 dB.

Real links are usually shorter due to walls, people, interference, antenna mismatch, multipath, orientation, and regulatory EIRP limits. Check the legal transmit-power limit for your country and band.

How the estimate works

Wi-Fi range is a link budget: the signal leaves the transmitter at a known power, gains a little from the antennas, and loses strength over distance and through obstacles. The link works while the received power stays above the receiver's sensitivity.

Received power (dBm) = Tx power + Tx gain + Rx gain − path loss − wall losses

Free-space path loss at 2.4 GHz is about 40 dB at 1 m, then +6 dB every time distance doubles (outdoors, line of sight). Indoors, losses rise faster: about +8 to +10 dB per doubling.

Typical losses

ObstacleLoss at 2.4 GHz
Plasterboard / drywall3–4 dB
Wooden door3–4 dB
Glass window (plain)2–3 dB
Brick wall6–10 dB
Concrete wall10–15 dB
Metal door / fridge / foil-backed insulation20+ dB

RSSI quality bands

RSSILink quality
−30 to −55 dBmExcellent
−55 to −67 dBmGood: reliable streaming and OTA
−67 to −75 dBmFair: sensors and MQTT fine
−75 to −85 dBmWeak: reconnects and dropped packets
below −85 dBmUnusable

Read the real value with WiFi.RSSI() on an ESP32 or ESP8266.

Getting more range

  • Antenna: PCB-antenna modules (ESP32-WROOM) reach roughly 30–50 m indoors through a couple of walls. An IPEX/U.FL module (ESP32-WROOM-32U) with a 5 dBi antenna adds several dB.
  • Placement: keep the antenna end of the board clear of metal, batteries and ground planes; mount it vertically.
  • Power supply: brownouts during Wi-Fi transmit bursts look like range problems. Add 100–470 µF near the module.
  • Alternatives: ESP-NOW reaches further than Wi-Fi at the same power; ESP32 long-range (LR) mode and LoRa go further still.

Formula, inputs and worked examples

Formula and method

Received power estimate (dB) = transmit power + antenna gains − path loss − other losses; real range depends on sensitivity, interference, obstacles, antenna orientation, and legal EIRP.

Worked examples

Sensor two rooms away

20 dBm transmit, 2 dBi antennas each end, 15 m indoors and two brick walls: roughly −68 dBm received. Good enough for MQTT.

Garden node outdoors

The same module at 80 m line of sight predicts about −62 dBm. Expect 6–10 dB worse in practice due to ground reflections and foliage.

Behind a metal door

Adding a 20 dB metal obstacle to the indoor case drops the link to about −88 dBm, below usable.

Inputs

  • Frequency — Unit: GHz
  • Transmit power — Unit: dBm
  • Antenna gains — Unit: dBi
  • Receiver sensitivity — Unit: dBm
  • Other system losses — Unit: dB

What the result means

  • Ideal free-space range — Unit: m / km
  • Available path-loss budget — Unit: dB

Practical tips and common mistakes

  • Log WiFi.RSSI() at the final mounting spot before finishing the build.
  • Metal enclosures block Wi-Fi; use plastic or route an external antenna outside.
  • 2.4 GHz is the only band the ESP32 classic and ESP8266 support; 5 GHz access points won't work.

Assumptions and limitations

  • Treat output as a planning estimate, not a coverage guarantee.
  • Wall materials, multipath, interference, antenna orientation, receiver sensitivity, and local transmit-power rules dominate real performance.
  • Do not exceed local EIRP or radio regulations.

Frequently asked questions

What is the Wi-Fi range of an ESP32?

Roughly 30–50 m indoors through a few walls and 100–200 m outdoors line-of-sight with the PCB antenna. External antennas can extend outdoor range to several hundred metres.

What is a good RSSI for ESP32?

Above −67 dBm is good. Between −67 and −75 dBm works for sensors and MQTT; below −80 dBm expect disconnects.

Does ESP8266 have the same range as ESP32?

Similar. Both transmit at up to about 20 dBm with comparable sensitivity; antenna design and placement usually matter more than the chip.

How do I increase ESP32 Wi-Fi range?

Use a module with an external antenna, place it away from metal, ensure a stable power supply, and consider ESP-NOW or a repeater for distant nodes.

Learn more

More IoT & RF