UBNT Calculator: Wireless Link Budget Tool
An essential tool for planning Ubiquiti wireless links. Estimate signal strength, performance, and reliability before deployment.
Link Budget Analysis
Link Margin vs. Distance
| Distance (km) | Received Signal (RSSI) | Link Margin | Status |
|---|
What is a UBNT Calculator?
A UBNT calculator, or more accurately, a Ubiquiti wireless link budget calculator, is a specialized tool designed for network engineers and IT professionals to plan and predict the performance of a wireless link. It is used for outdoor Point-to-Point (PtP) and Point-to-MultiPoint (PtMP) links, which are common in wireless ISP (WISP) deployments, building-to-building connectivity, and CCTV backhauls. This calculator helps answer the critical question: “Will my wireless link be reliable at this distance with this equipment?”
By inputting parameters like distance, radio frequency, transmit power, and antenna gain, this ubnt calculator computes key performance indicators such as Free Space Path Loss (FSPL), Received Signal Strength Indicator (RSSI), and most importantly, the Link Margin. A healthy link margin ensures the connection remains stable even when faced with environmental interference or minor obstructions. Tools like the official Ubiquiti AirLink provide sophisticated mapping, but a manual calculator is invaluable for understanding the core principles.
The UBNT Calculator Formula and Explanation
The core of a ubnt calculator is based on the link budget equation, which sums up all gains and losses in the signal’s path.
1. Free Space Path Loss (FSPL): This is the largest source of signal loss, caused by the signal spreading out as it travels. The formula is:
FSPL (dB) = 20 * log10(distance in km) + 20 * log10(frequency in MHz) + 32.44
2. Received Signal (RSSI): This is the predicted signal strength at the receiving end.
RSSI (dBm) = Tx Power + Total Antenna Gain - FSPL - Cable Loss
3. Link Margin: This is the crucial measure of link reliability. It’s the difference between the received signal and the receiver’s sensitivity.
Link Margin (dB) = RSSI - Rx Sensitivity
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Distance | The path length of the wireless link. | km / miles | 0.5 – 50 km |
| Frequency | The radio frequency used for the link. | MHz | 900, 2400, 5800 |
| Tx Power | The output power of the transmitting radio. | dBm | 10 – 27 dBm |
| Antenna Gain | The ability of the antenna to focus the signal. | dBi | 10 – 34 dBi |
| Rx Sensitivity | The minimum power level for the receiver to function. | dBm | -80 to -96 dBm |
Practical Examples
Example 1: Short Distance, High Performance Link
Imagine connecting two offices 3 km apart with a clear line of sight.
- Inputs: Distance: 3 km, Frequency: 5800 MHz, Tx Power: 20 dBm, Antenna Gain: 23 dBi (total), Cable Loss: 1 dB, Rx Sensitivity: -90 dBm
- Results:
- FSPL: ~120.1 dB
- RSSI: 20 + 23 – 120.1 – 1 = -78.1 dBm
- Link Margin: -78.1 – (-90) = 11.9 dB
- Interpretation: A link margin of nearly 12 dB is decent, but could be susceptible to heavy rain or interference. Using higher gain antennas would be advisable.
Example 2: Long Distance Rural Link
Consider a 25 km link to provide internet to a remote farm.
- Inputs: Distance: 25 km, Frequency: 5800 MHz, Tx Power: 23 dBm, Antenna Gain: 34 dBi (total, e.g., two large dishes), Cable Loss: 2 dB, Rx Sensitivity: -90 dBm
- Results:
- FSPL: ~138.3 dB
- RSSI: 23 + 34 – 138.3 – 2 = -83.3 dBm
- Link Margin: -83.3 – (-90) = 6.7 dB
- Interpretation: A 6.7 dB margin is very low and risky. The link would likely be unstable. This highlights the need for powerful equipment over long distances. One should consider the UISP Design Center for more advanced planning in such scenarios.
How to Use This UBNT Calculator
- Enter Link Distance: Input the distance between your two points and select the correct unit (kilometers or miles).
- Set Frequency: Enter the frequency you plan to use in MHz. Common Ubiquiti frequencies are in the 2400 (2.4 GHz) and 5000 (5 GHz) ranges.
- Input Power & Gain: Enter your radio’s transmit power (Tx Power) and the total gain of both antennas. If you have two 15 dBi antennas, the total gain is 30.
- Account for Losses: Add any anticipated loss from cables and connectors. For integrated radios, this can be 0 or 1 dB.
- Set Receiver Sensitivity: Find this value in your radio’s datasheet. A lower number (e.g., -96 dBm) is better.
- Analyze Results: The calculator instantly shows your Link Margin, RSSI, and FSPL. A higher link margin is always better. Aim for at least 15-20 dB for a robust link.
Key Factors That Affect Wireless Link Performance
- Line of Sight (LoS): The single most important factor. The path between radios must be completely clear of obstructions like buildings, hills, and trees.
- Fresnel Zone Clearance: An invisible elliptical zone around the LoS path. For a perfect signal, at least 60% of this zone must be clear of obstacles. Our ubnt calculator computes the radius of this zone at its widest point.
- RF Interference: Competing signals from other Wi-Fi networks, cordless phones, and other devices can degrade performance. Use a tool like Ubiquiti’s AirView to find a clean channel.
- Antenna Alignment: Even a slight misalignment of directional antennas can cause a significant drop in signal strength. Precise aiming is critical.
- Weather: Heavy rain (“rain fade”) can absorb RF energy and weaken the signal, especially at higher frequencies. A strong link margin helps combat this.
- EIRP Limits: Regulatory bodies limit the total power (EIRP) you can transmit. EIRP = Tx Power + Antenna Gain – Cable Loss. Exceeding these limits is illegal.
Frequently Asked Questions (FAQ)
1. What is a good link margin?
A link margin of 15-20 dB is considered good for a reliable link. 25 dB or more is excellent. Below 10 dB is considered risky and prone to instability.
2. Why is my real-world signal different from the UBNT calculator?
This calculator computes loss in a perfect “free space” environment. Real-world factors like RF interference, atmospheric conditions, and imperfect Fresnel Zone clearance will always add extra loss, resulting in a weaker signal than the ideal calculation.
3. How does frequency affect my link?
Lower frequencies (like 900 MHz or 2.4 GHz) travel farther and penetrate minor obstacles better but have less bandwidth. Higher frequencies (like 5 GHz, 24 GHz) have much higher Free Space Path Loss but support higher data rates and have smaller Fresnel Zones.
4. Does this calculator work for indoor Wi-Fi?
No. This is a link budget calculator for outdoor, long-distance links. It does not account for signal loss from walls, floors, and other indoor obstructions. For that you might find the Unifi Resource Calculator more useful.
5. What is RSSI vs Signal Strength?
RSSI (Received Signal Strength Indicator) is the term for the measurement of power present in a received radio signal. It is typically expressed in dBm, where 0 dBm is 1 milliwatt, and values are negative (e.g., -55 dBm is a stronger signal than -75 dBm).
6. How do I choose the right Ubiquiti equipment?
Use this calculator to determine the required antenna gain and Tx power for your desired distance. For short links (under 3 km), a Loco or NanoStation might suffice. For medium links (3-10 km), a LiteBeam or PowerBeam is often used. For long links (10+ km), large AirFiber or RocketDish antennas are necessary.
7. What is the difference between miles and kilometers for calculations?
The calculation requires a standard unit, typically kilometers. This calculator automatically converts miles to km (1 mile ≈ 1.60934 km) before computing the path loss, ensuring the formula works correctly regardless of your unit choice.
8. What happens if my link margin is negative?
A negative link margin means the received signal is weaker than the minimum sensitivity of the receiver. The link will not establish. You must increase antenna gain, increase transmit power, or reduce the distance to achieve a positive margin.
Related Tools and Internal Resources
- FSPL Calculator – A dedicated tool for calculating only the Free Space Path Loss.
- Wi-Fi Channel Analyzer – Discover the best channel to use in a crowded RF environment.
- Antenna Gain Explained – A deep dive into how antenna gain (dBi) impacts your wireless links.
- EIRP Compliance Calculator – Ensure your setup complies with local power regulations.
- PtP vs. PtMP: Which is Right For You? – An article comparing Point-to-Point and Point-to-MultiPoint setups.
- Ubiquiti Product Guide – A guide to help select the right AirMax and AirFiber products.