geoprimsField-grade geospatial math

Slope distance to horizontal and vertical

Horizontal distance, vertical difference, and elevation difference from a slope distance and zenith angle, with two-face means and the curvature and refraction correction for long sights.

127.531ft

The horizontal distance is 127.531 ft and the vertical difference -0.165 ft.

Vertical difference
Elevation difference
Provenance
Computed by
survey.reduction.slope 1.1.0, core 0.1.0
Model
HD = SD·sin Z and VD = SD·cos Z (Ghilani & Wolf 2021, ch. 6); two-face mean Z = (FL + 360° − FR)/2 with index error (FL + FR − 360°)/2; curvature and refraction (1 − k)·HD²/(2R) with R = 6,371,000 m
Accuracy
Exact for the reduction; the curvature and refraction correction carries the uncertainty of k, which varies with the air near the ground
Notes
None
Cites
Ghilani, C. D., and Wolf, P. R., Pearson, Elementary Surveying: An Introduction to Geomatics; Trimble, Trimble Access General Survey Help: Instrument corrections; U.S. Geological Survey, Procedures and Best Practices for Trigonometric Leveling in the U.S. Geological Survey

Something look off?

Your values

Showing an example. Change anything.
More options 4
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: HD = SD·sin Z and VD = SD·cos Z (Ghilani & Wolf 2021, ch. 6); two-face mean Z = (FL + 360° − FR)/2 with index error (FL + FR − 360°)/2; curvature and refraction (1 − k)·HD²/(2R) with R = 6,371,000 m

Accuracy: Exact for the reduction; the curvature and refraction correction carries the uncertainty of k, which varies with the air near the ground

When to use this: Use this when a total station gives you a slope distance and a zenith or vertical angle and you need the horizontal distance and the height change. Add the instrument and target heights for the elevation difference. Enter a face-right reading to get the two-face mean zenith and the index error. For long sights, set a distance beyond which curvature and refraction are added.

Limitations: The reduction is plane math over one sight. It does not apply the atmospheric ppm, the prism constant, or the grid and elevation factors; those are separate steps. The curvature and refraction term uses one earth radius and a single coefficient, which real air does not hold to. Heights depend on the instrument and target heights being measured right.

Worked example: USGS section 1 to 2. Source: USGS Techniques and Methods 11-D3, section 5 example: mark-to-mark vertical difference −0.145 ft. It is golden test vector v011, and every build checks the tool still gives its answer within its tolerance.

You enter

Instrument height HI
4.850 ft
Slope distance
127.531 ft
Target height HR
4.830 ft
Zenith angle
90°04'27"

You get

Horizontal distance
127.531 ft
Vertical difference
-0.165 ft
Elevation difference
-0.145 ft

Review: Not yet independently reviewed by a licensed surveyor.

Last verified: 2026-09-23, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.1.0, core 0.1.0. See this tool in the verification report.

Changes

Checked against: 20 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Constants this tool assumes

Values you do not enter, and where each comes from.

Earth radius, GRS 80's mean radius R1 (6,371,008.771 m) rounded to the kilometer
6371000 m — Geodetic Reference System 1980
Default terrestrial refraction coefficient k
0.13 — Trimble Access General Survey Help: Instrument corrections

Sources

Terms

DMS: degrees, minutes, seconds
An angle written as whole degrees, minutes (1/60 degree), and seconds (1/3600 degree), like 40°26'46". Source: ISO 6709 Geographic point location
HI: height of instrument
The height of the instrument's horizontal axis above the station mark, measured with a tape at setup and added when reducing a sight to an elevation difference. Source: Elementary Surveying: An Introduction to Geomatics
HR: height of rod (target height)
The height of the prism or target above the point sighted, subtracted when reducing a sight to an elevation difference. Source: Elementary Surveying: An Introduction to Geomatics