QuestionEnergy
How Do You Calculate Work Done? Formula and Examples

Work done equals the force multiplied by the distance moved in the direction of the force: W = F × d. The answer is given in joules (J), where 1 J = 1 N·m. If the force acts at an angle, multiply the result by the cosine of that angle.
Contents
The full answer
To calculate work done, you need two numbers and one direction check. The first number is the force, measured in newtons (N). The second is the distance the object moves, measured in meters (m). The direction check asks whether the distance is along the force. Only the movement in the direction of the force counts.
When the force and the motion point the same way, the calculation is direct. Multiply the force by the distance to get the work in joules. A cart pushed with a steady 50 N force over 10 m has work done W = 50 N × 10 m = 500 J.
Units must match before you multiply. If the distance is given in centimeters or the force in kilonewtons, convert first. A force of 2 kN over 3 m is 2,000 N × 3 m = 6,000 J, or 6 kJ. A distance of 40 cm must become 0.4 m before it is used.
If the force is at an angle θ to the direction of motion, only the component along the motion does work. The full equation is W = F × d × cos θ. For a force of 100 N at 30° over 20 m, the work is 100 × 20 × 0.866 = 1,732 J, or about 1,730 J.
The answer is always a scalar, so the result is a single number of joules. A negative value means the force is removing energy from the object, which happens with friction and braking. For a broader introduction, see work in physics.
The science behind the calculation
Work is a measure of energy transfer. When a force moves an object, the force does work on it, and the object gains or loses energy by the same number of joules. This is the work-energy theorem: the net work on an object equals its change in kinetic energy.
The force in the formula is the total force along the direction of motion. If several forces act, the net work is the sum of the work done by each force. A rider on a bicycle pedals with a force that adds energy, while friction and air resistance take energy away, and the net change in the bicycle’s kinetic energy is the sum of those two amounts.
Lifting is a special case that links work to potential energy. Raising an object at constant speed needs an upward force equal to its weight, which is mass × g. Using the standard value g = 9.80665 m/s², a 10 kg mass has a weight of 98.07 N. Multiplying by the height gives the energy stored as gravitational potential energy.
The unit joule ties together mechanics and heat. One joule is about the energy needed to lift a small apple, roughly 100 g, by 1 m. The same unit describes electrical energy and heat, which is why a single unit can compare very different processes. For the unit itself, see the joule page.
An everyday example
Carrying a full shopping bag up a flight of stairs shows the calculation at work. Suppose the bag has a mass of 5 kg and you climb a height of 3 m. Your hand supplies an upward force equal to the bag’s weight, about 5 kg × 9.80665 m/s² = 49 N. The work done on the bag is 49 N × 3 m, or about 147 J.
Carrying the same bag along a flat corridor is different. The force you apply is upward, but the bag moves horizontally. Since the force and the movement are at 90°, the work done against gravity is zero, even though your arm is tired. The same bag gains energy when lifted, but not when carried flat.
Sliding a box across a floor shows negative work. Friction acts opposite to the motion, so the work it does is negative. If the friction force is 20 N and the box slides 5 m, the work from friction is −100 J, which is the energy turned into heat in the box and floor.
These examples show why the direction check matters more than the amount of effort. The calculation never asks how hard a person feels they are working, only how much force moves the object and how far it moves along that force. Readers can test this with any object by asking whether it moved in the direction of the push or pull.
What if the force is not along the motion?
Many real forces point at an angle, such as a rope pulling a sledge or a suitcase being dragged by its handle. In these cases the formula W = F × d × cos θ works because only the component of the force along the motion does work. The other component either supports the object or pushes it sideways, and it does no work along the path.
The angle θ is measured between the force and the direction of motion, not from the ground. If the rope is held level, the angle is zero and the full force counts. If the rope is steeper, cos θ gets smaller and less of the force contributes to the motion.
A quick check helps. When cos θ is greater than 0 and less than 1, the work is less than F × d. When cos θ is negative, the force points partly backward, so the work is negative. A force at exactly 90° gives zero work, however large the force is.
Students often need this idea for exam questions on inclined planes and pulleys. The same method works for each force separately, and the total work is the sum of the separate values. For the energy side of this idea, see energy in physics.
Common misconceptions
The first misconception is that work depends on effort. A person pushing hard against a wall that does not move does no work on the wall, because the distance is zero. The body still uses energy internally, but that energy does not transfer to the wall in the physics sense.
The second misconception is that the distance can be any distance. Work uses only the distance moved along the line of the force. If the path is curved, the calculation must use the displacement along the force, or the work must be found by summing small steps.
The third misconception is mixing up units. Writing “50 N × 10 m = 500 N” is incorrect, because the answer is 500 J. Keeping the joule in every answer helps students spot errors, and the unit check often shows when a distance was left in centimeters.
Frequently asked questions
What is the formula for work done?
The formula is W = F × d, where W is the work done in joules, F is the force in newtons and d is the distance in meters moved in the direction of the force. If the force acts at an angle θ to the motion, use W = F × d × cos θ.
What is the unit of work done?
Work done is measured in joules (J). One joule is the work done by a force of 1 newton moving an object 1 meter in the direction of the force, so 1 J = 1 N·m.
How do you calculate the work done lifting an object?
Lifting at constant speed needs a force equal to the object’s weight, which is mass × 9.80665 m/s² on Earth. Multiply that force by the height lifted. A 10 kg box lifted 2 m needs about 98 N × 2 m, which is about 196 J.
Why is work done zero when a force is at right angles to motion?
When the force is perpendicular to the motion, cos 90° equals 0, so the formula gives zero work. Carrying a bag horizontally does no work against gravity, because gravity acts down and the bag moves across.
Can the work done be negative?
Yes. Work is negative when the force acts opposite to the motion, as friction does on a sliding object. A 20 N friction force acting over 5 m gives −100 J, meaning 100 J of energy has been removed.
Sources and further reading
- OpenStax, "College Physics 2e"
- NIST, "Guide for the Use of the International System of Units (SI)"
Cite this page
“How Do You Calculate Work Done? Formula and Examples.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-you-calculate-work-done/.