Gravity & Orbital Motion
Explore Newtonian gravity and circular-orbit mechanics interactively — adjust central body mass, orbiting body mass and orbital radius and see the real gravitational force, orbital velocity and orbital period recompute live.
How it works
A small body moves in a circle around a much heavier one. Newton's law of gravitation gives the pull between them, and setting that pull equal to the force needed to keep something moving in a circle gives the orbital speed and the time for one orbit.
What you will learn
After using this simulation you should be able to:
- Use Newton's law of gravitation to say how the pull between two bodies changes with their masses and the distance between them.
- Explain why a body in a circular orbit needs exactly the right speed for its distance.
- Use Kepler's third law to compare how long orbits take at different distances.
Equations
- F = G·M·m / r²
- Gravitational force between the two bodies (newtons).
- v = √(G·M / r)
- Speed needed for a circular orbit at distance r (metres per second).
- T = 2π·√(r³ / (G·M))
- Time for one complete orbit (seconds); this is Kepler's third law.
- G = 6.67430 × 10⁻¹¹ m³ kg⁻¹ s⁻²
- Newton's gravitational constant (CODATA 2018).
What the model assumes
- The orbit is a perfect circle. Real planetary orbits are slightly elliptical.
- The central body does not move: the orbiting body's own pull on it is ignored, which is accurate when it is far lighter.
- Only two bodies exist. Pulls from other planets and moons are ignored.
- Both bodies act as points: their size and shape do not matter.
Where it stops being right
- Changing the orbiting body's mass changes the force but not the speed or period, because in this approximation those depend only on the central mass.
- When the two masses are comparable (the Moon is about 1/81 of Earth's mass) the real period is a little shorter than this model gives, because both bodies circle their shared centre of mass.
- Very close to a massive, dense object Newton's law is no longer accurate and general relativity is needed.
Sources
Loading the Gravity & Orbital Motion explorer…
Using this simulation
How to use it
- Start with a preset to see a real example, then change one control at a time and watch which results change.
- Drag a slider to explore, or type an exact number in the box next to it.
- The results under the picture update straight away. Open “Show the data as a table” to see them laid out side by side.
- When you find something interesting, use “Copy shareable link” to send exactly those settings to someone else.
Things to try
- Choose “Earth around the Sun” and double the orbiting body mass. The force doubles, but the orbital speed and period do not change at all.
- Now double the orbital radius instead. The force falls to a quarter (it follows an inverse square law), and one orbit takes about 2.8 times as long.
- Compare “Space station around Earth” with “The Moon around Earth”. The closer orbit is faster and takes far less time to go round.
The controls
- Central body mass
- The mass of the heavy body in the middle (for example the Sun), in kilograms (kg).
- Orbiting body mass
- The mass of the lighter body going round it (for example Earth), in kilograms.
- Orbital radius
- The distance between the centres of the two bodies, in metres (m).
- Pause animation
- Stops and restarts the moving picture. The numbers do not change.
- Preset
- Loads a ready-made, real-world example. The sentence under it says what the example shows.
- Reset to default
- Puts every control back to the first preset.
- Exact value boxes
- Each slider has a box for typing a precise number. A value outside the allowed range is refused with a message, never quietly changed.
- Show the data as a table
- Opens the same results as a table.
- Copy shareable link
- Copies a link that opens the simulation with exactly these settings. The link holds only the settings, nothing about you.
The readings
- Gravitational force
- How hard the two bodies pull on each other, in newtons (N).
- Orbital speed
- How fast the orbiting body must move to stay on a circle at this distance.
- Orbital period
- How long one complete orbit takes.
Accessibility
- The picture is a top-down view that is not to scale, with time sped up so that one orbit takes a few seconds; the note under it gives the real period.
- Every slider works with the keyboard: arrow keys for small steps, Page Up and Page Down for big ones, Home and End for the limits.
- Every result is written out as text and announced by screen readers as it changes, and the data table holds the same numbers.
- If your device asks for reduced motion, a still diagram is shown instead of the animation; otherwise the animation can be paused at any time.