I design websites in illustrator and photoshop, I frequently need to set up a formal grid for designs. previously I used trial and error to calculate the grids that would work at different screen sizes. To make my life even easier I created a simple little script that calculates 'exact fit' grids for different resolutions.
Hopefully other people will find this useful