Rajat Marwah
Analyst · BMO Capital Markets
Thanks, Mike. Good morning, and thank you for joining the call. Before we get into these details, I'm happy to report that we had another very successful quarter. The second quarter of our fiscal year ended September 30, 2021.
Total revenue in the quarter was $1.01 billion, up 168% year-over-year. Our steel revenue was $936.5 million, which was up 179% versus the prior year quarter. We shipped 587,000 net tons in the quarter, up 14% from 516,000 net tons in the same quarter of last year, primarily as a result of a return to near run rate utilization levels compared to the pandemic lowest experienced last year.
This resulted in average steel revenue per ton of $1,594, up 146% from $649 a year ago. As a reminder, both our contract and spot orders are subject to a pricing lag due to price mechanics and mill lead times. We started to see these positive results flow through our earnings last quarter, and that impact continued in this quarter.
Steel markets have remained strong, and prices, while off from record levels achieved in last summer remain, near those elevated levels. On the cost side, Algoma's cost of goods sold per ton increased quarter-over-quarter as some commodity price increases had an effect on selected raw material inputs.
In an effort to offset these increases, Algoma remains focused on our cost-saving initiatives. And to date, we have captured run rate savings of approximately $45 million on an annualized basis, and we remain on track to reach our $50 million target.
When compared to the same quarter of last year, cost of steel products sold per ton is approximately 37% higher. The year-over-year increase was primarily driven by higher commodity pricing impacting some of our raw material input costs and higher cost of utilities.
Please keep in mind that last year, Algoma was eligible and did receive benefit under the Canadian Emergency Wage Subsidy program as the pandemic impacted our business substantially, which allowed us to keep our employees working during this period of low production volume and mitigated higher fixed cost on a per ton basis.
We generated $431 million of adjusted EBITDA during this quarter compared to $281 million of adjusted EBITDA in the prior year quarter. We are continuing to reap the rewards of even higher pricing moving through our results. However, due to the lagging nature of our order book, we expect to realize higher prices in the subsequent months.
We generated $380 million of cash from operating activities and ended the quarter with $367 million of cash on the balance sheet, which resulted in liquidity of approximately $659 million, including availability under our credit facility.
I'd like to take a moment to follow up on Mike's comments around our announced debt retirement. It truly is a remarkable achievement that when you consider our September end cash position and add the cash received in connection with the closing of the merger transaction, Algoma, today, is in a position where our cash exceeds our outstanding debt.
We've begun the process of retiring all of our senior secured outstanding debt at par. We expect that this positive cash flow will only improve going forward considering the strong steel market and our competitive cost position. We feel this places us with a stronger balance sheet as we began constructing the EAS, which puts us in a tremendous position to create long-term stakeholder value from a position of strength.
Now turning to outlook. As you all know, there has been a sustained significant increase in the index price of steel since August of last year. Strong demand, coupled with low customer inventory levels across the supply chain continue to support flat rolled steel prices above historical peaks. Demand from key end markets, including automotive, remained strong, and we expect this to continue into next year.
We feel that the investments we have made in our plate mill are serving us well as traditionally as role plate is priced higher than hot rolled coil. Today, that relationship is imported. However, with infrastructure spending, we believe the traditional relationships will return and Algoma will be ready at that point with higher production capacity and broader market reach for our products.
With the macroeconomic drivers in North American market, that includes projected infrastructure spending, 232 tariffs, replacement tariffs, rate quotas and discussions around carbon borrow adjustments, we believe that pricing will remain elevated for the foreseeable future, resulting in a new paradigm for steel selling prices.
All of these factors support our positive guidance. Shipments in the third quarter of 2022 ending December 31 are expected to be in the range of 590,000 to 610,000 net tons. Net sales realization are again expected to be directionally higher as we expect to see our realized prices climb month-by-month in parallel with the significant index price increase we have experienced.
We expect adjusted EBITDA performance of at least $450 million. I would like to add that subsequent to quarter end, we announced that we had established a metals sourcing joint venture with MMM, one of the North America's largest privately owned ferrous and nonferrous metal recycling companies.
We expect this JV to add stability to our scrap supply chain, helping us takes some of the volatility out of our cost structure. To take us further through our strategic activities, I will pass on the call to Mike.