Republic Services (NYSE: RSG) reported earnings on July 25. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Republic Services beat slightly on revenues and missed estimates on earnings per share.

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

Margins dropped across the board.

Revenue details
Republic Services recorded revenue of $2.11 billion. The nine analysts polled by S&P Capital IQ expected revenue of $2.09 billion on the same basis. GAAP reported sales were the same as the prior-year quarter's.

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.43. The 10 earnings estimates compiled by S&P Capital IQ forecast $0.49 per share. Non-GAAP EPS of $0.43 for Q2 were 27% lower than the prior-year quarter's $0.59 per share. GAAP EPS of $0.15 for Q2 were 63% lower than the prior-year quarter's $0.40 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 33.2%, 660 basis points worse than the prior-year quarter. Operating margin was 11.2%, 760 basis points worse than the prior-year quarter. Net margin was 2.7%, 450 basis points worse than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $8.32 billion. The average EPS estimate is $1.88.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 491 members out of 517 rating the stock outperform, and 26 members rating it underperform. Among 182 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 174 give Republic Services a green thumbs-up, and eight give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Republic Services is outperform, with an average price target of $37.63.

Looking for alternatives to Republic Services? It takes more than great companies to build a fortune for the future. Learn the basic financial habits of millionaires next door and get focused stock ideas in our free report, "3 Stocks That Will Help You Retire Rich." Click here for instant access to this free report.