There is no exact theory on how to calculate.
On this DVD, Roman will give you instructional examples on calculating critical positions and why to avoid wishful thinking and the importance of calculating from both sides.
This will help you narrow your search on what variations to play. Without intuition there is no calculating.