How to calculate what you need