Work-Energy Calculator (W = F·d·cos θ)
Free work physics calculator. Compute mechanical work W = F·d·cos θ in joules from force, displacement, and angle. Solve for W, F, or d.
Work-Energy Calculator
Background.
This work physics calculator evaluates the mechanical work done by a constant force using the textbook scalar equation W = F·d·cos θ, returning the result in joules (J). Enter any three of the four quantities — force, displacement, the angle between them, and work — and the calculator solves for the remaining unknown. The same engine handles the three standard exam variants of the problem: finding the work done when a force drags an object across a surface, recovering the force when the work and displacement are known, and back-solving the displacement when only the energy budget is given.
Work is one of the foundational concepts in Newtonian mechanics. Although the word is borrowed from ordinary English, the physics meaning is narrower and surprisingly strict: a force does work on an object only when the object actually moves, and only the component of the force aligned with that motion counts. A weightlifter holding a barbell perfectly still does zero mechanical work on the bar, no matter how exhausted they feel, because the displacement is zero.
A waiter carrying a tray horizontally across a level floor also does zero work on the tray, because the supporting force is vertical while the displacement is horizontal — the two vectors are perpendicular, so cos 90° = 0 and the product collapses to zero. These counter-intuitive results are not loopholes; they are direct consequences of the definition, and they are exactly why the cos θ factor appears in the formula.
The calculator handles signed work correctly. When the force has a component pointing in the direction of motion (0° ≤ θ < 90°), cos θ is positive and the work is positive — energy is transferred into the object, typically showing up as kinetic energy, potential energy, or both. When the force opposes the motion (90° < θ ≤ 180°), cos θ is negative and the work is negative — energy is being removed from the object. Friction, air drag, and a braking force on a moving car are the classic examples of negative work. When θ is exactly 90°, the force is perpendicular to the displacement and does no work at all. This is why the centripetal force on a satellite in a circular orbit does zero work over a full revolution, and why the normal force on a sliding block contributes nothing to the energy balance even though it is large.
The deepest result tied to this equation is the work-energy theorem: the net work done by all forces on a particle equals the change in its kinetic energy, W_net = ΔKE = ½mv_f² − ½mv_i². That single line is one of the most useful shortcuts in classical mechanics. Rather than solving Newton's second law as a differential equation and integrating to find the velocity, you can equate the net work to the kinetic-energy change and read off the final speed directly. It works whether the force is constant or variable, whether the path is straight or curved, whether the motion is one-dimensional or three.
The catch — and this is where the perpendicular case earns its keep — is that you must include every force that has a component along the motion, and you must exclude any force that does not. Use this calculator for first-year physics homework, AP and IB exam practice, engineering coursework where you need to size a motor or estimate the energy a winch must deliver, and back-of-the-envelope energy audits in everyday situations: the work done lifting groceries upstairs, the energy a cyclist puts into a hill climb, or the kinetic energy a falling tool will dump into the floor on impact. The formula is rigorously correct for constant forces along straight-line displacements; for variable forces or curved paths the more general line integral W = ∫F·dr applies, but the cos θ formula remains the right intuition pump and the right answer over each small straight segment.
What is work-energy calculator?
In physics, work is the energy transferred to or from an object via the application of a force along a displacement. For a constant force F acting on an object that moves through a displacement d, the work done is W = F·d·cos θ, where θ is the angle between the force vector and the displacement vector. The SI unit of work is the joule (J), defined as one newton-metre: 1 J = 1 N·m = 1 kg·m²/s². Work is a scalar quantity — it has magnitude and sign but no direction — even though it is computed from two vectors. The sign of the work is determined entirely by cos θ: positive when the force has a component in the direction of motion, negative when it opposes the motion, and zero when it is perpendicular.
How to use this calculator.
- Choose what you want to solve for: work, force, or distance.
- Enter the force magnitude in newtons. Use a negative sign only if you want to model a force pointing in the opposite direction from your reference; otherwise capture the geometry with the angle.
- Enter the displacement (distance moved along the line of motion) in metres. This must be ≥ 0.
- Enter the angle θ between the force vector and the displacement vector, in degrees. Use 0° when the force is aligned with motion, 90° when perpendicular, and 180° when exactly opposing.
- If you are solving for force or distance, also enter the known work in joules.
- Read the work value in joules in the primary output. Negative work means the force is removing energy from the object.
The formula.
The equation W = F·d·cos θ is the scalar (dot) product F · d of two vectors written out in terms of their magnitudes and the angle between them. The dot product extracts the component of F that lies along d (which is F cos θ) and multiplies it by the length of the displacement. Geometrically: cos 0° = 1, so a perfectly aligned force does the maximum possible work F·d. cos 90° = 0, so a perpendicular force does zero work no matter how large F or d are — this is why centripetal forces on circular orbits and normal forces on horizontal sliding never appear in the work-energy balance. cos 180° = −1, so a force pointing exactly against the motion does the maximum possible negative work −F·d, which is the limiting case for ideal kinetic friction acting directly against the velocity. For any intermediate angle the work falls smoothly between these extremes. The sign convention is therefore baked into the cosine: you never need a separate rule for positive vs. negative work — the geometry decides. When the force is not constant or the path is not straight, the equation generalises to the line integral W = ∫_C F · dr, but the local intuition is unchanged: at each instant only the component of force along the velocity contributes to the rate of energy transfer (the instantaneous power P = F · v = F·v·cos θ).
A worked example.
A child drags a sled along level snow by pulling on a rope. The rope tension is F = 50 N and is held at θ = 60° above the horizontal. The sled moves d = 5 m along the ground. The component of the rope tension along the direction of motion is F·cos θ = 50 · cos 60° = 50 · 0.5 = 25 N. The work done by the rope tension on the sled is therefore W = F·d·cos θ = 50 · 5 · 0.5 = 125 J. Note that the vertical component of the tension (50 · sin 60° ≈ 43.3 N) does zero work on the sled because the sled does not move vertically — its displacement is purely horizontal, and the vertical force is perpendicular to that displacement. If kinetic friction with the snow exerted a constant 10 N opposing the motion, friction would do W_friction = 10 · 5 · cos 180° = −50 J, and the net work on the sled would be 125 − 50 = 75 J. By the work-energy theorem, that 75 J equals the gain in the sled's kinetic energy over those 5 m.
Frequently asked questions.
Why is work a scalar quantity if it comes from two vectors?
Why does a perpendicular force do no work?
What is the difference between work and energy?
When is work negative, and what does negative work physically mean?
What does the work-energy theorem actually say?
What is the difference between conservative and non-conservative forces?
Does holding a heavy object stationary count as work?
How do I compute work when the force is not constant?
What is the SI unit of work and how does it relate to other energy units?
Why is the angle measured between the force and the displacement, not between the force and the floor?
References& sources.
- [1]Joule, J. P. (1845). On the existence of an equivalent relation between heat and the ordinary forms of mechanical power. Philosophical Transactions of the Royal Society of London, 140, 61–82.
- [2]Halliday, D., Resnick, R., & Walker, J. (2018). Fundamentals of Physics, 11th ed., Chapter 7: Kinetic Energy and Work. Wiley.
- [3]Feynman, R. P., Leighton, R. B., & Sands, M. (1963). The Feynman Lectures on Physics, Volume I, Chapter 13: Work and Potential Energy. Addison-Wesley / Caltech.
- [4]Thompson, A. & Taylor, B. N. (2008). Guide for the Use of the International System of Units (SI). NIST Special Publication 811. National Institute of Standards and Technology.
- [5]Goldstein, H., Poole, C., & Safko, J. (2002). Classical Mechanics, 3rd ed., Chapter 1: Survey of the Elementary Principles. Addison-Wesley.
- [6]BIPM (2019). The International System of Units (SI), 9th ed. Bureau International des Poids et Mesures.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled