Julie Whalen
Chief Financial Officer at Expedia Group
Thanks, Peter, and hello, everyone. Our second quarter results with record revenue and EBITDA demonstrate that our strategic initiatives are working and that we have a significant opportunity for long-term growth and profitability. And it is this ongoing strength in the business that enabled us to deliver another quarter of accelerated levels of share repurchases, resulting in approximately $1.2 billion repurchased year-to-date, our largest buyback to date. Before I jump into more of the details, I wanted to remind you that going forward, all financial comparisons will be on a year-over-year basis. It is also important to note that our second quarter 2023 growth rates as compared to 2022 were impacted by FX headwinds of approximately 40 basis points to gross bookings, 170 basis points to revenue and 530 basis points to EBITDA.
We also saw an approximate 80 basis point headwind to the EBITDA margin. Now as far as our performance this quarter, let's begin with our gross booking trends. Total gross bookings of $27.3 billion, were up 5% versus last year and in line with our mid-single-digit top line guide. Growth was driven by lodging gross bookings, which were up 7% and were the highest second quarter on record. The strength continues to be driven by our hotel business, which achieved record gross bookings, primarily from strength in our B2B business, as well as in Brand Expedia, which saw 15% increase year-over-year. This was partially offset by our Vrbo business, which was impacted by the shift in consumer demand toward urban markets and shorter length of stays, as well as the impact from Vrbo's tech platform migration that we mentioned on last quarter's earnings call.
However, given the size and strong growth of our hotel business, we were pleased that we were able to deliver record lodging bookings in total. Moving to the key financial metrics in the P&L, starting with total revenue. Revenue of $3.4 billion, was up 6% versus last year, in line with our mid-single-digit top line guide and was the highest second quarter on record. Revenue growth was primarily driven by the continued strength across our lodging business, which grew 12%. This was partially offset by softness we have been seeing in insurance and car, two categories that have been impacted by some industry-wide changes post pandemic. For insurance, we are seeing lower attach rates as consumers' appetite for insurance normalizes. And for car, we are continuing to see rates decline as supply has increased.
Total revenue margin increased 10 basis points to approximately 12.3% versus last year, primarily due to an increased mix shift to lodging revenue, which has higher revenue margins. Cost of sales was $403 million for the quarter, which is lower than last year by $13 million or 3% with approximately 110 basis points of leverage as a percentage of revenue versus the second quarter of 2022, driven by ongoing efficiencies across our customer support and other operations. Our customer support operations continue to benefit from the various automation initiatives we have implemented over the past couple of years, and we will continue to find more efficiencies in such areas as the cloud and license and maintenance costs when we finalize our migration to one platform and eliminate redundant systems accordingly.
Direct sales and marketing expense in the second quarter was $1.6 billion, which was up 2% versus the second quarter of 2022. The primary driver of this year-over-year increase was related to an increase in commissions in our B2B business to support its strong growth of over 32%. As we've noted in the past, commissions paid to our B2B partners fall into our direct sales and marketing line and overall are more expensive as a percentage of revenue than our B2C business, but as they are generally paid on a state basis and to a contractually agreed-upon percentage, the returns are more guaranteed and immediate. This increase in B2B direct marketing costs was mostly offset by marketing efficiencies in our B2C business this quarter, and resulted in marketing leverage as a percentage of gross bookings as compared to the second quarter of 2022.
These B2C marketing efficiencies resulted from the benefits we are seeing from our continued investments in loyalty and app members, as well as our decision to move some of our planned spend from the second quarter to the third quarter to tie it more closely with One Key launch and to support our accelerated growth in the back half. While marketing will fluctuate quarter-to-quarter, we were pleased to see this marketing leverage. Overhead expenses were $627 million, an increase of $77 million versus last year or 14%. While we remain disciplined on our overall cost structure, as we have said over the past year, we have continued to invest in talent across our product and technology teams to support our strategic initiatives and we're pleased we were able to more readily fill these positions given the surplus of top-tier tech talent in the market.
We also saw higher salary expense associated with our annual compensation increases this year, which went into effect during the second quarter and was the primary driver of the overhead increase from the first quarter. As we finish our technology work in the coming quarters and look to redeploy resources and deprecate systems next year, we expect to realize cost efficiencies going forward. Despite this overhead pressure, we are pleased to see that with another quarter of strong revenue and overall expense discipline, including our decision to shift some marketing spend, we delivered record second quarter EBITDA of $747 million which was up 15% with an EBITDA margin of 22.2%, expanding approximately 190 basis points versus the second quarter of 2022. Our free cash flow remained strong at $3.8 billion year-to-date. The year-over-year decline is primarily associated with changes in working capital from the timing of payments.
Last year, as the business emerged from Omicron, we saw meaningful increases in some of the working capital drivers like payables, which has since normalized this year. We remain pleased with an ongoing robust cash flow levels, and we expect them to remain strong in the year. On the balance sheet, we ended the quarter with strong liquidity of $8.8 billion, driven by our unrestricted cash balance of $6.3 billion and our undrawn revolving line of credit of $2.5 billion, which provides us with ample access to cash to operate the business. From a debt perspective, our debt level remains at approximately $6.3 billion. But with our expanding EBITDA, our gross leverage ratio has come down from the first quarter to 2.6 times.
We have started to make progress towards our target gross leverage ratio of two times and expect to make continued progress in the coming quarters through EBITDA growth and potentially some debt repayment. As far as capital allocation, given our strong free cash flow levels and a stock price that we believe remains undervalued, we have been buying back our stock on an accelerated basis to maximize our return of capital to shareholders. As a result, we bought back approximately $1.2 billion year-to-date or nearly 12 million shares, our largest level of repurchases to date. We continue to believe that our stock price remains undervalued and does not reflect our confidence in the expected long-term performance of the business.
Therefore, considering our ongoing strong liquidity and free cash flow, we expect to continue buying back our stock opportunistically throughout the remainder of 2023. Looking ahead, we are reiterating our full year outlook of double-digit top line growth with margin expansion. As it relates to the third quarter, we expect year-over-year gross bookings growth to accelerate to high-single digits. This acceleration is driven by Brand Expedia and HCOM, partially offset by Vrbo, which continues to face short-term headwinds from its migration. While we expect revenue growth to be lower than gross bookings growth driven by the prior quarter's reduced Vrbo bookings converting to stays and therefore, revenue in the third quarter, which is historically our highest revenue quarter for Vrbo, we expect revenue growth to see modest sequential acceleration.
We expect EBITDA margins to stay relatively in line with last year. While we expect to see continued cost of sales leverage, as previously mentioned, we will be investing in marketing to support the One Key launch and to set us up for a strong back half. Overall, we expect fourth quarter will see a more meaningful acceleration in both top line and bottom line growth as Vrbo finishes its migration, the One Key impact starts to kick in and the growing base of app members drives more production, all of which gives us confidence to reiterate our full year outlook.
In closing, we finished the front half of 2023 on a strong note with record second quarter revenue and EBITDA. We are pleased to see the continued momentum even while we continue to transform the business and navigate associated headwinds. Our accelerating product improvements give us confidence that we are on the right path and that there is a huge opportunity in front of us to drive long-term profitable growth and to maximize shareholder returns.
And with that, I would now like to open the call for questions. Thank you.