How Wi-Fi and 5G Actually Work

Photo: Joel Santos / Pexels
The air around you right now is a seething mess of radio waves. Your home Wi-Fi, your neighbor's Wi-Fi, Bluetooth devices, microwave ovens, cordless phones, baby monitors, car key fobs, and TV broadcasts are all competing for space in the electromagnetic spectrum. The fact that your phone can decode Netflix at 4K from this chaos is a triumph of signal processing engineering that took decades to develop.
Key takeaways
- Wi-Fi and 5G both modulate radio waves to encode binary data — they differ in frequency bands, range, power levels, and the sophistication of their modulation schemes.
- OFDM (Orthogonal Frequency-Division Multiplexing) splits data across hundreds of subcarriers simultaneously, dramatically improving spectral efficiency and resilience to interference.
- Massive MIMO uses dozens or hundreds of antennas to steer multiple independent data streams through space simultaneously — increasing capacity without using more spectrum.
- 5G's millimeter-wave spectrum offers gigabit speeds but poor penetration; sub-6 GHz 5G offers broader coverage but more modest speed gains over 4G.
Radio fundamentals: encoding information in waves
All wireless communication works by modulating a radio carrier wave — varying some property of the wave to encode information. Early radio modulated amplitude (AM) or frequency (FM). Modern digital wireless systems modulate both amplitude and phase simultaneously, encoding multiple bits per symbol.
The measure of spectral efficiency is bits per second per hertz (bps/Hz). Early cellular systems managed about 1 bps/Hz. Modern 5G targets up to 30 bps/Hz through advanced modulation (1024-QAM — encoding 10 bits per symbol) and sophisticated antenna techniques.
The fundamental limit is Shannon's theorem (1948), which defines the maximum information rate for a given bandwidth and signal-to-noise ratio. Engineers have spent 75 years developing technologies to approach this theoretical limit in real-world conditions.
Wi-Fi: the standard that conquered homes
Wi-Fi is the trade name for IEEE 802.11 — a family of wireless standards developed by the IEEE (Institute of Electrical and Electronics Engineers). The first consumer Wi-Fi standard (802.11b, 1999) offered 11 Mbps. Today's Wi-Fi 7 (802.11be, 2024) reaches theoretical speeds of 46 Gbps.
The technology behind this improvement is remarkable:
OFDM (Orthogonal Frequency-Division Multiplexing): Instead of transmitting one wide signal, OFDM splits the channel into hundreds of narrow, parallel subcarriers — Wi-Fi 6 uses 256 subcarriers in a 20 MHz channel. Each subcarrier carries a small piece of the data stream, allowing error correction per subcarrier and resilience to multipath interference (signals bouncing off walls and arriving at slightly different times affect only some subcarriers, not the whole transmission).
MIMO (Multiple-Input Multiple-Output): Multiple antennas transmit and receive simultaneously. Because reflections in a room create multiple independent signal paths, MIMO can use those paths to carry separate data streams — called spatial multiplexing. Wi-Fi 6 supports up to 8×8 MIMO (8 transmit, 8 receive antennas).
MU-MIMO (Multi-User MIMO): The access point can serve multiple devices simultaneously on the same channel by beamforming — using antenna phase differences to steer signals toward specific devices. Wi-Fi 6 supports 8 simultaneous MU-MIMO streams on 5 GHz.
OFDMA (Orthogonal Frequency-Division Multiple Access): Wi-Fi 6 introduced OFDMA, borrowed from 4G LTE, which allows one transmission to serve multiple devices by assigning different subcarrier groups (Resource Units) to different devices. This dramatically reduces latency in dense environments like stadiums and apartment buildings.
The spectrum wars: 2.4 GHz vs. 5 GHz vs. 6 GHz
Wi-Fi operates in the unlicensed spectrum — bands that don't require government licensing. This is both a feature (free to use) and a bug (everyone uses it, creating congestion).
2.4 GHz: Three non-overlapping channels in most countries (1, 6, 11). Long range because lower frequencies diffract around obstacles better. Congested because every Bluetooth device, microwave oven, and older router also uses this band.
5 GHz: Up to 25 non-overlapping channels. Faster speeds, less congestion, but shorter range due to worse penetration through walls.
6 GHz: Wi-Fi 6E and Wi-Fi 7 added access to the 6 GHz band — up to 1,200 MHz of spectrum versus 70 MHz in the 2.4 GHz band. This is the biggest expansion of unlicensed spectrum since Wi-Fi was invented, providing many wide (160 MHz) channels with almost no congestion.
5G: the cellular leap
5G (Fifth Generation) is the cellular network standard following 4G LTE. The standards body, 3GPP, finalized the first 5G specifications (Release 15) in 2018. Unlike Wi-Fi, cellular spectrum is licensed — operators pay billions of dollars for exclusive rights to specific frequency ranges.
5G operates across three spectrum bands with very different characteristics:
Sub-1 GHz (low band): Excellent coverage and building penetration. Used for rural and nationwide 5G coverage. Speeds similar to or only modestly faster than 4G LTE — typically 50–250 Mbps. T-Mobile's 600 MHz 5G network covers 99% of the U.S. but delivers relatively modest throughput.
1–6 GHz (mid band / sub-6 GHz): The sweet spot. C-band (3.7–3.98 GHz in the U.S.) delivers 300–800 Mbps with reasonable coverage radius. This is where most of the world's significant 5G performance improvement is happening.
Above 24 GHz (millimeter wave / mmWave): Frequencies from 24–100 GHz offer massive bandwidth — gigabit-plus speeds — but with the range of maybe 300 meters and almost no building penetration. Useful for dense urban environments, sports venues, and industrial applications. Verizon's mmWave home internet service requires a fixed antenna aimed at a nearby small cell.
Massive MIMO: more antennas, more capacity
The defining technology of 5G base stations is massive MIMO — antenna arrays with 64, 128, or even more antenna elements working together. Traditional 4G base stations had 2–4 antennas; 5G base stations have panels with 192 antenna elements.
With this many antennas, the base station can use beamforming to create narrow, steerable beams that follow individual devices. Rather than broadcasting in all directions (wasting power and spectrum), the base station focuses its energy precisely where each device is.
More importantly, massive MIMO can create dozens of simultaneous independent beams — each serving a different device with a different data stream on the same time-frequency resource. This is called MU-MIMO at massive scale, and it's why 5G can serve far more devices simultaneously than 4G in dense environments.
Network slicing and the 5G promise
5G introduced a software-defined networking concept called network slicing — the ability to carve the physical network into multiple virtual networks, each with different performance characteristics. An operator could give one slice ultra-low latency for autonomous vehicle control, another high bandwidth for video streaming, and another low cost, low power for IoT sensors — all on the same physical infrastructure.
Combined with edge computing (bringing compute power closer to users), this makes 5G a platform for applications beyond smartphones: factory automation, telesurgery (with <1 ms latency), and smart city infrastructure.
Source: 3GPP (2020) — Release 15 and Release 16 specifications define 5G network architecture, network slicing capabilities, and edge computing integration.
Modulation Schemes: From Binary to Complex Symbols
The sophistication of modern wireless lies not just in antennas and antenna arrays, but in how information is encoded onto the carrier wave. This process, called modulation, has evolved dramatically over fifty years.
Amplitude Shift Keying (ASK) was the earliest approach: varying the signal's strength encodes 0s and 1s. This is simple but vulnerable to amplitude fading and interference.
Phase Shift Keying (PSK) modulates only phase (the timing of the wave cycle), which is more resilient. QPSK (Quadrature PSK) encodes 2 bits per symbol by using four distinct phase angles.
Quadrature Amplitude Modulation (QAM) combines amplitude and phase modulation. 16-QAM encodes 4 bits per symbol; 64-QAM encodes 6 bits; 1024-QAM (used in advanced 5G) encodes 10 bits. The higher the modulation order, the more spectral efficiency — but the more vulnerable to noise and fading. Engineers select modulation order dynamically: in a strong signal, the receiver uses 1024-QAM; when the signal weakens, it drops to 256-QAM or lower for reliability.
This dynamic adaptation is called Adaptive Modulation and Coding (AMC). The receiver measures signal quality and feeds back a recommendation to the transmitter, which adjusts its modulation order in real time. This is one reason why wireless speeds fluctuate so dramatically with signal strength and environment.
Shannon's Theorem and the Capacity Limit: Claude Shannon proved in 1948 that the maximum information rate (channel capacity) is C = B log₂(1 + S/N), where B is bandwidth, S is signal power, and N is noise power. This formula defines the theoretical limit. A 20 MHz Wi-Fi channel with a 30 dB signal-to-noise ratio has a maximum capacity of about 200 Mbps. Modern systems approach 60–70% of this theoretical limit through sophisticated error correction, multiple antennas, and adaptive modulation.
Source: Shannon, C.E. (1948), A Mathematical Theory of Communication — Bell System Technical Journal; foundational to all modern digital communication theory.
Real-World Performance: Why Speeds Don't Match Marketing Claims
Test reports often show headline speeds that real-world usage never approaches. Several factors account for this.
Path loss and fading: Radio signals weaken with distance following the inverse-square law. At 10 meters from an access point, signal strength might be 5 dBm; at 50 meters, it drops to −20 dBm. Lower signal strength forces lower modulation orders, cutting throughput.
Multipath fading: In indoor environments, signals reflect off walls, metal objects, and humans. These delayed reflections interfere with the direct path, causing the signal to fade in and out rapidly — especially problematic for directional millimeter-wave systems.
SINR (Signal-to-Interference-plus-Noise Ratio): Wi-Fi and 5G capacity depends not just on the signal from your access point or base station, but also on interference from neighboring networks. In a dense apartment building with 10 Wi-Fi networks in 2.4 GHz, the interference floor rises dramatically, reducing effective capacity.
Protocol overhead: Not all transmitted bits are data. Wi-Fi and 5G payloads include headers, error correction codes, and acknowledgments. Depending on packet size and protocol version, overhead consumes 10–30% of the channel capacity.
Device limitations: Modern smartphones may support Wi-Fi 6 or 5G theoretically, but only a few have all 8 MIMO antennas. A phone with 2 antennas gets only 1/4 of the peak throughput of a device with 8 antennas.
A real-world test illustrates this: a Wi-Fi 6 router advertises "1.2 Gbps." In optimal conditions (close range, 80 MHz channel, 8×8 MIMO, low interference, high modulation order), peak throughput might reach 600 Mbps. But an average user at 20 meters with a 2×2 antenna phone in a congested environment sees 100–200 Mbps. Both figures are correct; the gap is simply the gap between peak and real-world performance.
Regulatory Constraints and Spectrum Allocation
Wireless networks operate under strict regulatory frameworks. The FCC (United States), ETSI (Europe), and ITU (International) coordinate spectrum allocation globally.
Licensed vs. Unlicensed: Cellular carriers pay billions for exclusive use of spectrum (licensed). Wi-Fi and Bluetooth operate in unlicensed bands open to anyone. This creates fundamentally different constraints: cellular can be optimized for a single operator, while Wi-Fi must coexist with competitors using the same spectrum.
Power limits: Transmitter power is capped to minimize interference. Wi-Fi in the U.S. is limited to 30 dBm (1 watt) by FCC rules. Cellular base stations transmit at much higher power (20–40 watts) because they cover larger areas.
Channel bandwidth: Licensed spectrum is assigned in contiguous blocks. The FCC allocated C-band 5G spectrum in 3.7–3.98 GHz to carriers, who can bond multiple 10, 20, or 40 MHz channels to form wider channels (80 or 160 MHz). Unlicensed spectrum (2.4, 5, 6 GHz) is also subdivided into channels, but these are standardized globally (e.g., 13 channels in 2.4 GHz, with overlap requirements limiting non-interfering combinations to just 3 in most regions).
The 6 GHz expansion for Wi-Fi (wi-Fi 6E, 2021 FCC approval) was historic: it more than doubled available unlicensed spectrum, offering the widest channels ever available to Wi-Fi (160 MHz, versus 40 MHz maximum in 5 GHz). However, it required new device certification and coexistence studies to avoid interfering with satellite receivers and other systems.
Technology Comparison: Wi-Fi Standards Over Time
| Standard | Year | Max Channel | Peak Speed | Antennas (MIMO) | Key Innovation |
|---|---|---|---|---|---|
| 802.11b | 1999 | 22 MHz | 11 Mbps | 1×1 | First consumer Wi-Fi |
| 802.11g | 2003 | 20 MHz | 54 Mbps | 1×1 | Higher frequency (5 GHz) |
| 802.11n | 2009 | 40 MHz | 600 Mbps | 4×4 | MIMO introduction |
| 802.11ac | 2013 | 80 MHz | 3.5 Gbps | 8×8 | 5 GHz focus; wider channels |
| 802.11ax (Wi-Fi 6) | 2021 | 160 MHz | 9.6 Gbps | 8×8 | OFDMA; 6 GHz support |
| 802.11be (Wi-Fi 7) | 2024 | 320 MHz | 46 Gbps | 16×16 | Multi-link operation; 4K-QAM |
Evolution of Wi-Fi from 1999 to 2026 shows the exponential improvement in throughput through wider channels, more antennas, and denser modulation schemes.
Interference, Coexistence, and the Congestion Problem
Wi-Fi's greatest strength — unlicensed spectrum, free to use — is also its Achilles' heel. The 2.4 GHz band is famously congested. Microwave ovens operate at 2.45 GHz and, despite shielding, leak radiation that degrades Wi-Fi performance. Baby monitors, cordless phones, Bluetooth devices, and neighboring Wi-Fi networks all share the same 80 MHz of spectrum.
The 5 GHz band offers some relief with 500 MHz of spectrum and up to 25 non-overlapping channels, but 5 GHz penetrates walls poorly and is subject to weather fading (rain attenuates 5 GHz more than 2.4 GHz).
Dynamic Frequency Selection (DFS) is a technique where Wi-Fi access points and devices listen before transmitting — if they detect a radar signal (used by airport and weather systems), they automatically switch to a different channel. This coexistence principle, mandated in many countries, allows Wi-Fi to share spectrum with higher-priority users.
The 6 GHz expansion alleviates congestion but at a cost: the regulatory framework is more restrictive. In the U.S., Wi-Fi 6E in 6 GHz must use Automated Frequency Coordination (AFC) — devices query a cloud database to learn which channels are available at their specific location, avoiding interference with satellite systems that also use 6 GHz.
The Future: 6G and Beyond
While 5G is still rolling out, research labs are already exploring 6G — likely to arrive in 2030–2032. Preliminary concepts suggest:
Terahertz (THz) frequencies (100–300 GHz): Vastly higher bandwidth, but extremely short range and high path loss. Useful mainly for very-short-distance applications (a few meters) or point-to-point links.
Reconfigurable intelligent surfaces (RIS): Arrays of millions of tiny programmable reflectors that can steer and manipulate electromagnetic waves. RIS could extend coverage and reduce path loss in cluttered environments.
Machine learning-based optimization: Instead of fixed protocols, 6G systems could use AI to dynamically optimize modulation, antenna patterns, power allocation, and spectrum access based on real-time interference and fading conditions.
Holographic communication: Research projects are exploring VR/AR integration directly into the network, with microsecond-scale latency and gigabit-plus throughput.
These are early concepts. 6G standards will likely not be finalized until 2027–2028 and won't see commercial deployment for 5+ years after that. But the trajectory is clear: wireless engineers will continue exploiting higher frequencies, more sophisticated antenna techniques, and smarter signal processing to approach Shannon's theoretical limits ever more closely.
Source: ITU-R (2022) — IMT-2030 vision document outlining research directions for 6G and beyond.
The Takeaway
Wi-Fi and 5G represent the culmination of 75 years of advances in modulation theory, antenna engineering, signal processing, and regulatory coordination. The invisible radio waves saturating the air around you encode data through sophisticated techniques like OFDM, beamforming, and adaptive modulation — techniques that approach Shannon's theoretical limits within the constraints of real-world multipath environments, interference, and power budgets. The gap between advertised speeds and real-world throughput is not a lie or deception; it is the inevitable result of optimizing for ideal conditions in marketing, while real performance depends on distance, interference, modulation order, and protocol overhead. As frequencies climb and bandwidths widen, future wireless systems will reach terabit-per-second speeds, but they will also face new challenges: millimeter-wave attenuation, beamforming complexity, and the ever-present need to avoid interference with other users of the spectrum.
Frequently Asked Questions
Q: What's the difference between 5G and Wi-Fi 6? Can I use either?
A: Both offer similar peak speeds in good conditions. Wi-Fi 6 is for local networks (inside your home or building) using unlicensed spectrum; 5G is a wide-area cellular network using licensed spectrum. Increasingly, phones automatically hand off between 5G and Wi-Fi based on signal strength and traffic conditions.
Q: Why is 5G slower than advertised in real-world use?
A: Advertised speeds are peak rates under ideal conditions — close to a base station, no network congestion, full signal. Real-world speeds depend on your distance from a tower, how many people share it, which spectrum band is being used, and whether you have line of sight to a small cell (for mmWave 5G).
Q: Why does Wi-Fi slow down when more devices connect?
A: Wi-Fi is a shared medium — all devices share the same spectrum. More active devices mean more contention for channel access. Wi-Fi 6's OFDMA helps by serving multiple devices in the same transmission slot, but throughput per device still decreases under heavy load as the total channel capacity remains fixed.
Q: Do 5G millimeter waves cause health problems?
A: No credible scientific evidence supports this. mmWave frequencies (24–100 GHz) are non-ionizing radiation — they don't carry enough energy per photon to break chemical bonds or damage DNA. The main biological effect at high intensities is surface heating (used therapeutically in physical therapy). 5G base stations operate far below the power levels that would cause any thermal effect.
Q: What's Wi-Fi 7's biggest improvement over Wi-Fi 6?
A: Wi-Fi 7 (802.11be) introduces 320 MHz channels (double Wi-Fi 6's maximum), 4096-QAM (12 bits per symbol vs. 10), and Multi-Link Operation (MLO) — allowing devices to simultaneously transmit on 2.4, 5, and 6 GHz bands, bonding them for higher throughput and lower latency. Theoretical peak is 46 Gbps; real-world gains are most noticeable in dense, congested environments.
Q: How do I maximize my Wi-Fi 6 or 5G speed at home?
A: Position your router or 5G gateway in a central, elevated location away from metal objects and microwave ovens. Use the 5 GHz or 6 GHz band if your device supports it (shorter range but less congestion). Switch to Wi-Fi 7 capable devices when available, reduce the number of simultaneously connected devices, and avoid overlap with neighboring networks by using a Wi-Fi scanner to choose the least congested channel.
Read next:
- How Does the Internet Actually Work
- How Fiber Optic Cables Transmit Data
- How Satellites Orbit Earth Explained
What's the difference between 5G and Wi-Fi 6? Can I use either? Both offer similar peak speeds in good conditions. Wi-Fi 6 is for local networks (inside your home or building) using unlicensed spectrum; 5G is a wide-area cellular network using licensed spectrum. Increasingly, phones automatically hand off between 5G and Wi-Fi based on signal strength and traffic.
Why is 5G slower than advertised in real-world use? Advertised speeds are peak rates under ideal conditions — close to a base station, no network congestion, full signal. Real-world speeds depend on your distance from a tower, how many people share it, which spectrum band is being used, and whether you have line of sight to a small cell (for mmWave).
Why does Wi-Fi slow down when more devices connect? Wi-Fi is a shared medium — all devices share the same spectrum. More active devices mean more contention for channel access. Wi-Fi 6's OFDMA helps by serving multiple devices in the same transmission slot, but throughput per device still decreases under heavy load.
Do 5G millimeter waves cause health problems? No credible scientific evidence supports this. mmWave frequencies (24–100 GHz) are non-ionizing radiation — they don't carry enough energy per photon to break chemical bonds or damage DNA. The main biological effect at high intensities is surface heating (used therapeutically in physical therapy). 5G base stations operate far below the power levels that would cause any thermal effect.
What's Wi-Fi 7's biggest improvement over Wi-Fi 6? Wi-Fi 7 (802.11be) introduces 320 MHz channels (double Wi-Fi 6's maximum), 4096-QAM (12 bits per symbol vs. 10), and Multi-Link Operation (MLO) — allowing devices to simultaneously transmit on 2.4, 5, and 6 GHz bands, bonding them for higher throughput and lower latency. Theoretical peak is 46 Gbps; real-world gains are most noticeable in dense, congested environments.
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles

How AI Designs Chips: Hardware-Aware Neural Architecture Search
AI now helps design the chips that run AI. Reinforcement-learning floorplanning, neural architecture search, and co-design are changing semiconductor R&D, and parts of the evidence are disputed.
Semiconductor Chips: How They Work
A modern processor packs tens of billions of transistors onto a sliver of silicon. Here is how doped silicon becomes switches, switches become logic, and logic becomes a computer.

How Bluetooth Works — Wireless Tech Explained
How Bluetooth works — from frequency hopping and BLE to pairing, profiles, security, and comparisons with WiFi, Zigbee, and Thread.

How Fiber Optic Cables Transmit Data
A strand of glass thinner than a human hair can carry more information than all the copper wires ever made. Here's the physics behind it.

How the Internet Actually Works
Undersea cables, packets, IP addresses, routers, DNS and encryption: the engineering that moves every click from your device to a server and back in a fraction of a second.

What Is 5G — and How Is It Really Different from 4G?
5G is faster, lower-latency, and more efficient than 4G. It also enables connected cars, remote surgery, and smart factories. Here's how it actually works and what's hype.