Line of Sight Calculator
Determine radio path feasibility by calculating the maximum distance between two points, accounting for object height and Earth’s curvature.
Select the measurement system for all inputs and results.
The height of the first antenna or viewpoint, in meters.
The height of the second antenna or target, in meters.
The straight-line distance between the two points, in kilometers.
What is a Line of Site Calculator?
A line of site (LoS) calculator is an essential tool used to determine if a direct, unobstructed path exists between two points. It is critical in fields like RF (Radio Frequency) communications, wireless networking, surveying, and even astronomy. The calculation is not as simple as drawing a straight line on a map; it must account for the curvature of the Earth, which can block long-distance paths.
This tool is invaluable for engineers and technicians planning wireless links (like Wi-Fi, 4G/5G, or microwave) to ensure that the signal won’t be blocked by the Earth’s bulge. A clear line of site is the first and most important requirement for a stable point-to-point connection.
Line of Site Formula and Explanation
The core of the line of site calculation is determining the geometric horizon distance for each point and comparing their sum to the actual distance between the points. The formula accounts for the Earth’s radius and is often adjusted for atmospheric refraction, which bends radio waves slightly, extending the “radio horizon” beyond the visual horizon.
The simplified formula for the horizon distance (d) from a point of a certain height (h) is:
d = √(2 * R_eff * h)
The total maximum line of sight distance is the sum of the horizon distances for both points:
Max LoS = √(2 * R_eff * h1) + √(2 * R_eff * h2)
If the actual distance between the points is less than or equal to this maximum LoS distance, a clear path exists.
| Variable | Meaning | Unit (Auto-Inferred) | Typical Range |
|---|---|---|---|
Max LoS |
Maximum Line of Sight Distance | km or miles | 0 – 200+ |
h1 / h2 |
Height of Observer / Target | meters or feet | 1 – 1000+ |
R_eff |
Effective Earth Radius | km or miles | ~8500 km or ~5280 miles |
For more advanced analysis, engineers may use a Fresnel Zone Calculator to ensure the area around the primary path is also clear.
Practical Examples
Example 1: Clear Line of Sight
Two radio towers are being set up for a point-to-point link. One tower is 50 meters tall and the other is 40 meters tall. They are 35 kilometers apart.
- Inputs: H1 = 50m, H2 = 40m, Distance = 35km
- Units: Metric
- Results: The calculator finds the maximum LoS distance is approximately 51.5 km. Since 35 km is less than 51.5 km, there is a Clear Line of Sight with about 16.5 km of clearance margin.
Example 2: Obstructed Line of Sight
A person is standing on a beach with their eyes at 6 feet above the ground, looking for a boat that has a communication antenna 20 feet above the water. The boat is 15 miles away.
- Inputs: H1 = 6ft, H2 = 20ft, Distance = 15 miles
- Units: Imperial
- Results: The maximum LoS distance is calculated to be approximately 8.8 miles. Since the boat is 15 miles away, the path is Obstructed by the curvature of the Earth. The signal is blocked by a deficit of about 6.2 miles.
To better understand signal behavior, it’s useful to read about understanding radio propagation.
How to Use This Line of Site Calculator
- Select Units: First, choose whether you will be working in Metric (meters/km) or Imperial (feet/miles) units.
- Enter Observer Height (H1): Input the height of your first viewpoint or antenna.
- Enter Target Height (H2): Input the height of the second viewpoint or antenna.
- Enter Distance: Provide the actual ground distance between the two points.
- Interpret Results: The calculator will immediately tell you if the line of sight is “Clear” or “Obstructed”. It also provides intermediate values like the maximum possible LoS distance and the clearance or deficit of your path. A positive clearance means the path is clear; a negative value (deficit) means it is blocked.
- Analyze Chart: The visual chart helps you understand the relationship between the sight line, the towers, and the Earth’s curve.
For installations requiring precise aiming, an antenna downtilt calculator can be a useful next step.
Key Factors That Affect Line of Sight
- Observer/Antenna Height: This is the most critical factor. The higher the viewpoints, the farther they can see over the Earth’s curve. Doubling the height does not double the distance, but it significantly increases it.
- Target Height: Similar to observer height, a taller target is visible from farther away.
- Distance: As the distance between points increases, the “bulge” of the Earth between them becomes more significant, eventually blocking the view.
- Earth’s Curvature: The fundamental obstacle for long-distance LoS. Earth curves downwards at approximately 8 inches per mile (squared).
- Atmospheric Refraction (K-Factor): Radio waves bend slightly as they pass through the atmosphere. This effect, modeled by the K-factor (typically 4/3), extends the radio horizon about 15% beyond the visual horizon. Our calculator includes this standard adjustment. Learn more about the what is K-factor.
- Terrain and Obstacles: This calculator assumes a perfectly smooth Earth. In reality, hills, buildings, and trees can block a signal path even if the Earth’s curvature does not. For detailed planning, a tool that uses topographic data is necessary.
Frequently Asked Questions (FAQ)
1. What does “line of site” mean?
Line of site (or Line of Sight) refers to a direct, straight path between two points without any obstructions, including the curvature of the Earth.
2. Why is Earth’s curvature a problem?
Because the Earth is a sphere, its surface drops away with distance. For long paths, this “drop” can rise up between two points and block the view, just like a small hill would.
3. What is the difference between visual and radio horizon?
The radio horizon is farther than the visual (geometric) horizon. This is because the atmosphere refracts (bends) radio waves downwards, allowing them to travel slightly over the physical curve of the Earth. This effect is often modeled by using an “effective Earth radius” that is 4/3 of the actual radius.
4. Does this calculator account for buildings or mountains?
No. This is a mathematical line of site calculator that assumes a perfectly smooth Earth. It does not use topographical data and cannot account for physical obstructions like buildings, trees, or hills.
5. How can I increase my line of sight distance?
The most effective way is to increase the height of your antennas or observation points. The higher you are, the farther your horizon is.
6. What units does the calculator use?
The calculator allows you to switch between Metric (meters and kilometers) and Imperial (feet and miles) systems. All inputs and outputs will conform to your selection.
7. What is a “clearance margin”?
This is the extra distance your signal could have traveled before being obstructed. A large clearance is good, as it means you are well within the maximum range. A negative clearance is a “deficit” and means your path is blocked.
8. Is a clear line of sight enough for a good wireless link?
It’s the first and most important step. However, for optimal performance, you also need to ensure the Fresnel Zone is mostly clear of obstructions. Interference from other RF sources is also a factor.