A treatment planning system is provided which, with irradiation parameters varied over time, performs highly accurate dose distribution calculations based on information about tumor movements included in 4D CT images. The system is characterized by the ability to read CT images furnished with timing information and associate the status of the irradiation target corresponding to an elapsed time from the beginning of irradiation with positions being irradiated at corresponding elapsed time points so as to calculate the dose distribution.