MetaCap

Okta (OKTA) vs Block (XYZ)

Head-to-head comparison of performance, valuation, growth, profitability and dividends. Prices delayed 15 minutes; data as of Oct 10, 2026.

Summary

Okta (OKTA) has outperformed Block (XYZ) over the past year, gaining 147.9% versus a loss of 4.5%. Over five years, OKTA leads with a -9.0% price change compared with -69.0% for XYZ. Block is the larger company by market cap ($46.41 billion vs $40.58 billion), about 1.1 times the size, while Okta is growing revenue faster (+11.8% vs +0.3%).

On valuation, Block trades at a lower forward P/E (14.9x vs 53.0x for Okta). Okta converts more of its revenue into profit, with a net margin of 8.1% versus 5.4%.

Summary generated from market data by MetaCap's automated system. Methodology

Relative performance

OKTA+147.90%XYZ-4.47%
+157%+54%-49%
Oct 9, 20251 yearOct 9, 2026
OKTA+1.57%XYZ-67.61%
+19%-34%-88%
Oct 4, 20215 yearsOct 5, 2026

Percent change in share price from the first common trading day shown; excludes dividends.

Head-to-head

OKTA versus XYZ key metrics
MetricOKTAXYZ
Share price$232.13$77.24
Market cap$40.58B$46.41B
1-day change+5.41%+2.67%
YTD return+168.45%+18.67%
1-year return+147.90%-4.47%
5-year return-8.98%-68.98%
P/E ratio (TTM)139.84135.51
Forward P/E53.0214.85
EPS (TTM)$1.66$0.57
Dividend yield0.00%0.00%
Annual dividend$0.00$0.00
Revenue (latest FY)$2.92B$24.19B
Revenue growth (YoY)+11.84%+0.30%
Net income (latest FY)$235.00M$1.31B
Gross margin77.36%42.82%
Operating margin5.10%7.06%
Net margin8.05%5.40%
52-week high$232.98$86.92
52-week low$62.66$48.21
Distance from 52-week high-0.36%-11.14%
Analyst consensusbuybuy
Avg. price target upside-8.41%+27.38%
Average volume3.45M4.53M
Shares outstanding167.14M540.82M
Employees6,36610,205
SectorTechnologyTechnology
IndustryComputer Software: Prepackaged SoftwareComputer Software: Prepackaged Software

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

  • OKTA has outperformed XYZ by 152.4 percentage points over the past year.
  • Okta grew revenue faster in its latest fiscal year (+11.84% vs +0.30%).

About Okta

OKTA stock →

Okta, Inc. operates as an identity partner in the United States and internationally.

Technology · Computer Software: Prepackaged Software · 6,366 employees

About Block

XYZ stock →

Block, Inc., together with its subsidiaries, builds ecosystems focused on commerce and financial products and services in the United States and internationally. It operates through two segments: Square and Cash App.

Technology · Computer Software: Prepackaged Software · 10,205 employees

OKTA vs XYZ FAQ

Which is bigger, Okta or Block?

Block (XYZ) is larger, with a market capitalization of $46.41B compared with $40.58B for Okta (OKTA).

Which stock has performed better over the past year, OKTA or XYZ?

OKTA returned +147.90% over the past 12 months, compared with -4.47% for XYZ (price return, excluding dividends). Past performance does not predict future results.

Which has the lower P/E ratio, OKTA or XYZ?

XYZ has the lower trailing P/E at 135.5, versus 139.8 for OKTA. A lower P/E is not by itself a sign of a better investment; it can reflect slower expected growth or higher risk.

Are Okta and Block in the same industry?

Yes. Both are classified in the Computer Software: Prepackaged Software industry within the Technology sector.

More comparisons