Mass, gravity, and height tool

Gravitational Potential Energy Calculator

Solve potential energy, mass, gravitational acceleration, or height using PE = mgh.

Enter two known values

Solve a work problem

Free tool
J

This is the value being calculated.

kg

Positive mass of the object.

m/s²

Positive gravitational acceleration.

m

Positive vertical height.

Use joules for energy, kilograms for mass, m/s² for gravity, and meters for height.

Try an example:

Your potential energy result will appear here

Choose the missing variable and enter the other two known values.

Calculator guide

How this calculator works

Gravitational Potential Energy Calculator determines the energy stored in an object due to its position in a gravitational field. It helps physics students, engineers, and laboratory users analyze how mass, height, and gravity influence mechanical energy systems.

Formula explanation

Gravitational potential energy represents stored energy due to an object's height in a gravitational field and is calculated using PE = mgh.

Formula

Gravitational Potential Energy = Mass × Gravity × Height

Worked example

Example: Raising an object higher increases its gravitational potential energy because height increases.

Assumptions

  • Gravity is considered constant during calculation.
  • The reference height level is clearly defined.
  • Mass and height measurements use compatible units.
  • External energy losses are ignored in the ideal model.

Examples

  • Example: Calculate stored gravitational energy when mass, height, and gravity values are known.
  • Example: Engineers analyze energy changes in lifting systems and mechanical structures.

Common mistakes

  • Using incorrect height measurements.
  • Mixing mass and weight values.
  • Using inconsistent units.

Variables

  • Object mass
  • Gravitational acceleration
  • Height above reference point
  • Gravitational potential energy
  • Reference position
  • Measurement units

Limitations

  • Results assume a constant gravitational field.
  • Large distances or changing gravitational fields require advanced physics models.

Scientific references

  • OpenStax University Physics: Work and Potential Energy
  • NIST SI Energy Measurement References
  • Classical mechanics principles

Content review

Reviewed by: ScienceCalcHub Physics Review Team | Last reviewed: 2026-08-30

Applications

  • Physics education
  • Mechanical energy analysis
  • Engineering calculations
  • Laboratory motion experiments
  • Energy system studies
  • Scientific research applications

Frequently asked questions

How is gravitational potential energy calculated?

Gravitational potential energy is calculated using PE = mgh, where mass, gravitational acceleration, and height determine stored energy.

What factors affect gravitational potential energy?

Gravitational potential energy increases with greater mass or height when gravitational acceleration remains constant.

What is the SI unit of gravitational potential energy?

The SI unit of gravitational potential energy is the joule (J), which represents stored mechanical energy.

Why is height important in gravitational energy?

Greater height increases the potential energy because an object has more capacity to perform work while falling.

Accuracy and transparency

Created and maintained by our editorial team

This physics calculator is maintained by the ScienceCalcHub Editorial Team. Its calculation logic is tested with representative inputs, while the supporting guidance is checked for formula clarity, units, assumptions, and common mistakes.

Written by
ScienceCalcHub Editorial Team
Reviewed by
ScienceCalcHub Scientific Review Team
Review standard
Formula accuracy, units, examples, and educational clarity

Learn more about our formula-review and correction process, explore our calculation methodology, or view our scientific references.

  • Calculation logic tested
  • Variables and units explained
  • Assumptions stated clearly
  • Corrections handled transparently

Energy due to position

What is gravitational potential energy?

Gravitational potential energy is the energy stored by an object because of its vertical position in a gravitational field.

Formula

Gravitational potential energy formula

Potential EnergyPE = mgh

  • PE is potential energy in joules.
  • m is mass in kilograms.
  • g is gravitational acceleration in meters per second squared.
  • h is height in meters.

Worked example

A 10 kg object is raised 5 m

  1. Write the formula: PE = mgh.
  2. Substitute the values: PE = 10 × 9.8 × 5.
  3. Calculate the energy: PE = 490 J.

Rearranged equations

Solve for mass, gravity, or height

Mass

m = PE ÷ gh

Divide potential energy by gravity multiplied by height.

Gravity

g = PE ÷ mh

Divide potential energy by mass multiplied by height.

Height

h = PE ÷ mg

Divide potential energy by mass multiplied by gravity.

Units

Standard SI units

Use kilograms for mass, meters per second squared for gravity, and meters for height.

One joule1 J = 1 kg·m²/s²

Gravity values

Earth and other gravitational fields

On Earth, gravitational acceleration is commonly approximated as 9.8 m/s². Different planets and moons have different gravity values, which can be entered directly in the calculator.

Calculation limits

Important assumptions

  • Mass must be greater than zero.
  • Gravitational acceleration must be greater than zero.
  • Height must be greater than zero.
  • Potential energy must be greater than zero when solving for another variable.
  • The calculator does not automatically convert units.

Related tools

Use the Kinetic Energy Calculator to calculate energy due to motion.

Use the Work Calculator for force and displacement, or use the Power Calculator for work completed over time.

Questions and answers

Calculator FAQ

How is gravitational potential energy calculated?

Gravitational potential energy is calculated using PE = mgh, where mass, gravitational acceleration, and height determine stored energy.

What factors affect gravitational potential energy?

Gravitational potential energy increases with greater mass or height when gravitational acceleration remains constant.

What is the SI unit of gravitational potential energy?

The SI unit of gravitational potential energy is the joule (J), which represents stored mechanical energy.

Why is height important in gravitational energy?

Greater height increases the potential energy because an object has more capacity to perform work while falling.