Spending some time on line I discovered this Excel Spreadheet based calculator on a French DIY site. Very usefull tool.. can either calculate in inches or cm.
You have to enable macros to run it.
There are a few more progs on that same site that can be usefull when planning for a DIY project
http://www.allinbox.com/Programmes/projector.xls