If you’re designing a satellite mission, planning an orbital maneuver, or trying to pin down the properties of an exoplanet system, you need a practical tool to relate how far something orbits and how long it takes to complete an orbit. This Kepler’s Third Law calculator gets you those numbers—orbital period, distance, velocity, escape velocity, central mass, or specific energy—using Newton’s gravity and Kepler’s equations. These calculations are fundamental for things like trajectory design, communications planning, and estimating central masses. You’ll find not just the calculator, but also the raw formulas, a step-by-step Mars orbiter example, and some real talk about where the equations work and where they start to break down.
What is Kepler's Third Law?
Kepler’s Third Law lays out that the time for a full orbit depends on the orbit’s size. Specifically, the orbital period squared is proportional to the semi-major axis (the average “radius”) cubed. It’s a strict relationship, not a rough trend.
Simple Explanation
If you picture a racetrack, the runner in the outside lane has farther to go than the inside lane, and it takes longer at the same speed. In space, it’s similar—if a planet is farther out, it moves slower, so its orbit takes longer. This isn’t just a rule of thumb; it’s a precise law. Once you know the distance, you can calculate how long each orbit will take, no guesswork.
📐 Browse all 1000+ Interactive Calculators
Table of Contents
Orbital System Diagram
Interactive Calculator
How to Use This Calculator
This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.
- Pick what you want to solve for in the dropdown—period, semi-major axis, velocity, mass, energy, or escape velocity.
- Fill in whatever inputs show up—distance in meters, mass in kg, period in seconds, or orbital radius. It changes depending on your mode.
- Hit Try Example to load in the Moon–Earth values. Good for a quick check before doing your own numbers.
- Click Calculate to get your result.
Kepler's Third Law Interactive Visualizer
Watch how orbital distance dramatically affects orbital period, velocity, and energy in real-time. Adjust the semi-major axis to see Kepler's T² ∝ a³ relationship in action with live calculations.
PERIOD
27.3 days
VELOCITY
1.02 km/s
ESCAPE VEL
1.44 km/s
ENERGY
-0.52 MJ/kg
FIRGELLI Automations — Interactive Engineering Calculators
Governing Equations
If you know any two of period, distance, mass, or velocity, you can use these standard formulas to find the others.
Kepler's Third Law:
T² = (4π² / GM) × a³
Orbital Velocity (Circular):
v = √(GM / r)
Escape Velocity:
vesc = √(2GM / r)
Specific Orbital Energy:
ε = -GM / (2a)
Variable Definitions:
- T = Orbital period (s) — time for one complete orbit
- a = Semi-major axis (m) — half the longest diameter of the elliptical orbit
- M = Mass of central body (kg) — mass of the gravitational attractor
- G = Gravitational constant = 6.67430 × 10-11 m³/(kg·s²)
- r = Orbital radius (m) — distance from center of central body to orbiting object
- v = Orbital velocity (m/s) — instantaneous tangential velocity
- vesc = Escape velocity (m/s) — minimum velocity to escape gravitational influence
- ε = Specific orbital energy (J/kg) — total mechanical energy per unit mass
Theory & Practical Applications
Simple Example
Scenario: Calculate the orbital period of the Moon around Earth.
Inputs: Semi-major axis a = 384,400,000 m — Central body mass M = 5.972 × 10²⁴ kg
Result: T = 2π√(a³ / GM) ≈ 2,360,592 s ≈ 27.32 days
Orbital velocity: v ≈ 1,022 m/s (1.02 km/s)
Kepler’s Third Law is based on the way actual planets orbit. The key thing is: the formula assumes the central mass is much bigger than whatever’s going around it. For most satellites and planets, that’s a good enough assumption to ignore the orbiter's mass in the math. If the masses are more comparable—binary stars, for example—then you need to include both and measure everything relative to their center of mass. In typical Earth-orbiting or solar system cases, you can stick with M as the main mass.
Mathematical Derivation and Physical Significance
For circular orbits, Kepler’s Law drops right out of Newton’s gravity and force=mass × acceleration. Set GMm/r² equal to mv²/r, solve for v, and relate that to time around a full circle (T). You wind up with T² = 4π²r³/(GM), and for ellipses, swap r for the semi-major axis. This T² ∝ a³ rule holds whether orbits are nearly round or quite stretched, as long as other disturbances are small.
So, if you measure the distance and time for one object, you know the ratio for all others orbiting the same mass. This is how central masses—planets, stars—are measured from orbits. That negative specific orbital energy just shows the object is gravitationally bound. If you raised the orbit higher, energy comes closer to zero, with zero meaning you just barely escape.
Orbital Velocity Scaling and Mission Design
As you move further out, orbital velocity drops: v = √(GM/r) for circles. This means if you transfer a spacecraft to a higher orbit, you have to accelerate (change energy), then after the burn, you end up moving more slowly in that new orbit. That’s the basis for Hohmann transfers—you add velocity at perigee to raise apogee, then circularize with another burn at the top. Every delta-v for station-keeping or orbit changes comes from these velocity formulas.
For reference, staying in Low Earth Orbit is about 7.8 km/s; up at geostationary, it’s closer to 3.1 km/s. You need about 3.9 km/s in total maneuvers just to move from one to the other. Picking an orbital height is a tradeoff: higher orbits give you more coverage or different timing, but you lose velocity, and it takes more launch energy to get there.
Escape Velocity and Hyperbolic Trajectories
Escape velocity is the speed where your total mechanical energy hits zero—enough for the object to escape, never coming back. It’s √2 times the circular velocity at the same altitude. For Earth’s surface, it’s just over 11 km/s. In practice, spacecraft don’t accelerate all at once—they go up through the atmosphere first, then accumulate speed as drag drops. For interplanetary missions, hitting solar system escape velocity usually involves both launch vehicle performance and careful use of gravitational assists to get extra speed without extra fuel—especially for far-out targets.
Multi-Body Perturbations and Real-World Corrections
These formulas assume a clean two-body system—a point-mass planet, a tiny satellite, nothing else. Real orbits are always messier: planets aren’t perfect spheres; nearby bodies tug on the orbit; low orbits run into air drag; even sunlight pushes a little. In Earth orbit, the bulge at the equator (J2) causes precession, especially if you’re at low altitude or high inclination.
For satellites that need to stay in a precise position (like GPS), corrections pile up. Models need high-order gravity terms, atmospheric densities that change with the Sun’s activity, and lunar and solar pulls. Without maneuvering, GPS satellites can drift meters per day just from those effects. Even geostationary satellites need regular fuel burns every year to stay put within their narrow “box”.
Worked Example: Mars Orbiter Mission Design
Problem: A Mars reconnaissance orbiter operates in a circular polar orbit at 400 km altitude above the Martian surface. Mars has mass M = 6.4171 × 10²³ kg and mean radius R = 3.3895 × 10⁶ m. Calculate: (a) the orbital period in hours, (b) the orbital velocity in km/s, (c) the number of ground track repetitions per Martian sol (Martian day = 88,775 s), (d) the escape velocity at orbital altitude, and (e) the Δv required for a Hohmann transfer to a higher circular orbit at 800 km altitude.
Solution:
Part (a): Orbital radius r = R + h = 3.3895 × 10⁶ + 4.00 × 10⁵ = 3.7895 × 10⁶ m.
Using Kepler's Third Law rearranged for period:
T = 2π√(r³ / GM) = 2π√[(3.7895 × 10⁶)³ / (6.67430 × 10⁻¹¹ × 6.4171 × 10²³)]
T = 2π√(5.4428 × 10¹⁹ / 4.2823 × 10¹³) = 2π√(1.2710 × 10⁶) = 2π × 1127.2 = 7082.7 s
Converting to hours: T = 7082.7 / 3600 = 1.968 hours (approximately 1 hour 58 minutes)
Part (b): Orbital velocity v = √(GM/r) = √[(6.67430 × 10⁻¹¹ × 6.4171 × 10²³) / 3.7895 × 10⁶]
v = √(4.2823 × 10¹³ / 3.7895 × 10⁶) = √(1.1300 × 10⁷) = 3361.1 m/s = 3.361 km/s
Part (c): Number of orbits per sol = T_sol / T_orbit = 88,775 s / 7082.7 s = 12.53 orbits/sol
This non-integer ratio means the ground track repeats every 2 sols (25.06 orbits), providing comprehensive coverage with slight westward shift each orbit due to Mars's rotation.
Part (d): Escape velocity at orbital altitude v_esc = √(2GM/r) = √2 × v = 1.4142 × 3361.1 = 4.754 km/s
The orbiter travels at 70.7% of local escape velocity (ratio of 1/√2), characteristic of all circular orbits.
Part (e): For Hohmann transfer, calculate velocities at both altitudes:
r₁ = 3.7895 × 10⁶ m (400 km altitude), r₂ = 4.1895 × 10⁶ m (800 km altitude)
v₁_circular = 3361.1 m/s (calculated above)
v₂_circular = √(GM/r₂) = √[(4.2823 × 10¹³) / (4.1895 × 10⁶)] = 3197.7 m/s
Transfer orbit semi-major axis: a_transfer = (r₁ + r₂)/2 = 3.9895 × 10⁶ m
Velocity at periapsis (r₁) of transfer ellipse:
v₁_transfer = √[GM(2/r₁ - 1/a_transfer)] = √[4.2823 × 10¹³ × (2/3.7895×10⁶ - 1/3.9895×10⁶)]
v₁_transfer = √[4.2823 × 10¹³ × (5.2778×10⁻⁷ - 2.5066×10⁻⁷)] = √(1.1864 × 10⁷) = 3444.3 m/s
Velocity at apoapsis (r₂) of transfer ellipse:
v₂_transfer = √[GM(2/r₂ - 1/a_transfer)] = √[4.2823 × 10¹³ × (2/4.1895×10⁶ - 1/3.9895×10⁶)]
v₂_transfer = √[4.2823 × 10¹³ × (4.7742×10⁻⁷ - 2.5066×10⁻⁷)] = √(9.7131 × 10⁶) = 3116.6 m/s
First burn (at 400 km): Δv₁ = v₁_transfer - v₁_circular = 3444.3 - 3361.1 = 83.2 m/s
Second burn (at 800 km): Δv₂ = v₂_circular - v₂_transfer = 3197.7 - 3116.6 = 81.1 m/s
Total mission Δv = Δv₁ + Δv₂ = 83.2 + 81.1 = 164.3 m/s
This relatively modest Δv requirement (compared to the ~4000 m/s needed for Mars orbit insertion from interplanetary trajectory) demonstrates the efficiency of Hohmann transfers for altitude adjustments within a planetary system.
Applications Across Astrophysics and Engineering
Beyond satellite design, you can also use Kepler’s Law to estimate masses of stars and planets just from orbital timings and distances. In exoplanet observations, you’ll see astronomers combine period and velocity (from Doppler shifts) to get planetary masses. For satellites like GPS or telecommunications systems, the orbital period is literally dialed in using these formulas—pick the period, solve for semi-major axis, and that gives you the required height. This is why the geostationary belt is at exactly 35,786 km above Earth’s surface. For GPS at 20,200 km, the period ensures each satellite repeats its ground track twice per day, giving global coverage.
For more space mission engineering calculations, visit the engineering calculator library.
Frequently Asked Questions
▼ Why doesn't the orbiting body's mass appear in Kepler's Third Law?
▼ How do you calculate the orbital period for highly elliptical orbits versus circular orbits?
▼ What causes orbital decay and how does it affect period calculations?
▼ How accurate is Kepler's Third Law for systems with extreme mass ratios like black holes?
▼ Can Kepler's Third Law predict orbital resonances in multi-body systems?
▼ How do you determine planetary mass from satellite observations using Kepler's law?
Free Engineering Calculators
Explore our complete library of free engineering and physics calculators.
Browse All Calculators →🔗 Explore More Free Engineering Calculators
About the Author
Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations
Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.
📹 Video Walkthrough — How to Use This Calculator
📹 Video Walkthrough — How to Use This Calculator
Need to implement these calculations?
Explore the precision-engineered motion control solutions used by top engineers.
