Huntsman (NYSE: HUN) reported earnings Wednesday. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Huntsman missed estimates on revenues and beat expectations on earnings per share.

Compared to the prior-year quarter, revenue dropped slightly and GAAP earnings per share increased.

Margins improved across the board.

Revenue details
Huntsman chalked up revenue of $2.91 billion. The eight analysts polled by S&P Capital IQ anticipated a top line of $3.02 billion on the same basis. GAAP reported sales were 0.7% lower than the prior-year quarter's $2.93 billion.

My

Source: S&P Capital IQ. Quarterly periods. Dollar amounts in millions. Non-GAAP figures may vary to maintain comparability with estimates.

EPS details
EPS came in at $0.58. The 12 earnings estimates compiled by S&P Capital IQ predicted $0.54 per share. GAAP EPS of $0.51 for Q2 were 8.5% higher than the prior-year quarter's $0.47 per share.

Source: S&P Capital IQ. Quarterly periods. Non-GAAP figures may vary to maintain comparability with estimates.

Margin details
For the quarter, gross margin was 18.1%, 100 basis points better than the prior-year quarter. Operating margin was 8.8%, 170 basis points better than the prior-year quarter. Net margin was 4.3%, 40 basis points better than the prior-year quarter.

Looking ahead
Next quarter's average estimate for revenue is $3.01 billion. On the bottom line, the average EPS estimate is $0.50.

Next year's average estimate for revenue is $11.70 billion. The average EPS estimate is $2.11.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 637 members rating the stock outperform and 27 members rating it underperform. Among 174 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 172 give Huntsman a green thumbs-up, and two give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Huntsman is outperform, with an average price target of $16.28.

Can your retirement portfolio provide you with enough income to last? You'll need more than Huntsman. Learn about crafting a smarter retirement plan in "The Shocking Can't-Miss Truth About Your Retirement." Click here for instant access to this free report.