HP (HPQ) vs International Business Machines (IBM)
Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Oct 9, 2026.
Summary
HP (HPQ) has outperformed International Business Machines (IBM) over the past year, gaining 20.0% versus a loss of 21.7%. Over five years, IBM leads with a +63.9% price change compared with +14.7% for HPQ. International Business Machines is the larger company by market cap ($213.50 billion vs $29.25 billion), about 7.3 times the size.
On valuation, HP trades at a lower forward P/E (10.3x vs 17.2x for International Business Machines). HP offers the higher dividend yield (3.67% vs 2.97%). International Business Machines converts more of its revenue into profit, with a net margin of 15.7% versus 4.6%.
Summary generated from market data by MetaCap's automated system. Methodology
Relative performance
Percent change in share price from the first common trading day shown; excludes dividends.
Head-to-head
| Metric | HPQ | IBM |
|---|---|---|
| Share price | $32.44 | $226.61 |
| Market cap | $29.25B | $213.50B |
| 1-day change | +0.62% | +2.77% |
| YTD return | +45.60% | -23.50% |
| 1-year return | +20.01% | -21.71% |
| 5-year return | +14.71% | +63.91% |
| P/E ratio (TTM) | 12.38 | 20.14 |
| Forward P/E | 10.34 | 17.23 |
| EPS (TTM) | $2.62 | $11.25 |
| Dividend yield | 3.67% | 2.97% |
| Annual dividend | $1.19 | $6.73 |
| Revenue (latest FY) | $55.30B | $67.53B |
| Revenue growth (YoY) | +3.24% | +7.62% |
| Net income (latest FY) | $2.53B | $10.59B |
| Gross margin | 20.60% | 58.19% |
| Operating margin | 5.74% | — |
| Net margin | 4.57% | 15.69% |
| 52-week high | $36.23 | $332.46 |
| 52-week low | $17.56 | $199.19 |
| Distance from 52-week high | -10.46% | -31.84% |
| Analyst consensus | none | buy |
| Avg. price target upside | -8.57% | +6.17% |
| Average volume | 15.16M | 8.09M |
| Shares outstanding | 901.79M | 942.13M |
| Employees | 55,000 | 264,300 |
| Sector | Technology | Technology |
| Industry | Computer Manufacturing | Computer Manufacturing |
Highlighted cells mark the higher value for growth, returns, margins and yield, and the lower value for P/E ratios. Highlighting is a mechanical comparison, not a recommendation.
Key differences
- International Business Machines is about 7.3 times larger than HP by market value ($213.50B vs $29.25B).
- HPQ has outperformed IBM by 41.7 percentage points over the past year.
- International Business Machines trades at a higher earnings multiple (20.1x vs 12.4x trailing P/E).
- International Business Machines is more profitable, keeping 15.7 cents of every revenue dollar as net income versus 4.6 cents for HP.
About HP
HPQ stock →HP Inc. provides personal computing, printing, 3D printing, hybrid work, gaming, and other related technologies in the United States and internationally.
Technology · Computer Manufacturing · 55,000 employees
About International Business Machines
IBM stock →International Business Machines Corporation, together with its subsidiaries, provides integrated solutions and services in the Americas, Europe, the Middle East, Africa, and the Asia Pacific. It operates through Software, Consulting, Infrastructure, and Financing segments.
Technology · Computer Manufacturing · 264,300 employees
HPQ vs IBM FAQ
Which is bigger, HP or International Business Machines?
International Business Machines (IBM) is larger, with a market capitalization of $213.50B compared with $29.25B for HP (HPQ).
Which stock has performed better over the past year, HPQ or IBM?
HPQ returned +20.01% over the past 12 months, compared with -21.71% for IBM (price return, excluding dividends). Past performance does not predict future results.
Which has the lower P/E ratio, HPQ or IBM?
HPQ has the lower trailing P/E at 12.4, versus 20.1 for IBM. A lower P/E is not by itself a sign of a better investment; it can reflect slower expected growth or higher risk.
Which pays a higher dividend, HP or International Business Machines?
HP has the higher yield at 3.67%, compared with 2.97% for International Business Machines.
Are HP and International Business Machines in the same industry?
Yes. Both are classified in the Computer Manufacturing industry within the Technology sector.