DEV Community

Cover image for Deriving the ISS's 92-minute orbit from one line of physics, in JavaScript
Surendra Singh Kamboj
Surendra Singh Kamboj

Posted on AI-assisted

Deriving the ISS's 92-minute orbit from one line of physics, in JavaScript

A satellite in a circular orbit has exactly one allowed speed for a given altitude, because gravity has to supply exactly the centripetal force the circle demands. That single constraint is enough to derive the ISS's real orbital period from scratch.

Full disclosure: I build PractiSci, a free virtual physics and chemistry lab (https://www.practisci.in).

GMm/r^2 = mv^2/r => v = sqrt(GM/r), and T = 2*pi*r / v

const GM = 3.986004418e14;   // m^3/s^2, Earth
const Re = 6.371e6;          // m
const altitude = 4.00e5;     // m, 400 km (ISS-like)

const r = Re + altitude;
const v = Math.sqrt(GM / r);
const T = 2 * Math.PI * r / v;

console.log('speed (km/s):', (v / 1000).toFixed(3));
console.log('period (minutes):', (T / 60).toFixed(2));
// speed (km/s): 7.673
// period (minutes): 92.41
Enter fullscreen mode Exit fullscreen mode

7.673 km/s and 92.41 minutes — right in line with the ISS's reported ~90-93 minute orbit.

Counterintuitive part: v depends on 1/sqrt(r), so a HIGHER orbit needs a SLOWER satellite, even though its circular path is longer. Geostationary satellites (r about 42,164 km) are the extreme case — much higher, much slower, but their period happens to match Earth's 24-hour spin.

Common mistake: assuming a bigger orbit means a faster satellite "because it has further to go." The opposite happens, and Kepler's third law (T^2 proportional to r^3) captures just how much faster the period grows than either effect alone would suggest.

Try PractiSci's satellite orbits lab: https://www.practisci.in/labs/11-7-satellite-orbits (part of the class 11 physics practicals: https://www.practisci.in/practicals/class-11-physics).

Top comments (0)