AppsArticlesContact
Back to Articles

SGP4:
From Orbital Elements to a Moving Map

TLE data describes an orbit. SGP4 is the model that turns that compact description into a satellite position at a chosen time.

Earth and the International Space Station illustrating satellite orbit propagationEarth and the ISS introduce the orbital context; the technical diagrams below explain the propagation process

01The Missing Piece After TLE

A two-line element set, or TLE, is not a live coordinate. It is a compact description of an orbit at a reference time. To turn that description into a moving point on a map, software needs an orbit propagation model. For most public satellite tracking workflows, that model is SGP4.

SGP4 stands for Simplified General Perturbations model 4. In practical terms, it is the calculation layer between a TLE file and the satellite dot you see on a live map. The elements are fitted for this model; they are not interchangeable with arbitrary instantaneous Keplerian elements. A more elaborate propagator does not automatically improve results if it is initialized with incompatible mean elements. Vallado and colleagues explain this model-compatibility requirement.

02What Propagation Means

Orbit propagation means estimating the future or current state of an orbiting object from known orbital data. The output is usually position and velocity at a requested time. A tracker then converts that state into latitude, longitude, altitude, speed, ground track, and a visible marker on a globe or map.

The word "estimate" matters. SGP4 is not receiving real-time telemetry from every satellite. It is calculating a position based on a model and data. Good TLE data and correct timing can produce a useful public tracking result, but the position is still a prediction. Accuracy depends on data age, orbit type, atmospheric drag, maneuvers, and implementation details.

03Why SGP4 Became Common

SGP4 became common because it is compatible with the TLE format used widely for Earth-orbiting objects. The model is practical, fast, and good enough for many public visualization and observation tasks. A browser-based tracker can propagate thousands of objects without needing a full high-fidelity mission operations environment.

That efficiency is important. A live orbital map may need to update positions repeatedly as time advances. If every satellite required a heavy numerical simulation, the app would become slow and difficult to run on ordinary devices. SGP4 gives public tools a useful balance: more realistic than a simple Kepler ellipse, lighter than a precision flight dynamics system.

04What SGP4 Accounts For

A perfectly simple orbit would repeat forever, but real Earth orbits are disturbed. Earth's gravity is not perfectly uniform, and the upper atmosphere creates drag in low orbit. The SGP4 family uses analytical approximations rather than integrating every force numerically.

The standard implementation selects a near-Earth branch for orbital periods below 225 minutes and a deep-space branch for recovered periods of 225 minutes or more. Some SGP4 libraries identify these internal branches as method n (near-Earth) and method d (deep-space). This threshold is a computational regime, not a boundary between Earth orbit and interplanetary space. The near-Earth branch emphasizes Earth's nonspherical gravity and simplified drag behavior. The deep-space branch adds long-period lunar-solar effects and resonance terms that matter for high-period objects. This regime distinction is important: not every perturbation shown in a general orbital-mechanics diagram belongs to the same branch of the model.

BSTAR is SGP4's fitted drag parameter, not a direct measurement of atmospheric density or a conventional spacecraft drag coefficient. Because it is estimated together with the TLE mean elements, it can also absorb limitations and errors in the simplified force model.

Verified processing flow from the ISS TLE through SGP4 initialization and propagation to a TEME state vectorThe ISS example recovers a 92.9713-minute period, selects near-Earth method n, and outputs TEME position and velocity

05The SGP4 Pipeline

A typical tracker pipeline has several steps. First, the app loads the satellite name and TLE lines. Second, it parses the elements and checks the epoch. Third, it asks SGP4 for the satellite position and velocity at the current UTC time. Fourth, it converts the result from an Earth-centered coordinate system into latitude, longitude, altitude, and visible map coordinates.

If the app draws an orbit path, it repeats the same propagation at many time samples before and after the current moment. That is how it creates a line that belongs to the selected satellite. A correct orbit line is not randomly drawn around Earth; it is many propagated positions connected together.

The plot below is generated from CelesTrak's ISS (ZARYA) TLE for NORAD 25544, with epoch 2026-07-18 02:08:01 UTC. Its published TLE mean motion corresponds to a 92.9609-minute period. During SGP4 initialization, Satellite.js recovers a 92.9713-minute period and therefore selects near-Earth method n. The figure includes exact endpoints at 46.4856 minutes before and after the epoch, plus two-minute interior samples, so its total time span equals one recovered orbital period. At the epoch, the calculation gives approximately 417.4 km altitude and 7.664 km/s speed. These values document one reproducible TLE snapshot; they are not presented as live ISS telemetry.

The example uses Satellite.js's GMST-based TEME-to-geodetic conversion without external polar-motion Earth-orientation parameters. That is appropriate for this educational visualization, but it should not be presented as a precision ITRF orbit product.

The two published periods differ by approximately 0.62 seconds. The first is 1,440 divided by the TLE mean motion; the second comes from the mean motion recovered during model initialization. Neither is a promise that the spacecraft returns over your location after that interval. The saved ground track has different Earth-fixed endpoints because Earth rotates while the spacecraft completes its revolution.

ISS ground track calculated with Satellite.js from a fixed CelesTrak TLE using exact one-period endpointsVerified example: 49 Satellite.js samples span exactly one recovered period; the path is split correctly at the date line, and the Earth basemap is illustrative

06Accuracy And TLE Age

SGP4 can only be as useful as the data and assumptions feeding it. A fresh TLE for a stable object can produce a better public display than an old TLE for a maneuvering satellite. Space stations periodically reboost. Some satellites perform station keeping. Low objects feel atmospheric drag. Debris objects may have uncertain behavior. All of those factors affect confidence.

That is why a responsible tracker should show or consider TLE age. If the data is old, the dot may still look smooth, but smooth animation is not the same thing as accurate position. This is a subtle trap in web design: a beautiful moving globe can make estimates feel more precise than they are. A displayed propagation timestamp is not a telemetry reception timestamp. The TLE epoch and the requested prediction time should both be visible.

07SGP4 Is Not GPS

It is easy to assume a live tracker is receiving exact positions from satellites. In most public TLE-based systems, that is not what happens. The tracker reads orbital elements and propagates them. The moving dot is a calculated estimate. It may be very useful for education, public awareness, pass prediction, and visual comparison, but it is not the same as operational navigation data.

This distinction protects users from overtrusting the display. If an app says a satellite is above a country at a specific timestamp, that statement is tied to the model, data source, and clock. It is not a permanent fact. The satellite keeps moving, and the data behind the prediction keeps aging.

08One Position, Different Coordinates

SGP4 returns position in kilometres and velocity in kilometres per second in the True Equator, Mean Equinox (TEME) frame. Those x, y and z values are not latitude, longitude and altitude. TEME is also not simply another name for J2000.

For a map position, the software accounts for Earth rotation at the requested sample time, not always the original TLE epoch. A fuller TEME-to-ITRF transformation uses UT1 and polar-motion data. This article's example instead uses Satellite.js 4.1.4 with a GMST rotation and no external Earth-orientation corrections. The distinction follows the Vallado coordinate-conversion discussion; our result is an educational map location, not a precision ITRF product.

Geodetic latitude uses the reference ellipsoid's surface normal. It differs from the geocentric angle measured at Earth's center, which is why a globe sketch of a radial angle should not be labeled an exact geodetic conversion. Transforming velocity also requires accounting for frame rotation: simply rotating the velocity axes does not give the Earth-fixed rate of change of position.

A reproducible historical ISS sampleTLE epoch: July 18, 2026, 02:08:01.938 UTC, rounded to milliseconds. Calculated at zero minutes from the element epoch.
  1. 1

    Read one fixed element set

    NORAD 25544. Mean motion 15.49037991 rev/day. Use the archived lines, not today's changing ISS feed.

  2. 2

    Calculate the TEME state

    Position (km): x = -5,709.938; y = 3,684.522; z = 0.025. These coordinates describe one point, not an orbit line.

  3. 3

    Apply the stated map conversion

    GMST is about 327.9147 degrees at this epoch. The sample omits external polar-motion corrections; it does not claim a precision Earth-fixed solution.

  4. 4

    Read the result with its time attached

    Latitude 0.0002 degrees north; longitude 179.2518 degrees east; ellipsoidal altitude 417.383 km. TEME speed is 7.6636 km/s, not speed across the map.

Download the historical input and reference output (JSON) ยท jewawud.id

09What To Check Before Trusting A Dot

In Live Orbital Map [JOT], start with object identity and the age of its elements. Compare predictions only at the same UTC time. A new TLE may move the marker because it revises the estimated orbit; it does not establish that an instantaneous maneuver happened on your screen.

The Satellite Index separates mission history from orbital data. Its 14-day cutoff blocks stale live displays as a product safeguard, not a universal SGP4 accuracy limit. A satellite that maneuvers can make younger elements misleading; an inactive object may remain cataloged long after its instruments stop working.

To check the downloaded example, initialize Satellite.js 4.1.4 with its two TLE lines and call sgp4(satrec, 0). Convert that state with GMST from satrec.jdsatepoch. Compare the provided TEME coordinates before comparing map labels. The extra output digits help detect implementation differences; they are not evidence of centimetre-level knowledge of the ISS's actual position.

10When SGP4 Is Enough

SGP4 is enough for many educational and public tracking tasks. It is excellent for showing how satellite categories differ, where the ISS is estimated to be, how ground tracks work, why inclination matters, and how thousands of objects form shells around Earth. It is also practical for share cards, orbit previews, and learning tools.

It is not enough for every aerospace task. Collision avoidance, spacecraft operations, high-precision navigation, and mission-critical planning require more controlled data, validation, and operational methods. That does not make SGP4 weak. It means the model should be used for the right job. In public web tools, its strength is accessibility: it turns open orbital data into something people can explore.

FAQQuick Questions

Is SGP4 the same as TLE? No. TLE is the data format. SGP4 is the propagation model that calculates positions from that data.

Does SGP4 give exact satellite positions? It gives useful estimates for many public tracking purposes, but accuracy depends on fresh data, object behavior, and correct implementation.

Why do trackers use SGP4? It is fast, widely supported, compatible with public TLE data, and practical for browser-based visualization.

REFReferences

CelesTrak's NORAD TLE documentation is a useful starting point for understanding the data format used with SGP4: CelesTrak TLE Format.

The reproducible ISS diagram uses the CelesTrak GP endpoint for NORAD 25544: Current ISS TLE. The figure records the exact snapshot epoch instead of implying that a saved image remains live.

For a deeper technical treatment, see Vallado, Crawford, Hujsak, and Kelso's "Revisiting Spacetrack Report #3", commonly referenced by modern SGP4 implementations: CelesTrak SGP4 reference.

See SGP4 In Action

Open Jewawud's live orbital map and click a satellite. Check the selected object, TLE epoch and displayed UTC time before interpreting the dot or its path.

Open Live Orbital Map