O'Reilly Automotive (Nasdaq: ORLY) reported earnings on July 24. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), O'Reilly Automotive met expectations on revenues and beat expectations on earnings per share.

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

Margins increased across the board.

Revenue details
O'Reilly Automotive reported revenue of $1.71 billion. The 19 analysts polled by S&P Capital IQ expected to see revenue of $1.70 billion on the same basis. GAAP reported sales were 9.7% higher than the prior-year quarter's $1.56 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.58. The 22 earnings estimates compiled by S&P Capital IQ anticipated $1.49 per share. GAAP EPS of $1.58 for Q2 were 37% higher than the prior-year quarter's $1.15 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 50.8%, 90 basis points better than the prior-year quarter. Operating margin was 17.3%, 170 basis points better than the prior-year quarter. Net margin was 10.3%, 100 basis points better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $6.64 billion. The average EPS estimate is $5.80.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 284 members out of 306 rating the stock outperform, and 22 members rating it underperform. Among 103 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 97 give O'Reilly Automotive a green thumbs-up, and six give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on O'Reilly Automotive is outperform, with an average price target of $113.67.

The rich are different than you and me: They might not notice the moneymaking stories right under our noses. In our new report, "Middle-Class Millionaire-Makers: 3 Stocks Wall Street's Too Rich to Notice," we give you three Peter Lynch-inspired buy-what-you-know stocks for the 99%. Click here for instant access to this free report.