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.

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
None
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

When to use this: Use this when you need to tie a point to a straight baseline or centerline by station and offset, or set out a point from a station and offset. Give the line's start point and station, plus a direction or an end point. Then enter a point to get its station, its offset right or left, and the foot of the perpendicular, or enter a station and offset to get coordinates. It suits as-built checks, utility locates, and staking off a tangent.

Limitations: The line is one straight tangent. It does not follow curves, spirals, or a full alignment with many PIs, so a point beside a curve needs the curve tools. Use plane grid values, not latitude and longitude. A point before the start or past the end still gets a station by extending the line, so check that it falls where you expect.

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: 22 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources