There are many on-line shade calculators but this one uses a good graphical interactive display.

Sustainable By Design :: overhang design