Three types of commercially available carbonate rocks were used in the study to determine the effect of thermal treatment in the range from 100 degrees C to 500 degrees C on porosity features in terms of two different approaches such as pore shape factor and quality index values. The ratio of the ultrasonic velocity measurements before and after water saturation was used to differentiate porosity of pores from porosity of cracks under varying temperatures. It was found that, pores in Burdur Beige and Usak White are in the form of cracks, which are situated through inner structure. On the other hand, pores in Patara Limestone are in the form of porosity with lower pore shape factor values. Quality index calculation is another approach based on the comparison of the measured and theoretical ultrasonic velocity values. When the rocks were subjected to higher temperatures, internal stress was developed, crack lengths and numbers were increased and finally the higher pore shape factor and lower quality index values were obtained. This situation was proven by the higher water absorption values for all the stone types with the higher pore shape factor and lower quality index values depend on the noticeable increase in effective porosity values. (C) 2014 Elsevier B. V. All rights reserved.