In radiotherapy, dose distributions are obtained by using dose calculation algorithms that are implanted in treatment planning systems (TPS). This study aims to compare the surface doses of separate field sizes calculated by different version of The Analytical Anisotropic Algorithm (AAA) and measured by the parallel-plate ion chamber that is admitted as the most reliable dosimetry system for the surface region dose measurements. In order to measure the near surface dose, water equivalent solid phantom was used and measurements were made for 6MV photon beam at 100 cm source-detector distance for 5x5, 10x10, and 20x20 cm(2) field sizes. AAA 8.9 and AAA 15.1 versions of the Varian Eclipse TPS were used for surface dose calculations by generating beams with separate field sizes. The doses were read by considering the effective buildup thickness of Markus parallel-plate ion chamber. The surface doses using 6MV photon beams for 10x10 cm2 field size at 0.07 mm were found to be 11.04%, 26.25%, and 19.69% for AAA v8.9, AAA v15.1 and Markus chamber, respectively. It was seen that for both of the AAA versions and Markus parallel-plate ion chamber, increasing field sizes also increase surface dose. For all field sizes, surface dose was lowest by using AAA v8.9 at 0.07 mm. The different versions of the same TPS algorithms may calculate the surface doses distinctively. After upgrading of TPS algorithms, surface doses should be calculated and compared by measurements with different dosimetry systems to better understand their calculation behaviors in the near surface region.