Atlas Energy, L.P (NYSE: ATLS) reported earnings on Aug. 8. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Atlas Energy, L.P beat slightly on revenues and missed expectations on earnings per share.

Compared to the prior-year quarter, revenue shrank and GAAP earnings per share dropped to a loss.

Gross margins grew, operating margins improved, net margins contracted.

Revenue details
Atlas Energy, L.P reported revenue of $363.2 million. The one analyst polled by S&P Capital IQ expected net sales of $356.9 million on the same basis. GAAP reported sales were 4.6% lower than the prior-year quarter's $380.6 million.

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.15. The one earnings estimate compiled by S&P Capital IQ anticipated $0.17 per share. GAAP EPS were -$0.15 for Q2 against $0.30 per share for the prior-year quarter.

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 36.4%, 1,740 basis points better than the prior-year quarter. Operating margin was 17.0%, 930 basis points better than the prior-year quarter. Net margin was -2.1%, 640 basis points worse than the prior-year quarter.

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

Next year's average estimate for revenue is $1.69 billion. The average EPS estimate is $0.77.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 234 members out of 253 rating the stock outperform, and 19 members rating it underperform. Among 72 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 69 give Atlas Energy, L.P 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 Atlas Energy, L.P is outperform, with an average price target of $50.00.

Is Atlas Energy, L.P 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.

Seth Jayson had no position in any company mentioned here at the time of publication. You can view his stock holdings here. He is co-advisor of Motley Fool Hidden Gems, which provides new small-cap ideas every month, backed by a real-money portfolio. The Motley Fool has no positions in the stocks mentioned above. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.