Michael Mullican
Analyst · JPMorgan
Thanks, Ken. Good morning, everyone. Academy once again delivered solid earnings per share growth on an expected sales decline, demonstrating our earnings potential and our ability to deliver strong results in a challenging environment. In the second quarter, comparable sales declined 6%, an improvement over the first quarter, while earnings per share increased by 12% compared to last year. Net sales were $1.69 billion, a decline of 5.8% compared to the second quarter last year. The sales decline was a result of fewer transactions this quarter compared to the prior year but was partially offset by an increase in average ticket, driven by higher unit prices.
On our last call, we discussed how we are benchmarking performance to 2019, which was our last normalized year prior to the pandemic. In the second quarter, sales increased approximately 36% versus 2019, which was consistent with the 36% growth we reported in the first quarter. In addition, the overall shape of the sales curve mirrored the 2019 trajectory but at elevated volume levels.
Our e-commerce sales increased 12% compared to Q2 2021, making it the fourth consecutive quarter of double-digit sales growth. The penetration rate continues to improve as well, ending at 10% of sales compared to 8.4% in Q2 2021. When compared to Q2 of 2019, our e-commerce business has grown approximately 245% and the penetration rate has increased by 610 basis points.
Omnichannel is an important part of our long-term growth strategy, and we continue to invest in enhancements to academy.com, the mobile app and our store support in omnichannel sales, such as Ship to Store, BOPIS and Ship from Store. These investments will further enhance the customer experience, expand Academy's reach to new customers and drive further operational efficiencies. We also expect academy.com to get a sales lift from an increase in brand awareness as we open more stores in adjacent and new markets.
As Ken mentioned, our new store openings are ramping up. Year-to-date, we have opened 4 of the 9 stores currently planned for 2022. The early success of the new stores demonstrates our confidence that our business model of providing a broad value-based assortment of top national brands and private label products for the whole family resonates with customers. In tough economic times, customers tend to seek out value so we believe we are well positioned to meet that need with our broad selection of good, better, best products at compelling price points.
All of the new stores are expected to meet our general new store operating model, so we anticipate these stores will: first, have a return on invested capital of at least 20%; second, ramp to maturity in 4 to 5 years; and third, be EBITDA accretive after the first full year of being open. During the second quarter, our existing store productivity was once again very strong. Trailing 12-month sales per square foot were $356 and trailing 12-month operating income per store was $3.4 million. As a reminder, 100% of our existing stores are profitable and accretive to earnings, which gives us great confidence in our future growth potential.
Moving to gross margin. Our gross margin dollars were $596 million with a rate of 35.3%, only 60 basis points below last year's 35.9%, which was the highest in the company's history. Through our merchandising efficiencies, we increased our merchandise margins compared to last year. The increase in merchandise margins was offset by an increase in e-commerce shipping and freight costs compared to Q2 2021. This increase was driven by the growth of our e-commerce business and also from higher import costs as private label sales were a higher percentage of our total sales mix.
During the quarter, SG&A expenses were 20.1% of sales, a 160 basis point decrease compared to Q2 2021. The change was primarily a result of lapping the nonrecurring expenses associated with the accelerated share vesting in the second quarter of 2021. Excluding this nonrecurring expense, SG&A expenses increased 70 basis points primarily due to fixed cost deleverage.
Operating income for the quarter was 15.2% of sales or $256.7 million, flat to last year but 43% higher than all of fiscal year 2019. In total, we delivered net income of $189 million for Q2. On an adjusted basis, net income was $195 million, making this quarter the second most profitable quarter in Academy's history. Second quarter GAAP diluted earnings per share were $2.22 per share compared to $1.99 per share in Q2 2021. Adjusted diluted earnings per share were $2.30 compared to $2.34 per share in Q2 of 2021.
Now for an update on our balance sheet and liquidity position. We ended the quarter with $400 million in cash and had no outstanding borrowings on our $1 billion credit facility. During the quarter, we generated $161 million in net cash from operating activities. Given our strong cash generation, we were able to execute on each of our capital priorities by repurchasing 5.6 million shares for approximately $200 million, paying a dividend of $0.075 per share, investing in our strategic growth and performance priorities and maintaining a strong cash balance. In addition, the Board recently declared a dividend of $0.075 per share, payable on October 13, 2022 to stockholders of record as of September 15, 2022.
Regarding inventory, our planning and allocation initiatives have ensured that we are properly stocked with the best value and assortment across all categories for the fall season. Our ending inventory balance was $1.3 billion, a 17% increase compared to the second quarter last year. When compared to Q2 of 2019, inventory dollars were up 8.4% and units declined by 12% on a sales increase of 36%, demonstrating that while sales have increased significantly, we have effectively managed our inventory.
That brings us to guidance. Based on our results and current trends, we are reiterating our full year net and comparable sales guidance while updating our earnings per share forecast to reflect the reduction in our share count. The updated full year guidance is as follows: Net sales are still expected to range from $6.4 billion to $6.6 billion, with comparable sales down 6% to 3%. Our gross margin rate for the full year is still expected to range from 33% to 33.5%. GAAP net income is still expected to range from $550 million to $615 million.
GAAP diluted earnings per share are now expected to range from $6.50 per share to $7.25 per share. Adjusted diluted earnings per share, which excludes certain estimated expenses such as stock compensation and store preopening expenses, are now expected to range from $6.75 per share to $7.50 per share. The earnings per share estimates are calculated based on an updated share count of 85 million diluted weighted average shares outstanding for the full year. The EPS outlook does not include any further repurchasing activity for the year.
With that, I will now turn the call over to Steve for more details around our merchandising and operations performance. Steve?