Aerospace · Guide

Using the vis-viva equation for orbital speed

Use vis-viva to calculate two-body orbital speed with center-to-center radius, consistent gravitational units and the correct semimajor-axis convention.

Vis-viva relates orbital speed to position and specific orbital energy in the two-body approximation:

v = sqrt[μ(2/r − 1/a)].

Here μ is the gravitational parameter for the relative two-body motion, r is instantaneous center-to-center separation and a is signed semimajor axis. MIT's orbital-mechanics lecture derives the relation from conservation of energy.

The equation gives speed magnitude. It does not supply the velocity direction or the time needed to reach a specified orbital location.

Establish the geometric and unit basis

For an orbit around a much more massive body, μ is commonly approximated by GM of that primary. If μ is in km³/s², r and a must be in km and speed emerges in km/s. Using meters for one distance and kilometers for another invalidates the result.

Radius r is measured from the attracting center. An altitude above the surface must first be added to the appropriate body-radius model. Semimajor axis is also not the same as altitude.

For an ellipse, a is positive. In the signed-energy convention, a is negative for a hyperbola. The parabolic limit uses 1/a → 0; it should not be represented by entering a = 0.

Original circular-orbit example

Take a specified illustrative gravitational parameter μ = 398,600 km³/s² and a circular radius r = a = 7,000 km. Vis-viva reduces to:

v = sqrt(μ/r) = sqrt(398600/7000) = 7.546 km/s.

The corresponding period is 2πr/v ≈ 5,829 s, or 97.1 minutes, under the same ideal model.

If 7,000 km were mistakenly interpreted as altitude and another body radius were added, it would describe a different orbit. The unit and geometric labels are therefore part of the result.

Original elliptical comparison

Use the same μ with a = 10,000 km. At pericenter r = 7,000 km, speed is about 8.604 km/s. The corresponding apocenter is 2a − rp = 13,000 km, where speed is about 4.633 km/s.

The product of radius and tangential speed is the same at those two apsides, consistent with angular-momentum conservation. Away from an apsis, velocity includes a radial component, so rv alone is not generally specific angular momentum.

NASA's gravity and mechanics introduction provides the broader Newtonian and orbital context.

Check domain and physical consistency

The expression under the square root must be nonnegative for a real speed. An inconsistent r and a pair can produce a mathematical domain error even when both numbers are positive.

Two-body motion neglects oblateness, third bodies, atmospheric drag, radiation pressure and thrust. Those effects may matter for precise propagation or long intervals. An instantaneous speed estimate does not replace an ephemeris.

Use the vis-viva calculator with a stated μ source and distance basis. The circular-orbit angular-momentum tool addresses a different derived quantity and must retain its circular-orbit assumption.

Sources & further reading