Actually there are 4 formulas to get the temperature of a planet. First, you have to calculate to luminosity of the star with this formula: L= 4*pi*R^2sigmaT^4 (where sigma= 5.67*10^-8; T is the star's temp in Kelvin and R is the radius in meters). After you have to know the absolute magnitude of the star. Normally there's a formula but I never found it, so I use an alternative. Take the luminosity value of the star and divide it with the luminosity value of the Sun (which is 3.896*10^26 watts). Then you get a number and, making a comparison with the HR diagram, you get the absolute magnitude.
Now, with the absolute magnitude, you can calculate the albedo of the planet with this formula: A= ((1329*10^(-H/5))/D)^2; where A is the albedo, H is the absolute magnitude and D is the diameter of the planet in meters. But you get a number with a lot of zeros after the coma, from 7 to 15 in some cases (the albedo range is 0.01 - 1). To get a number in this range you just have to multiply it.
And the last formula, the temperature of the planet. With T= ((L(1-A)/(16*pi*sigma*D^2))^(1/4), where T is the temperature of the planet in Kelvin, L is the star's luminosity, A is the albedo of the planet, sigma = 5.67*10^-8 and D is the semi-major axis in meters.
Now you get everything to calculate the temperatures of your planets. If you have created tidally locked planets, their temperatures will, maybe, be above the temp of their stars (yes theorically it's possible !).
Bye
Sedna