Alon USA Energy (NYSE: ALJ) reported earnings on Aug. 8. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Alon USA Energy missed estimates on revenue and whiffed on earnings per share.

Compared to the prior-year quarter, revenue expanded significantly and GAAP earnings per share grew significantly.

Margins grew across the board.

Revenue details
Alon USA Energy reported revenue of $1.91 billion. The two analysts polled by S&P Capital IQ expected revenue of $2.06 billion on the same basis. GAAP reported sales were 21% higher than the prior-year quarter's $1.58 billion.

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.53. The six earnings estimates compiled by S&P Capital IQ forecast $0.68 per share. GAAP EPS of $0.65 for Q2 were 195% higher than the prior-year quarter's $0.22 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 7.7%, 110 basis points better than the prior-year quarter. Operating margin was 4.9%, 230 basis points better than the prior-year quarter. Net margin was 2.3%, 140 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $7.53 billion. The average EPS estimate is $1.67.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 372 members out of 390 rating the stock outperform, and 18 members rating it underperform. Among 93 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 87 give Alon USA Energy a green thumbs-up, and six give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Alon USA Energy is hold, with an average price target of $8.88.