Due to the lack of a criterion such as grade, it is difficult to decide for the extraction of a stone quarry. On the other hand, the goal of optimization in quarries is to produce blocks in shapes of standard rectangular cuboids. In this research, an index is defined called Cubic Productivity Ratio (CPR) that classifies the quarries in terms of the geometric grade of the blocks into three categories: good, moderate, and poor. In addition, by applying cutting planes and comparison of CPR values for different directions, the optimum cutting direction can be determined. This index was implemented in Ask Travertine Quarry, Mazandaran Province, Iran, and its value was calculated to be 22%, which places the quarry in a poor level in terms of block geometric quality. The optimal direction was found at N60w, indicating that in order to get the most yield, the current direction should be adjusted 35 degrees to the north. With that being done, the average volume of blocks will be 241. 63 cubic meters, the average dimensions of the cuboids will be 2. 93 (m) × 2. 4 (m) × 2. 25 (m), and the amount of marketable cuboids will be 53369. 14 cubic meters, which will result in a revenue of about 130 billion IRR, according to the current sales price of raw blocks.