Skip to content
Engineering

Work Calculator

Mechanical work done by a constant force is the dot product of force and displacement: W = Fd cos θ. Work is positive when the force component supports motion, zero when perpendicular, and negative when it opposes motion. Only displacement during the applied force contributes.

By Updated Runs in your browser — nothing is uploaded

Input · constant force and displacement

0° same direction · 90° perpendicular · 180° opposite

Work done by the force

500.00000000J

W = Fd cos(θ)

Foot-pound force
368.78107464 ft·lbf
Kilowatt-hours
0.000138888889 kWh
Force component along motion
100.00000000 N
SI displacement
5.00000000 m
On this page
  1. Work transfers energy through displacement
  2. Work as a dot product
  3. Positive, zero, and negative work
  4. The joule
  5. Foot-pound force
  6. Kilowatt-hours
  7. Worked parallel-force example
  8. Worked angled-force example
  9. Work-energy theorem
  10. Gravitational work
  11. Spring work
  12. Variable force and curved paths
  13. Circular motion
  14. Holding and carrying objects
  15. Power from work
  16. Efficiency
  17. Displacement versus distance travelled
  18. Sign conventions
  19. Measurement and uncertainty
  20. Safety and engineering limits
  21. Limits of this calculator

Work transfers energy through displacement

In mechanics, work connects a force with movement. For a constant force and straight displacement:

W = Fd cos(θ)

F is force magnitude, d is displacement magnitude, and θ is the angle between their directions. With force in newtons and distance in metres, work is measured in joules.

The cosine selects the component of force parallel to displacement. A large force can do no mechanical work on an object when it acts entirely perpendicular to the movement.

Work as a dot product

Force and displacement are vectors. Their dot product is:

W = F · d

In components:

W = Fxdx + Fydy + Fzdz

The equivalent magnitude-angle form is Fd cos θ. Work is a scalar: it has a signed value but no spatial direction.

The sign reports whether the force transfers energy into or out of the object’s mechanical motion under the chosen system.

Positive, zero, and negative work

At 0°, force and displacement point the same way. Cosine is one, so work is positive and has maximum magnitude Fd.

At 90°, force is perpendicular. Cosine is zero, so the force does zero work.

At 180°, force points opposite displacement. Cosine is minus one, so work is −Fd.

An angle between 90° and 180° gives negative work. Friction on a sliding object often fits this case because it opposes motion.

The joule

The joule, symbol J, is the SI unit of energy and work:

1 J = 1 N·m = 1 kg·m²/s²

One joule is work done when a one-newton force moves its point of application one metre in the force direction.

Although torque is also expressed in N·m, torque and energy are different quantities. Torque is an axial vector describing rotational tendency; work is a scalar created when force acts through displacement.

Foot-pound force

Mechanical work in US customary contexts may use foot-pound force:

1 ft·lbf = 1.3558179483314004 J

The label includes pound-force, not pound mass. It describes one pound-force acting through one foot in its direction.

Foot-pound also appears in torque discussions, which can create ambiguity. Energy and torque need context even when their force-distance unit factors match.

Kilowatt-hours

The kilowatt-hour is an energy unit often used for electricity:

1 kWh = 3,600,000 J

Mechanical work can be converted to kWh because both measure energy. The conversion does not imply an electric motor can turn that entire electrical input into mechanical output. Efficiency determines useful output.

One kilowatt-hour is large compared with everyday joule-scale examples, so the displayed decimal can be small.

Worked parallel-force example

A constant 100 N force moves an object 5 m in the same direction:

W = 100 × 5 × cos(0°) = 500 J

That equals approximately 368.781 ft·lbf or 0.000138889 kWh.

If friction simultaneously applies 20 N opposite motion, friction does −100 J. Net work from the two forces is 400 J.

Worked angled-force example

A person pulls a cart 10 m with a 60 N force directed 30° above the horizontal.

W = 60 × 10 × cos(30°)
W ≈ 519.615 J

The horizontal force component is about 51.962 N. The vertical component can affect normal force and friction but does no work on a cart with purely horizontal displacement.

If the cart also changes vertical position, the full displacement vector must be included.

Work-energy theorem

Net work on a particle equals its change in kinetic energy:

Wnet = ΔK

Positive net work increases kinetic energy; negative net work decreases it. Individual forces can do positive and negative work while their sum determines the total change.

For an object starting from rest, 500 J of net work produces 500 J of kinetic energy under the model. That does not mean one applied force did 500 J if other forces also acted.

Gravitational work

Near Earth with approximately constant gravitational acceleration, gravitational force points downward. Work by gravity depends on vertical displacement:

Wgravity = −mgΔh

Raising an object gives gravity negative work and increases gravitational potential energy. Lowering it gives gravity positive work.

Path shape does not change ideal gravitational work between the same heights because gravity is conservative under this approximation. Frictional work does depend on path and contact conditions.

Spring work

An ideal spring force changes with displacement:

F = −kx

Because force is not constant, spring work requires integration. Work done by the spring from x₁ to x₂ is related to the change in one-half kx².

Entering one endpoint force multiplied by total displacement would be wrong. For a linear force beginning at zero, average force over the interval can be half the final magnitude, but signs and limits still matter.

The calculator handles constant force only.

Variable force and curved paths

The general expression is a line integral:

W = ∫ F · dr

Force magnitude and direction can vary at every position, and the path can curve. Numerical integration may divide the path into small segments and sum approximate dot products.

Using total path length in Fd cos θ assumes one consistent angle and force. It is not valid when direction or magnitude changes materially.

Circular motion

In ideal uniform circular motion, centripetal force points toward the centre while instantaneous displacement is tangential. The directions are perpendicular, so centripetal force does no work and speed remains constant.

The force changes velocity direction without changing its magnitude. If a tangential force also acts, that force can do work and change speed.

This illustrates why force does not necessarily imply work and acceleration does not necessarily imply changing speed.

Holding and carrying objects

Holding a stationary object gives zero displacement, so mechanical work on the object is zero. Carrying it horizontally at constant height also gives gravity zero work because gravitational force is perpendicular to displacement.

A person still uses metabolic energy. Muscles maintain force through internal biochemical processes, and the body moves internally even when the external object is stationary.

Mechanical work on the external object and physiological energy expenditure are not the same measurement.

Power from work

Average power is work divided by elapsed time:

Pavg = W ÷ t

Doing 600 J of work in 3 seconds gives average power of 200 W. Instantaneous power is the dot product of force and velocity.

Two machines can perform the same work while having different power because one completes it faster. This calculator does not include time; use a power calculation after finding work.

Efficiency

Real systems require more input energy than useful output work:

efficiency = useful output energy ÷ input energy

If a motor receives 1,000 J electrically and delivers 800 J of mechanical work, efficiency over that event is 80%, with energy transferred to heat, sound, or other forms.

Unit conversion alone does not account for loss. A 500 J mechanical requirement can demand more than 500 J from the source.

Displacement versus distance travelled

Displacement is the vector from start to end. Distance travelled is total path length. For a constant uniform force, the correct integral depends on the path and direction at each segment.

An object returning to its starting point has zero net displacement. A constant force with one fixed direction does zero net work over that closed trip, though friction can do negative work along the entire path.

Do not substitute an odometer-style path length into the straight constant-angle formula without checking the force relationship.

Sign conventions

The calculator accepts a force magnitude, non-negative distance, and angle. Cosine generates the work sign. Angles differing by full rotations have the same cosine.

In component methods, signs come from coordinate directions. A negative force and a negative displacement can produce positive work because they point the same way.

State the system and reference direction before interpreting positive or negative energy transfer.

Measurement and uncertainty

Force sensors, displacement measurements, and angle measurements have uncertainty. Misalignment changes the parallel component. Flexible structures can store energy and make the point-of-application path differ from a simple distance.

Long decimal output preserves arithmetic but does not create measurement accuracy. Round based on input precision and propagate uncertainty when required.

Dynamic measurements also need enough sampling bandwidth to capture changing force and motion.

Safety and engineering limits

Calculated work does not determine whether a machine, cable, fastener, structure, human, or power source can safely apply the force. Peak loads, fatigue, stability, travel limits, speed, temperature, guarding, and failure modes matter.

Lifting systems require appropriate standards, rated components, inspection, and qualified design. Stored mechanical energy can be hazardous even after power is removed.

Limits of this calculator

The tool calculates work by one constant force over a straight displacement using one angle. It converts defined force and distance units and reports joules, foot-pound force, and kWh.

It does not integrate variable force, combine multiple forces, calculate spring or gravitational fields beyond the entered equivalent, model efficiency, or apply safety factors.

Use it for the constant-force dot product and unit conversion. Use a complete force model, path integration, measurements, and applicable engineering standards for real systems.

Common questions

Frequently asked questions

How do I calculate work from force and distance?

For a constant force, multiply force magnitude by displacement and the cosine of the angle between them: W = Fd cos θ. With newtons and metres, the result is joules. At zero degrees the formula reduces to W = Fd.

When is work negative?

Work is negative when the force has a component opposite displacement, corresponding to an angle greater than 90° and less than 270° under the directional convention. Friction commonly does negative work on a moving object.

Why is work zero at 90 degrees?

The force has no component along displacement because cos 90° is zero. In ideal uniform circular motion, centripetal force is perpendicular to instantaneous velocity and changes direction without changing kinetic energy.

What is one joule?

One joule is the work done when a force of one newton moves its point of application one metre in the force direction. In SI base units it is kg·m²/s².

Is holding a heavy object mechanical work?

If the object does not move, mechanical work on it is zero because displacement is zero. A person’s muscles still use metabolic energy to maintain tension, so physiological effort and mechanical work on the object are different questions.

What if force changes over distance?

Use the integral of the force component along the path: W = ∫F·dr. Multiplying one force by total distance is valid only when the relevant component remains constant or represents an appropriate average.

References

Sources and verification

The formulas and reference ranges on this page come from the following publications. Where a source has been revised, we cite the current edition and update the page when the underlying method changes.

  1. 1The International System of Units (SI Brochure), 9th editionBureau International des Poids et Mesures
  2. 2NIST Guide for the Use of the International System of UnitsNational Institute of Standards and Technology
This page cites 2 references. See how formulas, examples, updates, and corrections are handled in our editorial policy, or report a possible error.

Keep going

After using the Work Calculator, these are the closest tools for checking a related number, comparing a result, or continuing the same calculation.