Potential Energy Calculator
Calculate gravitational and elastic potential energy using U = mgh and U = ½kx². Results in joules and kilojoules for physics and engineering.
Potential Energy Calculator
Background.
Potential energy is energy stored in a system by virtue of position, configuration, or state. Unlike kinetic energy, which depends on motion, potential energy represents the capacity to do work that arises from the arrangement of bodies or the deformation of materials. The concept is fundamental to mechanics, thermodynamics, and structural engineering, appearing in problems ranging from roller coaster design to spring-loaded mechanisms and hydroelectric dam storage. Every introductory physics course treats potential energy as one of the two pillars of mechanical energy, the other being kinetic energy, and the conservation of total mechanical energy in frictionless systems provides a powerful problem-solving framework.
The two most common forms encountered in undergraduate physics and engineering are gravitational potential energy near Earth's surface and elastic potential energy in springs. Gravitational potential energy arises from the position of a mass in a gravitational field. For altitudes small compared to Earth's radius, the field is effectively uniform, and the stored energy increases linearly with height above an arbitrarily chosen reference level. This linear approximation, U = mgh, was implicit in Galileo's work on falling bodies and was formalized in the Newtonian synthesis of the seventeenth century. The reference level is arbitrary because only changes in potential energy have physical significance; whether a hiker is 100 meters above sea level or 100 meters above a valley floor, the change in gravitational potential energy when descending is the same.
Elastic potential energy, by contrast, arises from the deformation of an elastic body, most commonly modeled as an ideal spring obeying Hooke's law. Robert Hooke first stated the linear force-displacement relationship in 1678 as "ut tensio, sic vis"—as the extension, so the force. The potential energy stored in a displaced spring is not linear in displacement but quadratic, U = ½kx², meaning that stretching a spring twice as far requires four times the work. This nonlinear behavior has profound consequences in oscillating systems, where the quadratic potential leads to simple harmonic motion with a period independent of amplitude. Engineers designing vehicle suspensions, seismic isolation bearings, and mechanical watches rely on this relationship to predict energy storage and release.
The SI unit of potential energy is the joule, defined as one newton-meter or one kilogram-meter squared per second squared. The unit is named after James Prescott Joule, whose experiments on the mechanical equivalent of heat established the quantitative link between mechanical work and thermal energy. In astrophysics and orbital mechanics, larger units such as the terajoule or the non-SI electronvolt are common, but for terrestrial mechanics the joule and kilojoule suffice. Potential energy is a scalar quantity, meaning it has magnitude but no direction, and in conservative force fields it can be defined as the negative line integral of the force from a reference point to the point of interest.
This calculator handles both gravitational and elastic modes. In gravitational mode, the user enters mass, height, and local gravitational acceleration; the default value of 9.80665 meters per second squared corresponds to standard gravity as defined by CODATA 2018. In elastic mode, the user enters the spring constant and displacement from equilibrium. The calculator returns energy in joules and kilojoules. Both formulas assume ideal conditions: uniform gravitational field and a massless spring with linear response. For large heights where g varies significantly, or for springs that exhibit plastic deformation or damping, more advanced models are required.
What is potential energy calculator?
Potential energy is the energy possessed by an object or system as a result of its position or arrangement. In mechanics, the term most often refers to gravitational potential energy, associated with height in a gravitational field, or elastic potential energy, associated with the deformation of springs and solid bodies. Gravitational potential energy near Earth's surface is calculated as U = mgh, where m is mass, g is the acceleration due to gravity, and h is the vertical displacement above a reference level. Elastic potential energy for an ideal spring is U = ½kx², where k is the spring constant and x is the displacement from the equilibrium position. Both quantities are state functions, meaning they depend only on the current configuration of the system, not on the path taken to reach it. The SI unit is the joule. Potential energy is defined relative to an arbitrary zero point; for gravity this is typically the ground or a floor, while for springs it is the undeformed length. Only differences in potential energy are physically observable, which is why the choice of reference does not affect the dynamics of a system. In conservative systems, the sum of kinetic and potential energy remains constant, providing a powerful constraint on possible motions. Non-conservative forces such as friction convert mechanical energy into heat, causing the total mechanical energy to decrease over time.
How to use this calculator.
- Select the calculation mode: gravitational near-Earth or elastic spring.
- For gravitational mode, enter the object mass in kilograms and the vertical height in meters above your chosen reference level.
- Confirm or adjust the gravitational acceleration field; the default 9.80665 m/s² is standard gravity at mid-latitudes.
- For elastic mode, enter the spring constant in newtons per meter and the displacement from equilibrium in meters.
- Click calculate to obtain the potential energy in joules and kilojoules.
- Use the reset function to switch modes and compare energy storage across different physical systems.
The formula.
The gravitational potential energy formula U = mgh is the first-order approximation of the general Newtonian expression U = -GMm/r, valid when the height h above a reference level is small compared to the radius of the gravitating body. In this limit, the difference in potential energy between two points separated vertically by h is obtained by expanding the general expression in a Taylor series and retaining the linear term. The result is ΔU = mgh, where g = GM/R² is the gravitational acceleration at the surface. This approximation breaks down for satellite orbits or interplanetary trajectories, where the full inverse-radius form is required, but it is accurate to better than one part per thousand for altitudes below ten kilometers on Earth.
The elastic potential energy formula U = ½kx² derives from the work integral of Hooke's law. Hooke's law states that the restoring force exerted by an ideal spring is proportional to the displacement from equilibrium and directed opposite to it: F = -kx. The work done by an external agent to stretch the spring quasi-statically from x = 0 to x = X is the integral of force over displacement: W = ∫₀^X kx dx = ½kX². By the work-energy theorem, this work is stored as potential energy in the spring. The quadratic dependence means that the energy required to achieve the first centimeter of stretch is one-quarter of the energy required for the second centimeter, assuming linearity holds. This property makes pre-tensioned springs efficient energy reservoirs: a clock mainspring stores far more energy in its outer turns than in its inner turns.
The spring constant k, also called stiffness or force constant, has units of newtons per meter and depends on the material's Young's modulus, the wire diameter, the coil diameter, and the number of active coils. For a helical spring, k is inversely proportional to the number of active coils, which is why cutting a spring in half doubles its stiffness. The formula U = ½kx² assumes ideal behavior: no mass in the spring itself, no internal friction, and no plastic deformation. Real springs deviate from this ideal at large displacements, where the stress-strain relationship becomes nonlinear and permanent set can occur. In such regimes, the potential energy must be computed from the measured force-displacement curve by numerical integration rather than from the simple quadratic formula.
A worked example.
A physics student compresses a spring with stiffness 500 newtons per meter by 12 centimeters to launch a small projectile. To find the stored elastic potential energy, first convert the displacement to meters: 12 centimeters equals 0.12 meters. Square this displacement to obtain 0.0144 meters squared. Multiply by the spring constant: 500 times 0.0144 equals 7.2 newton-meters. Finally, multiply by one-half: 0.5 times 7.2 equals 3.6 joules. The spring therefore stores 3.6 joules of potential energy, which the launcher converts entirely into kinetic energy at the point of release if friction is negligible. In kilojoules, this is 0.0036 kJ. This amount of energy is comparable to the kinetic energy of a 50-gram ball traveling at roughly 12 meters per second, illustrating the equivalence between stored elastic work and motion that underlies ballistic launchers and automotive valve springs. The quadratic relationship means that compressing the same spring to 24 centimeters would store four times the energy, or 14.4 joules, demonstrating how small increases in displacement dramatically increase the stored energy.
Frequently asked questions.
What is the difference between potential and kinetic energy?
Why is the reference level for gravitational potential energy arbitrary?
Can potential energy be negative?
What are common units for potential energy besides joules?
Does the mass of the spring affect the calculation?
What happens if a spring is stretched beyond its elastic limit?
How does gravitational potential energy change on other planets?
Is potential energy really stored "in" the object?
Can I use this calculator for rubber bands and bungee cords?
What is the relationship between potential energy and force?
References& sources.
- [1]Halliday, D., Resnick, R., and Walker, J. (2013). Fundamentals of Physics. 10th ed. Wiley. Ch. 7-8.
- [2]Young, H.D. and Freedman, R.A. (2019). University Physics with Modern Physics. 15th ed. Pearson. Ch. 7.
- [3]BIPM (2019). The International System of Units (SI Brochure). 9th ed.
- [4]NIST (2018). CODATA Recommended Values of the Fundamental Physical Constants.
- [5]Hooke, R. (1678). De Potentia Restitutiva, or of Spring. London.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled