Mike Mathias
Analyst · Matthew Boss with JPMorgan
Thanks, Michael. Good morning, everyone. In the third quarter, we built on strong momentum from the first half of the year, posting yet another record revenue and profit results. Even with the global operating environment still in flux, our teams executed with precision, guided by the initiatives we outlined in our Real Power. Real Growth value creation plan back in January.
We continue to place strong emphasis on product innovation that strengthens customer affinity for our brands, inventory discipline and focus and real estate optimization and supply chain investments that build on our leading omnichannel capabilities. Together, these initiatives are fueling our performance and improving our gross margin for the long term. Revenue of $1.27 billion, operating income of $210 million and adjusted EPS of $0.76 marked third quarter records for the company. Gross margin of 44.3% and operating margin of 16.5% hit their strongest levels since 2007. Growth across the business was also exceptional compared to the pre-pandemic 2019 period.
Consolidated third quarter net revenue increased $242 million or 24% versus third quarter 2020 and is up $208 million or [ 19% ] from 2019. Across brands, sales metrics were very favorable, strong demand, higher full price sales and fewer promotions drove the average unit retail up 15% and fueled a high single-digit increase in our average transaction value.
As Michael noted, our selling strategy as an omnichannel retailer continues to be a competitive advantage fueling growth across channels. We offer customers the convenience they seek on where and how to shop and continue to work to optimize the costs associated with that convenience. From a brand standpoint, Aerie continued its industry-leading multiyear growth trajectory. Revenue rose 28% from third quarter 2020 and over [ 78% ] from third quarter 2019. Aerie's operating profit rose 46% and the operating margin expanded to 16.5%, marking a new third quarter high.
Incremental freight costs were $5 million or a 170 basis point headwind to brand operating margins in the quarter. Additionally, uneven flow of goods, particularly in our signature leggings business put pressure on volumes as well as product mix as this is one of our highest margin categories. Despite these headwinds, Aerie posted a significant improvement in profitability compared to prior years, almost tripling versus third quarter 2019.
Moving to American Eagle's brand performance. I could not be more pleased with our results here. The third quarter saw a significant profit on [ LockIt AE ] as top line grew 21% and operating profit jumped 68%. Operating margins hit a remarkable 27.8%. As Jen mentioned, with improvements across key categories, the top line grew 8% against 2019. We are seeing far better profitability even beyond our expectations. Strong demand for our products is being met with healthier decision-making across all areas of the business, and we are truly benefiting from the inventory optimization work unveiled in January. With significant progress here, we still see room for further unlock moving forward.
Total company consolidated gross profit dollars were up 36% compared to the third quarter of 2020, reflecting a 44.3% gross margin rate. A strong top line allowed us to realize expense leverage and rent as we benefited from lease negotiations. And as Michael indicated, if efficiencies in our distribution network, fuel leverage and delivery. Merchandise margins also expanded due to our focus on inventory optimization, promotional discipline and higher full price selling, partially offset by higher freight costs.
As a result of strong sales, we saw SG&A leverage 190 basis points. The dollar increase of $41 million was due primarily to higher store payroll, especially as we lapped capacity constraints last year as well as new store openings and increased advertising. This was partially offset by lower incentive compensation due to accruals earlier in the year.
Record operating income of $210 million reflected a 16.5% operating margin, our highest third quarter rate since 2007. Adjusted EPS was $0.76 per share, marking a record third quarter. Our diluted share count was 205 million and included 34 million shares of unrealized dilution associated with our convertible notes.
Ending inventory was up 32% compared to a 13% decline last year. The increased freight costs had about a 10-point impact on ending inventory at cost. We're really happy with our inventory position. I'd like to take a minute to recognize the hard work our teams put in to get our product here on time to support strong demand this holiday season.
Our balance sheet remains healthy, and we ended the quarter with $741 million in cash, up from $692 million in third quarter 2020. Capital expenditure totaled $58 million in the quarter and #144 million year-to-date. For 2021 we continued to expect capital expenditures to come in on a low end of out $250 million to $275 million guidance range, reflecting cost savings and project timing.
With regards to our real estate strategy, we have significant flexibility in managing our store fleet to support our revenue and profit goals. As we work towards our long-term target of rightsizing AE store footprint, we are dealing with a sharp eye on maximizing profitability. For Aerie, we are focused on markets with the greatest opportunity. Due to backlogs and building materials and fixtures, several of our third quarter store openings shifted into the fourth quarter, we expect the majority of these stores open by the end of the year.
We're very excited about our recently announced acquisition of Quiet. This will improve our ability to service both channels and lock in the cost benefits and overall gross margin efficiencies we've consistently seen over the past last year.
To wrap up, our performance year-to-date has been truly phenomenal and even more so in the context of challenges and uncertainties in our external environment. We're extremely pleased with our record results year-to-date and continued progress on our strategic initiatives. Sales trends remain strong heading into the key Black Friday and Cyber Week period. We have met our goal to ensure our customers do not feel any impact from supply chain disruptions and we're well positioned to meet holiday demand. However, that has come with additional freight costs in the range of $70 million to $80 million, which will impact the fourth quarter.
Of course, we expect to nicely exceed $600 million of operating income for the year, well above the $550 million 2023 target. We will be updating our longer-term financial targets at ICR this January. Our results year-to-date continue to reaffirm that the Real Power. Real Growth value creation plan is working, and that we're focusing on the right levers to drive financial success and returns to our shareholders.
With that, I'll open it up for questions.