Keep in mind that those formulas for calculating the temperature at altitude are based on the "STANDARD DAY", and the rule of thumb that the altitude cools by 2 degress Celsius per 1000' is based on the STANDARD lapse rate.
So that means that using it to predict icing is probably not going to work...
You could fine tune it by using the temperature at field elevation today and applying standard lapse rate and that would probably get you a little closer, though. BTW, in Farenheit, the standard lapse rate is 3.6 degrees per 1000', in case you don't want to work metric.
So for example, if I live at 1200' and the temp when I take off is 90 degrees (F, of course). So the freezing level would be at 17,311' if the standard lapse rate applied.
here's the math:
90-32 (freezing temp)=58 degrees to cool
58 degrees to cool/3.6 degrees per 1000' =16.11111 or basically I have to climb from my present position by 16,111.11' feet to get to where it is 32 degrees (freezing).
1200' (where I'm starting from) +16,111.111= 17,311'