Work Calculator (W = F·d·cos θ, Force over Distance)
Calculate the work done by a force over a distance with W = F·d·cos(θ).
Handles the angle between force and motion, plus positive, zero, and negative work.
What “work” means in physics
In everyday speech, holding a heavy box still is hard work. In physics it is zero work, because the box does not move. Work has a precise definition: it is energy transferred to an object by a force that moves it. No movement, no work, no matter how tired your arms get.
The formula
W = F × d × cos(θ)
Where:
- W = work, in joules (J)
- F = the magnitude of the force, in newtons (N)
- d = the distance the object moves, in meters (m)
- θ = the angle between the force direction and the direction of motion
One joule is one newton-meter: the work done pushing with one newton over one meter in the direction of motion.
Why the cosine term is there
Only the part of the force that lines up with the motion does work. If you pull a sled with a rope at an angle, some of your pull lifts the sled slightly and some drags it forward. Only the forward part moves it along the ground, and that forward part is F·cos(θ). The steeper your rope angle, the more of your effort is wasted lifting instead of pulling.
Three cases fall straight out of the cosine:
- θ = 0 degrees (force along motion): cos 0 = 1, so W = F·d, the maximum. Pushing a box straight forward.
- θ = 90 degrees (force perpendicular to motion): cos 90 = 0, so W = 0. Carrying a suitcase horizontally does no work on it: gravity pulls down, motion is sideways. The same is true of the centripetal force on a satellite, which is why orbits need no fuel to maintain speed.
- θ = 180 degrees (force opposes motion): cos 180 = minus 1, so W is negative. Friction and braking do negative work, removing kinetic energy rather than adding it.
Positive versus negative work
Positive work adds energy to the object (it speeds up, rises, or compresses a spring). Negative work removes energy (friction heating the surface, brakes slowing a car, air resistance on a falling skydiver). The total, or net, work on an object equals its change in kinetic energy. That is the work-energy theorem, and it is why this calculator pairs naturally with a kinetic-energy calculation.
Worked example, dragging a crate
You pull a 50 kg crate 8 meters across a floor with a rope at 30 degrees above horizontal, applying 120 N along the rope.
W = 120 × 8 × cos(30 degrees) = 120 × 8 × 0.866 = 831 J
Only 0.866 of your pull goes into horizontal motion; the rest tries to lift the crate. Had you pulled horizontally (θ = 0), the same 120 N over 8 m would have done 960 J.
Worked example, lifting against gravity
To lift a 10 kg box 2 meters straight up at constant speed, you apply a force equal to its weight, F = mg = 10 × 9.81 = 98.1 N, in the same direction as the motion (θ = 0).
W = 98.1 × 2 × 1 = 196.2 J
That 196 J becomes gravitational potential energy. Lower the box back down and gravity does positive work returning the energy, while your supporting hand does negative work.
Units you might meet
The joule is standard, but you will also see the foot-pound (1 ft·lb = 1.356 J) in US engineering, the calorie (1 cal = 4.184 J) in chemistry and nutrition, and the kilowatt-hour (1 kWh = 3.6 million J) on your electricity bill. They all measure the same thing: energy transferred.
Work, energy, and power are not the same
Work and energy share the joule because work is a transfer of energy. Power is different: it is the rate of doing work, measured in watts (joules per second). Doing 1000 J of work in one second takes 1000 W; doing it over an hour takes well under one watt. The work is identical; the power is wildly different. If you have a time as well, follow up with a power calculation.