How to use the work calculator
- Enter the force applied to the object in newtons.
- Enter the distance the object moves in meters.
- Set the angle in degrees between the force direction and the movement direction.
- Read the calculated mechanical work in joules below.
How the work formula works
In physics, mechanical work is the energy transferred when a force moves an object over a distance. The work calculator uses the dot product definition:
W = F × d × cos(θ)
Here F is the force magnitude in newtons, d is the displacement in meters and θ is the angle between the force vector and the displacement vector. Because one newton-meter equals one joule, the result is always in joules (J).
For example, if you push a crate with 50 N of force for 10 m straight ahead (θ = 0°), the calculation is 50 × 10 × cos(0°) = 500 J. If you pull at a 60° angle instead, only half the force contributes to forward motion: 50 × 10 × 0.5 = 250 J.
Common work values reference
The table below shows typical scenarios you can verify with this work calculator.
| Scenario | Force (N) | Distance (m) | Angle (°) | Work (J) |
|---|---|---|---|---|
| Lifting 1 kg up 1 m | 9.81 | 1 | 0 | 9.81 |
| Pushing a cart straight | 30 | 20 | 0 | 600 |
| Pulling a suitcase at 45° | 40 | 50 | 45 | 1,414.21 |
| Holding a weight while walking | 100 | 10 | 90 | 0 |
| Lowering a load gently | 500 | 2 | 180 | -1,000 |
Notice that holding a weight while walking horizontally does zero mechanical work on the weight because the supporting force points upward while the motion is horizontal, making the angle 90° and cos(90°) = 0.
Positive, negative and zero work
The sign of the result tells you the direction of energy transfer. When the angle is between 0° and 90°, cosine is positive and the force adds energy to the object. This is what happens when you push a shopping cart forward.
When the angle is exactly 90°, the work done is zero. A satellite in circular orbit experiences gravitational force perpendicular to its velocity, so gravity does no work and the orbital speed stays constant.
When the angle is between 90° and 180°, cosine is negative and the force removes energy. Friction opposing motion or a person lowering a heavy box slowly both produce negative work. The work calculator handles all three cases automatically once you enter the correct angle.
Work versus power and energy
People often mix up work, energy and power. Work and energy share the same unit, the joule. Work is specifically the transfer of energy via a force acting through a displacement. An object can have potential or kinetic energy without any work currently being done on it.
Power measures how fast work is performed. One watt equals one joule per second. If this work calculator tells you a task requires 600 J and you complete it in 3 seconds, the average power output is 200 W. For conversions between energy units, tools like calories to joules or kWh to joules are useful companions.
Mistakes to avoid
A frequent error is using mass in kilograms directly as force. Mass must be multiplied by gravitational acceleration (about 9.81 m/s2 on Earth) to obtain the weight in newtons before entering it into the work calculator.
Another mistake is ignoring the angle. If you drag a box with a rope held at 30° above the floor, entering 0° overestimates the work by about 15 percent because cos(30°) is roughly 0.866, not 1.
Finally, ensure distance means displacement along the line of interest. If an object moves in a circle and returns to its starting point, the net displacement is zero and the net work done by a constant radial force is also zero, regardless of the path length traveled.
Worked examples
Each result below was produced by the same code the tool runs, so you can check your own numbers against them.
| Example | Input | Result |
|---|---|---|
| Pushing a box straight ahead | Force (newtons): 50; Distance (meters): 10; Angle (degrees): 0 | Work: 500 J; cos(θ): 1; Force component along motion: 50 N |
| Pulling a sled at 30 degrees | Force (newtons): 120; Distance (meters): 25; Angle (degrees): 30 | Work: 2,598.0762 J; cos(θ): 0.866025; Force component along motion: 103.923 N |
| Carrying a bag horizontally | Force (newtons): 80; Distance (meters): 15; Angle (degrees): 90 | Work: 0 J; cos(θ): 0; Force component along motion: 0 N |
| Lowering a weight slowly | Force (newtons): 200; Distance (meters): 3; Angle (degrees): 180 | Work: -600 J; cos(θ): -1; Force component along motion: -200 N |
FAQ
What is the formula for mechanical work?
The formula is W = F d cos(theta), where F is force in newtons, d is displacement in meters and theta is the angle between the force and displacement vectors.
Why is the work zero when I carry something horizontally?
Because the upward force you apply is perpendicular to the horizontal motion. The angle is 90 degrees and cos(90) equals zero, so no mechanical work is done on the object.
Can work be negative?
Yes. Negative work occurs when the force opposes the direction of motion, such as friction slowing a sliding block or you lowering a weight under control.
What units does this work calculator use?
It expects force in newtons and distance in meters. The result is given in joules, which is the SI unit of work and energy.
Is work the same as energy?
They share the same unit but differ in meaning. Energy is a property a system has, while work is the process of transferring energy by applying a force over a distance.
Do I need to convert kilograms to newtons first?
Yes. Multiply the mass in kilograms by 9.81 to get the gravitational force in newtons before using the calculator.