Ameresco (NYSE: AMRC) reported earnings on Aug. 7. Here are the numbers you need to know.

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

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

Margins shrank across the board.

Revenue details
Ameresco logged revenue of $164.1 million. The six analysts polled by S&P Capital IQ wanted to see a top line of $160.1 million on the same basis. GAAP reported sales were 0.8% lower than the prior-year quarter's $165.5 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.11. The six earnings estimates compiled by S&P Capital IQ forecast $0.09 per share. GAAP EPS of $0.11 for Q2 were 42% lower than the prior-year quarter's $0.19 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 19.0%, 40 basis points worse than the prior-year quarter. Operating margin was 5.0%, 310 basis points worse than the prior-year quarter. Net margin was 3.1%, 220 basis points worse than the prior-year quarter.

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

Next year's average estimate for revenue is $809.6 million. The average EPS estimate is $0.82.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 419 members out of 424 rating the stock outperform, and five members rating it underperform. Among 75 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 74 give Ameresco a green thumbs-up, and one give it a red thumbs-down.

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