How to calculate cell range for a site?

You can play around here:

Equations are also there.