Adam Orvos
Executive Vice President, Chief Financial Officer at Ross Stores
Thank you, Barbara. As previously stated, comparable store sales rose 5% in the quarter, primarily driven by higher traffic. Operating margin increased 135 basis points to 11.2%. Cost of goods sold improved by 260 basis points in the quarter. Merchandise margin was the main driver with a 235 basis point increase, primarily from lower ocean freight costs. Distribution expenses improved by 45 basis-points, mainly due to favorable timing of packaway related costs.
Domestic freight and occupancy levered by 40 and 25 basis points respectively. Partially offsetting these benefits were higher buying costs that increased 85 basis points, mainly from higher incentives. SG&A costs for the period increased by 125 basis points, primarily driven by higher incentive costs and store wages. During the third quarter, we repurchased 2.1 million shares of common stock for an aggregate cost of $239 million. We remain on track to buy back a total of $950 million in-stock for the year.
Now let's discuss our fourth quarter guidance. We continue to face macroeconomic volatility, persistent inflation and more recently geopolitical uncertainty. In addition, we are up against our most difficult quarterly sales comparisons versus 2022 in the fourth quarter. As a result and while we hope to do better, we believe it is prudent to maintain a cautious approach in forecasting our business and are reiterating our prior sales guidance for the fourth quarter.
For the 13-weeks ending January 27th, 2024, we continue to plan same-store sales to be up 1% to 2%. Earnings per share for the 14-weeks ending February 3rd, 2024 are projected to be in the range of $1.56 to $1.62 compared to $1.31 in the fourth quarter of 2022. This guidance range includes an approximate $0.02 per share unfavorable impact from the timing of expenses that benefited the third quarter.
Based on our year-to-date results and our fourth quarter forecast, earnings per share for the 53 weeks ending February 3rd, 2024 are now expected to be in the range of $5.30 to $5.36 versus $4.38 last year. Incorporated in this guidance for both the fourth quarter and full-year is an estimated earnings per share benefit of $0.16 from the 53rd week in fiscal 2023. The operating statement assumptions that support our fourth quarter guidance include the following.
Total sales are projected to grow 8% to 10%, including an estimated $260 million benefit from the 53rd week. We expect operating margin to be in the range of 11.3% to 11.5% versus 10.7% last year. This range includes a 65 basis point benefit from the extra week. We are planning for higher merchandise margins given lower ocean freight costs, though moderating from the improvement earlier this year.
In addition, lower domestic freight and distribution costs partially due to favorable packaway timing are expected to benefit margin. Partially offsetting these lower costs is our forecast for higher incentive compensation. Net interest income is estimated to be about $45 million, as we continue to benefit from higher interest rates on our cash balance. Our tax rate is expected to be approximately 23% to 24% and weighted-average diluted shares outstanding are projected to be about $335 million.
Now, I'll turn the call back to Barbara for closing comments.