Cohu (Nasdaq: COHU) reported earnings on July 31. Here are the numbers you need to know.

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

Compared to the prior-year quarter, revenue grew. Non-GAAP loss per share grew. GAAP loss per share grew.

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

Revenue details
Cohu notched revenue of $66.7 million. The three analysts polled by S&P Capital IQ expected revenue of $64.3 million on the same basis. GAAP reported sales were 12% higher than the prior-year quarter's $59.4 million.

Source: S&P Capital IQ. Quarterly periods. Dollar amounts in millions. Non-GAAP figures are normalized by S&P Capital IQ and may vary to maintain comparability with normalized estimates.

EPS details
EPS came in at -$0.05. The two earnings estimates compiled by S&P Capital IQ predicted -$0.08 per share. Non-GAAP EPS were -$0.05 for Q2 versus -$0.01 per share for the prior-year quarter. GAAP EPS were -$0.16 for Q2 versus -$0.09 per share for the prior-year quarter.

Source: S&P Capital IQ. Quarterly periods. Non-GAAP figures are normalized by S&P Capital IQ and may vary to maintain comparability with normalized estimates.

Margin details
For the quarter, gross margin was 32.2%, 250 basis points better than the prior-year quarter. Operating margin was -6.7%, 320 basis points worse than the prior-year quarter. Net margin was -6.1%, 250 basis points worse than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $269.5 million. The average EPS estimate is -$0.29.

Investor sentiment
The stock has a two-star rating (out of five) at Motley Fool CAPS, with 51 members out of 58 rating the stock outperform, and seven members rating it underperform. Among 18 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 17 give Cohu 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 Cohu is outperform, with an average price target of $14.67.

Can your portfolio provide you with enough income to last through retirement? You'll need more than Cohu. Learn how to maximize your investment income and "Secure Your Future With 9 Rock-Solid Dividend Stocks." Click here for instant access to this free report.