No need for math... PICMultiCalc is all you need

http://www.mister-e.org/pages/utilitiespag.html