Second cancer risk in patients, in particular in children, who were treated with radiotherapy is an important side effect. It should be minimized by selecting an appropriate treatment plan for the patient. The objectives of this study were to integrate a risk model for radiation induced cancer into a treatment planning system which allows to judge different treatment plans with regard to second cancer induction and to quantify the potential reduction in predicted risk. A model for radiation induced cancer including fractionation effects which is valid for doses in the radiotherapy range was integrated into a treatment planning system. From the three-dimensional (3D) dose distribution the 3D-risk equivalent dose (RED) was calculated on an organ specific basis. In addition to RED further risk coefficients like OED (organ equivalent dose), EAR (excess absolute risk) and LAR (lifetime attributable risk) are computed. A risk model for radiation induced cancer was successfully integrated in a treatment planning system. Several risk coefficients can be viewed and used to obtain critical situations were a plan can be optimised. Risk-volume-histograms and organ specific risks were calculated for different treatment plans and were used in combination with NTCP estimates for plan evaluation. It is concluded that the integration of second cancer risk estimates in a commercial treatment planning system is feasible. It can be used in addition to NTCP modelling for optimising treatment plans which result in the lowest possible second cancer risk for a patient.