Lucid Electronics Workbench is very useful utility for calculating resistor, regulator and power values.