# Potential Energy Calculator (PE = mgh)

Compute gravitational potential energy, mass, or height from the other two, with impact velocity

> Canonical page: https://elysiatools.com/en/tools/potential-energy-calculator

- **Category:** Math & Numbers

- **Keywords:** potential energy, energy, mass, height, gravity, gravitational, joule, physics, mechanics, pe=mgh

## Overview

Gravitational potential energy is the energy stored in an object due to its height in a gravity field.

Equations (three-way solver):
- Potential energy: PE = m · g · h (J)
- Mass:              m  = PE / (g · h)
- Height:            h  = PE / (m · g)

Weight W = m · g. Impact velocity v = √(2·g·h). Gravity defaults to 9.80665 m/s².

## Inputs

- **Solve For** (select)
- **Potential Energy (PE, J)** (number): leave blank when solving for potential energy
- **Mass (m, kg)** (number): leave blank when solving for mass
- **Height (h, m)** (number): leave blank when solving for height
- **Gravity (g, m/s²)** (number): 9.80665 (Earth). Moon ≈ 1.62, Mars ≈ 3.71

## When to use

- When solving physics homework problems involving gravitational potential energy, mass, or height.
- When estimating the impact velocity of a falling object from a specific height.
- When calculating potential energy or weight under different gravitational fields, such as on the Moon or Mars.

## How it works

- Select the variable you want to solve for: Potential Energy (PE), Mass (m), or Height (h).
- Enter the two known values in their respective fields (Joules, kilograms, or meters).
- Adjust the local acceleration due to gravity (g) if calculating for a body other than Earth.
- Click calculate to instantly view the solved variable, the object's weight, and its final impact velocity.

## Use cases

- Physics students verifying textbook calculations for mechanical energy conservation.
- Engineers estimating the potential energy stored in elevated industrial components or weights.
- Space enthusiasts comparing gravitational potential energy and impact velocities across different planets.

## Frequently asked questions

### What formula does this calculator use?

It uses the gravitational potential energy formula: PE = m · g · h, where m is mass, g is gravitational acceleration, and h is height.

### Can I calculate the impact velocity of a falling object?

Yes, the calculator automatically computes the theoretical impact velocity using the formula v = √(2 · g · h).

### How do I calculate potential energy on Mars or the Moon?

Change the gravity input field from Earth's default (9.80665 m/s²) to Mars (3.71 m/s²) or the Moon (1.62 m/s²).

### What units of measurement are used?

Mass is measured in kilograms (kg), height in meters (m), potential energy in Joules (J), and gravity in meters per second squared (m/s²).

### Can I solve for mass or height instead of energy?

Yes, select 'Mass' or 'Height' from the 'Solve For' dropdown menu and input the remaining known variables.

## Related tools

- [Buoyancy Calculator (Archimedes, F = ρ·V·g)](https://elysiatools.com/en/tools/buoyancy-calculator): Compute buoyant force, fluid density, or displaced volume from any two, with optional float/sink analysis
- [Density Calculator (ρ = m/V)](https://elysiatools.com/en/tools/density-calculator): Compute density, mass, or volume from the other two, with specific gravity and a float/sink check
- [Free Fall Calculator (h = ½gt²)](https://elysiatools.com/en/tools/free-fall-calculator): Compute distance, time, or final velocity for free fall from rest, given any one plus gravity
- [AHU Coil Capacity Calculator (Cooling / Heating)](https://elysiatools.com/en/tools/ahu-capacity-calculator): Compute the total, sensible, and latent capacity of an air-handling-unit (AHU) coil from the entering/leaving air state and the dry-air mass flow ṁ_da. Total capacity Qt = ṁ_da·(h1 − h2); sensible capacity Qs = ṁ_da·cp_ma·(T1 − T2) with cp_ma ≈ 1.006 + 1.86·W \[kJ/(kg da·K)\]; latent capacity Ql = Qt − Qs; Sensible Heat Ratio SHR = Qs / Qt. Each state is described by dry-bulb T plus one humidity input (relative humidity φ, or humidity ratio W); W is derived from the Magnus saturation fit when RH is supplied, and enthalpy h = 1.006·T + W·(2501 + 1.86·T) \[kJ/kg da\]. Signed result — works for cooling or heating coils.
- [Bulk Density & Porosity Calculator](https://elysiatools.com/en/tools/bulk-density-calculator): Bulk density and porosity for granular or porous materials. Three-way solver: pick the unknown (ρ_bulk, m, or V) and supply the other two. ρ_bulk = m/V_bulk. Optionally enter the true particle density ρ_true to compute porosity ε = 1 − ρ_bulk/ρ_true, plus relative density against water. SI units (kg, m³, kg/m³).
- [Force Unit Converter (Extended: N / kN / dyn / lbf / kgf / poundal)](https://elysiatools.com/en/tools/force-unit-converter-extended): Convert force between newton (N, SI base), kilonewton (kN), dyne (dyn, CGS = 10⁻⁵ N), pound-force (lbf = 4.4482216152605 N), kilogram-force (kgf = 9.80665 N), and poundal (pdl = 0.138254954376 N). All factors derive from the exact defining constants 1 lb = 0.45359237 kg, 1 ft = 0.3048 m, and standard gravity g₀ = 9.80665 m/s². Converts via newton to the target unit and lists the equivalent value in all six units. Reference: 1 kg of mass on Earth ≈ 9.80665 N (1 kgf); an adult weighs ≈ 700 N.
- [Pipe Pressure Drop Calculator (Darcy-Weisbach)](https://elysiatools.com/en/tools/pipe-pressure-drop-darcy): Compute the Darcy-Weisbach major (friction) pressure drop in a straight pipe: ΔP = f·(L/D)·(ρ·v²/2) Pa and head loss h_f = f·(L/D)·v²/(2g) m. The user supplies the Darcy friction factor f (not the Fanning factor). Length in m/km/ft, diameter in m/cm/mm/inch, density in kg/m³/g/cm³/lb/ft³ — all normalised to SI internally. Returns ΔP in Pa, kPa and bar, and head loss in m and ft. Gravity defaults to 9.81 m/s² and may be overridden.
- [Pump Head & Shaft Power Calculator (H, P=ρgQH/η)](https://elysiatools.com/en/tools/pump-head-power): Compute the total dynamic head H = (p_d - p_s)/(ρ·g) + Δz + (v_d² - v_s²)/(2g) of a centrifugal pump (m), then the fluid power P_fluid = ρ·g·Q·H and shaft power P_shaft = P_fluid/η. p_d and p_s are gauge pressures (suction may be negative for suction lift). Nozzle velocities v = 4Q/(π·D²) come from the flow rate and the discharge/suction nozzle diameters; if a nozzle diameter is left blank its velocity head is omitted. Pressure in Pa/kPa/bar/atm/psi, flow in m³/s/L/s/L/min/m³/h, density in kg/m³/g/cm³; power output in W/kW/hp.

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [macOS Image Processing Objective-C Samples](https://elysiatools.com/en/samples/macos-image-processing-objectivec): macOS Objective-C image processing examples including image reading/saving, image scaling, and format conversion

## Related content

- [Physics Classroom and Lab Calculators](https://elysiatools.com/en/hubs/physics-classroom-and-lab-calculators): Compare force, energy, motion, buoyancy, pressure, wave, decibel, and measurement-precision tools in one focused physics study and lab workflow hub.
- [Audio Encoding and Format Conversion Tools](https://elysiatools.com/en/hubs/audio-convert): Compare audio format conversion, bitrate changes, sample-rate conversion, codec swaps, and export tools in one hub for delivery and archive workflows.
- [Image Format Conversion and Animated Export Tools](https://elysiatools.com/en/hubs/image-convert): Compare image format converters for JPG, PNG, GIF, AVIF, WebP, TIFF, ICO, base64, and animation-friendly exports in one hub.
- [JSON Interchange and Format Translation Tools](https://elysiatools.com/en/hubs/json-convert): Compare JSON conversion tools for CSV, YAML, TOML, GraphQL, XML, Markdown, Excel, BSON, EDN, and related structured formats in one hub.
