Ultra Calculator
    Physics

    Potential Energy Calculator

    Gravitational potential energy (GPE) is mass × gravitational field strength × height: Ep = m × g × h. A 10 kg mass lifted 20 m on Earth (g = 9.81 m/s²) gains 1,962 J. The calculator also covers energy stored in a spring (½kx²), energy between two charges and orbital energy, and can solve for a missing value.

    Last updated by Ultra Calculator

    Potential Energy

    How to calculate it

    GPE = m × g × h
    Elastic: E = ½ × k × x²
    Electric: E = kₑ × q₁ × q₂ ÷ r
    Orbital: E = −G × M × m ÷ r
    GPE
    gravitational potential energy, in joules (J)
    E
    potential energy, in joules
    m
    mass of the object, in kilograms
    g
    gravitational field strength, 9.81 m/s² unless you enter another value
    h
    height, in metres
    k
    spring constant, in N/m
    x
    extension or compression of the spring, in metres
    kₑ
    Coulomb constant, taken as 8.988 × 10⁹ N m²/C²
    q₁
    first charge, in coulombs
    q₂
    second charge, in coulombs
    r
    distance between the charges, or from the centre of the large mass, in metres
    G
    gravitational constant, taken as 6.674 × 10⁻¹¹ N m²/kg²
    M
    central mass (planet or star), in kilograms

    The reverse modes rearrange these formulas, for example h = GPE ÷ (m × g) and k = 2E ÷ x².

    Worked example

    10 kg lifted 20 m

    Lifting 10 kg through 20 m with g = 9.81 m/s² increases its gravitational potential energy by 1,962 J. The mass weighs 98.1 N.

    You enter
    Type of potential energyGravitational (near the Earth's surface)
    FindPotential energy
    Mass (m)10 kg
    Height (h)20 m
    Gravitational field strength (g)9.81 m/s²
    The calculator returns
    TypeGravitational (near the Earth's surface)
    Solved forPotential energy
    Potential energy1,962 J
    g used9.81 m/s²
    Weight, m × g98.1 N
    Energy in kilocalories0.4689 kcal
    Energy in kilowatt-hours5.45 × 10⁻⁴ kWh
    Formula usedEp = m × g × h

    How to use this calculator

    1. Choose the Type of potential energy, then what to Find. Each type lists only the values it can solve for.
    2. Near the Earth: to find the energy, enter Mass and Height. To find either of those, enter Potential energy and the other value. Change Gravitational field strength if you need a value other than the Earth's 9.81 m/s².
    3. Elastic: to find the energy, enter Spring constant and Extension or compression. To find either of those, enter Potential energy and the other value. Add Mass to see the bounce period.
    4. Electric: to find the energy, enter Charge 1, Charge 2 and Distance. To find any of those, enter Potential energy and the other two values. Enter charges in coulombs (1 μC is 1e-6), with a minus sign for a negative charge.
    5. Orbits: to find the energy, enter Central mass, Mass and Distance, measured from the planet's centre. To find any of those, enter Potential energy as a negative number and the other two values.
    6. Read the highlighted answer. Very large or small values are shown in powers of ten, such as 5.972 × 10²⁴ kg.

    Frequently asked questions

    How do you calculate gravitational potential energy?

    Multiply mass, gravitational field strength and height: GPE = m × g × h. A 10 kg mass raised 20 m on Earth gains 10 × 9.81 × 20 = 1,962 J. Use kilograms, metres and N/kg (the same as m/s²) to get an answer in joules.

    What is g in the GPE formula?

    Gravitational field strength: the force of gravity on each kilogram. Near the Earth's surface it is about 9.8 N/kg. This calculator uses 9.81 unless you enter another value. Standard gravity is defined as 9.80665 m/s².

    How do you work out elastic potential energy?

    Use Ee = ½ × k × e², where k is the spring constant in N/m and e (x in this calculator) is the extension or compression in metres. A 500 N/m spring compressed by 0.2 m stores 0.5 × 500 × 0.04 = 10 J. This holds only while the spring obeys Hooke's law.

    Can potential energy be negative?

    Yes. Orbital potential energy is negative because its zero is set infinitely far away, so −GMm ÷ r is below zero at any real distance. Electric potential energy is negative for opposite charges, which attract. Near the Earth, GPE is negative below the level you call zero, so enter a negative height for a point below it.

    Does it matter where I measure height from?

    Only for the absolute value. The change in GPE between two heights is the same whichever level you call zero, and changes are what most problems ask for.

    Learn more

    Energy stores

    Gravitational and elastic potential energy are stores that fill when work is done against a force: lifting against gravity, or stretching a spring. When the object is let go, the store empties into kinetic energy.

    Why orbital energy is negative

    For planets and satellites the zero of potential energy is at infinite distance. Bringing two masses closer releases energy, so at any real distance the potential energy is below zero. Escape velocity is the speed whose kinetic energy exactly cancels it.

    Hooke's law and springs

    A spring that obeys Hooke's law pushes or pulls back with a force F = k × x. The energy stored is the area under its force against extension graph, ½ × k × x². Past the limit of proportionality the formula no longer applies.

    • Checking GCSE answers on GPE and elastic potential energy
    • Working out the energy needed to lift a load to a given height
    • Finding a spring constant from the energy stored at a known extension
    • A-level problems on electric potential energy and Coulomb's law
    • Estimating the potential energy and orbit speed of a satellite

    Entering orbital energy without the minus sign

    Orbital potential energy is below zero at any real distance, so the orbital reverse modes need a negative energy: −5.89 × 10¹⁰ J is typed as -5.89e10. A positive value gives a message instead of a result.

    Entering the spring extension in centimetres

    Enter metres: a 5 cm stretch is 0.05 m. Because x is squared, entering 5 makes the energy 10,000 times too big.

    Entering charges in microcoulombs

    The calculator expects coulombs. 3 μC is 0.000003 C, which you can also type as 3e-6.

    Using height above the ground for orbits

    Orbital mode needs the distance from the centre of the planet, so add the planet's radius to the height above the surface.

    Methodology and sources

    Near-Earth mode uses GPE = mgh with g = 9.81 m/s² unless you change it, and treats g as constant with height. Heights below your zero level are negative, which makes the GPE negative. Elastic mode uses ½kx², which holds only within Hooke's law. Electric mode uses kₑq₁q₂ ÷ r with kₑ = 8.988 × 10⁹ N m²/C², treating the charges as points in a vacuum, so the energy is negative for unlike charges. Orbital mode uses −GMm ÷ r with G = 6.674 × 10⁻¹¹ N m²/kg², so every orbital energy is negative. The reverse modes rearrange these formulas and check that the energy has a sign the physics allows. Kilocalories are joules ÷ 4,184. Values below 0.001 or of a billion or more are shown to four significant figures in powers of ten.