Ages

Now you know how wifi works!

What next?

Try it yourself ↓

How does wifi work?

▶ 4:47 video · Watch on YouTube

  1. 0:00 Start
  2. 0:34 Wifi is radio
  3. 1:26 Riding the wave
  4. 2:08 The router's job
  5. 2:49 Walls, water and microwaves
  6. 3:41 Taking turns

Your turn

Play with the waves

Play with the invisible waves!

Try it yourself: each lab is one step from the video. Switch bands, spell bits in a wave, send a request, drag a phone around the house and crowd the network.

Each lab isolates one idea. The wall, water and metal losses and the signal bars are a simplified model, not measured values.

Tap the buttons and drag the phone.

1

Wifi is radio

Long waves, short waves

Switch between 2.4, 5 and 6 GHz. What happens to the length of each wave?

Compare the three bands. How does wavelength scale with frequency?

Tap the buttons. Which waves are long, and which are short?

Wave speed is slowed way down so you can see it.

2

Riding the wave

Tap the bits, then pick a trick. Can you see your bits in the wave?

Compare on/off keying, phase flips and the height-plus-flip mix. How many bits does each change carry?

A simplified picture: real wifi QAM uses many more levels.

3

The router's job

The wifi box

Send a request and follow it there and back. Which parts are radio, and which are cable?

Trace one request. Which hop is wireless, and which runs over broadband?

Tap send and watch the message go and come back.

4

Walls, water and microwaves

Where is the wifi strong?

Drag the phone around the house. Switch bands, turn on the microwave and show the signal map. Where is it weakest?

Map the house on 2.4 and 5 GHz, with and without the microwave. Which obstacle costs the most?

Drag the phone. Where does the wifi get weak?

A simple model: real losses depend on the material, its thickness and the angle.

5

Taking turns

Taking turns

Add gadgets and watch the air timeline. What happens to each gadget’s share?

Add devices. How do carrier sense and random back-off share the channel, and what do collisions cost?

Add more gadgets. Do they take turns?

How does wifi work?

A boy is upstairs, watching a video on a tablet. The wifi box is downstairs. There is no wire between them. So how does the video get there?

Invisible waves

Wifi is a kind of radio. It sends invisible waves through the air. They zoom as fast as light, and they wiggle super fast.

The wifi box

The wifi box is called a router. It catches the waves and reads the message. Then it sends the message down a wire, out of the house, to the internet. The answer comes back the same way.

Walls and floors

The waves spread out like ripples in a pond. Far away, they get weak. Walls, floors and water make them weaker too. Metal bounces them away. A running microwave oven can drown out wifi on the 2.4 GHz band.

Taking turns

Lots of gadgets share one wifi box. So they take turns: wait, listen, then go!

Did you know? A microwave oven uses almost the same frequency as 2.4 GHz wifi. That's why that wifi can get slow while the popcorn pops!

How does the internet work? · How does Bluetooth work? · How does a VPN work? · ← More explainers

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?

  1. Your device makes bits. Every picture, message and sound is stored as zeros and ones.2
  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
  3. The antenna sends the wave. It spreads out through the room at the speed of light.7
  4. The router catches it. Its antennas pick up the faint wave and its chip turns the pattern back into bits.2
  5. A cable carries it to the internet. The router is connected by cable (or another broadband link) to your internet provider.219
  6. 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.

BandWaves per secondWave length (roughly)Good at
2.4 GHz2.4 billion12 cmReaching farther, getting through walls
5 GHz5 billion6 cmFaster speeds, less crowded
6 GHzabout 6–7 billion18about 5 cmNewest band (Wi-Fi 6E and 7), short range

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

NameStandardTop data rate in the standard (theoretical)
The original (1997)802.112 megabits per second
Wi-Fi 6802.11ax9.6 gigabits per second, shared between devices
Wi-Fi 7802.11beabout 40 gigabits per second

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.

Did this help it click?

Sources

  1. Encyclopaedia Britannica, Wi-Fi
  2. OpenStax University Physics Vol. 2, 16.5 The Electromagnetic Spectrum
  3. UK Health Security Agency, Wi-Fi radio waves and health
  4. FCC, Home Network Tips
  5. Encyclopaedia Britannica, Modulation
  6. NASA Science, Anatomy of an Electromagnetic Wave
  7. NASA Science, Radio Waves
  8. NASA Science, Microwaves
  9. U.S. FDA, Microwave Ovens
  10. National Cancer Institute, Cell Phones and Cancer Risk
  11. IEEE Standards Association, The Evolution of Wi-Fi Technology and Standards
  12. Wi-Fi Alliance, Discover Wi-Fi
  13. CSIRO, Bringing fast wireless connectivity to the world
  14. CISA, Securing Wireless Networks
  15. FTC, How To Secure Your Home Wi-Fi Network
  16. HyperPhysics (Georgia State University), Inverse Square Law
  17. CWNP, Interference from Non-WiFi Sources
  18. FCC, Unlicensed Use of the 6 GHz Band (FCC-20-51)
  19. FCC, Getting Broadband Q&A
  20. Encyclopaedia Britannica, Local area network
  21. NIST, Electromagnetic Signal Attenuation in Construction Materials
  22. Wikipedia, Carrier-sense multiple access with collision avoidance
  23. World Health Organization, Radiation: Electromagnetic fields (Q&A)
  24. FCC, RF Safety FAQ
  25. Wi-Fi Alliance, Security (WPA3)
  26. FCC, Wireless Devices and Health Concerns