New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls. Read the Q3 2026 report

HP Inc. (HPQ) vs Western Digital Corporation (WDC)

HP Inc. and Western Digital Corporation are both Computer Hardware companies. Western Digital Corporation is the larger, with a market value of $102.0B against $28.1B — 3.6× the size. Western Digital Corporation trades at the lower P/E: 10.2× against 12.1×. Western Digital Corporation grew revenue faster over the last twelve months: 43.0% against 9.46%. Western Digital Corporation has the higher net margin (69.2% vs 4.01%) and the lower return on invested capital (40.4% vs 47.5%). Both pay a dividend; HP Inc. yields more (3.73% vs 0.19%). Across the 21 metrics below, Western Digital Corporation leads on 13 and HP Inc. on 8.

Valuation

Metric HPQ WDC Computer Hardware median
P/E 12.13 10.24 19.00
P/S 0.48 7.38 1.90
P/B n/m 11.43 1.32
Price to free cash flow 9.13 24.92 21.19
EV/EBITDA 7.86 17.44 11.23
EV/Sales 0.54 7.34 1.66
Earnings yield 8.24% 9.77% (9.76%)
Free cash flow yield 10.96% 4.01% (13.47%)

Profitability

Metric HPQ WDC Computer Hardware median
Gross margin 19.16% 52.60% 34.73%
Operating margin 5.13% 39.41% (16.77%)
Net margin 4.01% 69.20% (17.77%)
Free cash flow margin 5.26% 29.62% (10.73%)
Return on equity — 131.54% (8.38%)
Return on assets 5.43% 70.08% (9.37%)
Return on invested capital 47.50% 40.43% (2.18%)

Growth

Metric HPQ WDC Computer Hardware median
Revenue growth (TTM) 9.46% 43.02% 25.71%
EPS growth (last fiscal year) (1.18%) 373.29% 27.72%
Revenue growth, 5-year CAGR (0.94%) (5.26%) 1.14%
Net income growth, 5-year CAGR (18.00%) 62.92% 6.40%

Health

Metric HPQ WDC Computer Hardware median
Debt to equity 15.09 0.08 0.00
Current ratio 0.81 1.43 2.58
Net debt to EBITDA 0.88 (0.11) 0.46

Dividend

Metric HPQ WDC Computer Hardware median
Dividend yield 3.73% 0.19% 1.21%
Payout ratio 0.46 0.02 0.23

Size

Metric HPQ WDC Computer Hardware median
Market cap 28.09b 101.98b 330.68m

Compare with another peer

Any metric, up to five companies and an Excel export Powerpack