How does wifi work? The short answer
Wifi sends information through the air as radio waves.1 Your phone, laptop or games console has a small radio and an antenna inside. It turns the data it wants to send, which is just a long string of bits (zeros and ones), into a pattern of changes in a radio wave. The router picks up that wave with its own antennas, turns it back into bits, and passes them to the internet through a cable. Answers come back the same way in reverse.2
So wifi isn't the internet. It's the short wireless hop, usually just a few metres, between your device and your router.219
How does wifi work, step by step?
- Your device makes bits. Every picture, message and sound is stored as zeros and ones.2
- The wifi chip shapes a radio wave. It changes the wave's height, timing (phase) or wiggle speed in a pattern that stands for those bits. This is called modulation.5
- The antenna sends the wave. It spreads out through the room at the speed of light.7
- The router catches it. Its antennas pick up the faint wave and its chip turns the pattern back into bits.2
- A cable carries it to the internet. The router is connected by cable (or another broadband link) to your internet provider.219
- The reply comes back. The router turns the answer into radio waves again, and your device decodes them.
What kind of waves does wifi use?
Wifi uses radio waves, the same family of waves as FM radio and mobile phones.3 More exactly, it uses microwaves, the high-frequency end of the radio range.2 Radio waves are ripples of electric and magnetic energy, and like light, they travel at the speed of light.67
Frequency means how many waves pass by each second. It's measured in hertz (Hz), named after Heinrich Hertz, who first proved radio waves exist in the late 1880s.67 Wifi works in bands near 2.4, 5 and 6 gigahertz.3 "Giga" means billion, so a 2.4 GHz wave wiggles about 2.4 billion times every second.
Wavelengths are worked out from the microwave-oven figure of about 12 cm at 2.45 GHz: double the frequency and the wave gets half as long.8 Range and speed facts are from the FCC.4
wave speed = frequency × wavelength so faster wiggles = shorter waves
How do zeros and ones ride on a radio wave?
A plain, steady wave carries no message. To carry data, the wifi chip changes the wave. Engineers can change three things: its height (amplitude), its speed of wiggling (frequency) or its timing (phase).5
- On/off: in the simplest version, a burst of wave means 1 and silence means 0 (amplitude-shift keying).5
- Flip: the wave is sent normally for 0 and flipped upside down for 1 (phase-shift keying).5
- Mix: mixing height and timing (QAM) lets each change carry four or more bits at once.5 Real wifi uses mixes like this, which is how it gets so fast.
The word "Wi-Fi" itself really means a set of shared rules for how to shape and read these waves, so that a phone from one company can talk to a router from another.2
What does a wifi router do?
A home wifi router is the meeting point between the wireless network in your home and the internet outside. It sends and receives radio waves on one side, and exchanges data with the internet through a cable or other connection on the other.2 Modern wireless routers often have two or more wifi signals, for example one in the 2.4 GHz band and one in the 5 GHz band.4
A router can make a wifi network even with no internet connection, so devices at home can still talk to each other. But to reach websites and videos, the router needs a link from an internet provider: cable, fibre, DSL, satellite or mobile data.19 Want to know what happens after your data leaves the house? See how the internet works.
Why do walls and distance weaken wifi?
A router's waves spread out in every direction, like ripples on a pond. The farther they go, the more thinly the energy is spread. For a source that spreads out evenly in open space, twice as far means only a quarter as strong (the inverse-square law).16 Indoors, wifi usually reaches less than about 100 metres,1 and a typical indoor range is 150–300 feet (about 45–90 m).14
Things in the way make it worse. Signals reflect off walls, furniture and other obstacles, so copies arrive at slightly different times.1 Brick, concrete, wood and drywall each absorb some of the signal, by different amounts. Engineers at NIST measured these losses, including for wood soaked in water.21 Water absorbs microwaves well (that's how a microwave oven heats food), and metal reflects them.9 So a fish tank or a metal fridge between you and the router can be a real problem.
Why does the microwave oven mess up wifi?
A microwave oven uses microwaves at about 2.45 GHz, right inside wifi's 2.4 GHz band.92 Its metal box keeps almost all of that energy inside, but the tiny bit that leaks out is still loud compared with a wifi signal. Engineers have measured big drops in 2.4 GHz wifi speed while an oven runs, sometimes up to about 100 feet away. Switching to 5 GHz avoids it.17 Curious how the oven itself works? See how a microwave works.
2.4 GHz vs 5 GHz: which is better?
Neither is always better. The FCC says 2.4 GHz gives broader coverage but moves data more slowly, and it's shared with many household devices. 5 GHz is faster and often less crowded, but its signal covers a shorter range.4 A good rule: use 5 GHz (or 6 GHz) when you're near the router, and 2.4 GHz when you're far away or behind several walls.
Why does wifi slow down when lots of devices are on it?
Gadgets using the same wifi channel share the same airwaves, and when many devices use a network at once, you can get lag.4 So the basic wifi rule is polite: each device listens first and only sends when the channel is quiet. If two happen to start together, they each wait a random pause before trying again (engineers call this CSMA/CA).2022 Newer standards like Wi-Fi 6 can split the channel so the router serves several devices in one go.11
Tips for better wifi
- Put the router in a central spot, not in a cupboard or corner.4
- Use 5 GHz for important things close to the router.4
- Restart the router if things get stuck.4
- Use a mesh system or extender for big homes, or plug in a cable for the best speed.4
- Protect the network with a strong password and turn on encryption (WPA3, or WPA2 on older routers), so neighbours can't use it or see what you do.151425
Is wifi safe?
Wifi routers and devices send very low power signals, typically about 0.1 watt (100 milliwatts). On average, wifi devices send out less power than mobile phones do.3 The UK Health Security Agency says there is no consistent evidence that wifi signals harm the health of the general population, and sees no reason not to use it, including in schools.3
Radio waves are non-ionizing. That means they don't carry enough energy to damage DNA, unlike X-rays.1024 Wifi belongs to the same radio family as FM radio and mobile phones.3 The World Health Organization says that, so far, no harmful health effects from long-term exposure to low levels of radio waves have been confirmed, and scientists keep studying it.23 The FCC requires wireless devices sold in the US to meet its guidelines for safe exposure to radio energy.26
Who invented wifi?
No single person did. In 1985 the US Federal Communications Commission (FCC) opened parts of the radio spectrum, including 2.4 GHz, for anyone to use without a licence. In 1997 the IEEE approved a shared standard called 802.11, and in 1999 an industry group now known as the Wi-Fi Alliance gave it the name "Wi-Fi".1 A key breakthrough came from Australia: a CSIRO team led by John O'Sullivan solved the problem of radio echoes bouncing around indoors, which made fast indoor wireless networks possible.13
And no, Wi-Fi doesn't stand for "wireless fidelity". A marketing firm chose the name because it sounded catchy, like "hi-fi".1
Wi-Fi generations
Speeds from the IEEE Standards Association.11 Real-life speeds are much lower, and your internet plan often sets the true limit. The FCC opened the 6 GHz band for wifi in 2020.18 The Wi-Fi Alliance, citing IDC, reported about 19.5 billion wifi devices in use in 2023.12
Where to next?
Wifi is only the last few metres. Follow the data out of the house in How does the internet work?, meet wifi's short-range cousin in How does Bluetooth work?, or see how a VPN wraps your traffic in a private tunnel.
Common misconceptions
"Wifi and the internet are the same thing." Wifi is only the wireless link between your device and your router. The router reaches the internet by cable or another broadband link.
219
"Wi-Fi stands for wireless fidelity." It doesn't stand for anything. It's a made-up brand name.
1
"Full bars means fast internet." Bars show how strong the radio signal is. Speed also depends on the band, how many devices share it, and your internet plan.
4
"5 GHz is always better." It's faster, but it doesn't reach as far as 2.4 GHz.
4
"Wifi radiation is like X-rays." Wifi uses low-power, non-ionizing radio waves that don't carry enough energy to damage DNA.
310
FAQ
How does wifi work, step by step?
1) Your device turns the data it wants to send into bits (0s and 1s). 2) Its wifi chip changes a radio wave in a pattern that stands for those bits. 3) The router's antennas pick up the wave, and its chip turns it back into bits. 4) The router sends them through a cable to your internet provider. 5) The answer comes back the same way, and the router turns it into radio waves again for your device.
Can I get wifi without an internet provider?
Yes, but it won't reach the internet. A router can make a wifi network on its own, so your devices can talk to each other (for example, printing or sharing files). To get onto the internet, the router needs a connection from a provider: cable, fibre, DSL, satellite or mobile data. A phone hotspot works by sharing your mobile data over wifi.
Where does wifi come from?
The wifi in your home comes from your router, which sends and receives low-power radio waves in bands around 2.4, 5 and 6 GHz. The internet itself reaches the router through a cable or other broadband link from your internet provider.
What does Wi-Fi stand for?
Nothing. Wi-Fi isn't short for 'wireless fidelity'. The name was made up by a marketing firm hired by the group now called the Wi-Fi Alliance, chosen because it sounds catchy, a bit like 'hi-fi'.
Is 2.4 GHz or 5 GHz wifi better?
It depends on where you are. 2.4 GHz gives broader coverage and gets through walls better, but it's slower and often more crowded, because many household devices also use it and a running microwave oven can interfere. 5 GHz is faster and usually less crowded, but covers a shorter range. Many routers offer both.
Why is my wifi slow?
Common reasons: you're far from the router or behind thick walls, metal or water; lots of devices share the network at once; neighbours' networks or a running microwave crowd the 2.4 GHz band; or the internet plan itself is slow. Try moving the router to a central spot, using 5 GHz nearby, restarting the router, or plugging in with a cable.
What are the downsides of using wifi?
A cable is often faster and more reliable, its range is limited, walls and interference weaken it, and many devices have to share the airtime. An unprotected network can be used by people nearby, so protect it with a strong password and WPA3 (or WPA2) encryption. On health: wifi uses low-power, non-ionizing radio waves; the WHO says no harmful effects from low-level exposure have been confirmed, and the FCC requires devices to meet its RF exposure guidelines.
Is wifi safe for kids?
Wifi routers and devices send very low-power radio waves, typically about 0.1 watt. Radio waves are non-ionizing: they don't carry enough energy to damage DNA, unlike X-rays. The World Health Organization says no harmful health effects from long-term, low-level exposure have been confirmed, and research continues.
How do I stop neighbours using my wifi?
Give your network a strong password and turn on encryption in the router settings: WPA3, or WPA2 if WPA3 isn't available. Encryption scrambles what's sent over the air, so people nearby can't use your network or read your traffic.
Sources
- Encyclopaedia Britannica, Wi-Fi
- OpenStax University Physics Vol. 2, 16.5 The Electromagnetic Spectrum
- UK Health Security Agency, Wi-Fi radio waves and health
- FCC, Home Network Tips
- Encyclopaedia Britannica, Modulation
- NASA Science, Anatomy of an Electromagnetic Wave
- NASA Science, Radio Waves
- NASA Science, Microwaves
- U.S. FDA, Microwave Ovens
- National Cancer Institute, Cell Phones and Cancer Risk
- IEEE Standards Association, The Evolution of Wi-Fi Technology and Standards
- Wi-Fi Alliance, Discover Wi-Fi
- CSIRO, Bringing fast wireless connectivity to the world
- CISA, Securing Wireless Networks
- FTC, How To Secure Your Home Wi-Fi Network
- HyperPhysics (Georgia State University), Inverse Square Law
- CWNP, Interference from Non-WiFi Sources
- FCC, Unlicensed Use of the 6 GHz Band (FCC-20-51)
- FCC, Getting Broadband Q&A
- Encyclopaedia Britannica, Local area network
- NIST, Electromagnetic Signal Attenuation in Construction Materials
- Wikipedia, Carrier-sense multiple access with collision avoidance
- World Health Organization, Radiation: Electromagnetic fields (Q&A)
- FCC, RF Safety FAQ
- Wi-Fi Alliance, Security (WPA3)
- FCC, Wireless Devices and Health Concerns