Skip to content

Potential Energy Calculator

Gravitational potential energy mgh on Earth, the Moon or Mars, elastic energy ½kx² of a spring, and the matching impact speed.

Your details

Unit system
Type of energy

Measured from the level you choose as zero (floor, ground, sea level). Below it, enter a negative value.

Results update as you type

Potential energy

203.372692 J

Potential energy (kJ / kcal)
0.203373 kJ
In kilowatt-hours
5.6492 × 10⁻⁵ kWh
Impact speed if dropped (no air)
43.9368 ft/s
Weight m·g
5 lbf

Step-by-step solution
  1. U = m × g × h = 2.26796 kg × 9.80665 m/s² × 9.144 m = 203.373 J
  2. v = √(2 × g × h) = √(2 × 9.80665 × 9.144) = 43.9368 ft/s

Lift a book onto a shelf and you store energy in it: let it fall and that energy comes back as motion. This stored energy, which depends on position rather than speed, is called potential energy. The two kinds met most often are gravitational potential energy, held by anything raised above a reference level, and elastic potential energy, held by a stretched or compressed spring.

This potential energy calculator handles both. In gravitational mode it multiplies mass, gravitational acceleration and height (U = mgh), with presets for the Earth, the Moon and Mars or any value of g, and also tells you how fast the object would hit the ground if released, ignoring air. In spring mode it applies U = ½kx² from the spring constant and the deformation, gives the spring force from Hooke's law and, if you enter a mass, the speed at which the spring would launch it.

Every relationship can be reversed with Solve for: find the height that stores a given energy, the mass, the compression needed, or the stiffness of the spring. Results appear in joules, kilojoules, kilocalories and kilowatt-hours.

How to use this calculator

  1. Choose Gravitational or Spring.
  2. Gravitational: enter the mass, the height above your chosen zero level and the gravity (Earth, Moon, Mars or a custom g).
  3. Spring: enter the spring constant k in N/m and the stretch or compression x; optionally add the mass the spring pushes.
  4. Read the potential energy in joules and other units, the impact or launch speed and the force.
  5. Use Solve for to find the height, mass, compression or stiffness for a target energy in joules.

The formula

Near a planet's surface, with constant gravitational acceleration gg:

Ug=m g hU_g = m\, g\, h

Only differences of potential energy matter, so hh is measured from any zero level you choose. Released from rest without air resistance, the object turns all of UgU_g into kinetic energy, mgh=12mv2mgh = \tfrac{1}{2} m v^2, so

v=2 g hv = \sqrt{2\, g\, h}

which does not depend on the mass. For an ideal spring obeying Hooke's law F=−kxF = -kx:

Us=12 k x2vlaunch=2Usm=xkmU_s = \tfrac{1}{2}\, k\, x^2 \qquad v_{launch} = \sqrt{\frac{2 U_s}{m}} = x \sqrt{\frac{k}{m}}

Far from the surface, gg is no longer constant and the general expression is U=−GMm/rU = -G M m / r.

Worked example

A 2 kg ball on a 10 m balcony. U=2×9.80665×10U = 2 \times 9.80665 \times 10 = 196.133 J. Dropped, it would hit the ground at 2×9.80665×10\sqrt{2 \times 9.80665 \times 10} = 14 m/s. On the Moon the same ball at the same height stores only 32.4 J.

A hike. A 70 kg walker climbing 1,000 m gains 686.47 kJ of potential energy, about 164.1 kcal. The body burns several times more, since muscles are only about 20–25 % efficient.

Hydropower. One cubic metre of water (1,000 kg) falling 100 m releases 0.2724 kWh.

A spring. A spring with k = 200 N/m compressed by 10 cm stores ½ × 200 × 0.1² = 1 J; released, it launches a 50 g ball at 6.32 m/s.

Gravitational potential energy and the choice of zero

There is no absolute value of mghmgh: only the change between two heights is physical. Measure from the floor and a book on a table has positive energy; measure from the ceiling and it is negative. Both give the same energy released when the book falls the same distance. This is why the calculator accepts negative heights. The formula assumes gg is constant, which holds to better than 1 % within about 30 km of the Earth's surface. For satellites and planets, use the general law of gravitation in the gravitational force calculator.

From potential to kinetic energy

Without friction, mechanical energy is conserved: what is lost in potential energy reappears as kinetic energy. A roller coaster at the top of its first hill, a pendulum at the end of its swing and a drawn bow are all full of potential energy that turns into speed. In practice, air drag and friction convert part of it into heat, so real impact speeds are lower than 2gh\sqrt{2gh}; the free fall calculator can include air resistance.

Frequently asked questions

What is the formula for potential energy?

For gravity near a surface, U = m × g × h, with mass in kg, g in m/s² (9.81 on Earth) and height in metres, giving joules. For a spring, U = ½ × k × x², with k in N/m and x in metres.

Does potential energy depend on the path taken?

No. Gravity and ideal springs are conservative forces: the energy depends only on the start and end positions, not on whether you took the stairs or the lift.

How do I convert potential energy into speed?

If all the energy turns into motion, ½mv² = mgh, so v = √(2gh). From 10 m that is about 14 m/s whatever the mass. For a spring, v = √(2U/m).

Can potential energy be negative?

Yes, when the object is below the level chosen as zero. In the general law U = −GMm/r, gravitational potential energy is always negative, with zero set at infinite distance.

What g should I use?

The standard value 9.80665 m/s² is fine for most problems; actual gravity on Earth ranges from about 9.78 at the equator to 9.83 at the poles. The Moon is 1.62 m/s² and Mars 3.73 m/s².

Sources

Last updated:

More Physics calculators

People also use