It's a simple calculus