iRobot (Nasdaq: IRBT) reported earnings on July 24. Here are the numbers you need to know.

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

Compared to the prior-year quarter, revenue expanded and GAAP earnings per share contracted.

Gross margins expanded, operating margins dropped, net margins dropped.

Revenue details
iRobot booked revenue of $111.4 million. The five analysts polled by S&P Capital IQ expected to see revenue of $108.6 million on the same basis. GAAP reported sales were 3.1% higher than the prior-year quarter's $108.1 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.27. The three earnings estimates compiled by S&P Capital IQ anticipated $0.10 per share. GAAP EPS of $0.26 for Q2 were 10% lower than the prior-year quarter's $0.29 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 44.4%, 500 basis points better than the prior-year quarter. Operating margin was 9.5%, 120 basis points worse than the prior-year quarter. Net margin was 6.6%, 80 basis points worse than the prior-year quarter.

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

Next year's average estimate for revenue is $479.5 million. The average EPS estimate is $0.99.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 1,139 members out of 1,260 rating the stock outperform, and 121 members rating it underperform. Among 319 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 281 give iRobot a green thumbs-up, and 38 give it a red thumbs-down.

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

Over the decades, small-cap stocks, like iRobot have provided market-beating returns, provided they're value priced and have solid businesses. Read about a pair of companies with a lock on their markets in "Too Small to Fail: Two Small Caps the Government Won't Let Go Broke." Click here for instant access to this free report.