Work Calculator

W = F × d × cosθ or W = m × g × h
Choose how work should be calculated.
Quick summary
Select a mode, enter the required values, then click Calculate.
Force may be positive or negative.
Displacement may be positive or negative.
If left empty, angle defaults to 0°.
Mass must be 0 or greater.
Height may be positive or negative.
Custom gravity must be greater than 0.

Results

Work
J
Work
kJ
Work
Wh
Work
kWh
Work
ft·lbf
All results are derived from SI units first.

A work calculator finds energy transferred when a force acts through a displacement. Direction matters: only the component of force parallel to displacement contributes to mechanical work.

Work Calculator Formula and Force Direction

W = Fd cos θ, where θ is the angle between force and displacement. Force in newtons and distance in metres produce joules.

Work Calculator: Positive, Negative and Zero Work

Work is positive when force assists motion, negative when it opposes motion, and zero when force is perpendicular to displacement or there is no displacement.

Worked example

A 50 N force pulls an object 8 m at 30° to its motion. Work is 50 × 8 × cos30° ≈ 346 J.

Do not substitute path-independent ideas blindly

The formula applies to a constant force and specified angle. A changing force may require integration or an area under a force–displacement graph.

Work versus effort

Holding a heavy object stationary can feel strenuous, but mechanical work on the object is zero because displacement is zero. Biology still consumes chemical energy.

Check the angle

Use the angle between vectors, not an angle copied from the drawing without interpretation. Ensure the calculator’s trigonometric mode uses degrees or radians as entered.

Resolve the force into the direction of motion

The parallel component is F cos θ. At 0°, the full force contributes; at 90°, none contributes; beyond 90°, the component opposes displacement and work is negative. A free-body diagram can help identify the angle between vectors instead of the angle between a rope and an unrelated surface.

Use the work–energy theorem

Net work on an object equals its change in kinetic energy in the classical model. Individual forces can do positive or negative work while their sum produces the net change. For example, an applied force may add energy while friction removes part of it. Do not equate one force’s work with total kinetic-energy change unless other work is zero.

Variable force and graph area

When force changes with position, multiplying one force value by total distance may be inaccurate. The area under a force-versus-displacement graph gives work along that axis, and calculus expresses this as an integral. A representative average force is an approximation only when the problem permits it.

Distinguish mechanical work from torque

A force causing rotation may require angular work, often involving torque and angular displacement. The linear Fd cos θ equation applies to translational displacement of the point where force acts. Complex machines may involve both forms plus losses.

Calculation checklist

  • Identify the exact force whose work is requested.
  • Use displacement, not necessarily path length.
  • Confirm the angle between force and displacement.
  • Carry the sign through the result.
  • Convert newtons and metres before reporting joules.

The calculator is best for a constant force over a stated displacement. If forces or directions vary, split the motion into segments or use a more appropriate graph or integral method.

System boundary and internal work

Results can differ depending on whether the object, person, spring or Earth is included in the system. A force may be internal under one definition and external under another. State the object whose displacement is measured and the force acting on it. This keeps work by gravity, applied work and changes in stored energy from being counted twice. Draw a simple system boundary when several forces or energy stores appear in the same problem.

See OpenStax University Physics Volume 1 for work–energy examples and sign conventions.

work calculator FAQs

Is work always positive?

No. Friction often performs negative work on a moving object.

What is one joule?

One joule equals one newton-metre of work.

Can a perpendicular force do work?

Not in the direction of displacement because cos90° = 0.

Use the Work and Power Calculator when elapsed time is also relevant.

Tested & Reviewed by:

Arefin Bappy

Owner, Admin & Developer of AjaxCalculators
Individually tested against the calculation method described on this page.
Last reviewed: September 8, 2026
About the Admin · Editorial Policy

Sponsored Offers

Explore more from

Free Fall Calculator

Use our Free Fall Calculator to find time, distance, final velocity, and average speed from height or time with gravity presets and unit conversion.

Pressure Calculator

Calculate pressure, force, or area with common pressure-unit conversions and guidance about normal force, area, and gauge versus absolute pressure.

Projectile Motion Calculator

Use our Projectile Motion Calculator to find time of flight, range, maximum height, time to peak, and velocity components from speed, angle, height, and gravity.

Kinetic Energy Calculator

Calculate translational kinetic energy from mass and velocity, rearrange the formula, convert units, and explore the squared effect of speed.

Force Calculator

Use our Force Calculator to find force from mass and acceleration with F = ma. Get instant results in newtons, kilonewtons, and pounds-force.

Potential Energy Calculator

Calculate near-Earth gravitational potential energy from mass, gravitational acceleration, and height relative to a chosen reference level.

Work and Power Calculator

Calculate mechanical work and average power from force, displacement, angle, and elapsed time, with clear joule and watt interpretation.

Acceleration Calculator

Calculate average acceleration from initial velocity, final velocity, and elapsed time while keeping direction, signs, and units consistent.

Ohm’s Law Resistance Calculator

Use our Ohm’s Law Resistance Calculator to find resistance from voltage and current. Get instant results in Ω, kΩ, or MΩ plus power and conductance.