Given the target temperature of the beer and the desired carbonation level in volumes of CO2, this calculator determines the pressure (in PSI) that you should set your regulator to. Based on the equation provided in this email thread.
A table of various temperatures and volumes of CO2: