Potential Energy Calculator
- PE = m × g × h = 5 kg × 9.81 m/s² × 10 m = 490.5 J.
- That is the work gravity will do if the object falls the full 10 m — and the kinetic energy it will have at the bottom (before air resistance takes its cut). Lift it back up and you must repay exactly the same 490.5 J.
- The same mass on the Moon (g = 1.62) would store barely a sixth as much — potential energy belongs to the object-and-planet pair, not to the object alone.
This potential energy calculator gives you the stored energy of an object based on the two most common forms: gravitational and elastic. For gravitational potential energy, it applies the formula PE = m × g × h, measured from whatever reference height you choose. For a spring, it uses PE = ½kx², where the ½ comes from the force growing linearly from zero as the spring stretches. Enter your values and the calculator returns the result in joules, the standard unit of energy. For example, a 5 kg object raised 10 m on Earth (g = 9.81) stores 490.5 J, while on the Moon (g = 1.62) the same shelf stores only 81 J. A spring with k = 200 N/m stretched 0.15 m stores 2.25 J, pulling back with 30 N.
These formulas are the accepted standard because potential energy is a property of the object-and-field pair, not the object alone — it changes with the planet and the reference level. The relationship is confirmed by the fact that a dropped object's full PE becomes kinetic energy (before friction): PE at the top equals KE at the bottom. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify every result yourself.
Worked examples
5 kg on a 10 m shelf, Earth
Primary result: 490.5 J. (Gravitational — m × g × h · 5 kg · 10 m · Earth — 9.81 m/s² · 9.81 m/s² · 200 N/m · 0.15 m)
| Gravitational potential energy | 490.5 J |
| Weight (m × g) | 49.05 N |
| Gravity used | 9.81 m/s² — Earth |
Same shelf, on the Moon
Primary result: 81 J. (Gravitational — m × g × h · 5 kg · 10 m · Moon — 1.62 m/s² · 9.81 m/s² · 200 N/m · 0.15 m)
| Gravitational potential energy | 81 J |
| Weight (m × g) | 8.10 N |
| Gravity used | 1.62 m/s² — the Moon |
Spring stretched 15 cm
Primary result: 2.25 J. (Elastic (spring) — ½ k x² · 5 kg · 10 m · Earth — 9.81 m/s² · 9.81 m/s² · 200 N/m · 0.15 m)
| Elastic potential energy | 2.25 J |
| Spring force at this stretch | 30 N |
Gravitational PE: mgh
Gravitational potential energy is the work stored when you raise an object against gravity. The formula is PE = m × g × h, where m is mass, g is the acceleration due to gravity, and h is the height above whatever reference level you choose. A potential energy calculator uses this relationship to give you a fast, reliable answer when you know the mass, the local gravitational pull, and the height.
Take a 5 kg object raised 10 m on Earth, where g = 9.81. Plugging those values into PE = mgh gives 5 × 9.81 × 10 = 490.5 J of stored energy. Move that same shelf to the Moon, where g = 1.62, and the calculation changes: 5 × 1.62 × 10 = 81 J. The shelf holds the same mass at the same height, but the Moon's weaker gravity means far less energy is stored. Potential energy is a property of the object-and-field pair, not the object alone — it changes with the planet and with the reference level you pick.
The reference height matters because h is always measured from a baseline you define. If you set the reference at the floor, a shelf 10 m up stores energy relative to that floor. Set the reference at the shelf itself, and the stored gravitational PE reads zero because h = 0 at that level. The choice of reference does not change the physics — it only shifts where you start counting, which is why a potential energy calculator asks you to enter height as a value above your chosen zero point.
Once the object is released, the full PE becomes kinetic energy before friction takes a share: PE at the top equals KE at the bottom. That 490.5 J on Earth turns into 490.5 J of motion on the way down, assuming no air resistance or other losses slow the fall. The same shelf on the Moon converts its 81 J into 81 J of kinetic energy. The energy is not created or destroyed — it simply shifts from stored gravitational energy to the energy of motion as the object descends.
Worked examples
The table below shows three verified cases that a potential energy calculator should reproduce exactly. Each one illustrates a different point about how stored energy depends on the situation, not just on the object itself. Potential energy is a property of the object-and-field pair, not the object alone — it changes with the planet and the reference level you pick.
The first two rows use the gravitational formula PE = m × g × h, measured from whatever reference height you choose. A 5 kg object raised 10 m on Earth, where g = 9.81, stores 490.5 J. Move that same object to an identical shelf on the Moon, where g = 1.62, and it stores only 81 J. The mass and height did not change, but the weaker lunar gravity means far less energy is stored. That is why choosing your reference level matters: shift the zero point and every value in between shifts with it.
The third row switches to elastic potential energy in a spring, using PE = ½kx². With k = 200 N/m and a stretch of 0.15 m, the spring stores 2.25 J and pulls back with 30 N. The ½ in the spring formula comes from the force growing linearly from zero as the spring stretches, so the average force over the full distance is half the final force. A common mistake is to skip that factor and double the result.
Dropped or released, the full PE becomes kinetic energy before friction takes its share: PE at the top equals KE at the bottom. The 490.5 J stored on the high shelf becomes 490.5 J of motion at impact, and the 2.25 J in the stretched spring becomes 2.25 J as it snaps back to rest length. Any difference means energy went somewhere else — heat, sound, or deformation.
| Case | Formula | Inputs | Result |
|---|---|---|---|
| Earth gravity | PE = m × g × h | m = 5 kg, g = 9.81, h = 10 m | 490.5 J |
| Moon gravity | PE = m × g × h | m = 5 kg, g = 1.62, h = 10 m | 81 J |
| Spring stretch | PE = ½kx² | k = 200 N/m, x = 0.15 m | 2.25 J (30 N restoring force) |
Same mass, different planet
A potential energy calculator can make one point vivid: the same object in the same spot stores different energy depending on where it sits in the universe. Gravitational potential energy follows the formula PE = m × g × h, measured from whatever reference height you choose. The mass and height might be identical, but g — the gravitational acceleration — varies from one body to the next, and that single value reshapes the result.
Consider a 5 kg object raised 10 m on Earth, where g equals 9.81. The stored energy is 490.5 J. Move that same shelf to the Moon, where g drops to 1.62, and the same setup stores only 81 J. On Mars, where g equals 3.71, the value lands between those two. The object has not changed. The height has not changed. Only the gravitational field around it has changed, and the energy follows.
This is why potential energy is best understood as a property of the object-and-field pair, not the object alone. It changes with the planet and the reference level. A book on a shelf on Earth is not storing the same energy as that same book on the same shelf on the Moon, because the gravitational field doing the pulling is different. The reference height you choose matters too — measure from the floor, the ground outside, or sea level, and the number shifts even though the physical situation has not.
When the object is dropped, the full PE becomes kinetic energy before friction takes a share. PE at the top equals KE at the bottom. On Earth, that 490.5 J turns into 490.5 J of motion. On the Moon, the 81 J turns into 81 J. The conversion is clean and complete in the ideal case, but the starting value was set by the planet from the beginning.
Spring energy: ½kx²
A spring stores energy differently than a raised weight does. While gravitational potential energy depends on mass, gravity, and height (PE = m × g × h), a spring's stored energy depends on how stiff it is and how far you stretch or compress it. The formula is PE = ½kx², where k is the spring constant in newtons per meter and x is the displacement from the resting position in meters.
The ½ in the formula often looks arbitrary, but it has a clear physical meaning. As you stretch a spring, the force it pushes back with grows linearly from zero. When the spring is at rest, the resisting force is zero. When you have stretched it to its full displacement, the force reaches its maximum value of k × x. The energy stored equals the average force multiplied by the distance, and the average of zero and the maximum is simply half the maximum. That is where the ½ comes from.
You can see this in a concrete example. A spring with k = 200 N/m stretched 0.15 m stores 2.25 J of elastic potential energy. At full stretch it pulls back with 30 N, which equals k × x (200 × 0.15). The average force over the stretch is 15 N — half of 30 N — and 15 N applied over 0.15 m gives 2.25 J. The math lines up perfectly with the physics.
When you release that spring, the stored elastic potential energy converts into kinetic energy, just as gravitational potential energy converts when you drop a weight. Before friction takes its toll, the full PE at maximum stretch equals the KE at the point the spring returns to rest. A potential energy calculator that handles springs lets you input the spring constant and displacement directly, so you can quantify that transfer without working through the averaging by hand.
The reference-level freedom
Potential energy is a property of the object-and-field pair, not the object alone — it changes with the planet and the reference level. That last point is what gives you freedom when using a potential energy calculator. Gravitational potential energy, PE = m × g × h, is measured from whatever reference height you choose. The formula does not lock you into sea level, the floor, or any other baseline. You simply pick a zero point and stay consistent with it throughout the calculation.
Only differences matter. If one shelf sits 10 m above your chosen zero and a second shelf sits 15 m above it, the energy difference between them depends on that 5 m gap — not on where you placed the zero. Raise a 5 kg object 10 m on Earth, where g = 9.81, and it stores 490.5 J. Put that same shelf on the Moon, where g = 1.62, and it stores only 81 J. The mass and height did not change, but the field did, so the stored energy changed with it.
Elastic potential energy works the same way in spirit, though the reference is built into the formula. For a spring, PE = ½kx². The ½ in the spring formula comes from the force growing linearly from zero as the spring stretches. Verified example: a spring with k = 200 N/m stretched 0.15 m stores 2.25 J, pulling back with 30 N. Here the natural resting length of the spring is your zero — the point where x = 0 and no energy is stored.
The payoff of picking a consistent reference shows up when the object moves. Dropped, the full PE becomes kinetic energy before friction takes any share. PE at the top equals KE at the bottom. As long as you measured both heights from the same zero, the bookkeeping works out. Change your reference level mid-problem and the numbers will stop agreeing with each other.
Where the energy goes
When you raise an object, you store energy in the relationship between that object and the planet pulling on it. Potential energy is a property of the object-and-field pair, not the object alone, so it changes with the planet and the reference level you pick. The formula PE = m × g × h works the same way every time, but g is different on the Moon than on Earth. A 5 kg mass raised 10 m on Earth, where g = 9.81, stores 490.5 J. Put that same shelf on the Moon, where g = 1.62, and it stores only 81 J. The mass did not change — the gravity field did.
On a roller coaster, the chain lift does the work of storing that energy at the top of the first hill. From there, gravity takes over. As the car drops, PE converts into kinetic energy, and as it climbs the next hill, kinetic energy converts back into PE. If you ignore friction and air resistance, the bookkeeping is exact: PE at the top equals KE at the bottom. A pendulum does the same thing in miniature — it trades height for speed and back again on every swing. A potential energy calculator can show you the starting balance; the ride does the spending.
Dropped tools follow the same rule. A wrench that falls from a ladder starts with PE measured from the ground (or whatever reference height you choose) and arrives with that same amount of energy as kinetic energy, before friction eats into it. That is why even a small drop can deliver a damaging hit — the energy was waiting in the height all along. The reference level is your choice, and it only shifts the numbers by a constant, so pick whatever makes the problem easiest.
Springs store energy differently. The formula for elastic potential energy is PE = ½kx², and the ½ comes from the force growing linearly from zero as the spring stretches. A spring with k = 200 N/m stretched 0.15 m stores 2.25 J and pulls back with 30 N. Release it and that stored energy becomes kinetic energy, just like the coaster car at the top of a hill — different source, same transfer.
FAQs
How much potential energy does 5 kg at 10 m have?
Using the formula PE = mgh, where m is mass, g is gravitational acceleration, and h is height, the calculation is 5 × 9.81 × 10 = 490.5 J. This means an object with a mass of 5 kg positioned 10 meters above the reference point has 490.5 joules of gravitational potential energy stored.
How much energy is stored in a stretched spring?
The elastic potential energy in a spring is calculated using ½kx², where k is the spring constant and x is the displacement from rest. For a spring with k = 200 and x = 0.15, the result is ½ × 200 × 0.15² = 2.25 J. The spring stores 2.25 joules of energy.
Why is there a ½ in the spring formula?
Because the spring's force starts at zero and grows to kx; the stored energy is the average force (kx ÷ 2) times the distance. This averaging is why the ½ appears in the formula ½kx². The force is not constant throughout the stretching, so you cannot simply multiply the final force by the distance.
How does potential energy change on the Moon?
It falls to 81 J — g is 1.62 instead of 9.81, barely a sixth. The Moon's gravitational acceleration is much weaker than Earth's, so the same object at the same height stores far less potential energy. The mass and height remain unchanged, but the reduced gravity dramatically lowers the energy.
What is the reference height for PE?
PE is measured relative to a chosen zero — usually the ground or the tabletop; only differences in PE ever matter. You can set the reference height wherever it is convenient for your calculation. The absolute value depends on this choice, but any change in potential energy remains the same regardless of the reference.
What does PE become when the object falls?
490.5 J of kinetic energy (minus air resistance and sound) — energy conservation converts one form to the other. As the object falls, its potential energy decreases while its kinetic energy increases by the same amount. By the time it reaches the reference height, nearly all 490.5 joules have become kinetic energy.