Texas Instruments has a great voltage divider calculator on their website. Its a simple webpage, and I am worried that they will take it down by accident, so I created this page as a backup / mirror of it. Original Calculator