ForHosting KIT · Science

Planet orbital speed around a star calculator

With the Sun's mass of 1.98847e+30 kg and Earth's mean distance of 149597870700 m, a planet circles at 29785.1421692 m/s. Enter any star and distance to estimate a representative orbital 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
Stellar mass kg
1,988,470,000,000,000,000,000,000,000,000
Orbital distance m
149,597,870,700
You get
Mean orbital speed m s
29,785.1421692

This planet orbital speed calculator estimates how quickly a planet travels around its star when the orbit is treated as circular. Enter the star's mass in kilograms and the planet's mean orbital distance in metres. The calculator applies the standard circular-orbit relationship between gravity and centripetal motion, then returns the mean orbital speed in metres per second. It is useful for astronomy lessons, quick checks of planetary-system data, and early calculations where a full orbital simulation would be unnecessary. Results are deterministic, use a fixed gravitational constant, and reject zero or negative orbital distance because division by such a distance is not physically meaningful.

Enter the stellar mass and orbital distance

For a planet orbiting the Sun, a commonly used solar mass is about 1.98847 times ten to the thirtieth kilograms. For Earth, one astronomical unit is approximately 149,597,870,700 metres. The distance is measured from the star's center to the planet's center; it is not the distance above a stellar surface.

Both entries must be finite numbers, and numeric strings are accepted for convenient use in forms and SDKs. Stellar mass must be positive because the circular-orbit model requires an attracting central body. Orbital distance must also be strictly positive.

A zero or negative value produces an invalid-input error instead of an infinite, imaginary, or misleading result. Keep the units exactly as stated unless you convert them before submitting: kilograms for stellar mass and metres for distance. The returned speed is therefore expressed in metres per second.

This explicit SI contract avoids ambiguity when values come from tables that may instead use solar masses, astronomical units, or kilometres. Convert those source values first, then submit the converted quantities.

Understand the circular-orbit calculation

The calculator uses v = sqrt(GM/r), where v is orbital speed, G is the fixed gravitational constant 6.6743 × 10^-11 cubic metres per kilogram per second squared, M is stellar mass, and r is orbital distance. The expression follows by setting the star's gravitational acceleration equal to the centripetal acceleration required for circular motion. A larger stellar mass increases speed because stronger gravity can maintain a faster orbit at the same distance.

A larger orbital distance decreases speed because the gravitational attraction is weaker farther from the star. The response also echoes both normalized inputs and identifies the formula, which makes saved calculations easier to audit. The word mean signals an important modeling choice: real planetary orbits are usually elliptical, so instantaneous speed changes throughout an orbit.

This tool substitutes the stated mean distance into the circular formula. It is consequently best understood as a representative circular speed, not an ephemeris prediction. The planet's own mass is omitted under the usual approximation that it is much smaller than the star.

For a massive companion or binary system, a two-body calculation using total system mass and barycentric distances may be more appropriate.

Interpret results and know the limits

Use the result for comparisons, education, plausibility checks, and first-pass estimates. For example, calculating Earth with solar mass and one astronomical unit gives a value near 29.8 kilometres per second after converting the returned metres-per-second number. Planets farther from the same star should show lower circular speeds, while planets at equal distance from a more massive star should show higher speeds.

The tool does not account for orbital eccentricity, perturbations from other bodies, relativistic effects, stellar mass loss, atmospheric drag, or uncertainty in measured inputs. It also does not calculate the planet's velocity direction, orbital period, escape speed, or position at a particular date. Those tasks require additional parameters and different models.

When reporting a result, retain sensible significant figures based on the precision of the stellar mass and distance you supplied; the calculator's displayed precision cannot improve uncertain observations. Validation errors clearly identify an unacceptable mass or distance, allowing a calling application to correct its data rather than silently propagating invalid arithmetic. For scientific work, document the circular-orbit assumption beside the result and compare it with an ephemeris or numerical model whenever mission safety, navigation, or high-precision research depends on the answer.

Astronomy education

Compare representative orbital speeds for planets at different distances and explain how stellar mass changes the result.

Exoplanet data checks

Turn a catalogued stellar mass and orbital distance into a quick circular-speed estimate for plausibility review.

Early system modeling

Supply a deterministic first-pass speed to a worksheet or prototype before adopting a full numerical orbit model.

What formula does the calculator use?

It uses v = sqrt(GM/r), the circular-orbit formula, with a fixed SI gravitational constant.

What units should I enter?

Enter stellar mass in kilograms and orbital distance in metres. The result is in metres per second.

Why is zero orbital distance rejected?

The formula divides by orbital distance, and a planet cannot have a circular orbit at zero distance from the star's center.

Does this give instantaneous speed on an elliptical orbit?

No. It gives a representative circular speed at the supplied mean distance; elliptical-orbit speed varies with position.

Does a heavier star make a planet orbit faster?

Yes. At the same distance, a larger stellar mass means stronger gravity and a faster circular orbit. Moving the planet farther out has the opposite effect, because the attraction weakens with distance.

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/planet-orbital-speed

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/planet-orbital-speed \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stellar_mass_kg":1.98847e+30,"orbital_distance_m":149597870700}'
{
  "stellar_mass_kg": 1.98847e+30,
  "orbital_distance_m": 149597870700
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "astro.planet_orbital_speed",
  "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.

Enter the stellar mass and orbital distance

Provide stellar_mass_kg as the mass of the star in kilograms. Provide orbital_distance_m as the mean distance between the planet and the star in metres.

Understand the circular-orbit calculation

The returned field mean_orbital_speed_m_s is rounded to twelve significant digits to make repeated results stable while preserving useful precision.

Interpret results and know the limits

The browser calculation is suitable for interactive use, while API consumers can submit the same fields for $0.002 per successful item and receive structured JSON.

How much does the API calculation cost?

Each successful API item costs $0.002; the browser calculator can run the deterministic calculation locally.

Read the full KIT documentation →