1. Home
  2. Physics
  3. Gravitation Calculator

Gravitation Calculator: All 32 Problem Types

One solver for every gravitation problem: g, escape velocity, satellites, Kepler, fields, potential energy and more.

PhysicsGrades 9–10Grades 11–12All levelsStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. Find the escape velocity from the surface of Mars (M = 6.42 × 10²³ kg, R = 3390 km).

  2. A satellite revolves 600 km above the Earth. Find its orbital speed and period.

  3. Find the value of g at a height of 400 km above the Earth (R = 6400 km).

  4. At what depth below the surface is g reduced by 25%? (R = 6400 km)

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: Find the escape velocity from the surface of Mars (M = 6.42 × 10²³ kg, R = 3390 km).

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Distance from the centre of the planet
  3. KE must cancel the (negative) PE: ½mv² = GMm/r

There is also another method, shown after the solution: through surface gravity g.

Answer
Escape velocityve = 5028 m/s (≈ 5.028 km/s)
Step-by-step solution
  1. Write the given values in SI units
    M=6.42 × 1023 kg
    R=3390 km = 3.39 × 106 m
    h=0 km = 0 m
    G=6.674 × 10−11 N m²/kg²
    To find: ve (Escape velocity)
  2. Distance from the centre of the planet
    r=R + h
    =(3.39 × 106) + 0
    =3.39 × 106 m (≈ 3390 km)
  3. KE must cancel the (negative) PE: ½mv² = GMm/r
    ve=√2 G Mr
    =√2 × (6.674 × 10−11) × (6.42 × 1023)(3.39 × 106)
    =5028 m/s (≈ 5.028 km/s)
Another way: through surface gravity g

Many textbooks write it with g instead of G and M, using GM = gR².

  1. Surface gravity g = GM/R²
    g=G MR2
    =(6.674 × 10−11) × (6.42 × 1023)(3.39 × 106)2
    =3.728 m/s²
  2. vₑ = √(2gR)
    ve=√2 g R
    =√2 × 3.728 × (3.39 × 106)
    =5028 m/s (≈ 5.028 km/s)
    Same answer. For the Earth: √(2 × 9.8 × 6.4 × 10⁶) ≈ 11.2 km/s.
Key idea: Escape velocity does not depend on the mass of the body or the direction of launch (ignoring air). From a circular orbit it is √2 times the orbital speed.

Terms used on this page

New to a word in the question or the solution? Here it is in simple language.

Mass (m, M)
How much matter a body has. It's measured in kilograms (kg) and stays the same everywhere, on Earth or on the Moon.
Weight
The pull of gravity on a body, so it's a force: W = mg, in newtons (N). Your mass stays fixed, but your weight changes from planet to planet.
Force (F)
A push or a pull. It's measured in newtons (N). One newton gives 1 kg an acceleration of 1 m/s².
Powers of ten (6.4 × 10⁶)
A short way to write very big or very small numbers. 6.4 × 10⁶ means 6.4 with the point moved 6 places right: 6,400,000. In the boxes you can type it as 6.4e6.
Kinetic energy (KE)
Energy a body has because it's moving: KE = ½mv². Double the speed and the KE becomes four times bigger.
Gravitational force
The pull every mass has on every other mass. Newton found it gets weaker with the square of the distance: F = GMm/r². Twice as far means one-fourth the pull.
Universal gravitational constant (G)
A fixed number in Newton's law: G = 6.674 × 10⁻¹¹ N m²/kg². It's tiny, which is why you don't feel the pull of the person sitting next to you.
Acceleration due to gravity (g)
How fast a falling body speeds up. On Earth g ≈ 9.8 m/s², so a dropped stone gains about 9.8 m/s of speed every second. It's smaller on the Moon (1.62 m/s²).
Radius (R) and distance from centre (r)
R is the size of the planet, from its centre to its surface. r is the distance from the centre to the point you're looking at. Above the surface, r = R + h.
Height (h) and depth (d)
Height is measured up from the surface, depth is measured down into the planet. g falls as you go up, and it also falls as you go down towards the centre.
Latitude (φ)
How far north or south a place is, as an angle from the equator. The equator is 0°, the poles are 90°. Because the Earth spins, g is a little less at the equator.
Angular speed (ω)
How fast something turns, in radians per second. For the Earth, ω = 2π ÷ (24 hours) ≈ 7.27 × 10⁻⁵ rad/s.
Escape velocity (vₑ)
The smallest launch speed that lets a body fly away and never fall back, ignoring air. For the Earth it's about 11.2 km/s. It doesn't depend on the mass of the body.
Orbital velocity (vₒ)
The speed a satellite needs to keep going round a planet in a circle. Gravity bends its path just enough. Close to the Earth it's about 7.9 km/s.
Time period (T)
Time taken for one full round. The Moon's period around the Earth is about 27.3 days.
Satellite
Any body that goes round a planet. The Moon is a natural satellite; communication and weather satellites are man-made.
Geostationary orbit
An orbit above the equator where a satellite goes round once in 24 hours, the same as the Earth spins. From the ground it seems to stay still, so TV dishes can point at it. It's about 35,800 km up.
Kepler's third law
The square of a planet's period is proportional to the cube of its orbit size: T² ∝ r³. Planets further away take much longer to go round.
Gravitational potential energy (U)
Energy stored because of where a body sits in a gravity field: U = −GMm/r. The minus sign means you must add energy to pull the body away to infinity, where U = 0.
Gravitational potential (V)
Potential energy per kilogram at a point: V = −GM/r, in J/kg. It tells you how much work is needed to bring 1 kg from far away to that point.
Gravitational field (intensity)
The force on 1 kg placed at a point, in N/kg. Near the Earth's surface the field is the same number as g: 9.8 N/kg.
Binding energy
The energy you must supply to set a bound body completely free. For a satellite it's equal to the size of its total energy, GMm/2r.
Gravitational self-energy
Energy stored in a body because all its own parts pull on each other. It's the work needed to break it into tiny pieces and spread them far apart.
Work done (W)
Energy spent to move something against a force, in joules (J). Lifting a satellite high up needs work against gravity.
Elliptical orbit, eccentricity (e)
Most orbits are stretched circles called ellipses. Eccentricity tells you how stretched: 0 is a perfect circle, close to 1 is very long and thin.
Perihelion / aphelion (perigee / apogee)
The nearest and farthest points of an orbit. "-helion" is used for orbits around the Sun and "-gee" for orbits around the Earth. A body moves fastest at the nearest point.
Semi-major axis (a)
Half the longest width of an ellipse, equal to the average of the nearest and farthest distances. It decides the period of an elliptical orbit.
Binary star
Two stars going round each other. They both circle a shared balance point, the centre of mass, which sits closer to the heavier star.
Centre of mass
The balance point of a system of bodies. Two bodies pulled together by gravity always move around this point.
Neutral point
The spot between two masses where their pulls are equal and opposite, so the net gravitational force is zero.
Net force (vector sum)
When several forces act, you add them as arrows (vectors), not as plain numbers. Split each into x and y parts, add the parts, then combine.
Simple harmonic motion (SHM)
A to-and-fro motion where the pull back is proportional to how far the body is from the middle. A ball in a tunnel through the Earth would move like this.
Density (ρ)
Mass per unit volume, ρ = m/V, in kg/m³. Water is 1000 kg/m³; the Earth on average is about 5500 kg/m³.
Ring and shell
A ring is a thin circle of mass. A shell is a hollow ball with all its mass on the surface. Inside a uniform shell the gravitational field is zero.
Displacement (s)
How far a body ends up from where it started, in a straight line, with a direction. If you walk 5 m forward and 5 m back, the distance is 10 m but the displacement is 0.
Velocity: initial (u) and final (v)
Velocity is speed with a direction, in m/s. u is the velocity at the start of the time you're looking at, v is the velocity at the end.
Acceleration (a)
How quickly velocity changes, in m/s². If a car goes from 0 to 10 m/s in 5 s, its acceleration is 2 m/s².
Starts from rest
The body isn't moving at the start, so u = 0. "Dropped" also means u = 0.
Free fall
Falling under gravity alone, with air resistance ignored. Every body then speeds up at the same rate g.
Maximum height (H)
The highest point of the path. There the vertical velocity is zero for a moment.
Support reaction
The upward force a support gives back to hold the beam up. All reactions together balance all the loads.

What this solver covers

32 problem types, from beginner to expert. Pick one from the list inside the tool.

Newton's Law & Weight

Variation of g

Potential & Energy

Escape & Launch

Satellites & Orbits

Fields & Multi-body

How to use this solver

  1. Pick the type of problem from the list (use search or the level filter).
  2. Type the known values from your question and pick the unit for each one.
  3. Press Solve step by step.
  4. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  5. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  6. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Gravitation work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the right formula for your problem and shows you each step: given data, formula, substitution and the final answer.
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Gravitation free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 9–10 (GCSE · IGCSE · US high school · Class 9–10 (CBSE, ICSE)) and Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.