Free online gravitational potential energy calculator. Compute potential energy using the formula PE = mgh. Supports multiple mass and height units (kg, g, lb, oz, m, cm, km, ft, in, mi) and energy units (J, kJ, cal, kcal, Wh, kWh). Perfect for physics students, engineers, and anyone working with energy calculations.
A potential energy calculator (also called a gravitational potential energy calculator or mgh calculator) is an online tool that computes the gravitational potential energy of an object using the fundamental physics equation PE = mgh, where PE is potential energy (in joules), m is mass (in kilograms), g is the acceleration due to gravity (in m/s²), and h is the height above a reference point (in meters). This formula is one of the cornerstones of classical mechanics, derived from the work done against gravity to lift an object.
Potential energy is the stored energy an object possesses due to its position relative to a gravitational field. Unlike kinetic energy, which depends on motion, potential energy is “energy at rest” that can be converted into other forms. When you lift a book from the floor to a shelf, you do work against gravity, and that work is stored as gravitational potential energy. If the book falls, that stored energy converts into kinetic energy. This principle appears in countless real‑world applications: from hydroelectric dams (water stored at a height) to roller coasters (cars at the top of a hill) to everyday objects on shelves.
This free online potential energy tool operates entirely within your browser - no data is sent to any server, ensuring your privacy and enabling offline use. It supports 4 mass units (kg, g, lb, oz), 6 height units (m, cm, km, ft, in, mi), 6 energy output units (J, kJ, cal, kcal, Wh, kWh), and includes quick‑select gravity presets for Earth, Moon, Mars, Jupiter, and other planets, plus a custom field. Whether you are a student solving physics homework, an engineer calculating energy storage, or a science enthusiast, this calculator is your go‑to solution.
Using this mgh calculator is simple. Follow these steps:
The gravitational potential energy formula is derived from the definition of work (W = F × d). The force needed to lift an object at constant speed against gravity is F = mg (where g ≈ 9.81 m/s² on Earth). The work done is then W = F × h = mgh. This work is stored as gravitational potential energy. Because energy is conserved, the object can later release that stored energy - for example, as kinetic energy when falling or as heat if it hits the ground.
The formula can be rearranged to solve for any variable:
| Unit | Symbol | Value in kg | Common Uses |
|---|---|---|---|
| Ounce | oz | 0.0283495 | Cooking, small objects, postal weight |
| Gram | g | 0.001 | Cooking, food labels, small packages |
| Pound | lb | 0.453592 | Body weight, groceries, gym weights |
| Kilogram | kg | 1 | SI base unit, most common worldwide |
| Unit | Symbol | Value in m | Common Uses |
|---|---|---|---|
| Inch | in | 0.0254 | Screen sizes, small measurements (US) |
| Centimeter | cm | 0.01 | Body measurements, small objects |
| Foot | ft | 0.3048 | Room dimensions, altitude (US) |
| Meter | m | 1 | SI base unit, most common worldwide |
| Kilometer | km | 1000 | Long distances, geography |
| Mile | mi | 1609.344 | Road distances (US/UK) |
| Unit | Symbol | Value in J | Common Uses |
|---|---|---|---|
| Calorie | cal | 4.184 | Chemistry, small heat measurements |
| Joule | J | 1 | SI base unit, physics, engineering |
| Watt‑hour | Wh | 3600 | Electricity, battery capacity |
| Kilojoule | kJ | 1000 | Mechanical work, food labels |
| Kilocalorie | kcal | 4184 | Nutrition ("Calories" with capital C) |
| Kilowatt‑hour | kWh | 3,600,000 | Electricity billing |
The acceleration due to gravity (g) varies depending on the celestial body. Below are the standard surface gravity values for planets and other bodies in the solar system:
| Body | Surface Gravity (m/s²) | Fraction of Earth's Gravity | Typical Uses |
|---|---|---|---|
| Sun | 274.0 | 27.9 G | Solar physics, heliocentric calculations |
| Jupiter | 24.79 | 2.53 G | Gas giant studies, orbital mechanics |
| Neptune | 11.15 | 1.14 G | Outer planet missions |
| Saturn | 10.44 | 1.06 G | Ring system studies |
| Earth | 9.81 | 1 G | Standard physics, engineering, everyday life |
| Venus | 8.87 | 0.904 G | Atmospheric studies |
| Mars | 3.71 | 0.378 G | Rover missions, space exploration |
| Mercury | 3.70 | 0.377 G | Inner planet missions |
| Moon | 1.62 | 0.165 G | Lunar exploration, Apollo missions |
| Property | Gravitational Potential Energy (PE) | Kinetic Energy (KE) |
|---|---|---|
| Definition | Energy stored due to position in a gravitational field | Energy of an object due to its motion |
| Formula | PE = mgh | KE = ½mv² |
| Depends on | Mass, gravity, height | Mass, velocity |
| Zero point | Reference height (often ground level) | At rest (v = 0) |
| Example | Book on a shelf, water behind a dam | Falling object, car in motion |
| Conservation | In a closed system, PE + KE is constant (ignoring friction) | Same |
The total mechanical energy of an object is the sum of its kinetic and potential energies: E_total = KE + PE. In the absence of friction or air resistance, total mechanical energy is conserved. When an object falls, its potential energy decreases and its kinetic energy increases by the same amount - explaining why a falling object speeds up.
What is the gravitational potential energy of a 10 kg box sitting on a shelf 2 m above the ground (on Earth)?
Water behind a dam: 1000 kg of water at a height of 50 m. How much potential energy is stored?
A 15 kg rock is raised 5 m on the Moon (g = 1.62 m/s²). What is its PE?
A ball has 50 J of PE and a mass of 2 kg. How high is it (on Earth)?
Water stored behind a dam has gravitational potential energy proportional to its height. When released, this energy converts to kinetic energy, turning turbines to generate electricity - one of the largest sources of renewable energy worldwide.
The first hill of a roller coaster is always the tallest because the cars are pulled up to convert electrical energy into gravitational potential energy. As the cars descend, that stored energy converts to kinetic energy, propelling them through the rest of the track.
Modern gravity storage systems lift heavy blocks using excess electricity and lower them to generate power when needed. This offers an environmentally friendly, long‑duration storage solution that could complement battery systems.
Rockets must provide enough kinetic energy to overcome Earth's gravity and achieve orbital height. The gravitational potential energy at orbital altitude is a significant portion of the total energy required.
Gravitational potential energy is the energy stored in an object due to its position in a gravitational field. It is given by the formula PE = mgh, where m is mass, g is gravity, and h is height.
Use the formula PE = m × g × h. Make sure mass is in kilograms, height in meters, and gravity in m/s² to get the result in Joules. Our calculator handles all unit conversions automatically.
Gravitational potential energy (PE = mgh) depends on an object's mass and height in a gravitational field. Elastic potential energy (PE = ½kx²) is stored in stretched or compressed springs and depends on the spring constant and displacement. This calculator focuses on gravitational potential energy.
The standard acceleration due to gravity at Earth's surface is approximately 9.81 m/s². For the Moon, g ≈ 1.62 m/s²; for Mars, g ≈ 3.71 m/s²; and for Jupiter, g ≈ 24.79 m/s².
The calculator uses exact conversion factors (e.g., 1 lb = 0.45359237 kg) and the formula PE = mgh with results to 6 decimal places. It is more than accurate enough for educational, engineering, and scientific applications.
Absolutely. All calculations happen locally in your browser using JavaScript. No data is transmitted to any server - your inputs remain on your own device. This ensures your privacy and also means the tool works offline after the initial page load.
Yes. Once the page has loaded, all conversion and calculation logic runs locally in your browser. No internet connection is required after the first load - perfect for use in classrooms, labs, or anywhere without Wi‑Fi.
Discover more free developer tools that might interest you.
Calculate acceleration from velocity and time
Use ToolCalculate chemical concentrations
Use ToolCalculate density from mass and volume
Use ToolCalculate solution dilutions
Use ToolCalculate force using Newton's laws
Use ToolCalculate gas properties using gas laws
Use ToolRead the how-to, then come back to this tool when you are ready to run it locally.