Background: Radiotherapy is a high-energy ionizing radiation treatment for some kinds of cancers. Accuracy and the quality of radiotherapy treatment planning systems depend on the type of dose calculation algorithms that are utilized. There are uncertainties in the calculation of dose distribution, especially in a heterogeneous situation.