Alliance Fiber Optic Products (Nasdaq: AFOP) reported earnings on July 23. Here are the numbers you need to know.

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

Compared to the prior-year quarter, revenue expanded significantly. Non-GAAP earnings per share grew significantly. GAAP earnings per share increased significantly.

Margins expanded across the board.

Revenue details
Alliance Fiber Optic Products recorded revenue of $19.0 million. The one analyst polled by S&P Capital IQ wanted to see revenue of $19.1 million on the same basis. GAAP reported sales were 65% higher than the prior-year quarter's $11.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.51. The one earnings estimate compiled by S&P Capital IQ predicted $0.47 per share. Non-GAAP EPS of $0.51 for Q2 were 219% higher than the prior-year quarter's $0.16 per share. GAAP EPS of $0.47 for Q2 were 236% higher than the prior-year quarter's $0.14 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 38.2%, 430 basis points better than the prior-year quarter. Operating margin was 23.3%, much better than the prior-year quarter. Net margin was 22.5%, much better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $69.0 million. The average EPS estimate is $1.65.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 115 members out of 128 rating the stock outperform, and 13 members rating it underperform. Among 26 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 25 give Alliance Fiber Optic Products 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 Alliance Fiber Optic Products is hold, with an average price target of $25.00.

Internet software and services are being consumed in radically different ways, on increasingly mobile devices. Does Alliance Fiber Optic Products fit in anymore? Check out the company that Motley Fool analysts expect to lead the pack in "The Next Trillion-dollar Revolution." Click here for instant access to this free report.