How to correctly calculate the Wi-Fi antenna size

Wireless network gain is often limited by the physical limitations of the equipment, and a well-designed antenna system can dramatically improve coverage. Many users make the mistake of simply purchasing the most expensive device with the highest gain, without considering feeder line losses and real-world radio propagation conditions.

⚠️ Please note: Exceeding the maximum equivalent radiated power (EIRP) is a violation of Russian law and may result in fines from Roskomnadzor, so calculations must be accurate.

In this article, we'll explore the physical principles, mathematical formulas, and practical aspects that will help you design an efficient data transmission system. You'll learn how to balance range and beamwidth, and understand why a lower-gain antenna can sometimes perform better than a bulkier design.

Basic antenna parameters and process physics

First, it is necessary to understand the fundamental characteristics without which an accurate calculation is impossible. The main parameter is gain (Gain), which is measured in dBi and indicates how efficiently the antenna concentrates energy compared to an ideal isotropic radiator.

The higher this value, the narrower the signal beam becomes, allowing for greater range, but significantly narrowing the lateral coverage area. Another critical parameter is polarization electromagnetic wave, which must strictly coincide at the transmitting and receiving antennas, otherwise signal losses can reach critical values.

There is a direct relationship between the operating frequency and the physical dimensions of the antenna element. For the standard 2.4 GHz the length of a half-wave dipole will be approximately 6 centimeters, whereas for the range 5 GHz it will be halved.

Calculation of element lengths and frequency ranges

The basic element of most homemade and industrial antennas is a half-wave dipole, the length of which is calculated using the formula L = 150 / F, where F is the frequency in MHz and L is the length in meters. However, to obtain an accurate result, it is necessary to take into account the wavelength shortening factor of the specific conductor, which is typically 0.95 for copper tubes.

If you're planning to build a double-square or waveguide antenna, you'll need to calculate the distances between the director elements and the reflector. These distances are expressed as fractions of a wavelength and directly affect the input impedance and beamwidth.

Antenna type Frequency range Approximate gain Difficulty of manufacturing
Dipol Nadenenko 2.4 GHz 2-3 dBi Low
Wave channel 2.4 / 5 GHz 8-14 dBi Average
Parabolic 2.4 / 5 GHz 15-24 dBi High
Bicube (Double Square) 2.4 GHz 10-12 dBi Average
Why is millimeter accuracy important?

At frequencies above 2 GHz, the wavelength is only about 12 cm, so an error in element length of even 2-3 mm can shift the resonant frequency and drastically reduce efficiency.

Accounting for losses in the feeder line and connectors

One of the most common mistakes in system design is ignoring signal attenuation in the cable. Every meter of coaxial cable introduces losses, which increase exponentially with increasing frequency. Therefore, using long RG-58 cables for the 5 GHz band is strictly not recommended.

To get the true antenna gain, you need to subtract the cable losses, connector losses, and matching losses from the antenna gain. To minimize these losses, use low-attenuation cables, such as RG-213 or specialized low-voltage cables such as LMR-400.

☑️ Checking the feeder system

Completed: 0 / 4

If the cable length exceeds 3-5 meters, losses can "eat up" all the gains from using a powerful antenna, turning the upgrade into a waste of resources. In such cases, it's better to move the access point closer to the antenna or use active amplifiers, although the latter require careful tuning to avoid self-oscillation.

Calculating the Fresnel zone for line of sight

To ensure a stable connection over long distances, simply pointing antennas at each other is not enough; a clear ellipsoidal zone around the line of sight is required. This zone, known as the Fresnel zone, must be at least 60% clear of obstacles, otherwise reflections and signal interference will occur.

The radius of the first Fresnel zone depends on the distance between the points and the operating frequency, and can be calculated using the formula R = 17.3 sqrt(D / (4 F), where D is the distance in km and F is the frequency in GHz. Trees, buildings, and even dense foliage can significantly weaken the signal if they intrude into this invisible pipe.

📊 What most often interferes with your signal?
Trees and foliage
Concrete walls
Neighbors' routers
Metal structures
Other

When planning a link through a forest or urban area, always consider raising the antennas above the obstacles. Ignoring this parameter can result in the signal strength indicator showing good signal strength, but the actual data transfer rate remaining low due to constant packet re-reception.

Link budget and equivalent power

The final design stage is the calculation of the radio link budget, which takes into account transmitter power, antenna gain, cable losses, and receiver sensitivity. The key parameter here is EIRP (Effective Isotropic Radiated Power) is the equivalent radiated power, which must not exceed the legally established standards.

In Russia, the maximum EIRP for 2.4 GHz frequencies is limited to 100 mW (20 dBm), while for 5 GHz, limits may vary depending on the specific sub-band and usage conditions. Exceeding these limits is not only illegal but can also lead to interference with other services and instability in your own equipment.

⚠️ Please note: Equipment specifications may vary depending on regional settings and firmware versions, so always check the power limits in the official user manual or your device's personal account.

To calculate the link's safety margin, subtract all losses and receiver sensitivity from the total power, yielding the so-called "fading margin." A good 10-15 dB margin is considered appropriate to compensate for weather conditions such as rain or fog, which particularly affect high frequencies.

Practical installation recommendations

Theoretical calculations are only half the battle; the other half depends on the quality of antenna installation and alignment. Even a perfectly calculated system will perform poorly if the antennas aren't precisely aligned in azimuth and elevation, especially when using highly directional, high-gain designs.

Use a compass and GPS coordinates for initial alignment, then fine-tune the signal strength (RSSI) or connection speed (CCQ). Remember to secure all mounting hardware, as wind can gradually loosen the structure and disrupt the alignment.

To protect connections from moisture and oxidation, be sure to use heat-shrink tubing with an adhesive backing or specialized sealing tape. Moisture entering the connector causes corrosion and a sharp increase in VSWR, which can even damage the router's transmitter.

How to protect cable from lightning?

Use a lightning arrester at the cable entry point into the room and be sure to ground the cable shield and mast to remove static charge and induced currents.

Frequently Asked Questions (FAQ)

Can you use a TV antenna cable for Wi-Fi?

This is strongly discouraged. A TV cable has a characteristic impedance of 75 ohms, while Wi-Fi equipment is designed for 50 ohms. This mismatch will result in some of the signal being reflected back to the transmitter, increasing the VSWR, and possibly overheating or causing damage to the router's output stage.

How often do you need to recalculate antenna parameters?

Antenna parameters depend on their physical design and frequency, which are constants, so recalculation is only required when changing the frequency range or replacing components. However, it is recommended to check the alignment and condition of the mountings at least once a year or after strong winds.

Does the paint on the antenna affect its performance?

Regular paints don't affect antenna performance, but using paints containing metal (such as hammer or graphite) can shield the signal and degrade performance. If the antenna is metal, it's best to leave it uncoated or use specialized dielectric sprays.

Which is better: one powerful antenna or two medium power ones?

For point-to-point (link) coverage, a single high-gain directional antenna is best. For point-to-multipoint (distribution to several homes), it's often more effective to use sector antennas or a single antenna with moderate gain and a wide beamforming pattern to cover the desired sector.