Work Calculator - W = Fd cos, Joules from Force

    Only the part of a force pointing along the movement does any work, and this is how much. Give it a force, a distance and the angle between them for the answer in joules, kJ, MJ, kWh and kcal.

    Parameters

    Enter data for calculations

    The form below changes to match

    Used for the force, whether you type it or read it

    Used for the distance, whether you type it or read it

    Optional. Blank means a straight pull

    Form progress0 / 3 fields

    💡 Fill in all required fields to unlock the calculate button

    What counts as work, and what only feels like it

    Carry a heavy backpack a kilometer along a level path and you have done no work at all in the sense this calculator means. Push a shopping cart 30 m with 40 N and you have done 1.20 kJ. The difference is not effort, it is direction, and it is the reason the formula for work carries a cosine that the formula for energy does not. Enter a force, a distance and the angle between them and the calculator returns the work in joules, kilojoules, megajoules, kilowatt hours and kilocalories. Enter a work figure instead and it returns the force or the distance that produced it.

    The angle is the part that catches people

    Work is W = F × d × cos α, where alpha is the angle between the direction the force points and the direction the object actually moves. Only the part of the force lying along the path does anything. The rest is real, it is measurable, and it is doing nothing whatsoever to the energy of the object.

    Pull a suitcase by a handle held at 30° with 200 N and the force splits into 173.205 N dragging it forward and 100 N lifting it. Those two rebuild the original 200 N as the sides of a right-angled triangle rather than as a sum, which is why they do not add to 273. Over 10 m the forward component does 1.73 kJ and the upward component does exactly nothing.

    The table below holds that same force and that same distance fixed and moves only the angle, which is the fastest way to see how much a badly aimed pull costs. The calculator prints this table under every result using your own two numbers, with your own angle highlighted.

    Angle cos Work by 200 N over 10 m Share of a straight pull
    0°1.00002.00 kJ100.0%
    15°0.96591.93 kJ96.6%
    30°0.86601.73 kJ86.6%
    45°0.70711.41 kJ70.7%
    60°0.50001.00 kJ50.0%
    75°0.2588517.6 J25.9%
    90°0.00000 J0.0%
    120°-0.5000-1,000.0 J-50.0%
    150°-0.8660-1.73 kJ-86.6%
    180°-1.0000-2.00 kJ-100.0%

    Notice how forgiving the top of that table is. At 15° you still get 96.6% of a straight pull, and even at 30° you keep 86.6%. The collapse happens late: between 60° and 90° the work falls from half to nothing. A handle angled slightly wrong is barely worth correcting; a handle angled badly wrong is worth almost nothing.

    Which two numbers you already have

    1. What to solve for - the work, the force or the distance. The form shows nothing else until this is chosen, and no option is preselected.
    2. Force unit - newtons, kilonewtons, kilogram-force or pounds-force. One kgf is 9.80665 N and one lbf is 4.4482216152605 N, both exact, so a figure taken off an American spec sheet and the same figure in newtons give one identical answer.
    3. Distance unit - meters, centimeters, kilometers or feet, at 0.3048 m to the foot. This is the distance the object moves, not the length of the rope or the reach of your arm.
    4. Force - always entered as a positive number. Which way it points is carried by the angle, never by a minus sign, because a force entered as negative and an angle of 180 degrees would cancel each other into a wrong answer.
    5. Distance - how far the object actually travels while that force is acting. If the force stops halfway, only the first half counts.
    6. Angle - optional, from 0 to 180 degrees, and decimals are allowed. Blank means zero, a force straight along the motion. Ninety means perpendicular and no work. Anything above ninety means the force is fighting the movement.
    7. Read the answer. The headline gives the quantity you asked for, the line below restates it in five units, the note beneath splits the force into the part that works and the part that does not, and the table sweeps your own numbers across ten angles.

    Seven jobs, worked all the way through

    Each row carries the three numbers that made it, so any of them can be checked with a calculator and a cosine key. Two of them are worth reading twice: the backpack, where a very large force over a very long distance produces nothing, and the crate, where the work comes out below zero.

    Task Force Distance Angle Work
    Pushing a shopping cart down an aisle40 N30 m0°1.20 kJ
    Pulling a suitcase by its handle25 N200 m40°3.83 kJ
    Lifting a 20 kg case into an overhead bin196.133 N1.2 m0°235.4 J
    Carrying a backpack along a level corridor150 N1,000 m90°0 J
    An adult climbing one flight of stairs735.499 N3.3 m0°2.43 kJ
    Friction on a crate dragged across concrete150 N8 m180°-1.20 kJ
    A tow rope pulling a car onto a flatbed3,000 N500 m20°1.41 MJ

    The stairs row is the same job the potential energy calculator prices at 2.43 kJ for a 75 kg adult climbing 3.3 m, reached from the other direction. There the input is a mass and a height; here it is the weight of that mass, 735.499 N, dragged through the same 3.3 m. The two agree to the joule because they are the same statement, and that agreement is the whole content of the phrase work done against gravity.

    Positive, negative and zero, and why all three are real

    Positive work adds energy to the object. The tow rope makes the car move; the cart ends up rolling. Negative work takes energy away, and every braking force in the world does it: friction on the crate removes 1.20 kJ over its 8 m, which is why the crate stops and why the floor beneath it warms up. A minus sign in the answer is not an error message.

    Zero work is the one that provokes arguments. The backpack row above has a force of 150 N acting over a full kilometer and still reports 0 J, because holding something up while walking on the level means the force and the movement are at right angles the whole way. The objection is always the same, and it is a fair one: carrying a backpack for a kilometer is exhausting. It is, and the energy is entirely real, but it is spent inside your muscles holding a static contraction, not transferred to the backpack. The backpack finishes the walk with exactly the energy it started with.

    Five ways to end up with a smaller number than you expected

    Using the distance traveled by your hand instead of by the object. On a pulley or a lever these are different, sometimes by a factor of four. The formula wants the displacement of the thing the force is applied to, measured along its own path.
    Measuring the angle from the wrong reference. Alpha is between the force and the movement, not between the force and the ground. Pushing a lawnmower down a slope at a handle angle of 30 degrees to the ground, on ground itself tilted 10 degrees, gives an alpha of 20 or 40 depending on which way the slope runs.
    Entering a force that is not constant. A spring pulls harder the further it stretches, and a rocket gets lighter as it burns. For those the answer is the area under the force curve, and no single multiplication will give it. Everything in the examples table is close enough to constant for the formula to hold.
    Adding a minus sign to the force as well as using an angle above 90 degrees. That is the direction counted twice, and the two cancel back to a positive answer. This calculator refuses a negative force for exactly that reason.
    Confusing the net force with the one you are applying. If you push a crate at 200 N and friction pushes back at 150 N, your work is still computed from your 200 N. The 50 N difference is what changes the crate's speed, and it answers a different question.

    Questions this formula attracts

    Is work the same thing as energy?
    It is measured in the same unit and it is the same physical stuff, but it is a transfer rather than a stock. Energy is what an object has; work is what moved across the boundary to change that. Do 2.00 kJ of positive work on something and its energy goes up by 2.00 kJ, in whatever form that turns out to be.
    Why does the answer not depend on how long the job took?
    Because time does not appear in the formula. Pushing the cart 30 m in ten seconds and in ten minutes are both 1.20 kJ of work. What differs is the rate, measured in watts, and that is a separate calculation with a separate answer.
    What angle should I use if I do not know it?
    Leave the field blank, which assumes zero, and treat the answer as an upper bound. That is the honest default: a straight pull is the most work a given force can do over a given distance, so every real angle can only reduce it. The table of angles then shows how much a plausible error would cost, and below 15° the loss stays under 3.4%.
    Can I put the angle in radians?
    Not into this form, which takes degrees. Convert first: one radian is about 57.2958°, and the common exam values are pi over six at 30°, pi over four at 45° and pi over three at 60°. Decimals are accepted, so an awkward conversion does not have to be rounded to a whole degree.
    Why does solving for distance sometimes get refused?
    Because a distance is a magnitude and cannot come out below zero. If you ask for the distance over which a force at 0° did -2,000 J of work, there is no such distance: a forward force cannot remove energy. The calculator says so and names the two possible fixes, either the work is positive or the angle belongs above 90°. Enter the same -2,000 J at 180° and the answer is a perfectly ordinary 10 m.
    How does work relate to a machine's efficiency?
    Efficiency is useful work out divided by total work in. A pulley system that takes 1.20 kJ of your effort and delivers 1.00 kJ to the load runs at about 83%, and the missing fifth went into friction in the sheaves and the rope. No machine reduces the work required; the useful ones only change the force you need to supply it with, at the cost of a longer distance.
    Does the path matter, or only the endpoints?
    For gravity, only the endpoints. Carry a crate up a ramp or up a ladder to the same landing and the work against gravity is identical, which is what makes gravity a conservative force. For friction the path is everything: drag the crate twice as far and friction takes twice as much, whatever route you took.

    Related tools

    Force Calculator

    For the F in this formula when all you have is a mass and an acceleration, or a weight - See the calculator

    Potential Energy Calculator

    The same job stated as a mass and a height instead of a force and a distance, and it lands on the same joules - See the calculator

    Kinetic Energy Calculator

    Where positive work ends up when the object is free to speed up, and what negative work takes back - See the calculator

    Momentum Calculator

    The other thing a force delivers over time rather than over distance, and why the two answers differ - See the calculator

    Angle Unit Converter

    For an angle that arrived in radians or gradians before it can go into the form - See the calculator

    Length Unit Converter

    For a distance given in inches, yards or miles rather than the four units this tool takes directly - See the calculator

    Mechanical Power Calculator

    The one thing this formula leaves out, which is how long the job took - See the calculator

    Similar calculators from this section