Hand Calculations logo Hand Calculations All help pages ▾

Orbital Velocity⚠ unverified

Aerospace / Orbital · Compute the orbital velocity at a given radius using the vis-viva equation

Parameters

InputSymbolUnitDefaultDescription
aam1.0Semi-major axis of the orbit
rrm1.0Radial distance from the primary body's centre
muμ398600000000000.0Standard gravitational parameter of the primary body, in m**3/s**2. Default is 3.986e14 (Earth)
OutputSymbolUnitDescription
resultvm/sOrbital speed at radius ``r``, in metres per second (m/s). Returns 0.0 when the semi-major axis is not positive

The science & history

Understanding the Parameters

Derivation (Approaching a Proof)

Vis-viva is conservation of energy for the two-body problem, made specific (per unit mass). Two quantities are conserved on a Keplerian orbit: the specific mechanical energy $\varepsilon$ and the specific angular momentum. Use energy.

The specific orbital energy at any point is kinetic plus (negative) gravitational potential:

$$\varepsilon = \frac{v^2}{2} - \frac{\mu}{r}.$$

This is Vis Viva Energy, and it is the same value everywhere on the orbit (energy is conserved). Now evaluate it at a convenient point to pin its value in terms of $a$. Take perigee and apogee, where velocity is purely tangential, and use conservation of both energy and angular momentum between them; the algebra collapses to the compact and famous result that the total energy depends only on the semi-major axis:

$$\varepsilon = -\frac{\mu}{2a}.$$

(For a circle this is immediate: $\varepsilon = v^2/2 - \mu/r$ with $v^2 = \mu/r$ gives $\varepsilon = \mu/2r - \mu/r = -\mu/2r = -\mu/2a$.) Set the two expressions for $\varepsilon$ equal:

$$\frac{v^2}{2} - \frac{\mu}{r} = -\frac{\mu}{2a}.$$

Solve for $v^2$:

$$\frac{v^2}{2} = \frac{\mu}{r} - \frac{\mu}{2a} \quad\Longrightarrow\quad v^2 = \frac{2\mu}{r} - \frac{\mu}{a} = \mu\left(\frac{2}{r} - \frac{1}{a}\right),$$

and taking the square root gives the vis-viva equation:

$$v = \sqrt{\mu\left(\frac{2}{r} - \frac{1}{a}\right)}. \qquad\blacksquare$$

The physical reading: the $2\mu/r$ term is (twice) the local potential depth — how much kinetic energy the body has "fallen into" — and the $-\mu/a$ term is (twice) the fixed total energy that caps it. Their difference is the kinetic energy per unit mass.

Dimensional check. $\mu$ is $\text{m}^3/\text{s}^2$ and $2/r-1/a$ is $\text{m}^{-1}$: $$\mu\left(\frac{2}{r}-\frac1a\right) = \frac{\text{m}^3}{\text{s}^2}\cdot\frac{1}{\text{m}} = \frac{\text{m}^2}{\text{s}^2},$$ and the square root gives $\text{m}/\text{s}$ ✓.

History and Development

Related Concepts: Vis Viva Energy, Circular Orbit Velocity, Escape Velocity, Orbital Period, Hohmann Transfer Dv1, Hohmann Transfer Dv2, Eccentricity Vector, Gravitational Force

Notes: The vis-viva equation — one relation for all conics: $r=a$ → circular $\sqrt{\mu/r}$; $a\to\infty$ → escape $\sqrt{2\mu/r}$; $a<0$ → hyperbolic. Energy depends only on $a$ ($\varepsilon=-\mu/2a$); $r$ sets position. Returns speed magnitude only (not direction). $\mu=GM$ mislabelled dimensionless (is m³/s²). The $a\le0$ guard returns 0, suppressing valid hyperbolic ($a<0$) speeds.

← Back to the workspace  ·  All help pages  ·  Getting started