SanDisk (Nasdaq: SNDK) reported earnings on July 17. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), SanDisk beat expectations on revenues and crushed 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 grew significantly.

Margins increased across the board.

Revenue details
SanDisk tallied revenue of $1.48 billion. The 27 analysts polled by S&P Capital IQ expected revenue of $1.40 billion on the same basis. GAAP reported sales were 43% higher than the prior-year quarter's $1.03 billion.

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 $1.21. The 26 earnings estimates compiled by S&P Capital IQ predicted $0.93 per share. Non-GAAP EPS of $1.21 for Q2 were 476% higher than the prior-year quarter's $0.21 per share. GAAP EPS of $1.06 for Q2 were much higher than the prior-year quarter's $0.05 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 46.5%, much better than the prior-year quarter. Operating margin was 26.6%, much better than the prior-year quarter. Net margin was 17.7%, much better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $5.82 billion. The average EPS estimate is $4.13.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 1,853 members out of 2,005 rating the stock outperform, and 152 members rating it underperform. Among 435 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 415 give SanDisk a green thumbs-up, and 20 give it a red thumbs-down.

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

Is SanDisk the best tech stock for you? You may be missing something obvious. Check out the semiconductor company that Motley Fool analysts expect to lead "The Next Trillion-dollar Revolution." Click here for instant access to this free report.