geoprimsField-grade geospatial math

Station and offset from a line

A point's station and offset from a straight alignment, with the foot of its perpendicular, or the point at a given station and offset. Offsets are positive to the right.

Experimental: not yet fully verified. How results are checked

14+96.41

The point is at station 14+96.41, -59.808 ft from the line (left).

Offset
Side
Foot of the perpendicular, northing
Foot of the perpendicular, easting
Point northing
Point easting
Provenance
Computed by
survey.cogo.station-offset 1.0.0, core 0.1.0
Model
With the line's unit direction t = (cos α, sin α) in (N, E): station = start + (P − S)·t, offset = (P − S) × t positive to the right; and back, P = S + along·t + offset·n with n the right-hand normal (Ghilani & Wolf 2021, ch. 11)
Accuracy
Exact
Notes
1 shown with the answer
Cites
Ghilani, C. D., and Wolf, P. R., Pearson, Elementary Surveying: An Introduction to Geomatics

Something look off?

Your values

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

Loading…

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

Model: With the line's unit direction t = (cos α, sin α) in (N, E): station = start + (P − S)·t, offset = (P − S) × t positive to the right; and back, P = S + along·t + offset·n with n the right-hand normal (Ghilani & Wolf 2021, ch. 11)

Accuracy: Exact

Worked example: A point beside a line bearing N 60° E from station 10+00. Source: Plane geometry.

You enter

Line direction
N 60°00'00" E
Point easting
5400 ft
Point northing
5300 ft
Line start easting
5000 ft
Line start northing
5000 ft
Start station
10+00

You get

Station
14+96.41
Offset
-59.808 ft
Side
left
Foot of the perpendicular, northing
5,248.205 ft
Foot of the perpendicular, easting
5,429.904 ft
Point northing
5,300 ft
Point easting
5,400 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.0.0, core 0.1.0. See this tool in the verification report.

Changes

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

Sources

Experimental means this tool has not yet met the stable bar: at least 20 golden vectors, differential tests, and an independent worked example.