FireCADCalc

Perpendicular Offset of a Point from a Line (COGO)

Perpendicular offset of a point from a line through two coordinated points, the station (distance along the line) of its foot and the foot's coordinates.

Inputs

Examples: Illustrative point left of the linePoint right of a north lineFoot beyond B

Accepted: -10,000,000 to 10,000,000 m
Accepted: -10,000,000 to 10,000,000 m
Accepted: -10,000,000 to 10,000,000 m
Accepted: -10,000,000 to 10,000,000 m
Accepted: -10,000,000 to 10,000,000 m
Accepted: -10,000,000 to 10,000,000 m

Results

With the unit vector of A→B, the along-line distance is the projection of AP and the offset is its cross product: positive to the right looking from A to B. The foot is A plus s times the unit vector. Used for stake-out, as-built checks and for finding where a point lies relative to an alignment or boundary.

Offset (+ right of A→B, − left)-100.00m
Distance along the line from A to the foot200.00m
Northing of the foot1,120.0m
Easting of the foot1,160.0m
Length A–B500.00m

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Illustrative point left of the line. The inputs, in the units selected above:

InputValue
Northing of line point A1,000.0 m
Easting of line point A1,000.0 m
Northing of line point B1,300.0 m
Easting of line point B1,400.0 m
Northing of point P1,200.0 m
Easting of point P1,100.0 m

Applying the formula below gives:

ResultValue
Offset (+ right of A→B, − left)-100.00 m
Distance along the line from A to the foot200.00 m
Northing of the foot1,120.0 m
Easting of the foot1,160.0 m
Length A–B500.00 m

Open this example in the calculator and change any input.

Formula

\(s = \frac{(N_P - N_A)\Delta N + (E_P - E_A)\Delta E}{L_{AB}}, \quad o = \frac{(E_P - E_A)\Delta N - (N_P - N_A)\Delta E}{L_{AB}}\)

Variables

Symbol Meaning SI unit
\(NA\) Northing of line point A m
\(EA\) Easting of line point A m
\(NB\) Northing of line point B m
\(EB\) Easting of line point B m
\(NP\) Northing of point P m
\(EP\) Easting of point P m
\(o\) Offset (+ right of A→B, − left) m
\(s\) Distance along the line from A to the foot m
\(N_F\) Northing of the foot m
\(E_F\) Easting of the foot m
\(L_{AB}\) Length A–B m

Method and standards

Point to line.

Where it is used

  • Stake-out and as-built checks.
  • Boundary and alignment offsets.

Common mistakes

  • Swapping northing and easting.
  • Ignoring the sign of the offset.

Assumptions and limits

  • Plane coordinates.

References

  • Coordinate geometry: point and line

Questions and answers

What does the sign of the offset mean?

Positive is to the right when looking from A towards B, negative to the left.

Can the station be negative or longer than AB?

Yes: the foot can fall behind A or beyond B on the extended line.

What do the defaults represent?

An illustrative line from (1000, 1000) to (1300, 1400) and a point at (1200, 1100).

Method and article reviewed by FireCAD engineering on 17 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Sources

Ghilani and Wolf, Elementary Surveying: An Introduction to Geomatics, 13th ed. (Pearson, 2012)

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.