ForHosting KIT · Science

Perihelion velocity calculator

Around the Sun, an orbit with a semi-major axis of 149597870700 m and eccentricity 0.0167086 reaches its closest point at 147098299718 m, moving at 30286.5802918 m/s. You also get the squared speed. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Semi major axis
149,597,870,700
Eccentricity
0.0167086
Gravitational parameter
132,712,440,018,000,000,000
You get
Perihelion distance
147,098,299,718
Perihelion velocity
30,286.5802918
Speed squared
917,276,945.772

The perihelion velocity calculator finds the maximum speed of an object traveling on an elliptical two-body orbit. Enter the orbit's semi-major axis, its dimensionless eccentricity, and the central body's standard gravitational parameter. The calculator first determines the closest orbital distance and then applies the vis-viva equation at that point. Results include perihelion distance, perihelion velocity, and squared speed, making the calculation useful for mission planning, astronomy exercises, independent checks, and reproducible software workflows.

What perihelion velocity means

Perihelion is the point where an orbiting body is closest to the Sun; for an orbit around another central body, the more general term is periapsis. An object in an elliptical orbit does not travel at one constant speed. It accelerates as it falls inward and slows as it climbs outward, so its maximum orbital speed occurs at the closest approach.

This calculator treats the supplied central body through its standard gravitational parameter, commonly written as mu, which combines the gravitational constant and central mass. It assumes the usual ideal two-body model: the bodies are represented by point masses, the central body dominates the dynamics, and perturbations such as atmospheric drag, oblateness, radiation pressure, or third-body gravity are omitted. Under those assumptions, semi-major axis and eccentricity completely determine the ellipse's shape and closest distance.

The returned velocity is a magnitude, not a direction or a full state vector. It is best understood as the instantaneous tangential speed at perihelion in the ideal orbit described by the inputs.

How the vis-viva calculation works

The calculation proceeds in two explicit stages. For a circular orbit, eccentricity is zero, perihelion distance equals the semi-major axis, and the result reduces to the familiar circular speed sqrt(mu/a). As eccentricity approaches one from below while a remains fixed, closest approach shrinks and perihelion speed rises sharply.

The implementation accepts only elliptical eccentricities from zero up to, but not including, one. A negative eccentricity produces an input error as required, while one or greater is rejected because it does not describe the finite elliptical orbit assumed by these inputs. The response also exposes squared speed and the formula so automated consumers can audit the operation.

Choosing units and interpreting the result

Units must be consistent because the calculator does not silently convert them. If the semi-major axis is in meters and the gravitational parameter is in cubic meters per second squared, perihelion distance is returned in meters and velocity in meters per second. Using kilometers with a gravitational parameter in cubic kilometers per second squared instead produces kilometers and kilometers per second.

Mixing meters with a kilometer-based gravitational parameter yields a numerically valid but physically wrong answer, so check source units before submitting data. Use the standard gravitational parameter for the body at the focus, not its mass alone. Published planetary ephemerides often provide mu directly and it is normally more useful than multiplying a rounded mass by the gravitational constant.

This tool is suitable for quick comparisons, classroom work, pipeline validation, and first-pass mission calculations. It is not a numerical propagator and does not model burns, encounters, uncertainty, relativistic effects, or changing orbital elements. For operational navigation, compare its ideal result against an appropriate high-fidelity dynamics model and current ephemeris data.

Check a planetary orbit

Estimate a planet's maximum heliocentric speed from published orbital elements and the Sun's gravitational parameter.

Validate mission calculations

Compare a spreadsheet or simulation output with an independent vis-viva calculation at closest approach.

Teach orbital mechanics

Show how increasing eccentricity changes perihelion distance and maximum speed while semi-major axis stays fixed.

What inputs are required?

Provide a positive semi-major axis, an eccentricity from zero to less than one, and a positive standard gravitational parameter.

What units does the result use?

They follow your inputs. Meters with m^3/s^2 produce m/s; kilometers with km^3/s^2 produce km/s.

Is perihelion velocity the maximum orbital speed?

Yes, for an ideal bound elliptical two-body orbit, speed is greatest at the closest point to the central body.

What does the calculator return for a circular orbit?

With eccentricity zero, the closest distance equals the semi-major axis and the speed reduces to the familiar circular speed: the square root of the gravitational parameter divided by the semi-major axis.

Why is an eccentricity of 1 or more rejected?

An eccentricity of 1 or more describes an open path, not the finite ellipse this calculation assumes. Values from zero up to just below 1 are accepted, and negative values are rejected as well.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/astro/perihelion-velocity

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/astro/perihelion-velocity \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"semi_major_axis":149597870700,"eccentricity":0.0167086,"gravitational_parameter":132712440018000000000}'
{
  "semi_major_axis": 149597870700,
  "eccentricity": 0.0167086,
  "gravitational_parameter": 132712440018000000000
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "astro.perihelion_velocity",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

How the vis-viva calculation works

First it computes the perihelion distance with r_p = a(1-e), where a is the semi-major axis and e is eccentricity. It then substitutes that radius into the vis-viva equation, v = sqrt(mu(2/r - 1/a)). Evaluating vis-viva at r_p gives the requested maximum speed.

Choosing units and interpreting the result

API requests cost $0.002; the same deterministic inputs always produce the same output.

Why is negative eccentricity rejected?

Classical orbital eccentricity is non-negative. A negative value does not describe the elliptical orbit used by this calculation and returns invalid_input.

How much does an API calculation cost?

Each API request costs $0.002. The calculation is constant-time and deterministic.

Read the full KIT documentation →