Torque is a measure of the turning effect of a force and is calculated as the product of the force applied and the perpendicular distance from the axis of rotation to the point where the force is applied.
The formula for the magnitude of torque (τ) is:
τ = r × F × sin(θ)
where:
r is the distance vector (lever arm).
F is the force vector.
θ is the angle between the force vector and the distance vector.