Mission sorties and battery swaps
How many batteries a waypoint mission takes and where each flight ends, with the trip home against the wind counted before every swap, not just the total time divided by battery time.
Planning and education aid. Not for primary navigation. Full disclaimer
The mission takes 3 batteries and about 16 min of flying.
| Sortie | First waypoint | Last waypoint | Flying time | Return time |
|---|---|---|---|---|
| 1 | 1 | 4 | 4.5 min | 0.5 min |
| 2 | 4 | 7 | 3.2 min | 2.3 min |
| 3 | 7 | 8 | 4.3 min | 1.2 min |
| Latitude | Longitude | Waypoint | Sortie |
|---|---|---|---|
| 40.0027000 deg | -105.0000000 deg | 4 | 1 |
| 40.0063000 deg | -104.9859200 deg | 7 | 2 |
| Latitude | Longitude | Sortie |
|---|---|---|
| 40.0000000 deg | -105.0000000 deg | 1 |
| 40.0009000 deg | -105.0000000 deg | 1 |
| 40.0009000 deg | -104.9859200 deg | 1 |
| 40.0027000 deg | -104.9859200 deg | 1 |
| 40.0027000 deg | -105.0000000 deg | 1 |
| 40.0000000 deg | -105.0000000 deg | 1 |
| 40.0000000 deg | -105.0000000 deg | 2 |
| 40.0027000 deg | -105.0000000 deg | 2 |
| 40.0045000 deg | -105.0000000 deg | 2 |
| 40.0045000 deg | -104.9859200 deg | 2 |
| 40.0063000 deg | -104.9859200 deg | 2 |
| 40.0000000 deg | -105.0000000 deg | 2 |
| 40.0000000 deg | -105.0000000 deg | 3 |
| 40.0063000 deg | -104.9859200 deg | 3 |
| 40.0063000 deg | -105.0000000 deg | 3 |
| 40.0000000 deg | -105.0000000 deg | 3 |
- Total flying time
- Time per battery to the reserve
Provenance
- Computed by
- drone.mission.sorties 1.1.0, core 0.1.0
- Model
- Flight time to the reserve F = flight time × (1 − reserve), or usable energy × (1 − reserve) / power (the endurance tool). A sortie starting at waypoint s flies home → s at the transit speed, then the path at the survey groundspeed; at each waypoint j the trip home takes d_j / (V − w) (the return-to-home tool), and the sortie ends at the last j where elapsed + trip home ≤ F. The next sortie flies out to that waypoint and carries on. Distances are WGS84 geodesics
- Accuracy
- Exact for straight legs at constant speeds and power, a steady headwind on every trip home, and no time for turns, climbs, or landing. Real batteries also sag in the cold and with age.
- Notes
- None
- Cites
- Leishman, J. G., Cambridge University Press, Principles of Helicopter Aerodynamics; Karney, C. F. F., Journal of Geodesy, Algorithms for geodesics
Something look off?
How we got thisFormula, worked example, sources, and proof
Model: Flight time to the reserve F = flight time × (1 − reserve), or usable energy × (1 − reserve) / power (the endurance tool). A sortie starting at waypoint s flies home → s at the transit speed, then the path at the survey groundspeed; at each waypoint j the trip home takes d_j / (V − w) (the return-to-home tool), and the sortie ends at the last j where elapsed + trip home ≤ F. The next sortie flies out to that waypoint and carries on. Distances are WGS84 geodesics
Show your work
Time per battery
flight time × (1 − reserve)7 min × (1 − 20%)= 5.6 minSortie 1
ends at the last waypoint where time flown + time home ≤ time per batterywaypoints 1 to 4: 4.5 min flown + 0.5 min home= 5 minSortie 2
ends at the last waypoint where time flown + time home ≤ time per batterywaypoints 4 to 7: 3.2 min flown + 2.3 min home= 5.5 minSortie 3
ends at the last waypoint where time flown + time home ≤ time per batterywaypoints 7 to 8: 4.3 min flown + 1.2 min home= 5.5 minBatteries
one per sortie3 sorties= 3
The same steps an agent gets from the MCP server with explain: true.
Accuracy: Exact for straight legs at constant speeds and power, a steady headwind on every trip home, and no time for turns, climbs, or landing. Real batteries also sag in the cold and with age.
When to use this: Use this when a mapping or inspection path is longer than one battery: it says how many batteries the job takes and where to break it, counting the trip home from each break point, which grows as the path moves away from home. Feed it the survey grid’s waypoints and your battery’s usable flight time.
Limitations: Every flight leg is flown at a constant speed with no time for takeoff, climb, turns, or landing, so leave those in the reserve. The wind is one headwind applied to every trip home, which is cautious; the trips out and along the path ignore it. A sortie ends only at a waypoint, so on long legs it can end well short of what the battery could reach. It does not check airspace, terrain, or line of sight.
Worked example: A 1.2 km, four-line grid on a 7-minute battery with a 20% reserve. Source: Hand-worked from GeographicLib distances: three sorties, swapping at waypoints 4 and 7. It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.
You enter
- Flight time per battery
- 7 min
- Survey groundspeed
- 10 m/s
- Home latitude
- 40 deg
- Home longitude
- -105 deg
- Landing reserve (%)
- 20
- Waypoints
- 40.0009, -105 40.0009, -104.98592 40.0027, -104.98592 40.0027, -105 40.0045, -105 40.0045, -104.98592 40.0063, -104.98592 40.0063, -105
You get
- Batteries
- 3
- Total flying time
- 16 min
- Time per battery to the reserve
- 5.6 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.1.0, core 0.1.0. See this tool in the verification report.
Changes
- 2026-10-13, changed: Mission sorties and battery swaps (version 1.1.0) is now stable. Sixteen new vectors extend coverage to 22 cases across reserves, energy and flight-time inputs, wind, separate transit speeds, unit conversions, route sizes, and an unreachable waypoint. Calculation results are unchanged. Changelog
Checked against: 22 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
- Principles of Helicopter Aerodynamics, Leishman, J. G., Cambridge University Press, 2nd edition. Chapter 2 (momentum theory: ideal hover power T^1.5/√(2ρA), figure of merit).
- Algorithms for geodesics, Karney, C. F. F., Journal of Geodesy, Vol. 87, No. 1. pp. 43-55 (direct and inverse geodesic problems).