XYZ and Azimuth/Dip Converter

Convert azimuth, dip, and length to XYZ, or reverse XYZ back to azimuth and dip.

Keep true / grid / magnetic north notes alongside mining, borehole, and underground survey records.

Local processing ENU / NED True / Grid / Magnetic CSV batch conversion

Input is processed in this browser and is not sent to a server.

Forward

Use start point, azimuth, dip, and length to calculate the end point and deltas.

Inverse

Use start and end points to recover azimuth, dip, length, and horizontal distance.

Batch CSV

Paste or upload rows, let the headers map automatically, then export the converted table.

What you can do

Forward

Compute XYZ from azimuth, dip, and length

Add the direction vector to the start point to calculate the end point and deltas.

Inverse

Reverse XYZ back to azimuth, dip, and length

Use two points, or the differences between them, to recover the line orientation.

North reference

Keep true / grid / magnetic north notes visible

Store a correction angle and a reference note so the survey assumption stays in view.

CSV

Convert CSV in bulk

Auto-detect headers and delimiters, then process mixed Forward / Inverse rows together.

Sharing

Copy rows, JSON, CSV, and share links

Move a single result or the whole session to another device without server upload.

How to use

  1. Choose Forward, Inverse, or Batch CSV as the entry mode.
  2. Set the coordinate display and north reference, then add a correction angle and reference memo if needed.
  3. In Forward mode, enter the start point, azimuth, dip, and length to get the end point. In Inverse mode, enter the start and end points to get the direction.
  4. For CSV, paste the rows or load a file, review the converted table, and export it when it looks right.

Samples

Compute an end point in Forward mode

Input

Start X 1000.000 / Start Y 2000.000 / Start Z 300.000 / Azimuth 90° / Dip 30° / Length 100.000 m

Result

End X 1086.603 / End Y 2000.000 / End Z 250.000 / ΔX 86.603 / ΔY 0.000 / ΔZ -50.000

Compute direction in Inverse mode

Input

Start X 1000.000 / Start Y 2000.000 / Start Z 300.000 / End X 1086.603 / End Y 2000.000 / End Z 250.000

Result

Azimuth 90° / Dip 30° / Length 100.000 m / Horizontal distance 86.603 m

Batch CSV conversion

Input

Load three survey rows and mix Forward / Inverse by a mode column.

Result

Show the converted table and export CSV while preserving only the error rows.

Glossary

Azimuth

A horizontal angle measured clockwise from north.

Dip

The angle from the horizontal plane, with downward positive in this tool.

ENU

East / North / Up. This is the internal calculation basis.

NED

North / East / Down. Often used in mining and aviation contexts.

True north

North that points toward the geographic pole.

Grid north

North aligned with a map or projected grid.

Magnetic north

North indicated by a compass. It changes by place and time.

DMS

Degree / Minute / Second angle notation.

Formulas

  • H = L × cos(dip)
  • ΔE = H × sin(azimuth)
  • ΔN = H × cos(azimuth)
  • ΔU = -L × sin(dip)
  • L = sqrt(ΔE² + ΔN² + ΔU²)
  • azimuth = atan2(ΔE, ΔN)
  • dip = atan2(-ΔU, sqrt(ΔE² + ΔN²))
  • azimuth_true = normalize360(azimuth_input + offset_to_true)

FAQ

Is dip here geological dip or line dip?

It is treated as the dip of the line. This tool does not solve strike / dip for a plane.

Are true north and grid north calculated automatically?

You can show a conversion if you enter a correction angle, but the tool does not calculate it from map or magnetic models.

Can I paste azimuth values in DMS format?

Yes. Formats such as 123°27'24", 123 27 24, and 123:27:24 are accepted.

What happens for a vertical segment?

Length still calculates, but the azimuth becomes undefined in the inverse direction.

What CSV formats are supported?

Both headered and headerless input are supported, and comma / semicolon / tab delimiters are auto-detected.

Where is the data stored?

By default it stays in the browser. CSV bodies are not put into the URL, so share them as files when needed.

Notes

  • This tool is a conversion aid. It does not replace survey deliverables or site standards.
  • Azimuth is measured clockwise from north, not like a standard mathematical angle.
  • Dip is treated as a line dip, not a plane strike / dip pair.
  • True / grid / magnetic north corrections are supplemental notes based on the values you enter.
  • CSV headers are auto-mapped, but checking the template on the first run is still recommended.