Key Takeaways
- Definition: Potential energy is stored energy caused by position in a field or by deformation of a system.
- Main forms: Most engineering problems use gravitational potential energy \(U = mgh\) or elastic potential energy \(U_s = \tfrac{1}{2}kx^2\).
- Watch for: Mixed units, using weight instead of mass, and applying \(U = mgh\) when gravity is not effectively constant.
- Outcome: After this page, you should be able to choose the right form, solve for key variables, and check whether a result is physically reasonable.
Table of Contents
Potential energy from elevation and spring deformation
The potential energy equation calculates stored energy caused by height in a gravitational field or by elastic deformation such as stretching or compressing a spring.

Notice first that both cases describe stored energy, not motion itself. In one case the storage comes from vertical position relative to a reference level, and in the other it comes from how far a spring is stretched or compressed from its unstressed length.
The potential energy formulas engineers use most
Quick reference: use gravitational potential energy when the problem is about elevation, lifting, falling, or energy change with height. Use elastic potential energy when the problem involves springs, stiffness, and deflection.
In engineering and introductory mechanics, “potential energy equation” usually refers first to gravitational potential energy near Earth’s surface. That is the form used for lifting, lowering, falling, and energy-balance problems where gravity can be treated as nearly constant over the height change.
A second important form is elastic potential energy, which applies when a spring stores energy through extension or compression.
Both equations describe stored energy. The first ties energy to elevation in a gravitational field, while the second ties energy to deformation in a linear spring. That physical interpretation matters more than memorizing symbols because it tells you when a formula belongs in the problem at all.
If the scenario involves mass moving through a vertical height change, start with \(U = mgh\). If the scenario involves a spring constant and a displacement from the unloaded position, start with \(U_s = \tfrac{1}{2}kx^2\).
Variables, units, and fast sanity checks
Unit consistency is one of the quickest ways to catch bad setups. Potential energy should reduce to joules in SI units, which is equivalent to newton-meters.
- \(U\) Potential energy, usually in joules \((\text{J})\).
- \(m\) Mass of the object, typically kilograms \((\text{kg})\). Use mass here, not weight.
- \(g\) Gravitational acceleration, typically \(9.81\ \text{m/s}^2\) near Earth’s surface.
- \(h\) Vertical height above a chosen datum, usually meters \((\text{m})\).
- \(k\) Spring constant, typically newtons per meter \((\text{N/m})\).
- \(x\) Spring displacement from the unloaded position, usually meters \((\text{m})\).
For \(U = mgh\), kilograms times meters per second squared times meters reduces to \(\text{kg}\cdot\text{m}^2/\text{s}^2\), which is a joule. For \(U_s = \tfrac{1}{2}kx^2\), newtons per meter times meters squared also reduces to newton-meters.
If your answer is negative when you expected stored energy magnitude, check your sign convention and your reference elevation. If your units do not reduce to joules, the problem setup is probably wrong.
| Variable | Meaning | SI units | US customary note | Typical use | Common issue |
|---|---|---|---|---|---|
| \(m\) | Mass | kg | Convert from slugs or derive from weight carefully | Lifting, falling, energy balance | Using weight and then multiplying by \(g\) again |
| \(g\) | Gravitational acceleration | m/s² | \(32.2\ \text{ft/s}^2\) is common in U.S. engineering work | Near-surface gravity problems | Assuming constant gravity for very large altitude changes |
| \(h\) | Vertical elevation change | m | ft | Elevation-based stored energy | Using path length instead of vertical height |
| \(k\) | Spring stiffness | N/m | lb/ft or lb/in with consistent conversion | Spring storage problems | Mixing inches with N/m |
| \(x\) | Spring deformation | m | ft or in | Elastic storage | Using total length instead of deformation from neutral |
How to rearrange the potential energy equation
Most readers are not just looking for the formula. They want to solve for a missing variable such as height, mass, or spring deflection. The algebra is simple, but the physical meaning still matters because you should only isolate variables that belong to the correct model.
Rearranging gravitational potential energy
Rearranging elastic potential energy
Rearranging correctly does not guarantee the original model is appropriate. If the system is not an ideal spring or the gravitational field cannot be treated as constant, the algebra may be right while the engineering model is still wrong.
Worked examples with engineering interpretation
Example 1: gravitational potential energy of a lifted motor
A 75 kg motor is lifted 4.2 m above the shop floor during installation. Estimate the increase in gravitational potential energy, assuming standard near-surface gravity.
The motor gains about \(3.09\ \text{kJ}\) of stored gravitational energy. That does not mean the hoist delivered exactly that much total energy, because real lifting systems also lose energy to inefficiencies, but it does tell you the ideal minimum change in stored mechanical energy of the load itself.
Example 2: energy stored in a compressed spring
A spring with stiffness \(k = 1200\ \text{N/m}\) is compressed \(0.08\ \text{m}\). Find the stored elastic potential energy.
This is a much smaller energy value than the lifted motor example, which is a useful reminder that spring energy depends on displacement squared. Small deflections can store modest energy, but larger deflections rise quickly.
Always translate the final number back into the physical system. Ask what is storing the energy, what reference level was chosen, and whether losses or non-ideal effects matter for the actual engineering decision.
Where engineers actually use potential energy
Potential energy shows up across mechanics, machine design, structural dynamics, and fluids whenever energy changes are easier to track than forces at every instant.
- Lifting and rigging: estimating the change in stored gravitational energy when equipment, materials, or structural components are raised.
- Dynamics and impact problems: converting potential energy into kinetic energy to estimate speed before impact or motion after release.
- Spring-loaded systems: evaluating actuator behavior, stored energy devices, vibration systems, and protective spring elements.
- Energy methods: simplifying mechanics problems when conservative forces dominate and detailed force tracking is unnecessary.
- Fluid and thermal analogies: building intuition for energy accounting when multiple energy forms appear together.
In real projects, potential energy is rarely the only term that matters. Friction, damping, fluid drag, inelastic deformation, and actuator losses often change the final result. Potential energy is usually the clean starting point, not the entire finished model.
Assumptions and neglected factors
The potential energy equation looks simple because many details are hidden in the modeling assumptions. Surface those assumptions before trusting the number.
- 1 For \(U = mgh\), gravitational acceleration is treated as constant over the height change.
- 2 For \(U_s = \tfrac{1}{2}kx^2\), the spring is assumed linear and follows Hooke’s law over the deformation range.
- 3 The reference elevation or neutral spring position is chosen consistently.
- 4 Losses such as friction, damping, plastic deformation, or heat generation are not included in the stored-energy term itself.
Neglected factors that begin to matter
- Variable gravity: for large altitude changes, orbital mechanics, or planetary-scale problems, the constant-\(g\) model becomes too crude.
- Nonlinear springs: real materials and springs may harden, soften, or yield, which breaks the linear \(kx\) assumption.
- Dissipative effects: friction and damping remove mechanical energy from the ideal storage picture.
- Geometry changes: when displacement changes the force direction or leverage, a single simple form may not capture the full system behavior.
Potential energy vs. related equations
Potential energy is rarely used in isolation. Engineers often pair it with related equations to move from stored energy to force, motion, or broader system energy balances.
| Equation / concept | Best used for | Key assumption | Main limitation |
|---|---|---|---|
| Kinetic energy equation | Energy of motion, usually \( \tfrac{1}{2}mv^2 \) | Classical speeds and rigid-body style modeling | Does not represent stored energy from position or deformation |
| Hooke’s Law | Relating spring force to deformation, \(F = kx\) | Linear elastic spring behavior | Force relation, not total stored energy by itself |
| Law of Universal Gravitation | Gravity when distance from the attracting body matters explicitly | Point-mass or spherically symmetric gravity model | More complex than constant-\(g\) near-surface approximations |
| Bernoulli-style energy balance | Tracking multiple mechanical energy terms in fluids | Flow simplifications and appropriate control-volume assumptions | Not a substitute for solid-mechanics energy storage models |
If you need stored energy from height, use potential energy. If you need force from spring deformation, use Hooke’s law. If you need speed from an energy conversion, combine potential and kinetic energy in one energy balance.
Common mistakes and engineering checks
- Using path length instead of vertical height in gravitational problems.
- Using weight as if it were mass, then multiplying by \(g\) again.
- Applying \(U = mgh\) to large-altitude problems where \(g\) is no longer effectively constant.
- Treating a non-linear or yielding spring as if \(U_s = \tfrac{1}{2}kx^2\) still applied exactly.
- Ignoring the datum selection and then comparing energies referenced to different zero levels.
For lifting problems, estimate the weight force first and multiply by the height change. That rough mental check should land close to the detailed result. For spring problems, remember that doubling deformation increases stored energy by a factor of four.
| Check item | What to verify | Why it matters |
|---|---|---|
| Units | Final units reduce to joules or equivalent work units | Catches mixed unit systems immediately |
| Magnitude | The number feels plausible for the mass, height, stiffness, and deformation involved | Flags decimal-place and conversion errors |
| Model fit | The system is actually governed by elevation change or elastic storage | Prevents correct math on the wrong equation |
Frequently asked questions
The potential energy equation gives the energy stored because of position or deformation. In most mechanics problems, the two forms used most often are gravitational potential energy \(U = mgh\) and elastic potential energy \(U_s = \tfrac{1}{2}kx^2\).
In SI work, potential energy is reported in joules. For gravitational potential energy, use kilograms, meters per second squared, and meters. For elastic potential energy, use newtons per meter for stiffness and meters for displacement.
Starting from \(U = mgh\), divide both sides by \(mg\). The rearranged equation is \(h = \dfrac{U}{mg}\).
It is most reliable when gravity can be treated as nearly constant, which is usually true near Earth’s surface over modest height changes. For large altitude changes, orbital problems, or high-precision gravity work, a variable-gravity model is better.
Summary and next steps
The potential energy equation is a stored-energy tool, not just a memorized formula. In practical engineering work, that usually means using \(U = mgh\) for elevation-based problems and \(U_s = \tfrac{1}{2}kx^2\) for ideal spring storage.
The most important judgment calls are choosing the right model, keeping units consistent, and checking whether constant gravity or linear spring behavior are reasonable assumptions for the actual system.
Where to go next
Continue your learning path with these focused next steps.
-
Prerequisite: Hooke’s Law
Build the force-based intuition behind the elastic potential energy form.
-
Related: Kinetic Energy Equation
Pair stored energy with energy of motion for conservation and release problems.
-
Advanced: Law of Universal Gravitation
Move beyond constant gravity when distance from the attracting body matters explicitly.