Heckmann (NYSE: HEK) reported earnings on Aug. 6. Here are the numbers you need to know.

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

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

Gross margins contracted, operating margins contracted, and net margins expanded.

Revenue details
Heckmann logged revenue of $90.8 million. The eight analysts polled by S&P Capital IQ foresaw sales of $98.9 million on the same basis. GAAP reported sales were much higher than the prior-year quarter's $39.2 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.07. The seven earnings estimates compiled by S&P Capital IQ predicted $0.02 per share. GAAP EPS of $0.07 for Q2 were much higher than the prior-year quarter's $0.00 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 16.6%, 920 basis points worse than the prior-year quarter. Operating margin was 1.7%, 190 basis points worse than the prior-year quarter. Net margin was 11.8%, 1,130 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $348.8 million. The average EPS estimate is $0.06.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 468 members out of 484 rating the stock outperform, and 16 members rating it underperform. Among 102 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 95 give Heckmann a green thumbs-up, and seven give it a red thumbs-down.

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

Is Heckmann 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.