United States Steel Corp. (X) Tuesday posted higher-than-expected quarterly earnings and said it expects strong profitability through year-end on surging demand and higher prices that have revived the U.S. steel industry.

The Pittsburgh steelmaker reported earnings of $211 million, or $1.62 a share, in the quarter, compared with a loss of $49 million, or 51 cents, a year earlier.

Excluding items, the company said it earned $1.79 a share in the quarter, well above the average earnings estimate of analysts polled by Reuters Estimates of $1.50 a share.

Steel prices have soared in the United States this year, buoyed by strong global demand, the weak dollar and the effects of high raw material costs, sparking a recovery in a sector once believed to be on its last legs.

Average sales prices at U.S. Steel's flat-rolled products unit, which makes sheet steel for cars, appliances and the construction industry, rose nearly 40 percent from last year. Average prices at the company's European unit were up about 33 percent.

"Europe did better than I thought it was going to do," said analyst Charles Bradford of Bradford Research/Soleil Securities (search). "That price increase is pretty spectacular, keeping in mind that their prices tend to be pretty fixed, because they are bringing in raw materials from Russia and Ukraine."

Revenue in the quarter rose to $3.47 billion from $2.36 billion last year.

U.S. Steel said it expects strong profitability through year-end on strong worldwide pricing, tight supplies and high demand from developing countries, especially China.

The company said it expects third-quarter flat-rolled prices to exceed second-quarter levels but shipments will drop by about 200,000 tons in the quarter. U.S. Steel Europe margins should increase due to a July 1 price hike.

U.S. Steel is also poised to benefit from strikes at iron ore mines that supply the material to the company's competitors, according to Jacob Doft, chief executive of Highline Capital Management (search), which owns 450,000 shares of U.S. Steel.

U.S. Steel produces all of its own domestic iron ore, so when compared to most other integrated steelmakers, who purchase at least some iron ore on the open market, "they are in a really terrific competitive position," Doft said.

Integrated steelmakers like U.S. Steel and International Steel Group Inc. make steel by processing iron ore in blast furnaces. Strikes at the Iron Ore Co. Of Canada and Wabash Mines in Canada, as well as a possible strike at Cleveland-Cliffs Inc. are expected to drive up prices for iron ore in the quarter.

The company's shares, which have more than tripled since April, were off 42 cents, or 1.3 percent, to $33.50 in New York Stock Exchange (search) trade.