1. Home
  2. Physics
  3. Gravitation
  4. Work Done Against Gravity Calculator

Work Done Against Gravity Calculator

Exact work to raise a body to a large height, and why mgh fails there.

PhysicsGrades 11–12AdvancedStep-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. How much work is needed to raise a 200 kg satellite from the surface to a height equal to the Earth's radius (6400 km)?

  2. Find the work done to lift a 10 kg body from 100 km to 500 km above the Earth.

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: How much work is needed to raise a 200 kg satellite from the surface to a height equal to the Earth's radius (6400 km)?

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Distance from the centre of the planet
  3. Work done = change in potential energy
  4. Surface g, for the mgh estimate
  5. Simple estimate W ≈ m g (h₂ − h₁)
  6. Error of the mgh estimate
Answer
Work needed (exact)W = 6.257 × 109 J (≈ 6257 MJ)
Estimate using mghW (mgh) = 1.251 × 1010 J (≈ 12510 MJ)
Step-by-step solution
  1. Write the given values in SI units
    M=6 × 1024 kg
    R=6400 km = 6.4 × 106 m
    m=200 kg
    h1=0 km = 0 m
    h2=6400 km = 6.4 × 106 m
    G=6.674 × 10−11 N m²/kg²
  2. Distance from the centre of the planet
    r1=R + h1
    =(6.4 × 106) + 0
    =6.4 × 106 m (≈ 6400 km)
    r2=R + h2
    =(6.4 × 106) + (6.4 × 106)
    =1.28 × 107 m (≈ 12800 km)
  3. Work done = change in potential energy
    W=G M m (1r1 − 1r2)
    =(6.674 × 10−11) × (6 × 1024) × 200 × (1(6.4 × 106) − 1(1.28 × 107))
    =6.257 × 109 J (≈ 6257 MJ)
  4. Surface g, for the mgh estimate
    g=G MR2
    =(6.674 × 10−11) × (6 × 1024)(6.4 × 106)2
    =9.776 m/s²
  5. Simple estimate W ≈ m g (h₂ − h₁)
    W (mgh)=m g (h2 − h1)
    =200 × 9.776 × ((6.4 × 106) − 0)
    ≈1.251 × 1010 J (≈ 12510 MJ)
  6. Error of the mgh estimate
    Error=W (mgh) − WW 100
    =(1.251 × 1010) − (6.257 × 109)(6.257 × 109) × 100
    =100 %
Key idea: mgh assumes g stays constant. For heights comparable to R, g drops, so the true work is less than mgh. (For h = R, the exact work is mgR/2.)

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.
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.
Satellite
Any body that goes round a planet. The Moon is a natural satellite; communication and weather satellites are man-made.
Work done (W)
Energy spent to move something against a force, in joules (J). Lifting a satellite high up needs work against gravity.

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
MMass of planet / central bodykg (or g, tonne, M⊕, M☾, M☉)
RRadius of planetm (or km, cm, mm, R⊕, AU)
mMass of the bodykg (or g, tonne, M⊕, M☾, M☉)
h1Initial heightm (or km, cm, mm, R⊕, AU)
h2Final heightm (or km, cm, mm, R⊕, AU)

Formula & concept

Exact work needed to lift mass m from height h₁ to h₂ (and why mgh fails for large heights).

W = GMm(1r1 − 1r2)

Key idea: mgh assumes g stays constant. For heights comparable to R, g drops, so the true work is less than mgh. (For h = R, the exact work is mgR/2.)

How to use this calculator

  1. Type the known values from your question and pick the unit for each one.
  2. Press Solve step by step.
  3. 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.
  4. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  5. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Work Done Against Gravity work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula W = GMm((1)/(r1) − (1)/(r2)) and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
mgh assumes g stays constant. For heights comparable to R, g drops, so the true work is less than mgh. (For h = R, the exact work is mgR/2.)
Can I enter values in km, mm, kN or °C?
Yes. Each box has a unit list. The conversion to SI units is shown as the first step of the solution.
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 Work Done Against Gravity 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 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.