Sun Hydraulics (Nasdaq: SNHY) reported earnings on Aug. 6. Here are the numbers you need to know.

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

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

Margins expanded across the board.

Revenue details
Sun Hydraulics chalked up revenue of $57.0 million. The three analysts polled by S&P Capital IQ foresaw a top line of $56.0 million on the same basis. GAAP reported sales were 4.1% higher than the prior-year quarter's $54.8 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.43. The three earnings estimates compiled by S&P Capital IQ anticipated $0.41 per share. GAAP EPS of $0.43 for Q2 were 4.9% higher than the prior-year quarter's $0.41 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 40.3%, 70 basis points better than the prior-year quarter. Operating margin was 28.9%, 80 basis points better than the prior-year quarter. Net margin was 19.7%, 60 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $217.6 million. The average EPS estimate is $1.62.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 1,303 members out of 1,319 rating the stock outperform, and 16 members rating it underperform. Among 347 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 345 give Sun Hydraulics a green thumbs-up, and two give it a red thumbs-down.

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