Kevin J. Mitchell
Executive Vice President, Finance and Chief Financial Officer at Phillips 66
Thank you, Mark, and hello, everyone.
Starting with an overview on Slide 4, we summarize our financial results for the second quarter. Adjusted earnings were $3.3 billion or $6.77 per share. A $240 million decrease in the fair value of our investment in NOVONIX reduced earnings per share by $0.38. We generated $1.8 billion of operating cash flow, including a working capital use of $1.8 billion. Cash distributions from equity affiliates were $527 million. Capital spending for the quarter was $376 million, including $167 million for growth projects. We returned $533 million to shareholders through $460 million of dividends and $66 million of share repurchases. We ended the quarter with 481 million shares outstanding.
Moving to Slide 5. This slide highlights the change in adjusted results by segment from the first quarter to the second quarter. During the period, adjusted earnings increased $2.7 billion with a substantial improvement in Refining.
Slide 6 shows our Midstream results. Second quarter adjusted pretax income was $292 million compared with $242 million in the previous quarter. Transportation contributed adjusted pretax income of $250 million, down $28 million from the prior quarter. The decrease was mainly due to lower equity earnings, driven by reduced Bakken crude volumes associated with winter storm impacts.
NGL and Other adjusted pretax income was $152 million compared with $91 million in the first quarter. The increase was primarily due to improved margins and volumes at the Sweeny Hub. The margin improvement includes unfavorable inventory impact in the previous quarter. In addition, we had higher Sand Hills Pipeline equity earnings in the second quarter. The fractionators at the Sweeny Hub averaged a record 441,000 barrels per day, and the Freeport LPG export facility loaded 240,000 barrels per day in the second quarter.
DCP Midstream adjusted pretax income of $130 million was up $99 million from the previous quarter, mainly driven by improved gathering and processing results and hedging impacts. The hedge gain recognized in the second quarter was approximately $30 million compared with a hedge loss of approximately $50 million in the first quarter. Our NOVONIX investment is mark-to-market at the end of each reporting period. The fair value of the investment, including foreign exchange impacts, decreased $240 million in the second quarter compared to the decrease of $158 million in the first quarter.
Turning to Chemicals on Slide 7. Chemicals' second quarter adjusted pretax income of $273 million was down $123 million from the prior quarter. Olefins and polyolefins adjusted pretax income was $216 million. The $161 million decrease from the previous quarter was primarily due to lower margins resulting from higher feedstock costs as well as increased utility and turnaround costs. Global O&P utilization was 94% for the quarter.
Adjusted pretax income for SA&S was $59 million, up $27 million from the prior quarter. The increase was mainly due to improved margins on benzene and specialty chemicals as well as improved styrene results. The $11 million improvement in Other mainly reflects lower employee-related expenses and higher capitalized interest related to growth projects. During the second quarter, we received $216 million in cash distributions from CPChem.
Turning to Refining on Slide 8. Refining's second quarter adjusted pretax income was $3.1 billion, up from $140 million in the first quarter. The improvement was primarily due to higher realized margins across all regions. Realized margins increased by 168% to $28.31 per barrel. Pretax turnaround costs were $223 million, up from $102 million in the prior quarter. Crude utilization was 90% in the second quarter and clean product yield was 83%.
Slide 9 covers market capture. Our composite global 3:2:1 market crack for the second quarter was $46.72 per barrel compared to $21.93 per barrel in the first quarter. Realized margin was $28.31 per barrel and resulted in an overall market capture of 61%. Market capture in the previous quarter was 48%. Market capture is impacted by the configuration of our refineries. We have a higher distillate yield and a lower gasoline yield than the market indicator. During the quarter, the distillate crack was $61.38 per barrel, and the gasoline crack was $39.52 per barrel.
The configuration impact as a percentage of the market crack was similar to first quarter. Losses from secondary products of $3.03 per barrel were in line with the prior quarter. Our feedstock loss of $1.46 per barrel declined $2.47 per barrel from the previous quarter due to narrowing Canadian crude differentials. The other category reduced realized margins by $7.48 per barrel. This category includes RINs, clean product realizations, freight costs and inventory impacts.
Moving to Marketing and Specialties on Slide 10. Adjusted second quarter pretax income was $765 million compared with $316 million in the prior quarter. Marketing and Other increased $453 million from the first quarter. This was primarily due to higher realized fuel margins, including inventory impacts. Refined product exports in the second quarter were 153,000 barrels per day. Specialties generated second quarter adjusted pretax income of $109 million in line with the previous quarter.
Slide 11 shows the change in cash during the second quarter. We started the quarter with a $3.3 billion cash balance. Cash from operations was $3.6 billion, excluding working capital. There was a working capital use of $1.8 billion, mainly reflecting an increase in accounts receivable due to higher product prices and timing of sales. We repaid $1.5 billion of debt, lowering our net debt-to-capital ratio to below 30%, the lowest it has been since the fourth quarter of 2019. In addition, we funded $376 million of capital spending and returned $533 million to shareholders. Our ending cash balance was $2.8 billion.
This concludes my review of the financial and operating results. Next, I'll cover a few outlook items. In Chemicals, we expect the third quarter global O&P utilization rate to be in the mid-90s. In refining, we expect the third quarter worldwide crude utilization rate to be in the low- to mid-90s and pretax turnaround expenses to be between $260 million and $290 million. We expect full year pretax turnaround expenses to be at the lower end of our $800 million to $900 million guidance. We anticipate third quarter corporate and other costs to come in between $210 million and $230 million pretax.
Now, we will open the line for questions.