Calculate mechanical work from force, displacement and the angle between them.
Formula
W = F × d × cos(θ).
This assumes a constant force and a single angle relative to displacement.
Related tools
How to calculate mechanical work
- Enter the force magnitude in newtons (N). If your starting measurement is mass in kilograms, it is not yet a force.
- Enter displacement in meters (m).
- Enter the angle between the force direction and the displacement direction, in degrees from 0 to 180.
- Select Calculate Work. The result is in joules (J); one joule equals one newton-meter.
Worked examples at different angles
For a constant 50 N force and a 3 m displacement, a 60° angle gives 50 × 3 × cos(60°) = 75 J. With the same force and displacement at 0°, the result is 150 J. At 90° it is 0 J, and at 180° it is −150 J.
The angle determines which part of the force acts along the displacement. It is the angle between those two vectors, not automatically the angle of a ramp or a rope relative to the ground. Use a diagram to identify the angle your situation requires.
Interpret positive, negative and zero work
A force component along the displacement gives positive work; an opposing component gives negative work. A perpendicular force does zero work. Zero force or zero displacement also gives zero work. See OpenStax’s treatment of work by a constant force for the physical definition and examples.
Should I enter a negative force?
This tool uses a non-negative force magnitude and an angle to describe direction. For a force directly opposite the displacement, enter 180° rather than a negative force value.
Does this calculate work from several forces?
The result describes the single constant force entered. You can calculate the contribution of each force separately and add the signed work values. Do not mistake one force’s contribution for the total when other forces also do work.
Can I use it when the force changes?
This simple formula assumes a constant force. A varying force generally requires integrating its component along the path, or a justified piecewise calculation; one arbitrary force value is not enough.
Use the Force Calculator for a separate mass-and-acceleration calculation, or explore the Kinetic Energy Calculator for energy associated with motion. Keep the assumptions of each calculation consistent.