Skip to content
Test versionSearch

Mathematics

Kinetic and potential energy

Work out the kinetic energy of a moving body and its gravitational potential energy from mass, speed, height above your reference point and your own gravitational acceleration.

How it worksFAQRelated tools

Content reviewed:

Enter the mass, the speed, the height above your reference level and the gravitational acceleration you want to use. You can change every value; the format of decimal results is under More options. Downloads keep your inputs and results, and nothing is saved or sent.

Kinetic energy is ½ × mass × speed², and potential energy is mass × gravitational acceleration × height above your chosen reference level. Both are in joules. On Earth, 9.81 m/s² is the usual value; enter the height as zero or more above your reference.

Decimal results are approximate. Inputs stay in this browser tab.

How it works

The main form calculates kinetic and gravitational energy. In Additional educational physics modes, choose Spring energy: E = k*x^2/2, with k in N/m and extension magnitude x in m. The additional form also offers kinetic energy, gravitational energy and speed from fall height. Ideal linear spring; floating-point approximations, no material data or safety assessment. Each form keeps its own results and exports. A separate UK form uses entered positive momentum magnitude in kg*m/s and exact SI h for lambda=h/p, with m/nm/pm and explicit decimal places. No inference from the energy fields; independent results and CSV/TXT notebook. A separate UK form records signed average power from entered total work in joules divided by a positive elapsed time in seconds, even if instantaneous power varies. Exact fractions and rounded watts have their own current/saved CSV/TXT notebook. Negative work and original negative zero are retained; a rounded zero may conceal nonzero exact power. No inference from energy, motion or momentum fields and no instantaneous-power or safety claim.

Worked example

In the additional physics form choose Spring energy, enter spring constant k = 100 N/m and extension magnitude x = 0.2 m: the energy is approximately 2 J, using floating-point arithmetic. The existing main example remains mass = 2 kg, speed = 3 m/s, height = 5 m and gravity = 9.81 m/s^2. Additional spring results have their own current TXT/CSV exports.

Worked example

With these example values the calculator gives the result below. You can change any value in the form above.

Inputs

Mass (kg)
2
Speed (m/s)
3
Height relative to your reference (m)
5
Your gravitational acceleration (m/s²)
9.81

Result

Kinetic energy
9 J
Potential energy
98.1 J

Frequently asked questions

How do I calculate kinetic and potential energy?

Use Ek = mv²/2 and Ep = mgh. With mass 2 kg, speed 3 m/s, height 5 m and gravity 9.81 m/s², enter these values to get both energies.

How do I calculate spring energy?

In the additional modes, choose spring energy with E = k·x²/2. With k = 100 N/m and x = 0.2 m, the energy is approximately 2 J.

Can it find speed from a fall height?

Yes. The additional form offers speed from fall height, √(2gh), from rest without air resistance or friction.

What gravity value does it use?

g = 9.81 is an editable example. No location or gravity service is used.

Can it calculate de Broglie wavelength?

A separate form uses an entered positive momentum in kg·m/s with lambda = h/p, in m, nm or pm. It does not infer momentum from mass, speed or energy.

Can it calculate average power?

A separate form divides entered signed work in J by an entered positive elapsed time in s. It is not instantaneous power.

What input limits apply?

Finite input magnitude at most 1e12, positive known quantities at least 1e-12, and outputs are floating-point approximations with magnitude at most 1e18.