Patterson-UTI Energy (Nasdaq: PTEN) reported earnings on July 25. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Patterson-UTI Energy beat expectations on revenues and missed estimates on earnings per share.

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

Margins dropped across the board.

Revenue details
Patterson-UTI Energy recorded revenue of $659.3 million. The 17 analysts polled by S&P Capital IQ expected revenue of $642.1 million on the same basis. GAAP reported sales were the same as the prior-year quarter's.

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.28. The 26 earnings estimates compiled by S&P Capital IQ averaged $0.30 per share. GAAP EPS of $0.28 for Q2 were 53% lower than the prior-year quarter's $0.60 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 34.1%, 520 basis points worse than the prior-year quarter. Operating margin was 10.6%, 740 basis points worse than the prior-year quarter. Net margin was 6.2%, 740 basis points worse than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $2.66 billion. The average EPS estimate is $1.37.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 770 members out of 818 rating the stock outperform, and 48 members rating it underperform. Among 187 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 172 give Patterson-UTI Energy a green thumbs-up, and 15 give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Patterson-UTI Energy is outperform, with an average price target of $25.59.

Is Patterson-UTI Energy the right energy stock for you? Read about a handful of timely, profit-producing plays on expensive crude in "3 Stocks for $100 Oil." Click here for instant access to this free report.