Medidata Solutions (Nasdaq: MDSO) reported earnings on July 25. Here are the numbers you need to know.

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

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

Margins increased across the board.

Revenue details
Medidata Solutions chalked up revenue of $68.1 million. The six analysts polled by S&P Capital IQ wanted to see sales of $66.7 million on the same basis. GAAP reported sales were 27% higher than the prior-year quarter's $53.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.36. The six earnings estimates compiled by S&P Capital IQ anticipated $0.29 per share. Non-GAAP EPS of $0.36 for Q2 were 57% higher than the prior-year quarter's $0.23 per share. GAAP EPS of $0.19 for Q2 were 36% 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 75.1%, 460 basis points better than the prior-year quarter. Operating margin was 13.0%, 240 basis points better than the prior-year quarter. Net margin was 7.5%, 80 basis points better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $274.3 million. The average EPS estimate is $1.30.

Investor sentiment
The stock has a two-star rating (out of five) at Motley Fool CAPS, with 58 members out of 67 rating the stock outperform, and nine members rating it underperform. Among 16 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 15 give Medidata Solutions 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 Medidata Solutions is outperform, with an average price target of $74.71.

Is Medidata Solutions the best health care stock for you? Learn how to maximize your investment income and "Secure Your Future With 9 Rock-Solid Dividend Stocks," including one above-average health care logistics company. Click here for instant access to this free report.