Arrow Electronics - Q2 2024
August 1, 2024
Transcript
Operator (participant)
Good day, and welcome to the Arrow Electronics second quarter 2024 earnings call. Today's conference is being recorded. After the speaker's remarks, there will be a question-and-answer session. If you would like to ask a question during this time, simply press star followed by the number 1 on your telephone keypad. If you'd like to withdraw your question, again, press star one. At this time, I would like to turn the conference over to Brad Windbigler, Arrow's Treasurer and Vice President of Investor Relations. Please go ahead.
Brad Windbigler (VP of Investor Relations)
Thank you, Operator. I'd like to welcome everyone to the Arrow Electronics second quarter 2024 earnings conference call. Joining me on the call today is our President and Chief Executive Officer, Sean Kerins, our Chief Financial Officer, Raj Agrawal, our President of Global Components, Rick Marano, and our President of Global Enterprise Computing Solutions, Eric Nowak. During this call, we'll make forward-looking statements, including statements about our business outlook, strategies, and future financial results, which are based on our predictions and expectations as of today. Our actual results could differ materially due to a number of risks and uncertainties, including the risk factors described in our most recent filings with the SEC. We undertake no obligation to update publicly or revise any of the forward-looking statements as a result of new information or future events.
As a reminder, some of the figures we will discuss on today's call are non-GAAP measures, which are not intended to be a substitute for our GAAP results. We've reconciled these non-GAAP measures to the most directly comparable GAAP financial measures in this quarter's associated earnings release or Form 10-Q. You can access our earnings release at investor.arrow.com, along with a replay of this call. We've also posted a slide presentation to accompany our prepared remarks and encourage you to reference these slides during the webcast. Following our prepared remarks today, Sean and Raj will be available to take your questions. I'll now hand the call over to our President and CEO, Sean Kerins.
Sean Kerins (CEO)
Thanks, Brad, and thank you all for joining us. Today, I'd like to discuss our second quarter results, provide some commentary on the markets in which we compete, and then close with some thoughts as to how we're lining up for the future. I'll then turn things over to Raj for more detail on our financials, as well as our outlook for the third quarter. In the second quarter, we once again executed well in an evolving market environment as we continued to navigate the later innings of a prolonged inventory correction throughout the electronic supply chain in a very mixed spending environment in enterprise IT. I'm pleased to announce that we delivered total revenue of $6.9 billion and generated non-GAAP earnings per share of $2.78. Both numbers exceeded the high end of our guidance.
Taking a closer look at our global components segment, we delivered solid financial results nicely ahead of our original expectations. Broadly speaking, we're seeing signs of incremental improvement across several of the market segments in which we compete, leading to relative stability as we look to the future. Although conditions have not fully normalized and the broader industrial markets remain soft, our bookings improved sequentially, and the overall tone from suppliers and customers throughout the market has generally improved since our time together last quarter. Our focus on value-added offerings, including supply chain management, design, engineering, and integration services, along with demand creation, continued to foster deeper engagement with suppliers and customers. These capabilities continued to contribute to our structural margin health.
In fact, although impacted by regional mix, our second quarter operating margin of 4.3% was well above levels experienced at the low point of previous cyclical corrections. From a regional perspective, we experienced modestly improving conditions with mixed geographic trends. In Asia, revenue grew sequentially in both our semiconductor and IP&E product lines, led by mild improvement in both the industrial and compute verticals. We were specifically encouraged by sequential growth in China and fairly stable transactional pricing across the region. In the Americas, while the region declined slightly, aerospace and defense remained healthy, and in addition, we saw sequential sales growth in IP&E, along with growth in design wins overall. And in EMEA, the broader industrial and transportation markets remained in decline, although it's worth noting, as is typical across most cycles, that Europe was the last region to enter correction territory.
As we navigate the late stages of this cycle, several of the leading indicators we highlighted last quarter continued to reflect progress. Our book-to-bill ratios advanced across all three regions, progressing closer to parity. Backlog in our core regional businesses has stabilized, and cancellation activity has fully normalized. As mentioned, bookings accelerated across all regions, which we believe indicates a further step down in ecosystem inventory levels, as well as improved visibility to forward-looking production requirements. As for our own working capital, we again reduced inventory, reflecting market conditions, but at a reduced rate versus prior quarters as we look to position the business for future growth. We believe these signals point to an eventual return to growth, and as the cycle fully corrects, we remain focused on diligently managing our cost structure and working capital while remaining invested in our strategic priorities.
Our Q3 outlook reflects our view that conditions are generally beginning to level out, albeit with regional differences at play. As we progress through the third quarter, we're expecting more typical seasonality in the Americas and Asia, while still declining in Europe, but less so than in the second quarter. We do expect operating margins to be relatively stable in Q3. Now, turning to our global ECS business. In the second quarter, we exceeded our original expectations for both sales and operating income, while delivering year-over-year billings growth. Globally speaking, cloud and AI-related solutions, along with better server demand, contributed to our results while also adding to our future backlog. On a regional basis, in EMEA, we achieved year-over-year billings and gross profit dollar growth based on continued strength in hybrid cloud adoption.
During the quarter, we also expanded our line card to enhance our offerings for our channel partners. In North America, relative strength in the public sector and for cloud-related solutions was partially offset by softness in data storage. We continue to reshape our go-to-market model in this region to one that better approximates our selling motion in EMEA. In general, as we continue to capitalize on the market's transition to IT as a service, we are growing our mix of multiyear subscriptions and recurring revenue streams. This is leading to a growing backlog, stickier relationships, and accretive contribution margins. Our Q3 outlook indicates typical seasonal patterns in our ECS business as we anticipate a modest sequential decline, and we do believe market conditions will continue to improve throughout the balance of the year.
In closing, given the market backdrop, I'm pleased with our solid second quarter performance, and I'm confident in our future. As I mentioned, we're seeing mild improvement across several market segments, and so we do expect stronger performance in the second half of the year, reflecting both improving stability in components and a benefit from ECS seasonality later in the year. As I look beyond the next couple of quarters, I think we're well positioned for the next growth cycle and well equipped to shepherd the next generation of technology, specifically artificial intelligence, to the broader market. Although still in the earlier phases of broad industry adoption, we're building upon our capabilities for the future with some notable areas of focus, including our supply chain services offering, where we enable cloud and platform players to deploy and scale their next generation AI infrastructure.
Given our substantial field application engineering and embedded integration offerings, we're well suited to help design and deploy AI-related solutions at the intelligent edge. And through investments like our Robotics Center of Excellence, we're actively engaged in solution design from the GPU to the image center for a variety of industries, applications, and use cases. We're obviously excited by these and other longer-term prospects, and in the meantime, we're cautiously optimistic that we're approaching a turning point in our core markets. Before I turn things over to Raj, I'd like to acknowledge the resilience of the Arrow team across the globe and thank them for their ongoing dedication to our suppliers and customers. And with that, over to Raj.
Raj Agrawal (CFO)
Thanks, Sean. Consolidated sales for the second quarter were $6.9 billion, above the high end of our guidance range and down 19% versus prior year. Global component sales were $5 billion, down 3% versus prior quarter, better than we had expected. Enterprise Computing Solutions sales were $1.9 billion, or 2% higher versus prior year, due to favorable product mix. Moving to other financial metrics for the quarter. Second quarter consolidated gross margin, about 12.3%, was down approximately 20 basis points, both sequentially and versus prior year, driven primarily by the overall mix of business within our two segments.
Non-GAAP operating expenses declined $31 million sequentially to $586 million and included a $20 million benefit in our ECS business for a positive recovery of a previously recognized bad debt charge related to one customer. Beyond the effect of the collections recovery, our core operating expenses declined quarter-over-quarter, resulting from our continuing efforts to optimize our cost structure. We expect to see further benefits and reduced expenses the rest of this year. In the second quarter, we generated non-GAAP operating income of $262 million, which was 3.8% of sales, with Global Components operating margin at 4.3% and Enterprise Computing Solutions at 5.6%, both on a non-GAAP basis.
The impact of the ECS collections recovery was 110 basis points within the ECS segment and 30 basis points on consolidated Arrow operating margin. Interest and other expense was $67 million in the second quarter as we benefited from lower working capital levels. Our non-GAAP effective tax rate was 22.4%, which benefited from favorable geographic income mix. Finally, non-GAAP diluted EPS for the second quarter was $2.78, which was substantially higher than our guided range, benefiting from better-than-expected revenue performance and a 29-cent contribution from the previously mentioned ECS recovery and expense reductions. Moving over to working capital. We reduced net working capital in the second quarter by approximately $150 million compared to Q1, ending the quarter at $6.8 billion.
This is the fourth consecutive quarter of lower net working capital. Accounts receivable and accounts payable both decreased in the second quarter and were nearly offsetting. Inventory at the end of the second quarter was $4.7 billion, decreasing approximately $140 million from Q1. Over the last 9 months, we have reduced our inventory levels by $1.2 billion, yet we remain focused on investing for future growth and expansion. Our cash conversion cycle finished the quarter at 79 days. Our cash flow from operations was $320 million in the second quarter, and over the last 12 months, we have generated over $1.3 billion of operating cash flow. Net debt at the end of the second quarter was lower compared to Q1 at $3.1 billion.
We repurchased $50 million of shares in the second quarter, and our remaining repurchase authorization stands at approximately $425 million. In the last 12 months, we have repurchased nearly $400 million of stock. In the near term, we will continue to balance capital return priorities with managing our debt ratios. Now, turning to Q3 guidance. We expect sales for the third quarter to be between $6.37 billion and $6.97 billion. We expect global component sales to be between $4.7 billion and $5.1 billion, which at the midpoint is down approximately 3% from prior quarter. We expect enterprise computing solutions sales to be between $1.67 billion and $1.87 billion, which is unchanged at the midpoint year-on-year.
We're assuming a tax rate in the range of approximately 23%-25% and interest expense of approximately $70 million. Our non-GAAP diluted earnings per share is expected to be between $2.10 and $2.30. Finally, we estimate changes in foreign currencies to have an immaterial effect on our Q3 guide. The details of foreign currency impact can be found in our press release. With that, Sean and I are now ready to take your questions. Operator, please open the line.
Operator (participant)
At this time, I'd like to remind everybody that in order to ask a question, please press star followed by the number one on your telephone keypad. We'll pause for just a moment to compile the Q&A roster. Our first question comes from the line of Melissa Fairbanks with Raymond James. Your line is open.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Hey, guys. Thanks very much. Great quarter, obviously. Good to see that things are starting to stabilize. That's what we always want to hear from you guys. I had a quick question about the comment that you're anticipating a stronger second half. I'm wondering if that means that you're expecting revenue growth in back half over front half? I know you don't typically guide beyond one quarter, but just looking for some clarification there.
Sean Kerins (CEO)
Thanks, Melissa. Good morning. Sure thing.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Good morning.
Sean Kerins (CEO)
Yeah. In general, in general, we are expecting a better second half than first half. I think that's a function of two things. We do see, you know, things continuing to improve in our components business across the second half. But even more importantly, we're gonna see a benefit from, you know, typical ECS seasonality later in the year. But all of that should add up to more revenue in 2H than 1H, for sure.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Excellent. Love to hear that. Maybe just one quick follow-up then. The commentary regarding the inventory of investing ahead of future growth, I was just wondering if there were any specific areas that you're targeting within, with these investments. I assume IP&E might be one of those areas, but if you can give any additional color?
Sean Kerins (CEO)
Yeah, I think you nailed it, Melissa. IP&E, as you know, is one of our strategic growth priorities inside components, and so we are looking at that inventory model a little bit differently than semi for the future. But otherwise, we're managing working capital carefully. I could also tell you that units came down in the quarter, but less so than from Q4 to Q1.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Okay.
Sean Kerins (CEO)
We're partly preparing for a better future, but also still, you know, being careful as we do so.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Perfect. That's all for me for now. I'll get back in the queue. Thanks.
Raj Agrawal (CFO)
Thanks, Melissa.
Sean Kerins (CEO)
Thank you.
Operator (participant)
Our next comes from the line of Matt Sheerin with Stifel. Your line is open.
Matthew Sheerin (Managing Director and Senior Equity Research Analyst)
Yes, thank you, and thanks for taking my question. Just to follow up regarding the revenue in the back half, specifically on components, you're guiding Q3 down sequentially. And my thought is that Q4 should also be flat to down, given seasonality in Europe and North America, unless there's a very big uptick in Asia. So, how should we think about that? It looks like the second half should be down relative to the first half, with the bookings improving.
Sean Kerins (CEO)
So Matt, you know, part of that is why we only go, excuse me, guide one quarter at a time. So a little too early for us to guide Q4, but I would say all the, you know, all the key indicators that we track, are showing progress, and so we're feeling better about, you know, the near term. Doesn't guarantee that we see sequential, growth in Q4, but I would say we're more optimistic that we will now, than we would have been 90 days ago, based on what we see happening in the market. Remember, just to reinforce, you know, we are seeing modest recovery in Asia and North America. So, you know, implied in our outlook is, you know, a return to more normal seasonality for both.
You know, we know that the correction is still playing out to some degree in Europe, but that's normal. You have seen a number of suppliers in our universe guide for sequential improvement, and, you know, we think that's ultimately a good sign, as we typically follow our suppliers out of a correction. So, we'll guide Q4 the next time we talk, but, you know, we're feeling like we should see, you know, steady improvement across the second half in that business.
Raj Agrawal (CFO)
I would also say, Matt, that, you know, if you think about what happened in the first half of the year, we had components declining at 8% in the first quarter and then down 3% in the second quarter. So that's also part of the commentary that we'll see likely better trends in the second half versus the first half.
Matthew Sheerin (Managing Director and Senior Equity Research Analyst)
Got it. And could you just remind me the seasonality in North America, in Q3? Is it typically what, flat to down slightly, or flat to up slightly? Is that about right?
Sean Kerins (CEO)
Yeah, it's typically flat to up slightly. We're right there, you know, with our outlook, you know, given our own internal forecast.
Matthew Sheerin (Managing Director and Senior Equity Research Analyst)
Okay, that's helpful. And then, regarding the margins or implied margin based on the EPS guide, it looks like your gross margin will be down sequentially. I don't know, call it 12% or so. Correct me if I'm wrong there. And it looks like that's just a function of mix with Asia components up and Europe down again, or is there anything else going on there?
Sean Kerins (CEO)
No, in fact, as you know, Matt, we typically don't guide for gross margins. But if you look at the, you know, the EPS decline quarter-over-quarter, it's really just a function of volume decline overall. You know, one part in components, as you just mentioned, and then one part, you know, simply a function of typical seasonality in our ECS business. And we're actually offsetting both of those by a little bit with, you know, the benefit of our OpEx actions, showing up in the P&L. So mix is a factor in the components business, and I would say it's regional mix, more than anything else, but as we talked about in our prepared remarks, we do expect operating margins to be fairly stable, in that business in the third quarter.
Matthew Sheerin (Managing Director and Senior Equity Research Analyst)
And you expect OpEx to be down sequentially on a dollar basis?
Sean Kerins (CEO)
Yes, we do. Yes, we do.
Matthew Sheerin (Managing Director and Senior Equity Research Analyst)
Okay, great. All right, thanks. Thanks a lot.
Operator (participant)
Our next question comes from the line of William Stein with Truist Securities. Your line is open.
William Stein (Managing Director and Senior Equity Research Analyst)
Great. Thanks for taking my question. Before I start, I want to offer-
Sean Kerins (CEO)
You're welcome.
William Stein (Managing Director and Senior Equity Research Analyst)
Congratulations. You guys did a great job in the quarter. I
Sean Kerins (CEO)
Thank you.
William Stein (Managing Director and Senior Equity Research Analyst)
Yeah.
Sean Kerins (CEO)
Thanks, Will.
William Stein (Managing Director and Senior Equity Research Analyst)
Of course. I'd like to ask about the geo mix first. Most of the semi companies I cover have talked about a pretty sharp inflection in China. I forget how much of your Asia revenue is there, but I suspect it's a significant amount in the components business specifically. I think in your prepared remarks, you talked about this showing some signs of recovery, but hopefully you can talk a little bit about that, what's causing it, whether you're seeing it to the same sharp degree as your suppliers, or if it's more moderate or delayed. Thanks.
Sean Kerins (CEO)
Yeah, I would say it's certainly not V-shaped, Will, but you're correct. We did see sequential growth in Asia and specifically in China, which is a big piece of our Asia business, in the second quarter. That's obviously a good sign compared to prior trends. Most of that came from an uptick in industrial, and to some degree, compute, for us, which is great, but we still saw a softness in a number of other verticals. But this outlook, as I said before, does call for more typical seasonality, so we're gonna take this one quarter at a time. I think it's too early to call for a broader recovery. Remember, we play in some of the more mature pieces of the industry, given our focus on the broader industrial market.
So, you know, consistent with what's playing out in other parts of the world, I think that's closer to an L than a V, but we're clearly encouraged by what we're seeing. We were certainly encouraged by the, you know, the increase in bookings overall in that region as well. And I think, you know, steady as she goes at this point.
William Stein (Managing Director and Senior Equity Research Analyst)
The other question is, you know, as strong as the Q2 results were, you're guiding, you know, fairly significantly below consensus for the out quarter. And it, it's just a little bit surprising to me that when you're talking about problems becoming less bad and you're beating the quarter, I wonder the degree to which the outlook just has maybe a higher dose of conservatism, or are you seeing something pause in terms of what was maybe initial stages of recovery in Q2? Are you seeing anything pause on that trail as we progress into Q3, or how should we think about that?
Sean Kerins (CEO)
You know, I don't think we're taking a different posture relative to this guide, you know, than we take in any other prior quarter guide. As you know, there's always a certain element of this industry that's gonna be a little bit unpredictable. We think we're calling this one fairly accurately, just as we did last quarter. We were pleased by the uptick. I'd like to say that, you know, we could count on the uptick more sharply going forward, but I think, you know, the reason you're not seeing a sharper recovery is really a function of the softness that we still see in the broader industrial and transportation markets. You know, remember, together, they're a pretty significant piece of our mix. And I think there's two things going on there, Will.
I think, you know, one of them is macro in nature, which we can't control, and the other is related to, you know, elevated inventory levels. That one, obviously, we have better line of sight to, and we think for the most part, that situation continues to improve, and we do see that resolving itself, very likely by the end of the year, but probably not a whole lot sooner.
William Stein (Managing Director and Senior Equity Research Analyst)
Cool. Thank you.
Sean Kerins (CEO)
Mm-hmm. Thanks, Will.
Operator (participant)
... Your next question comes from the line of Joe Quattrocchi with Wells Fargo. Your line is open.
Joe Quatrochi (Senior Equity Research Analyst)
Yeah, thanks for taking my question. I'm curious as, as you think about, you know, your, your inventory levels for the component side as we go forward, it seems like they kind of maybe at a better, more normalized, absolute level. But how do you think about the mix as you think about, you know, having to need to invest in, in some parts of the inventory, as demand starts to improve when we look into next year?
Sean Kerins (CEO)
Maybe if I understand your question correctly, it's more about are we confident in the mix of the inventory that we're carrying or planning to carry? Just wanna make sure we understand, you know, what you're after here.
Joe Quatrochi (Senior Equity Research Analyst)
Exactly. And are there areas where you know, there's still some inventory reductions to go that maybe demand's not gonna snap back as fast, or, you know, areas where you need to invest more, looking into next year as we see industrial and transportation kind of, you know, maybe improve?
Sean Kerins (CEO)
Sure. Well, as I said before, you know, we are managing, you know, inventory carefully. You know, we are taking a, you know, 90-day view, one quarter at a time, if you will. We do anticipate that things are getting better here, in the near term. I'd say we're, you know, we're now bouncing along the bottom. As I said, it's hard to predict when things, you know, tick up more significantly given some of the macro. But, you know, we feel, in general, comfortable with our inventory mix. We talked about, you know, the lean in on IP&E because of, you know, our interest in that market, and our continued exposure to it.
Remember that the majority of our inventory is what we would call proprietary in nature, highly engineered, you know, which supports our design in and demand creation efforts across the globe. We certainly haven't changed that. But, you know, to give you kind of an absolute feel for where we think we are, you saw turns improve slightly, quarter to quarter. You know, we'd say we're within a half a turn or less, where we wanna be with inventory overall, as we manage this thing going forward. And, you know, as and when we see sequential improvement in the business, you know, we'll maintain, you know, those turn levels, and I think we'll be in great shape, you know, going forward.
Again, we still have the residual of some excess inventory, you know, mainly a function of some of the long-term supply agreements that we were engaged in, but that's abating, and we think the lion's share of that will resolve itself by the end of the year. And, you know, we would see inventory and inventory turns as fairly stable from there. But, you know, we're not bashful. We're gonna lean in as we see the market firming because we wanna make sure that we can help our suppliers grow.
Joe Quatrochi (Senior Equity Research Analyst)
Thanks for that. That's helpful. As a follow-up, you know, you talked about the demand you're seeing from cloud and AI solutions. Wondering if you could just kind of double-click on that? Like, what are these solutions that you guys are providing? Are you racking and stacking, like, full, you know, GPU server solutions? And then how do we think about, like, the margin on that business relative to, I think, a bit of a focus on driving, you know, higher margin dollars on the ECS business?
Sean Kerins (CEO)
Yeah. So we don't, we don't break out margins at that granular level. But what I can say is we're, we're participating in the you know, the, the early days of the ramp of AI in both of our segments. In our components business, our supply chain management offering, you know, is directly engaged in helping, you know, the right companies, you know, source, stage, and build, you know, their AI infrastructure. And in our ECS segment, you know, we're very involved, you know, as a function of our focus on, you know, cloud and as-a-service offerings and things that we can enable through our digital platform. We're very engaged in helping the channel, you know, ramp up on things like Copilot, for example.
And, you know, that activity level has really taken off nicely for us, and we expect that to continue. So there's other pockets of the company in which we're now engaged in, you know, AI adoption as well, but those are two of the better examples, and I think there's more to come as this thing plays out.
Joe Quatrochi (Senior Equity Research Analyst)
Got it. Thank you.
Sean Kerins (CEO)
Thanks, Joe.
Operator (participant)
Your next question comes from the line of Ruplu Bhattacharya with Bank of America. Your line is open.
Ruplu Bhattacharya (Ruple Bhattacharya with Bank of America.)
Hi, thanks for taking my questions. Maybe, Sean, I'll follow up on the AI question, just asking you for a little bit more detail. What do you think is the revenue contribution in 2024 from AI, or what was the revenue contribution in this quarter? And if you can tell us, like, what type of customers are buying AI equipment? Are you seeing demand from hyperscalers, or do you think enterprise AI demand is also picking up?
Sean Kerins (CEO)
So I'll start with your first question. You know, you heard us talk about some of the focal points for us in our prepared remarks. You know, what I would say about each of those is, you know, they're all real and tangible. Our intention today was simply to, you know, indicate our relevance in this part of the technology, you know, market as this piece of the industry starts to ramp up and evolve more completely. It's a little too early for us to quantify, you know, these in great detail, but they are real, and we do believe they'll become, you know, more important to our future trajectory. You know, the way we're thinking about AI is really on two fronts.
Internally, you know, we're getting after it because we think, you know, it can help us a great deal with our transactional workload, you know, which can only help to create more sales capacity for our growth priorities. But at the same time, commercially, I think you're gonna see whole ecosystems emerge around AI technologies and their applications. You could think of it as a rising tide that's gonna lift many boats, and we're gonna wanna be front and center in enabling those ecosystems to develop, and get their offerings to market. But I would say, you know, we're still in the early phases of broader AI adoption. We, again, wanna signal our belief that, you know, we are relevant in it, and will be more relevant in it in the future.
But this will be a long journey, and nevertheless, a pretty compelling one.
Ruplu Bhattacharya (Ruple Bhattacharya with Bank of America.)
Okay, thanks for that. Raj, I have a couple of questions for you. Just on ECS margins, you had good sequential growth of 140 basis points. Can you help us, like, what were the drivers for that sequential growth? Like, how much was impacted because of netted down items versus product mix, or regional mix? And as we think about sequential decline of margins going from 2Q to 3Q, if you can help us understand that, what are some of the drivers for margins in the third quarter on the ECS side?
Raj Agrawal (CFO)
Yeah, Ruplu, it's really just a function of the business mix. You know, billings is the best indicator of health of that overall business, and then depending on the overall mix of products that we're selling, it will net down to certain levels of revenue. But yeah, it did uptick in the second quarter. In the third quarter, we're seeing more of the normal seasonality of that business, and that's why you're seeing it step down. So nothing unusual there, you know, just from a margin standpoint. And it really is just a function of what types of sales we have in the particular quarter that impact margins on a sales basis.
Ruplu Bhattacharya (Ruple Bhattacharya with Bank of America.)
Okay, understood. Maybe for the last one from me, when I think about free cash flow, I mean, it looks like you had pretty strong free cash flow versus the year ago quarter. I know you don't guide to free cash flow, but maybe I can ask the question in terms of investments in inventory. I think in response to a question, you said that you're gonna invest in IP&E. So how should we think about inventory? What is a normal level of inventory or a normal level of cash conversion cycle? And how should we think about, you know, the second half free cash flow or the second half inventory trend as we go forward? Thank you.
Raj Agrawal (CFO)
Yeah. Ruplu, it really comes down to our cash gen, and which we're very pleased with. You know, you saw in the second quarter, we generated about $320 million of operating cash flow. That puts us at about $720 million year to date, and as I mentioned, $1.3 billion over the last twelve months. Our business just naturally generates cash. Obviously, working capital investments will impact that. And as we mentioned, also, you know, inventory's come down by about $1.2 billion in the last nine months or so. So we think we're at a good level of inventory. We'll keep investing wherever it's needed.
IP&E is certainly one of the areas, and, you know, but we feel very good about the cash gen ability of this business.
Ruplu Bhattacharya (Ruple Bhattacharya with Bank of America.)
Okay. Thank you for all the details. Appreciate it.
Raj Agrawal (CFO)
Thanks, Ruple.
Operator (participant)
Our next question comes from the line of Melissa Fairbanks with Raymond James. Your line is open.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Hey, guys. Thanks for letting me squeeze in a follow-up. I just had kind of a quick follow-up to Ruple's question, for Raj. Maybe, you know, building on the question about free cash flow and how much cash you're generating, can you remind us what your priorities for cash use are, beyond, obviously, investing in the business and investing in some of that inventory? Share count has come down very significantly over the past couple of years, and, you know, the debt came down pretty nicely in 2Q. Just wondering what you're thinking of going forward from there. Thanks.
Raj Agrawal (CFO)
Yeah. Thanks, Melissa. You kind of summarized it for me, but let me summarize it again.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Okay.
Raj Agrawal (CFO)
You know, we're very pleased with the cash flow, and you know, in order of priority, which really have not changed, we will continue to invest in our business organically for organic growth, so working capital, CapEx, other needs like that. You know, we'll look at M&A as well. It's got to be at the right price, at the right returns, and we've, you know, we did a small acquisition in the first quarter in the engineering services side. And then, as you said, you know, we've bought back a lot of stock over the last two or three years. Last year, it was about $750 million.
In the first half of this year, we're a little bit lighter at $150 million, just to manage our debt ratios, and we have paid down some debt. So that's exactly what we're doing, and I wouldn't see those priorities changing as we go forward.
Sean Kerins (CEO)
Yeah, Melissa, I would just reinforce, you know, our capital allocation priorities have not changed at all, as Raj just outlined. And I would say, all else being equal, you know, we're simply managing the balance of the trade-off between, you know, share repurchase and debt capacity. But, again, all else being equal, we're certainly still intent on doing so.
Melissa Fairbanks (Vice President and Equity Research Analyst)
Great. Thanks very much, guys.
Raj Agrawal (CFO)
Thanks, Melissa.
Sean Kerins (CEO)
Thanks, Melissa.
Operator (participant)
There are no further questions at this time. I will hand things over to Brad Windbigler to close it out.
Brad Windbigler (VP of Investor Relations)
Thank you all again for joining today's call. We look forward to meeting with you at upcoming investor events. Have a good day.