Work Formula Explained: How to Calculate Work in Physics (W = F x d)
By ToolNimba Editorial Team June 23, 2026 6 min read
Quick answer
The work formula is W = F x d x cos(theta), where F is force, d is distance, and theta is the angle between the force and the direction of motion. When the force points the same way the object moves, this simplifies to W = F x d. Work is measured in joules (J), where 1 joule = 1 newton-meter, and it equals the energy transferred to or from the object.
In everyday speech, "work" means effort or a job. In physics it has a precise meaning: work is done when a force moves an object through a distance. Holding a heavy bag perfectly still feels exhausting, but in physics terms you are doing zero work on the bag, because it is not moving. This guide breaks down the work formula piece by piece, shows you how to plug in numbers, and clears up the most common mistakes.
What is the work formula?
The general formula for mechanical work is:
The work equation
W = F x d x cos(theta)
Each symbol has a specific meaning. Getting these right is the whole game, so it is worth slowing down here.
- W is work, measured in joules (J).
- F is the magnitude of the applied force, measured in newtons (N).
- d is the distance the object moves (its displacement), measured in meters (m).
- theta is the angle between the direction of the force and the direction of motion.
- cos(theta) accounts for how much of the force actually points along the path of motion.
When the force acts in the same direction as the motion, theta is 0 degrees and cos(0) = 1, so the formula collapses to the simple version most people learn first: W = F x d. The cosine term only matters when the force is applied at an angle, such as pulling a sled with a rope tilted upward.
Units of work: the joule
Work is measured in joules (J) in the SI system. One joule is defined as the work done when a force of one newton moves an object one meter in the direction of the force. In other words, 1 joule = 1 newton-meter (N m).
Because work equals energy transferred, it shares the same unit as energy. Lifting an apple about one meter takes roughly one joule. If you want to convert between joules, calories, kilowatt-hours and other energy units, an energy converter handles the arithmetic for you.
Common work and energy units at a glance
| Unit | Symbol | Equivalent in joules |
|---|---|---|
| Joule | J | 1 J |
| Kilojoule | kJ | 1,000 J |
| Newton-meter | N m | 1 J |
| Calorie (thermochemical) | cal | about 4.184 J |
| Kilowatt-hour | kWh | 3,600,000 J |
| Foot-pound | ft lb | about 1.356 J |
Worked example: pushing a box
Suppose you push a box across a floor with a steady force of 50 newtons, in the same direction the box moves, and the box slides 3 meters. How much work do you do?
- Write the formula: W = F x d x cos(theta).
- Identify the values: F = 50 N, d = 3 m, and theta = 0 degrees because the force points along the motion.
- Find the cosine: cos(0) = 1, so the angle term drops out.
- Multiply: W = 50 x 3 x 1 = 150.
- Add the unit: W = 150 joules.
So you transfer 150 joules of energy to the box. Now imagine you instead pull the same box with a rope angled at 60 degrees above the floor, still with 50 N over 3 m. Since cos(60) = 0.5, the work becomes W = 50 x 3 x 0.5 = 75 joules. Half the force is "wasted" lifting against gravity rather than moving the box forward, so only half the work goes into horizontal motion.
When is work zero?
One of the trickiest ideas for newcomers is that you can apply a large force and still do no work. Zero work happens in two situations:
- No displacement. If d = 0, then W = 0. Pushing against a brick wall that never moves does zero work, no matter how hard you strain.
- Force perpendicular to motion. If the force is at 90 degrees to the direction of travel, cos(90) = 0, so W = 0. A satellite in a circular orbit has gravity pulling it inward while it moves sideways, so gravity does no work on it.
Carrying a tray of drinks across a flat room is a classic example. You hold the tray up with an upward force, but you walk horizontally, so the force and the motion are perpendicular. The work done on the tray by your hands is zero.
Positive, negative, and net work
The cosine term can make work positive or negative, and the sign tells you which way energy is flowing.
- Positive work (theta less than 90 degrees) adds energy to the object and tends to speed it up. Pushing a cart forward is positive work.
- Negative work (theta greater than 90 degrees) removes energy and tends to slow the object. Friction and braking forces do negative work because they oppose motion.
- Net work is the sum of work done by all forces. The work-energy theorem says net work equals the change in kinetic energy of the object.
That link to motion energy is why work matters so much. If you want to see how speed and mass turn into energy, our kinetic energy formula guide walks through the related equation, and a kinetic energy calculator lets you test values quickly. The connection between force and motion is also covered in our acceleration formula explainer.
Work versus power
Work and power are often confused. Work measures the total energy transferred, while power measures how fast that energy is transferred. Power equals work divided by time, measured in watts (W), where 1 watt = 1 joule per second.
Two people might both do 1,000 joules of work climbing the same stairs, but the one who runs up in 5 seconds delivers more power than the one who strolls up in 30 seconds. Both did identical work. If you need to convert watts, horsepower and other units, try a power converter. For a deeper look at how distance and motion connect, see our velocity formula guide.
Work compared with power
| Quantity | What it measures | Formula | Unit |
|---|---|---|---|
| Work | Total energy transferred by a force | W = F x d x cos(theta) | joule (J) |
| Power | Rate of doing work | P = W / time | watt (W) |
Common mistakes to avoid
- Forgetting the angle. Always check whether the force lines up with the motion. If it does not, you must include cos(theta).
- Mixing up distance and displacement. Work uses displacement along the direction of the force, not the total path length.
- Using the wrong units. Force must be in newtons and distance in meters to get joules. Mixed units give wrong answers.
- Thinking effort equals work. Holding a weight still is tiring but does zero physics work because nothing moves.
- Ignoring the sign. Negative work is real and important. Brakes and friction remove energy, so their work is negative.
Good to know
Work is a scalar quantity, which means it has size but no direction, even though force and displacement are vectors. The cosine term reduces those vectors to a single number. Work and energy are deeply linked: doing positive work on an object increases its energy, and the object can later do work on something else by giving that energy back. This is the foundation of the conservation of energy that runs through all of physics.