Saved

Press the star next to a tool's name to save it.

All my tools

Exoplanet Calculator

Use this exoplanet calculator to find the surface gravity, escape velocity and mean density of a planet from its mass and radius, and its orbital period from the star's mass and the orbit.

Restored your last values ·

solar masses
AU

Choose a mass unit and the units for the radius, then enter the mass and radius of the planet. Add the mass of the star and the size of the orbit to get the orbital period too.

Everything is worked out in your browser. Nothing you type is sent anywhere.

–

–

Enter the mass and the radius of the planet, then press Calculate.

See full result

An exoplanet calculator turns two numbers that astronomers measure, the mass and the radius of a planet, into its surface gravity, its mean density and the speed needed to escape from it. Add the mass of its star and the size of its orbit and it also gives the length of the planet's year.

How to use the exoplanet calculator

  1. Choose the mass unit and the units for the radius.
  2. Enter the mass and the radius of the planet.
  3. Add the star mass and the orbit size for the orbital period.
  4. Press Calculate.

What this tool does and does not do

This tool works out the physical properties of a planet from its mass and radius: surface gravity, escape velocity and mean density. With the star's mass and the orbit it adds the length of the planet's year. It does not model how a planet is detected, and it does not work out the Doppler shift of starlight or any other detection signal, so use it for the planet itself and not for the survey that found it.

Surface gravity

The surface gravity of a sphere is g = G M ÷ r², where M is the mass, r the radius and G the gravitational constant, about 6.67 × 10⁻¹¹ in SI units [2]. The surface gravity page names G without a value and gives the standard gravity of Earth as 9.80665 m/s² [1]. The formula itself is on the same page [1]. The calculator shows the answer in metres per second squared, in feet per second squared and as a multiple of Earth's standard gravity.

Escape velocity

The speed that a body needs to leave a planet without further push is the escape velocity, √(2 G M ÷ r) [3]. The Wikipedia page gives about 6.67 × 10⁻¹¹ for G and 11.186 kilometres per second for Earth [2]. You can also write it as √(2 g r), which is the same number, and this form is our own working. It does not depend on the mass of the escaping body.

Mean density

The mean density is the mass divided by the volume of a sphere, ρ = M ÷ (4/3 π r³). This follows from the definition and is our own working, but it is consistent with the relation g = (4π ÷ 3) G ρ r given on the surface gravity page [1]. Rocky planets have densities of several grams per cubic centimetre, while gas giants are much lower, so the density hints at what a planet is made of.

A Mars example

Mars has a mass of 6.4185 × 10²³ kg and a radius of 3,390 km, the figures used by the surface gravity page [1]. The calculator gives a surface gravity of 3.7253 m/s², which is 0.38 times that of Earth, as that page also says [1], an escape velocity of 5.0257 km/s and a density of 3,933 kg/m³. The last two are our own results and are not stated on the pages. With a US radius of 2,106 miles, the values are almost the same.

An Earth check

Enter 1 Earth mass and 6,371 km in metric units. You get 9.814 m/s², about 1.0007 times the standard gravity, and an escape velocity of 11.183 km/s, close to the 11.186 km/s on the Wikipedia page [2]. The small differences come from the three-digit value of G. The Earth mass of 5.9722 × 10²⁴ kg, the Jupiter mass of 1.89813 × 10²⁷ kg and the Earth radius of 6,371 km are our own working.

The length of the planet's year

Kepler's third law says that the square of the orbital period is proportional to the cube of the semi-major axis [3]. Scaled to the Earth, whose orbit has a = 1 AU and a period of 365.2564 days, the period in years is T = √(a³ ÷ M), where a is in AU and M is the mass of the star in solar masses. This solar-mass form is our own working, not a statement from the page.

An orbit example

A planet at 0.05 AU from a star of one solar mass has a = 0.05, so a³ = 0.000125 and T = √0.000125 = 0.01118 years, or 4.08 days. That is a year of about four days. The planet's own mass is ignored, which is a good approximation when the star is far heavier.

Limits and assumptions

The planet is treated as a uniform sphere, with no rotation or flattening, and the orbit as a circle with the planet's mass left out of the Kepler law. Real masses and radii of exoplanets are uncertain, and a radial velocity measurement gives only a minimum mass. These are our own remarks. The gravitational constant is known to three digits on the escape velocity page [2], so do not read more than a few digits into the answers.

Using the calculator

Pick the mass unit, enter the mass and the radius in matching units, and press Calculate. Compare the gravity with 1 on the Earth scale, and the escape velocity with that of Earth. Add the star mass and the orbit size to see how long a year lasts. Change one input at a time to see how a larger planet with the same mass becomes lighter, with a lower gravity and density.

Comparing planets

Put several planets through the calculator and compare the gravity and the density. A planet with twice the radius of another but the same mass has a quarter of its gravity and an eighth of its density, because the radius appears squared in the gravity and cubed in the volume. These scaling remarks follow from the formulas above and are our own working. The escape velocity tells you how easily a planet could keep an atmosphere, which is why small, hot planets tend to lose theirs.

Common mistakes

  • Mixing the mass unit and the number. Check that the unit matches the value.
  • Entering the diameter instead of the radius. Use half of the diameter.
  • Giving the orbit size in kilometres. The orbit is in AU.
  • Using the result for a star. The model is for a planet around a heavier star.

What next

Use this often? Add Exoplanet to your Home screen.

Frequently asked questions

What is an exoplanet calculator?

A tool that works out the gravity, escape velocity, density and orbital period of a planet outside the solar system from its mass, radius and orbit.

How do I find the surface gravity of a planet?

Use g = G M ÷ r², with the mass M, the radius r and the gravitational constant G of about 6.67 × 10⁻¹¹.

How is the escape velocity found?

It is the square root of 2 G M ÷ r, which equals the square root of 2 g r.

How do I get the orbital period of an exoplanet?

With the semi-major axis a in AU and the star mass M in solar masses, the period in years is the square root of a cubed divided by M.

Does it find the redshift of a star?

No. The tool covers the planet's gravity, escape velocity, density and orbital period, and has no detection or Doppler-shift calculation.

What went wrong?

We only receive the reason you pick, never what you typed into the tool.

Thanks for your feedback.

More Physics & Science Tools