Potential Energy Calculator - Ep = mgh in J, kJ, kWh

    How much energy does it take to lift something, and how much comes back when it falls? Enter a mass and a height for the answer in joules, kJ, MJ, kWh and kcal, or work backwards to either input.

    Parameters

    Enter data for calculations

    The form below changes to match

    Used for the mass, whether you type it or read it

    Used for the height, whether you type it or read it

    Optional. Blank means standard gravity

    Form progress0 / 3 fields

    💡 Fill in all required fields to unlock the calculate button

    The energy in a raised object, from an apple to a reservoir

    Between an apple set on a kitchen counter and the water held behind a small dam there are nine orders of magnitude, and one formula covers the whole span. Give the calculator a mass and a height and it returns the gravitational potential energy in joules, along with the same figure in kilojoules, megajoules, kilowatt hours and kilocalories. Give it an energy instead and it returns whichever of the two you left out. A 75 kg adult who climbs 10 m has stored 7,355 J, which is 7.355 kJ, 0.0020431 kWh or 1.7579 kcal.

    9.80665
    standard gravity, m/s², by definition
    9.81 J
    stored by 1 kg raised 1 m
    3,671 m
    how high 1 kWh lifts 100 kg

    The quantity has a single sentence behind it: the energy equals the mass times the gravitational acceleration times the height, and every consequence in this page follows from the fact that all three appear to the first power. Nothing is squared, nothing is inside a root, so doubling any one of them doubles the answer and doubling two of them quadruples it. That is a gentler relationship than the one governing a moving object, where speed is squared, and it is the reason a very heavy object barely off the ground routinely outranks a light one high in the air.

    The tool also runs the formula backwards. Give it an energy and a height and it returns the mass that would hold that energy; give it an energy and a mass and it returns how high the object would have to go. Both are the same equation rearranged, and both are checked against the forward calculation before anything is published, so a figure taken out of one mode and put back into another closes the loop rather than drifting.

    Three numbers, and which one you are missing

    The form holds three quantities and asks for two of them. Pick the one you want first, because that choice decides which fields appear.

    1. What you want to work out - the energy, the mass or the height. Nothing else is shown until this is set, and no option is preselected, so the form cannot make the choice look as though you already made it.
    2. Mass - in kilograms, grams, metric tons or pounds. Pounds are converted at the international value of 0.45359237 kg, so an input in pounds and the same weight in kilograms give one identical answer rather than two that nearly agree.
    3. Height - in meters, centimeters, kilometers or feet, at 0.3048 m to the foot. This is the vertical distance between where the object is and wherever you decided to call zero, not the height above sea level.
    4. Energy - only when you are solving for mass or height. Joules, kilojoules, megajoules, kilowatt hours and kilocalories are all accepted, at 3,600,000 J to the kilowatt hour and 4,184 J to the kilocalorie, which is the calorie printed on food labels.
    5. Gravitational acceleration - optional. Left blank it uses standard gravity, 9.80665 m/s². Fill it in only if you are working somewhere that is genuinely not the Earth's surface, and the result will say how the answer compares.
    6. Read the answer. The headline gives the quantity you asked for, the line beneath restates the energy in five units, and the two tables place it against things that have been lifted and against everyday energies.

    Height is the only thing that has to be agreed on

    Potential energy is unusual among the quantities in physics in that its value is not fixed by the object alone. A mass on an upstairs windowsill has one potential energy relative to the floor of that room, a larger one relative to the ground outside, and a larger one still relative to the bottom of the basement. All three numbers are correct at the same time. What the formula actually measures is the work it took to move the object between two levels, and the second level is yours to choose.

    This is why the field is labeled height rather than altitude. Nothing in the arithmetic knows or cares how far above sea level either point sits, only how far apart they are vertically. It is also why the result never changes when you carry an object horizontally: gravity pulls straight down, so a step sideways does no work against it, and a suitcase wheeled the length of an airport terminal arrives with exactly the energy it left with.

    The other half of the formula is g, which the calculator treats as constant between the two levels. That is an approximation and it is a very good one near the ground. Gravity falls off with the square of the distance from the center of the Earth, so climbing a kilometer weakens it by about 0.03%, well below the precision of any mass you are likely to enter. The approximation only breaks down at the scale of orbits, where the energy has to be found from the full inverse-square expression instead.

    Stored this way, the energy is genuinely recoverable. Let the object fall and every joule comes back as motion. That is the arithmetic behind pumped storage, behind a grandfather clock's weights, and behind the plain fact that a dropped tool hurts in proportion to how far it fell. From 10 m an object arrives at 14.00 m/s, which is 50.4 km/h or 31.3 mph, and the calculator prints that speed under the result.

    What a lift costs, from a countertop to a dam

    Every row below is a mass and a height written out, so any of them can be checked on a calculator: multiply the two and then by 9.80665. The same table appears under your result with your own figure slotted into the correct gap.

    Something lifted Mass and height Energy stored
    An apple lifted onto a counter0.15 kg at 0.9 m1.32 J
    A paperback put back on a shelf0.4 kg at 1.8 m7.06 J
    A suitcase into an overhead bin20 kg at 1.2 m235.4 J
    An adult up one flight of stairs75 kg at 3.3 m2.43 kJ
    An adult up a ten-story building75 kg at 33 m24.27 kJ
    A car raised onto an overpass1,400 kg at 8 m109.83 kJ
    An adult to the Eiffel Tower top deck75 kg at 276 m203.00 kJ
    An elevator with eight people, up 30 floors1,200 kg at 99 m1.17 MJ
    A loaded truck over a mountain pass40,000 kg at 500 m196.13 MJ
    A thousand metric tons of water behind a dam1,000,000 kg at 100 m980.66 MJ

    Two rows in that list are worth pausing on. A car raised only 8 m onto an overpass holds 109.83 kJ, while an adult who climbs four times higher, to the top of a ten-story building, holds 24.27 kJ. And the dam row is not a large dam. A thousand metric tons is a cube of water roughly 10 m on a side, and it still outweighs everything above it by three orders of magnitude.

    The same joule, counted six ways

    A figure in joules means very little on its own, so the second table under the result compares it against six energies most people have some feel for. Each one carries the arithmetic that produced it, which is the only way to make a comparison table checkable rather than decorative. The right-hand column shows what the 7,355 J from a 75 kg climb of 10 m is worth against each.

    Everyday energy In joules Where the figure comes from A 10 m climb is worth
    One gram of sugar, as food energy16,7364 kcal at 4,184 J each0.4395
    A 10 W LED bulb for one hour36,00010 W over 3,600 s0.2043
    A full smartphone battery62,3704,500 mAh at 3.85 V, so 17.33 Wh0.1179
    Heating a mug of water for tea83,7200.25 kg, 20 to 100 degrees, 4,186 J per kg per degree0.0879
    One slice of bread, as food energy334,72080 kcal at 4,184 J each0.0220
    Boiling a full 1.7 L kettle569,2961.7 kg, 20 to 100 degrees0.0129

    Read down that column and the scale of gravitational storage becomes uncomfortable. Ten meters of climb, for a full-grown adult, is worth less than half a gram of sugar and about a fiftieth of a slice of bread. Run it the other way and one kilowatt hour, the unit a meter counts in, would lift 100 kg to 3,670.98 m, higher than any building ever constructed. Height is a very poor place to keep energy, and that is precisely why pumped storage is built at the scale of reservoirs rather than water tanks.

    Why a heavy thing low down beats a light thing high up

    Mass and height carry equal weight, and intuition does not treat them equally. Both appear to the first power, so doubling either doubles the energy and nothing else changes. People reliably overestimate what height contributes, because height is what feels dangerous. The car on the overpass at 8 m stores 4.5 times what the person at the top of a ten-story building, 33 m up, does, and the reason is only that 1,400 kg is nearly nineteen times 75 kg.
    The energy is not what the climb costs your body. Human muscle converts food energy to mechanical work at roughly 25% efficiency, so the 1.7579 kcal the calculator reports for a 10 m climb corresponds to about 7 kcal of food. The rest leaves as heat, which is why stairs make you warm long before they make you tired.
    Route length is irrelevant, and gradient is not. A ramp and a ladder to the same landing store the same energy, because only the vertical component of the path counts. What changes is the force you must hold while you do it, which is a separate question with its own answer.
    The imperial answer is not a different answer. A 150 lb person up 30 ft comes to 6.10 kJ, and entering the same person and the same staircase in kilograms and meters gives the identical joule figure, because the conversions are exact rather than rounded.

    Six things the formula quietly assumes

    Height above what, exactly?
    Above whatever level you choose. Potential energy has no absolute value, only a value relative to a reference you pick, and every choice is equally correct. In practice pick the level the object would end up at if it fell: the floor for something on a table, the ground for something on a roof, the base of the shaft for something in an elevator. What matters is that you use the same reference throughout a problem.
    Should I use 9.8, 9.81 or 9.80665?
    The calculator uses 9.80665 m/s², which is standard gravity as defined rather than measured, and it is also the constant that defines the kilogram-force and the pound-force. Using 9.81 instead changes an answer by 0.034%, which is invisible next to the uncertainty in any real mass or height. Using 9.8 costs 0.07%. All three are fine for schoolwork; the tool uses the defined value so that its unit conversions stay consistent with each other.
    Why does the answer not depend on how fast I lift it?
    Because energy and power are different quantities. Lifting a crate to a shelf in one second and in one minute stores exactly the same joules; what differs is the rate, measured in watts, and that is what a power calculation answers. Speed only enters the potential energy figure at the moment you let go, when the stored energy starts converting to motion.
    Can potential energy be negative?
    Relative to a reference above it, yes. A basement floor has negative potential energy measured from the ground floor, and in orbital mechanics the convention makes it negative everywhere, approaching zero only at infinite distance. This calculator asks for a positive height because in the everyday case the sign only records which of the two levels you picked as zero. Measure from the lower of the two and the height, and the energy, come out positive.
    Does this cover a stretched spring or a charged battery?
    No. Ep = mgh is gravitational potential energy specifically. A compressed spring stores elastic potential energy, which depends on the spring constant and the square of the displacement, and a battery stores chemical energy. They are all energy, all measured in joules, and all convertible into one another, but none of them is computed from a mass and a height.
    How high does the formula stay accurate?
    To well within a fraction of a percent for anything on or near the ground. Gravity weakens with the square of the distance from the Earth's center, and the Earth's radius is about 6,371 km, so a kilometer of climb reduces g by roughly 0.03%. At 100 km the error reaches about 3% and mgh should be replaced by the inverse-square form. Nothing you would weigh on a bathroom scale gets anywhere near that.
    What mass do I need to store a given amount of energy?
    Set the tool to solve for mass. Storing 1 MJ at a height of 50 m takes 2,039.43 kg, a little over two metric tons, and 1 MJ is less than two boilings of a kettle. That ratio is the reason gravity storage only makes sense with reservoirs, mine shafts or very large weights, and never with anything you could carry.

    Related tools

    Kinetic Energy Calculator

    Where the stored energy goes once the object is released, and how it grows with the square of the speed - See the calculator

    Force Calculator

    The weight you have to hold while lifting, which is the mass multiplied by the same gravitational acceleration - See the calculator

    Momentum Calculator

    What a falling object carries into whatever it lands on, and why that is not the same thing as its energy - See the calculator

    Mass Unit Converter

    For a mass quoted in ounces, stones or grains before it can go into the form - See the calculator

    Length Unit Converter

    For a height given in inches, yards or miles rather than the four units this tool takes directly - See the calculator

    Electricity Usage Calculator

    The other side of the kilowatt hour, for putting a gravitational figure next to what an appliance actually draws - See the calculator

    Work Calculator

    The same lift stated as a force over a distance, which is where the joules in this formula come from - See the calculator

    Mechanical Power Calculator

    What the lift demands once a clock is attached to it, since the same energy over half the time needs twice the power - See the calculator

    Similar calculators from this section