HP Inc. (HPQ) vs Okta, Inc. (OKTA)

HPQ and OKTA are evenly matched — 7 metrics each of 14.

A side-by-side comparison of HP Inc. and Okta, Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of June 14, 2026. The ● marks the stronger figure on each row (cheaper multiple, higher margin/return).

Total return — HPQ vs OKTA

growth of $100 · last 9y
HPQ +43.7%OKTA +394.6%OKTA compounded faster
05001kStart $1002019202120232025$144$495
HPQ OKTA

HPQ vs OKTA: by the numbers

  • HPQ is the larger company ($23.08B vs $19.32B market cap).
  • HPQ trades at the lower earnings multiple (9.31 vs 84.27 P/E).
  • OKTA converts more revenue to profit (8.24% vs 4.45% net margin).
  • OKTA grew revenue faster over the past five years (27.10% vs -1.23% CAGR).
  • HPQ pays a dividend (4.71% yield) while OKTA does not currently pay one.

Which is better, HPQ or OKTA?

Metric tally: HPQ 7 · OKTA 7

It depends on what you're optimizing for:

ValueHPQ(lower P/E)
GrowthOKTA(faster 5Y revenue CAGR)
QualityHPQ(higher ROIC)

Valuation

MetricHPQOKTA
P/E ratio9.3184.27
Forward P/E8.3527.25
P/S ratio0.416.90
P/B ratio3.00
PEG ratio1.590.09
EV / EBITDA7.4856.43
FCF yield16.18%4.52%

Profitability

MetricHPQOKTA
Gross margin20.21%77.44%
Operating margin5.51%5.67%
Net margin4.45%8.24%
ROE-730.92%3.58%
ROIC24.97%1.88%

Dividends

MetricHPQOKTA
Dividend yield4.71%
Payout ratio44.55%

Growth (annualized)

MetricHPQOKTA
Revenue CAGR (5Y)-1.23%27.10%
EPS CAGR (5Y)5.84%
FCF CAGR (5Y)-7.31%47.60%
Total return CAGR (5Y)0.21%-12.47%

Frequently asked

Which is better, HPQ or OKTA?
It depends on your goal. value: HPQ (lower P/E); growth: OKTA (faster 5Y revenue CAGR); quality: HPQ (higher ROIC). Across all compared metrics, they are evenly matched.
Is HPQ or OKTA cheaper?
On trailing earnings, HPQ is cheaper: HPQ trades at a 9.31 P/E and OKTA at 84.27.
Which has grown faster, HPQ or OKTA?
Over the past five years, OKTA grew revenue faster — HPQ at a -1.23% CAGR versus OKTA at 27.10%.
Does HPQ or OKTA pay a bigger dividend?
HPQ pays a dividend (4.71% yield) while OKTA does not currently pay one.
Is HPQ or OKTA more profitable?
OKTA runs the higher net margin — HPQ at 4.45% versus OKTA at 8.24%.
Which has been the better investment, HPQ or OKTA?
Over the past 5-year, HPQ delivered the higher annualized total return — HPQ at 10.22% versus OKTA at -12.47%. Past performance doesn't predict future results.

Figures are sourced from reported fundamentals and the latest end-of-day price. This comparison is informational only and is not investment advice. Past performance does not predict future results. See our methodology. Compiled by TGMCharts Research · data verified June 14, 2026.