Skip to content

Potential Energy Calculator

Calculate gravitational potential energy (mgh) or elastic spring energy (½kx²), or solve for mass, height, spring constant or stretch, on Earth, the Moon or Mars.

Calculator Details

Potential energy:490.333 JSee results ↓

Gravitational (mgh) or elastic, stored in a spring (½kx²)

The unknown; enter the others

Standard Earth gravity, the Moon, Mars, or your own value

Mass being lifted

Height above the reference level

Your Results

Potential energy: 490.333 J

Potential energy

490.333 J

490.333 J stored

Landing speed if dropped

9.90285 m/s

v = √(2gh), no air resistance

Gravity used

9.80665 m/s²

Lifting 10 kg by 5 m at g = 9.80665 m/s² stores 490.333 J; dropped, it would land at 9.90285 m/s.

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

Detailed Breakdown

The same lift on Earth, the Moon and Mars
BodyGravity (m/s²)Energy (J)
Earth (yours)9.80665490.333
Moon1.6281
Mars3.73186.5
Stored energy in every unit
UnitEnergy
J (your unit)490.333
kJ0.490333
MJ0.000490333
cal117.192
kcal0.117192
Wh0.136203
kWh0.000136203
ft·lbf361.651
eV3.06041 × 10²¹

How This Calculator Works

How It’s Calculated

PE = m × g × h · m = PE ÷ (g × h) · h = PE ÷ (m × g)

Your calculation (SI units): PE = m × g × h with m = 10 kg, g = 9.80665 m/s² and h = 5 m (converted to kilograms and metres) = 490.333 J. If the object fell back down, all of that would become kinetic energy, so it would land at √(2gh) = 9.90285 m/s.

Frequently Asked Questions

What is the formula for gravitational potential energy?

PE = m × g × h: mass in kilograms times the acceleration due to gravity times height in metres, giving joules. This calculator uses standard gravity, 9.80665 m/s². Lifting a 10 kg box onto a 5 m high shelf stores about 490 J.

What is elastic potential energy?

The energy stored in a stretched or compressed spring: PE = ½kx², where k is the spring constant in newtons per metre and x the stretch from the natural length in metres. Doubling the stretch stores four times the energy. It holds while the spring obeys Hooke’s law (F = kx).

Height measured from where?

From any reference level you choose: the floor, the ground or sea level. Only differences in potential energy matter physically, so pick the level the object could fall to. A book on a 1 m table has mgh relative to the floor, and more relative to the street below the window.

How does potential energy turn into kinetic energy?

When an object falls, it loses mgh of potential energy and gains the same in kinetic energy (½mv²), ignoring air resistance. Setting them equal gives v = √(2gh), so an object dropped from 5 m lands at about 9.9 m/s whatever its mass.

How strong is gravity on the Moon and Mars?

NASA’s fact sheets give surface gravity of 1.62 m/s² on the Moon and 3.73 m/s² on Mars, about a sixth and three-eighths of Earth’s. Lifting the same mass the same height stores proportionally less energy there.

How do I find a spring constant?

Hang a known weight from the spring and measure how far it stretches: k = F ÷ x = mg ÷ x. A 1 kg mass (9.81 N) stretching a spring 5 cm gives k ≈ 196 N/m. You can also solve for k here from the stored energy and stretch.

Does mgh work for satellites and high altitudes?

Not accurately. mgh assumes gravity is constant, which is fine within a few kilometres of the surface. For orbits use the full gravitational potential energy, −GMm ÷ r, because gravity weakens with distance from the planet’s centre.

Gravitational energy uses PE = mgh with constant gravity: standard gravity gₙ = 9.80665 m/s² (NIST SP 811), or the NASA NSSDCA surface values for the Moon and Mars. Elastic energy uses PE = ½kx² for an ideal Hooke's-law spring. It leaves out gravity changing with altitude (orbits), air resistance in the landing speed, springs stretched past their elastic limit, and the mass of the spring itself. Results are rounded to 6 significant figures.

Potential Energy Calculator: Gravitational mgh and Spring ½kx²

By FindMySum · Last reviewed

A potential energy calculator works out the energy stored in an object because of its position or shape: a weight lifted above the floor, water behind a dam, or a stretched spring. This calculator handles both common kinds, gravitational (mgh) and elastic (½kx²), and can solve for any quantity in either formula. This article explains both, with worked examples using the calculator's opening values.

Gravitational potential energy

Near the surface of a planet, lifting a mass m through a height h against gravity g stores:

PE = m × g × h

With m in kilograms, g in m/s² and h in metres, the energy is in joules. The calculator rearranges it as needed:

  • Mass: m = PE ÷ (g × h)
  • Height: h = PE ÷ (m × g)

Worked example (the defaults). A 10 kg mass lifted 5 m on Earth: PE = 10 × 9.806 65 × 5 = 490.3 J. If it fell back, all of that would turn into kinetic energy: ½mv² = mgh, so v = √(2gh) = √(2 × 9.806 65 × 5) = 9.90 m/s, whatever the mass.

The calculator uses standard gravity, gₙ = 9.806 65 m/s², a value fixed by international agreement for defining units. Real gravity varies a little with latitude and altitude, from about 9.78 m/s² at the equator to 9.83 m/s² at the poles, a difference of about half a percent. In imperial units the pound-force is defined with the same gₙ, so lifting 150 lb by 10 ft stores exactly 1,500 ft·lbf.

On the Moon and Mars

Gravity on other worlds changes the result in proportion. The calculator uses NASA's planetary fact sheet values:

BodySurface gravity10 kg lifted 5 m
Earth (standard)9.806 65 m/s²490.3 J
Mars3.73 m/s²186.5 J
Moon1.62 m/s²81.0 J

You can also enter any gravity value, for example a measured local value or a figure for another planet.

Choosing the height

Potential energy is always measured from a reference level that you pick, usually the lowest point the object could reach: the floor, the ground or the bottom of a ramp. Only differences matter. A book on a shelf has more energy relative to the basement than relative to the floor it stands on, and both are correct.

Elastic potential energy

A spring that obeys Hooke's law pushes back with a force proportional to how far it is stretched or compressed, F = k × x. The energy stored is:

PE = ½ × k × x²

  • k is the spring constant in newtons per metre: how many newtons it takes to stretch the spring by one metre.
  • x is the extension or compression from the spring's natural length, in metres.

Worked example. A spring with k = 200 N/m stretched 10 cm (0.1 m) stores ½ × 200 × 0.1² = 1 J and pulls back with 200 × 0.1 = 20 N. Stretch it to 20 cm and the stored energy quadruples to 4 J, because x is squared.

The rearrangements are k = 2 × PE ÷ x² and x = √(2 × PE ÷ k). To measure k yourself, hang a known weight from the spring and divide the weight in newtons by the stretch in metres.

Potential and kinetic energy together

Potential energy is energy waiting to become motion. A pendulum swaps it back and forth with kinetic energy; a roller coaster turns the height of the first hill into speed; a drawn bow passes the spring energy of its limbs to the arrow. Ignoring friction and air resistance, the total of potential and kinetic energy stays the same, which is the quickest way to solve many mechanics problems.

Limits of the formulas

mgh assumes gravity is the same over the whole height, which is accurate within a few kilometres of the surface. For rockets and satellites, gravity weakens with distance and the full form −GMm ÷ r is needed. ½kx² assumes an ideal spring within its elastic limit; stretch a real spring too far and it deforms permanently. Real falls also lose energy to air resistance, so the landing speed is an upper limit.

More questions

How much energy does it take to climb a flight of stairs?

A 70 kg person climbing 3 m (one storey) gains 70 × 9.81 × 3 ≈ 2,060 J of potential energy. The body is only about 20 to 25% efficient at turning food energy into work, so the climb burns roughly 8 to 10 kJ, about 2 kcal. Climbing for an hour is far more work because you repeat it many times.

Can potential energy be negative?

Yes, relative to the reference level you chose. A ball in a hole 2 m below the floor has negative gravitational potential energy relative to the floor. Only changes in potential energy have physical meaning, so the sign depends entirely on where you put zero.

How does a hydroelectric dam use potential energy?

Water held behind the dam has potential energy mgh relative to the turbines below. Each cubic metre (1,000 kg) dropping 100 m releases 1,000 × 9.81 × 100 = 981 kJ, about 0.27 kWh. Modern turbines convert around 90% of that into electricity, so a large flow through a large drop gives a power station.

Why is a spring's energy proportional to x squared?

The force grows as you stretch it (F = kx), so each extra millimetre takes more effort than the last. The work done is the area under the force-against-stretch line, a triangle of base x and height kx, which is ½kx². That is also why a bow or a trampoline stores so much more energy when drawn or pressed further.

What is the elastic limit?

The largest stretch a spring can take and still return to its original length. Beyond it the spring deforms permanently and Hooke's law no longer applies, so ½kx² overestimates the stored energy. Spring manufacturers give a maximum deflection; stay below it for the formula to hold.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy