How to Calculate WiFi Speed: Formulas, Standards, and Tests

A modern user rarely thinks about the physics of the processes occurring in the air as long as the internet is stable. However, the situation changes dramatically when a video conference is interrupted and games start to lag. At this point, a natural question arises: why the stated 1200 Mbps Does the speed listed on the router box translate into a measly 40-50 Mbps on your smartphone? Understanding how to calculate WiFi speed is essential not only for engineers but also for every smart home owner to make the right choice of equipment.

Many people confuse the theoretical maximum of a communication standard with the actual channel throughput. These are two fundamentally different metrics, the difference between which can be threefold or even fourfold. In this article, we'll examine the mathematical foundations of wireless networks, the impact of channel width and modulation, and learn to distinguish marketing hype from physical reality.

⚠️ Attention: Wireless connection speed is dynamic. It depends on the distance to the access point, the number of walls, the presence of neighboring networks, and even the presence of a microwave oven. The calculated theoretical maximum is based on ideal conditions in an anechoic chamber, not in your apartment.

Basic Concepts: Theoretical Maximum vs. Reality

The first thing you need to understand for accurate calculations is the difference between the physical radio speed and the payload. When the manufacturer writes on the box TP-Link Archer AX50 or Asus RT-AX88U The AC1200 or AX3000 value combines the bandwidth of all bands and antennas. The actual speed you'll get on a single device in a single band will be significantly lower.

The key factor in losses is protocol overhead. WiFi uses frames, headers, delivery acknowledgements (ACKs), and guard intervals. Efficiency of using ether In 802.11 networks, the speed rarely exceeds 50-60% of the theoretical link speed. This means that even with a perfect signal, you physically won't be able to squeeze 100% of the nominal speed out of the channel.

Why is the speed always lower than stated?

Wireless networks use half-duplex operation. A device cannot simultaneously transmit and receive data on the same frequency. Furthermore, a significant portion of the airtime is occupied by service packets that prevent collisions when multiple devices attempt to communicate simultaneously.

There is also a concept Overhead (overhead), which consumes up to 40% of the bandwidth. This includes service packet headers, time intervals between transmissions, and encryption mechanisms. The higher the connection speed, the smaller the percentage impact of some fixed delays, but the overall picture remains the same: the actual speed is always lower than the physical speed.

WiFi Math: Formulas and Unit Conversions

To independently calculate potential speed, it's necessary to understand the basic formula, which depends on modulation parameters. Data transfer rate is determined by the number of subcarriers, bits per symbol (depending on the modulation type), coding rate, and symbol duration. However, for the consumer, it's more important to be able to correctly convert units of measurement, as this is where confusion often arises.

ISPs and routers measure speed in bits (Mbps), while operating systems and torrent clients measure speed in bytes (MBps). One byte contains 8 bits. This is a fundamental rule; ignoring it can lead to false conclusions about hardware malfunction. If your plan is 100 Mbps, you'll see approximately 12.5 MBps in the downloader.

Let's look at an example of calculation for the standard 802.11ac (WiFi 5). Let's say we have one antenna, an 80 MHz channel width, and 256-QAM modulation. The theoretical speed of one spatial stream is 433 Mbps. If the router has two antennas (2x2 MIMO), we multiply this value by 2, getting 867 Mbps. But this is only the physical layer speed (PHY rate).

To obtain the actual throughput speed, the resulting link value must be multiplied by the efficiency factor. For WiFi 5 and WiFi 6, this factor is approximately 0.5–0.6 under good conditions. Therefore, an 867 Mbps link will actually yield between 430 and 520 Mbps of useful traffic under ideal close-proximity conditions.

The Impact of Standards and Channel Width on Throughput

The basis for the calculation is an understanding of the evolution of communication standards. Each new protocol brings improvements in the efficiency of spectrum use. 802.11n (WiFi 4) brought MIMO and 40 MHz channels. 802.11ac (WiFi 5) expanded channels to 80 and 160 MHz and introduced 256-QAM. Modern 802.11ax (WiFi 6) added 1024-QAM and OFDMA, allowing it to more efficiently serve multiple devices simultaneously.

Channel width is the simplest way to increase speed, but it has a downside. Increasing the channel width from 20 to 40 MHz doubles the speed, but also doubles the noise level and the likelihood of interference with neighbors. In apartment buildings, using 160 MHz is often counterproductive, as the spectrum becomes completely clogged with interference.

⚠️ Attention: Using a 160 MHz channel width in the 2.4 GHz band is impossible and prohibited by standards. In the 5 GHz band, this only works if your client (smartphone or laptop) supports this bandwidth. Many low-end devices are limited to 80 MHz.

The modulation type also plays a critical role. Switching from 64-QAM to 256-QAM increases the number of bits per symbol by 33%. However, higher modulation orders require a very high signal strength (SNR). If you move away from the router, the device will automatically switch to a more stable but slower modulation, and the speed will drop.

πŸ“Š What WiFi standard does your primary smartphone support?
802.11n (WiFi 4)
802.11ac (WiFi 5)
802.11ax (WiFi 6)
802.11be (WiFi 7)
Don't know

Comparison table of speeds of different WiFi standards

For clarity, we've summarized the main parameters of popular standards in a single table. This will help you understand the maximum link speed you can expect from your equipment when using a single antenna (1x1) and a standard configuration.

Standard Range Channel width Max. speed (1 antenna) Actual speed (approximately)
802.11n 2.4 / 5 GHz 20/40 MHz 72 / 150 Mbps 40/90 Mbps
802.11ac 5 GHz 80 MHz 433 Mbps 250-300 Mbps
802.11ac 5 GHz 160 MHz 867 Mbps 500-600 Mbps
802.11ax 5 GHz 80 MHz 600 Mbps 400-450 Mbps
802.11ax 5 GHz 160 MHz 1201 Mbps 800-900 Mbps

The table shows that even older standards can provide comfortable performance when it comes to watching 4K video, which requires only 25 Mbps. Problems arise when transferring large files over a local network or working with heavy cloud projects. In such cases, every megabit counts, and switching to WiFi 6 with its effectiveness it becomes justified.

It's worth noting that the data in the table is valid for a single spatial stream. Flagship routers can have 4 or 8 antennas, yielding enormous totals, but your smartphone likely only has 2 antennas. Therefore, you should look at the speed for a 2x2 MIMO configuration, multiplying the values ​​in the table by 2.

Environmental factors: why calculations diverge from practice

Mathematics produces perfect results, but radio waves propagate in the real world, which is full of obstacles. The main enemy of WiFi is signal attenuation. Walls, especially load-bearing ones with reinforcement, mirrors, and aquariums can absorb up to 90% of the signal power. Speed ​​calculations should always include a safety factor for attenuation.

The second factor is interference. In an apartment building, the airwaves are clogged with dozens of networks. Routers are forced to wait for a channel to clear before transmitting a packet. This latency (contention) is directly subtracted from the usable throughput. The more neighbors you have, the lower your actual throughput will be, even if the signal strength is excellent.

β˜‘οΈ Checking environmental factors

Completed: 0 / 4

The client device's transmitter power also shouldn't be discounted. A router can be "shouting" at full power, but a smartphone's antenna physically can't "shout" a return signal through three concrete walls. As a result, the link will either fail to establish or will operate at a minimal speed in the 2.4 GHz band.

Practical methods of measurement and diagnostics

To check actual performance, looking at the tray icon isn't enough. You need specialized tools. Built-in OS tools often show link speed, but not the actual load. For accurate diagnostics, local network speed tests (iPerf3) or high-quality online services are best.

When taking measurements, it's important to eliminate the influence of other devices. Disable downloads on your TV, phone, and tablet. Test in close proximity to the router (1-2 meters without obstacles) to obtain a reference value, and then move away, recording any speed drops. This will help you build a coverage map of your apartment.

⚠️ Attention: Online speed tests (Speedtest, Fast) depend on the server load and your internet connection. To test your WiFi router's capabilities, use file transfer over a local network (SMB) or a utility. iperf3, which tests channel bandwidth without provider restrictions.

It's worth analyzing not only the peak speed but also the stability of the ping (jitter). High speeds with large latency fluctuations are unsuitable for VoIP and online gaming. If the estimated speed is high but the ping fluctuates, the problem may not be with the channel bandwidth, but with overloaded router processors or interference.

Optimization: How to Get Closer to the Theoretical Maximum

Once you've calculated the potential speed and measured the actual speed, you can begin optimization. The first step should always be choosing the right band. For high-speed tasks, use only the 5 GHz band. Save the 2.4 GHz band for smart bulbs and older gadgets, as its actual speed rarely exceeds 40-50 Mbps due to narrow channels and noise.

The second step is to adjust the channel width. In the 5 GHz band, try setting it to 80 MHz. If the speed is satisfactory and stable, great. If you experience drops, reduce it to 40 MHz. Automatic channel selection often doesn't work correctly; it's better to manually select the least congested channel using a WiFi analyzer.

Don't forget to update your router firmware. Manufacturers are constantly improving their radio algorithms in new software versions. Also, check if Beamforming is enabled. It directs the signal toward the client, improving SNR and, as a result, allowing for faster modulation.

Is it worth buying a WiFi 6 router if you have a 100 Mbps plan?

Yes, it is. WiFi 6 not only delivers higher peak speeds, but also better performance with multiple devices simultaneously, lower latency, and better energy savings for clients. It's an investment in network stability, not just numbers.

Why does WiFi speed drop in the evening?

In the evening, when all the neighbors come home and turn on the internet, the noise level in the air increases sharply. Your router has to wait more often for a clear channel and reduce its modulation to combat the interference, which leads to a drop in speed.

Does the number of connected devices affect the speed of one client?

Yes, directly. WiFi is a shared medium. Transmission time is divided among all active clients. The more devices actively downloading data, the less airtime your device gets.

Can an old laptop slow down your entire WiFi?

If an older laptop uses the 802.11b/g standard (2.4 GHz only and offers low speeds), it wastes airtime with long packets. Modern routers have protection mechanisms (Airtime Fairness), but in cheaper models, legacy clients can reduce overall network efficiency.

How does 160 MHz channel width affect stability?

The 160 MHz channel occupies almost the entire available 5 GHz band. This provides maximum speed, but makes the network extremely susceptible to interference (radar, neighbors). In densely populated areas, it's often more cost-effective to use the stable 80 MHz band.

Should I shield my router to improve the signal?

No, shielding (such as with foil) directs the signal but creates areas of complete blackout. It's better to position the router correctly in the center of the apartment or use a mesh system for uniform coverage.