Valero Energy (NYSE: VLO) reported earnings on Jan. 29. Here are the numbers you need to know.

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

Compared to the prior-year quarter, revenue was unchanged and GAAP earnings per share increased significantly.

Margins grew across the board.

Revenue details
Valero Energy tallied revenue of $34.70 billion. The four analysts polled by S&P Capital IQ predicted sales of $32.49 billion on the same basis. GAAP reported sales were 0.7% higher than the prior-year quarter's $34.45 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.88. The 15 earnings estimates compiled by S&P Capital IQ predicted $1.18 per share. GAAP EPS of $1.83 for Q4 were much higher than the prior-year quarter's $0.08 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 6.4%, 440 basis points better than the prior-year quarter. Operating margin was 4.7%, 420 basis points better than the prior-year quarter. Net margin was 2.9%, 280 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $130.71 billion. The average EPS estimate is $5.02.

Investor sentiment
The stock has a four-star rating (out of five) at Motley Fool CAPS, with 4,337 members out of 4,523 rating the stock outperform, and 186 members rating it underperform. Among 1,129 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 1,097 give Valero Energy a green thumbs-up, and 32 give it a red thumbs-down.

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

Can your portfolio provide you with enough income to last through retirement? You'll need more than Valero Energy. Learn how to maximize your investment income and "Secure Your Future With 9 Rock-Solid Dividend Stocks." Click here for instant access to this free report.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.