Hewlett-Packard (NYSE: HPQ) reported earnings on Aug. 22. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended July 31 (Q3), Hewlett-Packard missed slightly on revenues and beat slightly on earnings per share.

Compared to the prior-year quarter, revenue shrank and GAAP earnings per share dropped to a loss.

Margins shrank across the board.

Revenue details
Hewlett-Packard booked revenue of $29.67 billion. The 27 analysts polled by S&P Capital IQ wanted to see revenue of $30.19 billion on the same basis. GAAP reported sales were 4.9% lower than the prior-year quarter's $31.19 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.00. The 26 earnings estimates compiled by S&P Capital IQ predicted $0.98 per share. GAAP EPS were -$4.49 for Q3 against $0.93 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 23.1%, 20 basis points worse than the prior-year quarter. Operating margin was 7.3%, 130 basis points worse than the prior-year quarter. Net margin was -29.9%, 3,610 basis points worse than the prior-year quarter.

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

Next year's average estimate for revenue is $122.68 billion. The average EPS estimate is $4.06.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 3,442 members out of 3,781 rating the stock outperform, and 339 members rating it underperform. Among 770 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 700 give Hewlett-Packard a green thumbs-up, and 70 give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Hewlett-Packard is hold, with an average price target of $27.73.

Can your portfolio provide you with enough income to last through retirement? You'll need more than Hewlett-Packard. 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.