The calculation method is the same for all three lever classes: balance the moments around the fulcrum. The difference is the relative position of the fulcrum, effort, and load, which determines the lever's mechanical advantage.
A moment is the turning effect of a force about a pivot:
For a lever in equilibrium, the clockwise and anticlockwise moments are equal:
