Oasis Petroleum (NYSE: OAS) reported earnings on Feb. 25. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended Dec. 31 (Q4), Oasis Petroleum beat slightly on revenues and beat expectations on earnings per share.

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

Margins expanded across the board.

Revenue details
Oasis Petroleum notched revenue of $214.3 million. The 16 analysts polled by S&P Capital IQ expected revenue of $211.2 million on the same basis. GAAP reported sales were 83% higher than the prior-year quarter's $116.9 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.49. The 21 earnings estimates compiled by S&P Capital IQ anticipated $0.47 per share. Non-GAAP EPS of $0.49 for Q4 were 16% lower than the prior-year quarter's $0.58 per share. GAAP EPS were $0.46 for Q4 versus -$0.15 per share for the prior-year quarter.

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 79.9%, 40 basis points better than the prior-year quarter. Operating margin was 40.4%, much better than the prior-year quarter. Net margin was 19.9%, much better than the prior-year quarter.

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

Next year's average estimate for revenue is $1.00 billion. The average EPS estimate is $2.38.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 131 members out of 133 rating the stock outperform, and two members rating it underperform. Among 35 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 34 give Oasis Petroleum 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 Oasis Petroleum is outperform, with an average price target of $39.32.

Is Oasis Petroleum 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.

Seth Jayson had no position in any company mentioned here at the time of publication. You can view his stock holdings here. He is co-advisor of Motley Fool Hidden Gems, which provides new small-cap ideas every month, backed by a real-money portfolio. The Motley Fool has no position in any of the stocks mentioned. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.