In memory of Warren Buffett, 1930–2026.
New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls. Read the Q3 2026 report

C3.ai, Inc. (AI) vs ONESPAN INC (OSPN)

C3.ai, Inc. and ONESPAN INC are both Software Infrastructure companies. C3.ai, Inc. is the larger, with a market value of $1.2B against $909.8M — 1.3× the size. C3.ai, Inc. has negative trailing earnings, so its P/E is not meaningful; ONESPAN INC trades at 13.3×. ONESPAN INC grew revenue faster over the last twelve months: 4.88% against −37.6%. ONESPAN INC has the higher net margin (27.5% vs −192.1%) and the higher return on invested capital (12.0% vs −673.0%). Across the 17 metrics below, ONESPAN INC leads on 12 and C3.ai, Inc. on 5.

Valuation

Metric AI OSPN Software Infrastructure median
P/E n/m 13.33 28.64
P/S 4.97 3.59 2.90
P/B 1.66 3.24 2.84
Price to free cash flow n/m 20.47 18.09
EV/EBITDA n/m 14.87 15.19
EV/Sales 2.17 3.42 2.93
Earnings yield (42.84%) 7.50% (0.07%)
Free cash flow yield (13.48%) 4.89% 1.09%

Profitability

Metric AI OSPN Software Infrastructure median
Gross margin 29.09% 74.26% 60.39%
Operating margin (203.09%) 17.90% 0.54%
Net margin (192.10%) 27.52% 0.68%
Free cash flow margin (67.03%) 17.56% 7.53%
Return on equity (59.77%) 26.85% 2.26%
Return on assets (48.43%) 18.76% (0.65%)
Return on invested capital (673.03%) 11.98% 1.15%

Growth

Metric AI OSPN Software Infrastructure median
Revenue growth (TTM) (37.55%) 4.88% 14.85%
EPS growth (last fiscal year) (49.55%) 28.77% 20.51%
Revenue growth, 5-year CAGR 6.44% 2.43% 15.81%
Net income growth, 5-year CAGR — — 13.43%

Health

Metric AI OSPN Software Infrastructure median
Debt to equity 0.00 0.03 0.04
Current ratio 6.16 1.35 1.53
Net debt to EBITDA n/m (1.15) (0.66)

Dividend

Metric AI OSPN Software Infrastructure median
Dividend yield — 2.11% 1.12%
Payout ratio — 0.29 0.28

Size

Metric AI OSPN Software Infrastructure median
Market cap 1.16b 909.83m 654.81m

Compare with another peer

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