Thank you, Julie. Starting with our fourth quarter results, we were pleased to have exceeded our beginning of quarter guidance. We generated earnings from continuing operations per diluted share of $1.86. These results exceeded our guidance of $1.45 to $1.65 per share. This was primarily driven by a better-than-expected margin rate due principally to transportation cost improvement and a favorable inventory position leading to less clearance activity as well as lower SG&A expense compared to our expectations.
Net sales for the quarter were $2.9 billion, a decline of 5% compared to last year, driven by a decrease in both transactions and average dollar sale. Our customer continued to be price sensitive given the macroeconomic pressures. Fourth quarter net sales were up 29% compared to 2019.
In our U.S. and Canadian stores, fourth quarter sales were $2.08 billion, a decrease of 5% versus the prior year. Store sales increased 19% compared to 2019. Fourth quarter direct sales of $716 million decreased 6% compared to last year but increased 66% compared to 2019.
Our customers continue to take advantage of our omni-focused option of buy online-pick up in store or BOPIS, and frequently add to their purchase in store. As a reminder, BOPIS sales are recognized as store sales. We have rolled BOPIS capabilities to over 800 additional stores in 2022, and we currently have BOPIS availability in more than 1,300 stores overall.
For the fourth quarter, international sales were $95 million and grew 30% versus last year. As a reminder, our international operations are primarily conducted through franchise, license and wholesale partners and our recognized sales include royalties and wholesale product sales. Total international system-wide retail sales were approximately $250 million in the fourth quarter and $700 million in the full year of 2022. The gross margin rate for the fourth quarter decreased by 480 basis points to 43%, this was driven by a significant decline in the merchandise margin rate and buying and occupancy expense deleverage due primarily to lower sales and increased labor costs in our distribution and fulfillment network.
The merchandise margin rate decline was primarily driven by increased product costs due to continued inflationary pressure in raw materials, transportation and labor as well as incremental promotions to drive sales. Inflationary pressures totaled approximately $60 million in the fourth quarter.
Our average unit retail or AUR was down low single digits in the quarter and slightly better than expectations and what we experienced in the third quarter. We continue to focus on disciplined expense management, given sales trends and macroeconomic uncertainty. This resulted in better-than-expected SG&A expense for the quarter. Total SG&A deleveraged by 190 basis points, with technology expense accounting for approximately 100 basis points of pressure. As we have previously mentioned, we are making important strategic investments to enable future growth, and this includes investing in technology as part of our IT separation.
Store wage rates also drove an additional 70 basis points of deleverage as we increase customer-facing associates' wages to stay competitive while ensuring that we manage labor hours in line with sales expectations. Taking all of this into consideration, fourth quarter total company operating income was $653 million or 22.6% of net sales.
Turning to the balance sheet. Total inventories ended the quarter flat compared to last year, better than our expectations due to disciplined inventory management. Finished goods retail units were down 5% compared to last year, also better than our expectations. The difference between flat dollars and a unit decrease of 5% is due primarily to inflationary pressures in product cost, which was partially offset by lower component inventory compared to last year. Our inventory is clean, and we are well positioned heading into the new year with agility in our supply chain.
Importantly, our overall real estate portfolio continues to be very healthy. Approximately 99% of our store fleet is profitable, and our stores continue to significantly outperform pre-pandemic levels, led by strength in our non-mall location. In 2022, we permanently closed 48 stores for the full year, principally in malls. We opened 95 new off-mall North American stores in 2022, resulting in net square footage growth of about 5% for the full year. For international, we had record store growth through our partnership model in 2022, ending the year with 427 stores.
Next, before I outline our fiscal '23 guidance, I'll describe our core performance from 2019 to 2022, which we believe will help to better evaluate our progress going forward. I encourage you to review the supplemental slides posted on our Investor Relations website for additional details.
Starting with 2019, baseline Bath & Body Works revenue was $5.4 billion, gross margin was 44% and operating margin was 19.2%. Sales in 2022 were up 40% as compared to 2019 with a balanced contribution from unit and AUR growth. And while we are guiding to lower sales in 2023, we remain confident in achieving our $10 billion sales target. While operating margin has declined 100 basis points compared to 2019, we drove 32% growth in operating income dollars. The decrease in rate was predominantly driven by over 500 basis points of cost inflation, 140 basis points of technology and transition expenses associated with our separation from Victoria's Secret and 70 basis points of pressure from store wages, which was partially offset by leverage on sales growth and AUR increases.
We were able to offset a portion of the inflation pressure with pricing, but as many other retailers saw, the customer became more price sensitive in 2022. This limited our ability to increase AUR. As Gina described, we are focused on developing a more targeted, personalized marketing approach to grow our customer base and drive visits. At the same time, we are working to decrease our reliance on broad promotion which should increase our merchandise margin.
We expect that cost inflation will begin to subside after the first quarter of this year. As for technology expenses, our IT efforts and investments through the end of the summer are focused on completing our separation activities. Beyond separation, we are focused on building new capabilities to drive profitable sales growth. These include advancing our loyalty program, supporting advanced analytics, evolving our marketing strategy and bolstering our omnichannel capabilities. Our model assumes that technology costs will continue at current levels as we roll off separation-related costs, establish our stand-alone capabilities and team, and invest strategically to drive future growth.
As Gina indicated earlier, we are partnering with external advisers to closely evaluate our cost structure and take action to offset what we see as ongoing cost pressures in both gross margin and SG&A as well as to fund our strategic investments. We are early in this process, but we are targeting $200 million of annual cost savings, of which over half is included in our 2023 outlook, primarily impacting the second half of the year. We expect to realize a substantial portion of the remaining benefits in 2024. Our efforts are broad-based, with opportunities in transportation, product margin, store operations, home office expense and indirect spend. We have recently initiated this work and look forward to sharing more with you in upcoming quarters.
As we move past recent and near-term challenges and realize the benefits of our profit optimization initiatives, we are targeting industry-leading operating margins of 20% and with gross margin of approximately 45% and an SG&A rate of approximately 25%.
Turning now to our fiscal '23 financial outlook. Today, we are providing our 2023 outlook with comparison to 2022. Please note that fiscal '23 will include a 53rd week, so the fourth quarter of fiscal 2023 will consist of 14 weeks. Our outlook includes the impact of the 53rd week, which we estimate at $0.07 per diluted share. Our forecast takes into consideration ongoing macroeconomic uncertainty and expected customer sentiment.
For the full year, we are forecasting flat sales to a mid-single-digit sales decline. Our range assumes a continuation of fourth quarter sales trends for the first half of 2023 and a moderate improvement in the back half of the year as we anniversary softening sales trends.
Quickly reading and reacting to changing business trends is part of our DNA. We will leverage our vertically integrated supply chain and our industry-leading agility to chase demand and maximize sales. We will also work to drive growth through our loyalty program as these customers make more visits and have higher spend than other customers. Our current customer segmentation work is also designed to lead to more efficient and effective marketing.
Our international business continues to provide healthy and margin accretive growth to our business, we are forecasting double-digit international net sales growth in 2023. We expect full year gross margin rate to be approximately 42%, we expect inflationary costs will continue in the first quarter and begin to moderate as we move through the year.
We are forecasting AURs roughly flat but we'll continue to test for opportunities to increase AURs and expand margin through more data-driven, targeted marketing efforts. We also expect buying and occupancy expense to deleverage, driven by lower sales and our investments in direct fulfillment capabilities to drive future omnichannel growth, partially offset by the benefits of our profit organization work. Our plan assumes a full year SG&A rate of approximately 26% with deleverage primarily driven by increased store wage rates, technology and -- technology, partially offset by the benefits of our cost optimization work.
We expect full year net nonoperating expense of approximately $320 million, an effective tax rate of approximately 26% and weighted average diluted shares outstanding of approximately 231 million. Considering all of these inputs, we are forecasting full year earnings from continuing operations per diluted share to be between $2.50 and $3.
Turning to capital expenditures. We are planning for approximately $300 million to $350 million in 2023. The majority of our capital is focused on investments to support future growth. We are planning for continued investments in select remodels and new off-mall store opening.
We are also investing in our technology, distribution and logistics capabilities to support growth. Approximately $35 million of planned capital expenditures relate to payments which shifted out of 2022 into 2023. This year, we are planning approximately 115 total real estate projects consisting of approximately 90 new off-mall stores and 25 remodels to the White Barn store design, offset by about 50 mall closures. In all, this yields square footage growth of approximately 4%. We expect to generate free cash flow of $600 million to $700 million in fiscal '23.
I'll now turn to our first quarter '23 outlook. For the first quarter, we are forecasting low to mid-digit sales declines. We expect the first quarter gross margin rate to be approximately 41%. The decline versus last year is principally driven by an expected lower merchandise margin rate and deleverage in buying and occupancy. We are forecasting slight AUR declines adjusted for mix, as we anticipate continued customer price sensitivity. Our forecast includes approximately $20 million of incremental inflationary cost increases in the first quarter related to raw materials, wages and transportation.
Buying and occupancy expenses are also forecasted to deleverage, driven by the sales decline and our new direct-to-consumer fulfillment center as it ramps up operations in the first and second quarter. We expect our first quarter SG&A rate to be approximately 30% of sales, with the rate increase driven largely by investments in technology and increased store associate wages. We expect first quarter net nonoperating expense of approximately $80 million, a tax rate of approximately 27% and weighted average diluted shares outstanding of approximately 230 million.
Considering all of these outputs, we are forecasting first quarter earnings from continuing operations per diluted share of $0.17 to $0.27. Our forecast for the first quarter assumes a continuation of current softer demand trends and elevated inflation and wage pressures. However, this is not reflective of our expectations for the full fiscal year because we anticipate that certain headwinds such as inflation and wage pressures will moderate in the second half.
Turning to inventory. We have entered 2023, as I said, with a very clean inventory position. We expect to end the first quarter with a slight decrease in both inventory dollars and units compared to the first quarter of 2022. With regard to capital allocation, we are committed to taking a balanced and disciplined approach. Our first priority is investing in the business to drive profitable growth by significantly improving the customer experience, supporting advancement in existing and new product categories, investing in new off-mall stores and remodels, improving our fulfillment capabilities, completing our IT separation and standing up critical new technology capabilities.
We are also committed to returning cash to our shareholders. We plan to continue paying an annual dividend of $0.80 per share with an intention to increase the dividend over time as earnings increase.
Turning to capital structure. We are ending the year with a gross adjusted debt-to-EBITDA leverage ratio of 3.1x, above our target of approximately 2.5x. On a net basis, our leverage ratio is 2.4x. Although we are above our target, we remain confident we will return to our target range over time. We have no debt maturities until 2025 and a total of approximately $600 million coming due over the next 4 years. By comparison, in 2022, we generated over $600 million of free cash flow after our regular dividend.
We estimate that we are starting the year with $700 million more cash than we need to fund our forecasted working capital needs for the year. We will evaluate the best use of our cash as we go through the year and we gain better visibility into macroeconomic trends. We are considering options such as debt repayment and share repurchases.
In planning for the year, we believe that it is prudent to acknowledge the macroeconomic pressures continuing to impact our customers and their spending habits as well as the current trends of the business. We are striving to exceed our forecast, leveraging our agile vertically integrated supply chain to chase demand and building capabilities to drive profitable sales growth in the future.
And as Gina and I mentioned earlier, we are working with external advisers on a comprehensive review of opportunities to support our profit expansion. Taking a refreshed view of our core business will enable us to move forward confidently in pursuing growth opportunities.
That concludes our prepared comments. I will turn it over to Heather.