ciencia

Mechanical Work Calculator — W = F × d × cos(θ)

Calculator Free · Private
Reviewed by: (política editorial ) · Last reviewed:
Was this calculator helpful?

Mechanical work (W) measures the energy transferred to or from an object when a force causes displacement. Defined by the dot product of force and displacement vectors, the formula is W = F × d × cos(θ), where F is the applied force in Newtons (N), d is the displacement in meters (m), and θ is the angle between the force vector and the direction of motion. Work is measured in Joules (1 J = 1 N·m). When θ = 0°, all force contributes to motion; when θ = 90°, zero work is done regardless of force magnitude. Use this calculator anytime you need to quantify energy transfer in pushing, pulling, lifting, or dragging scenarios in physics, engineering, or everyday mechanics.

Last reviewed: June 3, 2026 Verified by Source: NIST – The International System of Units (SI): Definition of the Joule and Newton, Wikipedia – Work (Physics), HyperPhysics – Work, Energy, and Power 100% private

Mechanical work is W = F × d × cos(θ), where F is force in Newtons, d is displacement in meters, and θ is the angle between the force and the direction of motion. At θ = 0° (force parallel to motion), W = F × d. At θ = 90°, W = 0 (no work done). Result is in Joules (1 J = 1 N·m).

When to use this calculator

  • Calculating the energy a worker expends pushing a 150 N cart 20 m along a warehouse floor at a 15° handle angle to verify OSHA ergonomic load limits.
  • Determining how much work a tow truck does pulling a stalled car 50 m with a cable tensioned at 25° above horizontal at 4,500 N.
  • Computing the work done by gravity on a skier descending a 500 m slope inclined at 20°, where the gravitational force component along the slope drives acceleration.
  • Finding the net work done by a robot arm applying 80 N over a 2 m path at varying angles to size the motor power requirements in an engineering design.
  • Verifying energy conservation in a physics lab: comparing W = F·d·cos(θ) to the measured change in kinetic energy (ΔKE = ½mv²) to validate the Work-Energy Theorem experimentally.

Worked Example: Pulling a Suitcase

  1. A traveller pulls a suitcase with 80 N of force. The handle makes a 30° angle with the floor. The suitcase travels 15 m.
  2. F = 80 N, d = 15 m, θ = 30°
  3. cos(30°) = 0.866
  4. W = 80 × 15 × 0.866 = 1,039.2 J
Result: 1,039.2 J — about 1.04 kJ of mechanical work done on the suitcase.

How it works

4 min read

How It's Calculated

Mechanical work is the scalar (dot) product of the force vector F and the displacement vector d:

W = F · d · cos(θ)

Where:
  W  = Work done (Joules, J)
  F  = Magnitude of the applied force (Newtons, N)
  d  = Magnitude of displacement (meters, m)
  θ  = Angle between the force vector and the displacement vector (degrees)
  cos(θ) = Directional efficiency factor (dimensionless, range: −1 to 1)

Special cases:
  θ = 0°   → cos(0°) = 1.000  → Maximum positive work  (W = F·d)
  θ = 45°  → cos(45°) = 0.707 → ~70.7% of force contributes to work
  θ = 60°  → cos(60°) = 0.500 → Only half the force does useful work
  θ = 90°  → cos(90°) = 0.000 → Zero work (force ⊥ displacement)
  θ = 180° → cos(180°) = −1   → Negative work (force opposes motion)

Unit check: 1 J = 1 N × 1 m × 1 (dimensionless) = 1 kg·m²/s²

---

Quick Reference Table

Common force-distance-angle combinations and the resulting work — ready to copy for homework, lab reports, or engineering estimates:

Force (N)Distance (m)Angle (θ)cos(θ)Work (J)Real-World Analogy
1011.00010 JLifting a 1 kg book 1 m vertically
10051.000500 JPushing a cart straight across a room
801530°0.8661,039 JPulling a suitcase with a handle at 30°
2001030°0.8661,732 JTowing a trolley at 30° over 10 m
500845°0.7072,828 JTowing a trailer with angled rope
1201535°0.8191,475 JPushing a lawnmower (35° handle)
98031.0002,940 JLifting a 100 kg load 3 m (W = mgh)
4,5005025°0.906203,850 JTow truck pulling a car 50 m
751290°0.0000 JCarrying a box horizontally (no work by gravity)
3006180°−1.000−1,800 JBraking friction opposing a sliding object

> Note on lifting: When lifting, F = m × g (g = 9.81 m/s²), and θ = 0°, so W = mgh.

---

cos(θ) Efficiency at a Glance

Angle (θ)cos(θ)% of Max WorkTypical Scenario
1.000100%Horizontal push, rope parallel to motion
15°0.96696.6%Gentle rope incline
30°0.86686.6%Suitcase handle, moderate rope angle
45°0.70770.7%Rope at 45°, angled tow
60°0.50050.0%Steep rope angle — half efficiency
75°0.25925.9%Nearly perpendicular pull
90°0.0000%Perpendicular force — zero work
120°−0.500−50%Force partly opposing motion
180°−1.000−100%Force fully opposing motion (friction)

---

Typical Cases

Case 1 — Pushing a lawnmower


A person pushes a lawnmower with 120 N of force along the handle, which makes a 35° angle with the ground. The mower moves 15 m.

W = 120 × 15 × cos(35°)
W = 120 × 15 × 0.8192
W = 1,474.5 J ≈ 1.47 kJ

If the angle were 0° (horizontal push), W would be 1,800 J — the 35° handle angle costs about 18% of potential work.

Case 2 — Elevator lifting cargo


An elevator motor lifts a 250 kg pallet 8 m vertically. Force = 250 × 9.81 = 2,452.5 N, θ = 0°.

W = 2,452.5 × 8 × cos(0°)
W = 2,452.5 × 8 × 1
W = 19,620 J = 19.62 kJ

This equals the gained gravitational potential energy (PE = mgh = 250 × 9.81 × 8 = 19,620 J), confirming energy conservation.

Case 3 — Friction doing negative work


A 50 kg box slides 4 m on a floor where the kinetic friction force is 98 N opposing motion (θ = 180°).

W_friction = 98 × 4 × cos(180°)
W_friction = 98 × 4 × (−1)
W_friction = −392 J

The negative sign means friction removes 392 J of kinetic energy from the system — this energy is dissipated as heat.

---

Common Errors

1. Ignoring the angle entirely: Many students calculate W = F × d and forget cos(θ). At θ = 30°, this overestimates work by 15.5%; at θ = 60°, the error doubles the true value.

2. Using the wrong angle reference: θ must be the angle between the force vector and the displacement vector, not the angle between the force and the vertical, the slope, or the surface. Misidentifying θ by even 10° at large angles causes significant error.

3. Applying the formula when displacement = 0: Holding a 500 N barbell stationary overhead for 60 seconds does W = 0 J of mechanical work, regardless of effort. Work requires actual displacement.

4. Confusing work with power: Work (J) measures total energy transferred; Power (W = J/s) measures the rate. Completing 1,000 J of work in 2 seconds vs. 10 seconds is the same work but different power (500 W vs. 100 W).

5. Forgetting sign convention: Positive work (0° ≤ θ < 90°) adds energy to the object; negative work (90° < θ ≤ 180°) removes it. Net work equals the change in kinetic energy per the Work-Energy Theorem: W_net = ΔKE = ½mv²_f − ½mv²_i.

6. Using weight instead of mass (or vice versa): If lifting a 10 kg object, force is F = 10 × 9.81 = 98.1 N, not 10 N. Plugging mass (kg) directly in place of force (N) is a dimensional error that produces answers off by a factor of ~9.81.

Frequently asked questions

What is the formula for mechanical work?

Mechanical work is calculated as W = F × d × cos(θ), where F is the applied force in Newtons (N), d is the displacement in meters (m), and θ is the angle between the force vector and the direction of motion. The result is in Joules (J). When force is parallel to motion (θ = 0°), the formula simplifies to W = F × d.

What does a negative result for work mean?

Negative work means the force is acting opposite to the direction of motion (θ between 90° and 180°). The classic example is kinetic friction: it always opposes displacement, so cos(180°) = −1 and W is negative. Negative work removes kinetic energy from the object — this energy is converted to heat or deformation, not stored usefully.

Why is zero work done when carrying a heavy box horizontally?

When you carry a box at constant height, you exert an upward force equal to the box's weight, but the displacement is horizontal — making θ = 90°. Since cos(90°) = 0, W = F × d × 0 = 0 J. Gravity does no work on the box, and neither does your vertical holding force. Only a horizontal force component in the direction of motion does positive work.

What is the Work-Energy Theorem and how does it connect to this formula?

The Work-Energy Theorem states that the net work done on an object equals its change in kinetic energy: W_net = ΔKE = ½mv²_f − ½mv²_i. This means every Joule calculated with W = F·d·cos(θ) (net) directly translates to a change in the object's speed. It's one of the most powerful tools in classical mechanics, validated experimentally and codified in NIST's physical constants framework.

How does the angle θ affect efficiency in real mechanical systems?

The cos(θ) factor is a direct efficiency multiplier. At θ = 0° you get 100% efficiency (all force does useful work). At θ = 30°, efficiency drops to 86.6%; at θ = 45°, to 70.7%; at θ = 60°, to just 50%. This is why engineers and ergonomists design handles, cables, and ramps to minimize the angle between the applied force and the intended direction of movement — maximizing useful work output per unit of effort.

What is the difference between work (J) and power (W)?

Work (measured in Joules) is the total energy transferred, regardless of time. Power (measured in Watts, where 1 W = 1 J/s) is the rate at which work is done: P = W / t. A motor doing 10,000 J of work in 5 seconds produces 2,000 W (2 kW) of power. The same work done in 50 seconds would only require 200 W — same energy, one-tenth the power demand.

Can work be done if there is force but no motion?

No. By definition, mechanical work requires displacement (d > 0). Pushing against an immovable wall with 1,000 N of force for an hour does W = 0 J of mechanical work because d = 0 m. Your muscles consume chemical energy (calories), but no mechanical work is transferred to the wall. This distinguishes mechanical work from physiological effort or biological energy expenditure.

How is this formula applied in lifting calculations (W = mgh)?

When lifting an object vertically, the applied force equals gravity: F = m × g (using g = 9.81 m/s² per NIST standard). The displacement is the height h, and θ = 0° (force and displacement both point upward), so cos(0°) = 1. Therefore W = F × d × 1 = mgh. Example: lifting a 50 kg box 2 m gives W = 50 × 9.81 × 2 = 981 J.

What units are used and how do they relate to other energy units?

Mechanical work is measured in Joules (J), the SI unit of energy. Key conversions: 1 J = 1 N·m = 1 kg·m²/s²; 1 calorie = 4.184 J; 1 kilowatt-hour (kWh) = 3,600,000 J; 1 BTU ≈ 1,055 J; 1 foot-pound ≈ 1.356 J. The Joule is named after James Prescott Joule and is defined by NIST as a derived SI unit consistent with the International System of Units (SI).

Does this formula apply to curved paths or only straight-line motion?

The formula W = F·d·cos(θ) applies to straight-line motion with constant force. For curved paths or variable forces, work is calculated using a line integral: W = ∫ F⃗ · ds⃗. In practice, curved paths are broken into small straight segments and summed. Many real physics and engineering problems use this piecewise or calculus-based extension of the same underlying dot-product principle.

Sources and references