Skip to content

Constants & Accuracy

Physical constants, astronomical constants, and accuracy bounds for every computational theory used in pg_orbit. All constants are compiled from their original sources and embedded at compile time — no runtime configuration files, no external data dependencies.


The SGP4/SDP4 propagator uses WGS-72 constants internally. This matches the reference frame in which TLEs are generated. Using WGS-84 with SGP4 would introduce systematic errors.

ConstantSymbolValueUnit
Gravitational parametermu398600.8km^3/s^2
Equatorial radiusae6378.135km
J2J20.001082616
J3J3-0.00000253881
J4J4-0.00000165597

All geodetic and topocentric coordinate conversions use WGS-84 constants.

ConstantSymbolValueUnit
Semi-major axis (equatorial radius)a6378.137km
Flatteningf1/298.257223563
Semi-minor axis (polar radius)b6356.752314245km
First eccentricity squarede^20.00669437999014

ConstantSymbolValueUnitSource
Astronomical UnitAU149597870.7kmIAU 2012
Obliquity of the ecliptic at J2000epsilon23.4392911degreesIAU 1976
Gaussian gravitational constantk0.01720209895AU^(3/2) / (day * Msun^(1/2))IAU 1976
Julian century36525.0days
J2000 epoch2451545.0JD2000-01-01T12:00:00 TT
Speed of lightc299792.458km/sIAU 2012
Earth rotation rateomega_e7.292115e-5rad/sWGS-84
ConstantValueUnitSource
System III rotation period9h 55m 29.711sIAU 1965
System III rotation rate870.536deg/dayDerived

Each computational theory in pg_orbit has well-characterized accuracy limits. The bounds below are drawn from the original theory publications and validated against JPL ephemerides where possible.

Orbit ClassTypical Error at EpochError Growth RateSource
LEO (< 2000 km)< 1 km at epoch1-3 km/dayVallado et al., 2006
MEO (2000-35786 km)< 5 km at epoch5-10 km/dayVallado et al., 2006
GEO (~35786 km)< 10 km at epoch10-50 km/dayVallado et al., 2006
HEO (Molniya-type)< 10 km at epochHighly variableVallado et al., 2006

Valid epoch range: TLEs are typically valid for +/- 7 days from epoch for LEO, +/- 14 days for GEO. Beyond this, errors grow rapidly and propagation may fail outright (returning a fatal error code).

Deep space selection: The SGP4/SDP4 algorithm switch is based on orbital period. Orbits with period >= 225 minutes (~3.75 hours, corresponding to an altitude of roughly 5,900 km for circular orbits) use the SDP4 deep-space model, which includes lunar and solar perturbation terms.

Position accuracy relative to JPL DE405 ephemeris:

PlanetMax Error (within +/- 2000 yr of J2000)Max Error (within +/- 4000 yr of J2000)
Mercury0.6”1”
Venus0.3”2”
Earth-Moon barycenter0.4”2”
Mars0.8”4”
Jupiter0.3”7”
Saturn0.4”10”
Uranus0.2”20”
Neptune0.3”40”

Valid epoch range: The series coefficients are fitted over the interval J2000 +/- 4000 years. Outside this range, accuracy degrades unpredictably. For observational planning (present-day queries), accuracy is well within 1 arcsecond.

QuantityAccuracy
Geocentric longitude< 2” for dates within +/- 500 years of J2000
Geocentric latitude< 1”
Distance< 0.5 km

Valid epoch range: Nominally +/- 4000 years from J2000, though accuracy degrades beyond +/- 500 years. For present-day lunar observations, the error is well under 1 arcsecond and 1 km in distance.

QuantityAccuracy
Position relative to Jupiter< 500 km (typical), < 1000 km (worst case)
Differential positions (moon-to-moon)< 200 km

Valid epoch range: Fitted to observations spanning 1891-2000. Accuracy degrades outside this range. For present-day observations and near-term predictions, the theory is reliable.

QuantityAccuracy
Position relative to Saturn< 500 km (inner moons), < 2000 km (Hyperion)
Titan position< 300 km

Notes: Hyperion has the largest uncertainty due to its chaotic rotation and irregular orbital perturbations. Titan, as the most massive moon, is the best-determined.

Valid epoch range: Fitted to observations spanning 1886-1985. The theory uses secular terms that limit extrapolation.

QuantityAccuracy
Position relative to Uranus< 1000 km (Titania, Oberon), < 2000 km (Miranda)

Notes: The Uranian system was significantly improved by Voyager 2 encounter data (1986). Pre-Voyager observations constrain secular rates; Voyager data constrains short-period terms.

Valid epoch range: Most reliable within +/- 50 years of the Voyager encounter (1986). Present-day accuracy is good.

QuantityAccuracy
Phobos position relative to Mars< 10 km
Deimos position relative to Mars< 20 km

Notes: The Mars moon theories benefit from spacecraft tracking data (Viking, Mars Express). Phobos is better determined than Deimos due to more frequent close encounters with Mars orbiters.

Orbit TypeLimitation
Elliptic (e < 1)Two-body only. No planetary perturbations. Error grows with distance from perihelion epoch.
Parabolic (e = 1)Barker’s equation. Exact for the two-body case.
Hyperbolic (e > 1)Two-body only. Valid for interstellar objects near perihelion.
QuantityNotes
Transfer orbit accuracyExact for the two-body (patched conic) approximation
Planet position accuracyLimited by VSOP87 (sub-arcsecond for present-day)
C3 accuracyDeparture C3 values are typically within 0.1 km^2/s^2 of JPL trajectory tools for well-posed transfers

Limitations: The Lambert solver assumes patched conic trajectories (two-body between planets). It does not account for:

  • Gravity assists
  • Solar radiation pressure
  • Finite thrust arcs
  • N-body perturbations during the transfer

For preliminary mission design and pork chop plot generation, these limitations are standard and expected.


TheoryPublication
SGP4/SDP4Vallado, D.A., Crawford, P., Hujsak, R., Kelso, T.S. “Revisiting Spacetrack Report #3.” AIAA 2006-6753, 2006.
VSOP87Bretagnon, P., Francou, G. “Planetary theories in rectangular and spherical variables. VSOP87 solutions.” Astronomy and Astrophysics, 202, 309-315, 1988.
ELP2000-82BChapront-Touze, M., Chapront, J. “The lunar ephemeris ELP-2000.” Astronomy and Astrophysics, 124, 50-62, 1983.
Lieske L1.2Lieske, J.H. “Galilean satellites of Jupiter.” Astronomy and Astrophysics Supplement Series, 129, 205-217, 1998.
TASS17Vienne, A., Duriez, L. “TASS1.7: An ephemeris generator for the major satellites of Saturn.” Astronomy and Astrophysics, 297, 588-605, 1995.
GUST86Laskar, J., Jacobson, R.A. “GUST86: An analytical ephemeris of the Uranian satellites.” Astronomy and Astrophysics, 188, 212-224, 1987.
MarsSatJacobson, R.A. “The orbits and masses of the Martian satellites and the libration of Phobos.” The Astronomical Journal, 139, 668-679, 2010.
Carr source regionsCarr, T.D., Desch, M.D., Alexander, J.K. “Phenomenology of magnetospheric radio emissions.” In Physics of the Jovian Magnetosphere, Cambridge Univ. Press, 1983.
Lambert solverBattin, R.H. “An Introduction to the Mathematics and Methods of Astrodynamics.” AIAA Education Series, Revised Edition, 1999.