This calculator uses the following formula:
W = Fx cos(A)Where:
Note that if F is in the same direction as x then the angle will equal 0 and because the cosine of 0 is 1 the formula can then be written as:
W = Fx
When using this calculator the angle defaults to 0, however it can be changed as needed for greater flexibility in your calculations.