geoprimsField-grade geospatial math

Flight path statistics

The length of a waypoint path, its legs and turns, how far it goes from the first waypoint, and the flight time at a groundspeed.

Planning and education aid. Not for primary navigation. Full disclaimer

1km

The path is 1 km long in 4 legs, with 3 turns.

Legs
Turns
Longest leg
Farthest from the first waypoint
Total turning
Flight time
Provenance
Computed by
drone.mission.pattern-stats 1.0.0, core 0.1.0
Model
Each leg is the geodesic between consecutive waypoints on WGS 84 (Karney 2013); the course change at a waypoint is the departure azimuth of the next leg less the arrival azimuth of the last, and counts as a turn past 5°
Accuracy
Leg lengths to nanometers on the ellipsoid; the flight time is a planning figure at one steady groundspeed
Notes
None
Cites
Karney, C. F. F., Journal of Geodesy, Algorithms for geodesics

Something look off?

Your values

Showing an example. Change anything.
KML, KMZ, GPX, GeoJSON, CSV, WKT, or WKB — or drop it on the box. Read on this device.
Run many at once from a CSV

Loading…

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

Model: Each leg is the geodesic between consecutive waypoints on WGS 84 (Karney 2013); the course change at a waypoint is the departure azimuth of the next leg less the arrival azimuth of the last, and counts as a turn past 5°

Accuracy: Leg lengths to nanometers on the ellipsoid; the flight time is a planning figure at one steady groundspeed

When to use this: Use this to size up a mission you already have as a list of waypoints, from a flight app, a spreadsheet, or one of the pattern tools here. Enter the waypoints in the order flown. The tool returns the total path length, the number of legs and turns, the longest leg, and how far the path gets from its first waypoint, which matters for visual line of sight. Add a groundspeed for the flight time.

Limitations: The path is straight legs over the ground between waypoints, so climbs, descents, curved turns, and hovering to take a photo are not counted, and the flight time comes out short for a pattern with many turns. The first waypoint stands in for where the pilot is, so add the takeoff point first if it is somewhere else. It does not check terrain, airspace, or a geofence.

Worked example: A four-leg box flown at 8 m/s. Source: Geodesic leg lengths from GeographicLib's GeodSolve. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

Groundspeed
8 m/s
Waypoints
44.98, -93.27 44.9818, -93.27 44.9818, -93.2662 44.98, -93.2662 44.98, -93.27

You get

Path length
1 km
Legs
4
Turns
3
Longest leg
299.7 m
Farthest from the first waypoint
360.3 m
Total turning
270°
Flight time
2.1 min

Review: Not yet independently reviewed by a Part 107 remote pilot.

Last verified: 2026-09-18, 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: 23 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.

WGS 84 semi-major axis
6378137 m — Department of Defense World Geodetic System 1984
WGS 84 inverse flattening
298.257223563 — Department of Defense World Geodetic System 1984

Sources