Here's another web site that does all the math for you, all you have to do is plug in your numbers:
http://www.multi-patch.com/html/diag...calculator.php
Much easier than trying to do the math yourself!
I made a royal mess the first time I tried this, thank fully it was on a scrap piece of fabric, but it's work out fine since then for me.