molecalculator

Moles & Molar Mass

Total Mechanical Energy Calculator and How to Use It

Calculator No. 01-3487 · Updated · Formula and assumptions shown below

The calculator on this page is switched off while it is checked. The formula is below, and the worked example shows how to do the sum by hand.

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

Calculate total mechanical energy by adding an object’s kinetic energy and potential energy. Enter its mass, speed, height, and gravitational acceleration to get the total in joules, along with the component energies; the result assumes a chosen zero height and does not include energy lost to friction or other nonconservative forces.

Formula

Total mechanical energy is the sum of kinetic energy and potential energy:

Emech = K + U = ½mv² + mgh

  • Emech is total mechanical energy, in joules (J).
  • K is kinetic energy, in joules: K = ½mv².
  • U is gravitational potential energy relative to a selected height, in joules: U = mgh.
  • m is mass in kilograms (kg), and v is speed in metres per second (m/s).
  • h is vertical height above the reference level in metres (m).
  • g is gravitational acceleration in metres per second squared (m/s²). The default, 9.80665 m/s², is standard gravity; local gravity can differ slightly.

One joule equals one kilogram metre squared per second squared (kg·m²/s²). The calculator uses the formula directly in SI units, so no conversion is hidden in the calculation. If your measurements use different units, convert them first: grams to kilograms by dividing by 1,000; kilometres per hour to metres per second by dividing by 3.6; and centimetres to metres by dividing by 100.

Worked Example

Using the calculator’s default values, the mass is 2 kg, speed is 3 m/s, height is 5 m, and gravitational acceleration is 9.80665 m/s².

  1. Calculate kinetic energy: K = ½ × 2 kg × (3 m/s)² = 9 J.
  2. Calculate gravitational potential energy: U = 2 kg × 9.80665 m/s² × 5 m = 98.0665 J.
  3. Add the two contributions: Emech = 9 J + 98.0665 J = 107.0665 J, or 107.07 J rounded to two decimal places.

The calculator reports total mechanical energy as 107.07 J, kinetic energy as 9.00 J, and gravitational potential energy as 98.07 J. The rounded component values add to 107.07 J here; in other cases, displayed rounded components may not add exactly to the displayed total because the calculation uses unrounded values before formatting.

Assumptions

  • Potential energy is gravitational potential energy near Earth’s surface, where g is treated as constant.
  • Height is measured vertically from the selected zero-height reference, which can be assigned wherever convenient.
  • The object is represented by its mass and translational speed; rotation, springs, electric fields, and other forms of stored energy are not included.
  • The formula calculates energy at one instant. It does not assume energy is conserved during motion.

What You’ll Need

  • The object’s mass, measured or converted to kilograms.
  • Its speed at the moment you want to evaluate, in metres per second. Use speed, not velocity direction; kinetic energy is not negative.
  • Its vertical height relative to a clearly chosen reference, in metres.
  • A value for gravitational acceleration. Use 9.80665 m/s² for a standard near-Earth estimate, or an appropriate local value when needed.
  • A calculator, spreadsheet, or this calculator page. For measurements, note the units and the time or position to which each value applies.

Step-by-Step

  1. Choose the situation and reference level. Decide when and where you are calculating energy. Set a convenient height to zero, such as the floor or the bottom of a ramp. Potential energy depends on this choice, so use the same reference when comparing positions.
  2. Find the mass. Use the object’s mass, not its weight. Enter mass in kilograms. If you have grams, divide by 1,000; for example, 750 g is 0.750 kg. Do not enter a force in newtons as though it were a mass.
  3. Determine the speed. Use the object’s speed at the same instant as the height measurement. Convert units before entering them: a speed of 18 km/h is 5 m/s because 18 ÷ 3.6 = 5. If the object is stationary, enter zero; its kinetic energy is then zero.
  4. Measure the vertical height. Enter the object’s height above the reference in metres. Measure the vertical difference, not the distance travelled along a slope or path. For an extended object, be consistent about which point or centre of mass the height describes.
  5. Set gravitational acceleration. Keep the default for a typical near-Earth calculation. Change it only when you have a justified value for the location or physical setup. Do not confuse g, an acceleration, with the object’s mass in grams.
  6. Calculate the energy components. Work out K = ½mv² and U = mgh. Squaring the speed is essential. Check the units: each expression should reduce to kg·m²/s², or joules.
  7. Add the components and interpret the result. Emech = K + U. Read the first result as the total in joules and the next two as the contributions. Retain extra digits during calculations and round only the final displayed values to a precision appropriate for your measurements.
  8. Compare only like-for-like results. When comparing two points in a motion, use the same mass, gravity, and height reference. In an ideal system with only conservative forces, total mechanical energy stays constant. A real change may indicate friction, air resistance, an external push, or measurement error.

Common Mistakes

  • Mixing units: Entering grams as kilograms or kilometres per hour as metres per second can make the result substantially wrong. Convert every input first.
  • Using path length instead of height: Gravitational potential energy uses vertical displacement, not how far an object travels along a ramp.
  • Forgetting to square speed: Kinetic energy is proportional to v². Doubling speed makes kinetic energy four times as large, not twice as large.
  • Confusing mass and weight: Mass is measured in kilograms. Weight is a force measured in newtons and varies with gravitational acceleration.
  • Ignoring the reference level: Potential energy can be zero, positive, or negative depending on the chosen reference. Changing that reference shifts U and the numerical total by a constant; compare values using one consistent reference.
  • Assuming energy is conserved in every real motion: Friction and drag can transfer mechanical energy into thermal energy or sound. Mechanical energy alone may decrease even though total energy is conserved.

Tips

  • Write down each input with its unit before calculating. This simple check catches many conversion errors.
  • Use measured values from the same moment. Combining a peak speed with a height from a different point does not describe one state of motion.
  • Keep unrounded intermediate results. Rounding mass, speed, or a component energy too early can affect the final answer.
  • For a drop or ramp, calculate energy at several positions with one fixed reference. The way K rises as U falls can make energy transfers easier to see.
  • If motion includes rotation, a spring, or another energy store, include that term separately when the question asks for all mechanical energy. For a rotating rigid object, rotational kinetic energy is ½Iω².

Troubleshooting

  • The answer seems much too large or small: Recheck the mass and speed conversions, especially whether speed is in m/s and mass is in kg. Check that speed was squared and that height is in metres.
  • The potential energy is negative: The object may be below the zero-height reference. This is valid; it does not mean that the object’s kinetic energy or total energy must be negative. If you intended the ground to be zero, correct the height reference.
  • Your total is negative: With the calculator’s nonnegative mass and height inputs, this should not occur. For a manually chosen reference below the object, potential energy should be positive. Check signs, units, and arithmetic in your own calculation.
  • Two calculated totals do not match: Check whether friction, drag, or an external force acts between the positions. Also check that you used the same reference level, gravity value, object mass, and consistent measurements.
  • The calculator rejects an input: Confirm that every entry is numeric and nonnegative, and enter values in the units shown. A negative height relative to your own reference can be handled by choosing a lower zero level and expressing heights consistently, or by applying the formula manually with a signed height.

Frequently Asked Questions

What is total mechanical energy?
It is the sum of an object’s kinetic energy and the potential energy included in the calculation. This page covers translational kinetic energy and gravitational potential energy near Earth’s surface.

Can total mechanical energy be negative?
Its numerical value can depend on the chosen potential-energy reference. A negative total can be meaningful under some reference choices, though this calculator uses nonnegative heights and therefore returns a nonnegative result.

Does total mechanical energy stay constant?
It stays constant in an ideal system where only conservative forces do work. Friction, drag, or other external work can change mechanical energy by transferring energy to or from other forms.

What if the object is at rest?
Enter a speed of zero. Kinetic energy is zero, so the calculated total is the gravitational potential energy for the selected height reference.

Does this include rotational energy?
No. Add rotational kinetic energy, ½Iω², when relevant, where I is moment of inertia in kg·m² and ω is angular speed in radians per second. Include other energy forms only if the problem calls for them.

Can I use this formula far from Earth’s surface?
Not accurately if gravitational acceleration changes significantly with height or location. For large distances from a planet, use the gravitational potential-energy model appropriate to the planet and reference rather than mgh.

Related

Formula used
in m | Mass | kg | 2 | 0
in v | Speed | m/s | 3 | 0
in h | Height above reference | m | 5 | 0
in g | Gravitational acceleration | m/s² | 9.80665 | 0
out e | Total mechanical energy | J | 0.5 * m * v ^ 2 + m * g * h | 2
out k | Kinetic energy | J | 0.5 * m * v ^ 2 | 2
out u | Gravitational potential energy | J | m * g * h | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →