Line of Sight Calculator
Determine visual and radio communication range over Earth’s curvature
18.15
km
5.85 km
13.10 km
0.00 m
Visual Representation
Illustration of the path over the Earth’s curvature (not to scale).
What is a Line of Sight Calculator?
A Line of Sight Calculator is a specialized technical tool used by engineers, sailors, hikers, and telecommunications professionals to determine the maximum distance at which two points are visible to each other. Because the Earth is roughly spherical, the curvature of the planet eventually blocks the direct path between two points. This calculator accounts for that curvature and the heights of both the observer and the target.
Beyond simple geometry, a professional Line of Sight Calculator must also consider atmospheric refraction. Air density changes with altitude, causing light and radio waves to bend slightly downward, effectively allowing them to “see” further around the curve of the Earth than a straight line would allow. This tool is essential for planning wireless networks, radio links, and maritime navigation.
Line of Sight Calculator Formula and Mathematical Explanation
The calculation of line of sight involves calculating the distance to the horizon for both points and summing them. The fundamental geometric formula for the distance to the horizon (d) from a height (h) is derived from the Pythagorean theorem.
The Step-by-Step Derivation
- Calculate the distance from the observer to the horizon: d1 = sqrt(2 * Re * h1)
- Calculate the distance from the target to the horizon: d2 = sqrt(2 * Re * h2)
- Total Line of Sight: D = d1 + d2
To account for atmospheric refraction, we use an “Effective Earth Radius” (Re), which is usually the actual Earth radius (6,371 km) multiplied by a factor k. For standard radio propagation, k = 4/3 (approx. 1.33).
| Variable | Meaning | Metric Unit | Typical Range |
|---|---|---|---|
| h1 | Observer/Antenna 1 Height | Meters (m) | 0 – 1,000m |
| h2 | Target/Antenna 2 Height | Meters (m) | 0 – 1,000m |
| k | Refraction Factor | Unitless | 1.0 – 1.33 |
| Re | Earth Radius | 6,371 km | Fixed |
| D | Maximum Range | Kilometers (km) | Depends on height |
Practical Examples (Real-World Use Cases)
Example 1: Marine Navigation
A sailor is standing on the deck of a boat with eyes 3 meters above the water line. They are looking for a lighthouse that is known to be 30 meters tall. Using the Line of Sight Calculator with a standard visual refraction (k=1.17), the distance to the horizon for the sailor is 7.1 km, and the distance to the horizon for the lighthouse is 22.4 km. Therefore, the sailor can first spot the light at a distance of 29.5 kilometers.
Example 2: Point-to-Point Wireless Link
A network technician needs to establish a radio link between two buildings. Building A has an antenna at 20 meters, and Building B has an antenna at 15 meters. Using the radio horizon setting (k=1.33) in the Line of Sight Calculator, the total communication range is approximately 34.4 kilometers. If the buildings are 40 km apart, the link will likely fail due to Earth’s curvature blocking the signal.
How to Use This Line of Sight Calculator
- Select Units: Choose between Metric (meters/km) or Imperial (feet/miles) depending on your requirements.
- Enter Heights: Input the height of the observer (or primary antenna) and the target (or secondary antenna). Ensure these are heights above the ground or sea level.
- Choose Refraction: Use 1.0 for theoretical geometry, 1.17 for visual sightings, or 1.33 for standard radio engineering.
- Review Results: The Line of Sight Calculator will instantly update the total distance and show the specific horizon distance for each point.
- Analyze the Chart: The dynamic SVG/Canvas chart provides a visual confirmation of how the two points interact over the Earth’s curve.
Key Factors That Affect Line of Sight Results
- Atmospheric Refraction: Temperature and humidity gradients in the air bend waves. In “super-refraction” conditions, signals can travel much further than the Line of Sight Calculator predicts.
- Antenna Elevation: Raising an antenna even a few meters can significantly increase the range, as the distance increases with the square root of height.
- Obstacles: This Line of Sight Calculator assumes a smooth Earth (sea level). Trees, buildings, and mountains will block the signal regardless of the calculated distance.
- Signal Frequency: Lower frequencies tend to bend more with the Earth’s curve (ground waves), while higher frequencies (microwave) require a stricter, clearer line of sight.
- Fresnel Zone: In radio communications, you need more than just a visible line. You need a clear “Fresnel Zone”—an elliptical area around the line of sight—to prevent signal interference. Check our fresnel zone calculator for more details.
- Weather Conditions: Fog, heavy rain, or snow can attenuate (weaken) signals, even if the geometric line of sight is perfectly clear.
Frequently Asked Questions (FAQ)
Radio waves are affected more by atmospheric refraction than visible light. In radio engineering, we often use a “4/3 Earth radius” model, which explains why the Line of Sight Calculator gives a longer distance for radio than for visual sightings.
The k-factor is a multiplier for the Earth’s radius to account for refraction. A k-factor of 1.0 means no refraction. The standard k-factor for radio propagation is 1.33.
No, this Line of Sight Calculator assumes a smooth sphere. If there is a mountain between two points, you should use an elevation profile tool.
Satellite communication usually involves high angles where the Earth’s curvature isn’t the limiting factor, but rather the horizon mask. This tool is best for point-to-point terrestrial links.
Yes, the Line of Sight Calculator distance is reciprocal. If A can see B, B can see A.
The math is the same regardless of units, as long as they are consistent. Use our distance formula calculator to check coordinate-based distances.
When the Earth’s curve blocks the path, signal strength drops drastically—often called “cliff effect.” A Line of Sight Calculator helps you stay on the right side of that cliff.
The visual horizon is the point where the sky appears to meet the Earth. For a person 1.7m tall, this is only about 4.7 km away.
Related Tools and Internal Resources
- Antenna Tilt Calculator – Calculate the down-tilt angle for cellular antennas.
- Fresnel Zone Calculator – Ensure your radio path has enough clearance.
- Earth Curvature Calculator – Specific tool for calculating the drop over distance.
- Radio Horizon Calculator – Specialized tool for RF propagation.
- Distance Formula Calculator – Calculate straight-line distance between coordinates.
- Elevation Profile Tool – Map terrain between two points.