Cloud Peak Energy (NYSE: CLD) reported earnings on July 30. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Cloud Peak Energy met expectations on revenues and missed expectations on earnings per share.

Compared to the prior-year quarter, revenue dropped. Non-GAAP earnings per share contracted to a loss. GAAP earnings per share contracted significantly.

Margins dropped across the board.

Revenue details
Cloud Peak Energy logged revenue of $330.0 million. The six analysts polled by S&P Capital IQ wanted to see revenue of $327.1 million on the same basis. GAAP reported sales were 3.8% lower than the prior-year quarter's $343.2 million.

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

EPS details
EPS came in at -$0.02. The 13 earnings estimates compiled by S&P Capital IQ forecast $0.06 per share. Non-GAAP EPS were -$0.02 for Q2 against $0.34 per share for the prior-year quarter. GAAP EPS of $0.08 for Q2 were 85% lower than the prior-year quarter's $0.55 per share.

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

Margin details
For the quarter, gross margin was 14.7%, 780 basis points worse than the prior-year quarter. Operating margin was 5.2%, much worse than the prior-year quarter. Net margin was 1.4%, 840 basis points worse than the prior-year quarter. (Margins calculated in GAAP terms.)

Looking ahead
Next quarter's average estimate for revenue is $381.3 million. On the bottom line, the average EPS estimate is $0.31.

Next year's average estimate for revenue is $1.44 billion. The average EPS estimate is $0.76.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 186 members out of 192 rating the stock outperform, and six members rating it underperform. Among 43 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 40 give Cloud Peak Energy a green thumbs-up, and three give it a red thumbs-down.

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

Is Cloud Peak Energy the right energy stock for you? Read about a handful of timely, profit-producing plays on expensive crude in "3 Stocks for $100 Oil." Click here for instant access to this free report.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.