SciencePhysics

Potential Energy
calculator.

Find the energy stored by height, by a stretched spring or by two charges held apart.

How it's worked out

Gravity. Lift a mass m through a height h where gravity pulls with g, and you store mgh joules. OpenStax University Physics stresses that you pick the zero level yourself. The floor, a tabletop or the bottom of a ramp all work, as long as you keep the same one for the whole problem. A point below that level has a negative height and a negative energy.

U\displaystyle U=mgh\displaystyle {}= m g h

Let the mass drop and the stored energy turns into motion, 12mv2\frac{1}{2}mv^2. Set the two equal and the mass cancels, which is why a 10 kg box and a pebble land at the same speed when air drag is small. From a 5 m shelf, the 10 kg box stores 490.3 J and lands at 9.9 m/s after 1.01 s.

v\displaystyle v=2gh\displaystyle {}= \sqrt{2 g h}

Springs. A spring with constant k, stretched or squeezed a distance x from its relaxed length, stores half of k times x squared. The half is there because the force grows from zero to kx as you push, so the average force over the push is half of kx.

U\displaystyle U=12kx2\displaystyle {}= \frac{1}{2} k x^2

Charges. Two point charges q₁ and q₂ held r apart store the energy below, where k is Coulomb's constant, about 8.98755 × 10⁹ N·m²/C². Here the zero sits at infinite separation. OpenStax Volume 2 points out that this makes the energy negative for opposite charges. An electron one Bohr radius from a proton comes out at −27.21 eV.

U\displaystyle U=kq1q2r\displaystyle {}= \frac{k\, q_1 q_2}{r}

To find something other than the energy, the tool rearranges the same formula. Solving the spring formula for x gives the size of the stretch only, because squaring hides which way the spring moved.

Each formula rearranged for its other quantities
UnknownRearranged
Heighth=Umgh = \frac{U}{m g}
Massm=Ughm = \frac{U}{g h}
Gravityg=Umhg = \frac{U}{m h}
Stretchx=2Ukx = \sqrt{\frac{2U}{k}}
Spring constantk=2Ux2k = \frac{2U}{x^2}
Separationr=kq1q2Ur = \frac{k\, q_1 q_2}{U}

Worked examples

Dana works out the climb up a 1,000 ft hill

Dana weighs 75 kg with her pack and climbs 1,000 ft, which is 304.8 m. Raising her body that far stores 224.2 kJ, or 53.6 kcal, the calorie used on food labels.

U\displaystyle U=75×9.80665×304.8\displaystyle {}= 75 \times 9.80665 \times 304.8=224,200 J\displaystyle {}= 224{,}200\ \text{J}

That figure is the work done against gravity and nothing else. Her body burns more than this on the way up, because muscles turn much of their fuel into heat, and walking costs energy even on the flat.

Open this example in the tool

Omar asks how high one kilowatt-hour can lift a metric ton of water

Omar is reading about pumped storage, where water is pumped uphill when power is cheap and run back through turbines later. One kilowatt-hour is 3.6 million joules. A cubic meter of water has a mass of about one metric ton, so he solves mgh for the height.

h\displaystyle h=3,600,0001,000×9.80665\displaystyle {}= \frac{3{,}600{,}000}{1{,}000 \times 9.80665}=367.1 m\displaystyle {}= 367.1\ \text{m}

So one metric ton must climb 367.1 m to hold a single kilowatt-hour. Turned round, a cubic meter raised 100 m holds only 272 Wh. That is why these plants need large lakes and big drops between them.

Open this example in the tool

Leo checks the spring in a toy launcher

Leo's launcher has a 200 N/m spring that he pushes in 10 cm, which is 0.1 m. It stores 1 J, and at full squeeze the spring pushes back with 20 N.

U\displaystyle U=12×200×0.12\displaystyle {}= \frac{1}{2} \times 200 \times 0.1^2=1 J\displaystyle {}= 1\ \text{J}

If all of it went into a 50 g ball, the ball would leave at 6.32 m/s. Friction and the spring's own mass take a share, so a real ball is slower. Pushing in twice as far, 20 cm, stores 4 J, four times as much, since the stretch is squared.

Open this example in the tool

Reading your result

The sign. A positive gravity answer means the object sits above your zero level; a negative one means it sits below. For charges, negative means they attract and you must add energy to pull them apart. Positive means they repel and would fly apart if released.

Along the way. The drop table splits the energy into the part still stored and the part already turned into motion. The two always add to mgh. Speed does not grow evenly: halfway down the 5 m shelf, the box moves at 7 m/s, well over half its landing speed of 9.9 m/s.

Other units. Joules are small. NIST Special Publication 811 sets one food calorie (kcal) at exactly 4,184 J and one watt-hour at exactly 3,600 J. One electronvolt is 1.602176634 × 10⁻¹⁹ J, fixed by the SI definition of the elementary charge.

Other worlds. The same lift stores less where gravity is weaker. Raising 10 kg by 5 m on the Moon, where g is 1.62 m/s², stores 81 J against 490.3 J on Earth. Surface gravity for each world comes from the NASA planetary fact sheet.

Common mistakes

  • Centimeters in the spring formula. Typing 10 for a 10 cm squeeze as if it were meters gives 10,000 J instead of 1 J, because the mistake is squared. Pick the unit next to the box instead.
  • Dropping the half. Using kx² instead of 12kx2\frac{1}{2}kx^2 doubles the answer, 2 J instead of 1 J for Leo's spring.
  • Using mgh far from the ground. The formula holds g fixed, which is fine for hills, buildings and aircraft heights. For a satellite, g falls off with distance and you need the orbital form, U = −GMm ÷ r.
  • Losing the sign of a charge. An electron is negative. Entering both charges as positive turns an attraction into a repulsion and flips the sign of the answer.
  • Expecting the direction back. Solving ½kx² for x returns a size, 0.1 m for Leo's spring, with no sign. You decide whether that is a stretch or a squeeze.

Questions people ask

Yes. Only changes in potential energy matter, so the zero level is a choice. Anything below your chosen zero has negative gravitational energy, and two attracting charges have negative energy because their zero is set at infinite separation.

Sources