Software - Infrastructure
Compare Stocks
2 / 10Stock Comparison
OSPN vs DOCN
Revenue, margins, valuation, and 5-year total return — side by side.
Software - Infrastructure
OSPN vs DOCN — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||
|---|---|---|
| Industry | Software - Infrastructure | Software - Infrastructure |
| Market Cap | $455M | $15.72B |
| Revenue (TTM) | $246M | $949M |
| Net Income (TTM) | $70M | $254M |
| Gross Margin | 70.5% | 58.5% |
| Operating Margin | 19.4% | 16.4% |
| Forward P/E | 9.9x | 147.2x |
| Total Debt | $6M | $731M |
| Cash & Equiv. | $70M | $254M |
OSPN vs DOCN — Long-Term Stock Performance
Price return indexed to 100 at period start. Dividends excluded.
| Stock | Mar 21 | May 26 | Return |
|---|---|---|---|
| OneSpan Inc. (OSPN) | 100 | 49.6 | -50.4% |
| DigitalOcean Holdin… (DOCN) | 100 | 357.4 | +257.4% |
Price return only. Dividends and distributions are not included.
Quick Verdict: OSPN vs DOCN
Each card shows where this stock fits in a portfolio — not just who wins on paper.
OSPN carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.
- Dividend streak 2 yrs, beta 1.23, yield 3.9%
- Lower volatility, beta 1.23, Low D/E 2.3%, current ratio 1.50x
- Beta 1.23, yield 3.9%, current ratio 1.50x
DOCN is the clearest fit if your priority is growth exposure and long-term compounding.
- Rev growth 15.5%, EPS growth 183.1%, 3Y rev CAGR 16.1%
- 254.3% 10Y total return vs OSPN's -21.7%
- 15.5% revenue growth vs OSPN's 0.0%
See the full category breakdown
| Category | Winner | Why |
|---|---|---|
| Growth | 15.5% revenue growth vs OSPN's 0.0% | |
| Value | Lower P/E (9.9x vs 147.2x) | |
| Quality / Margins | 28.5% margin vs DOCN's 26.8% | |
| Stability / Safety | Beta 1.23 vs DOCN's 2.22 | |
| Dividends | 3.9% yield; 2-year raise streak; the other pay no meaningful dividend | |
| Momentum (1Y) | +426.1% vs OSPN's -19.1% | |
| Efficiency (ROA) | 18.9% ROA vs DOCN's 13.0%, ROIC 21.7% vs 15.6% |
OSPN vs DOCN — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
OSPN vs DOCN — Financial Metrics
Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.
Income & Cash Flow (Last 12 Months)
OSPN leads this category, winning 5 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
DOCN is the larger business by revenue, generating $949M annually — 3.9x OSPN's $246M. Profitability is closely matched — net margins range from 28.5% (OSPN) to 26.8% (DOCN). On growth, DOCN holds the edge at +22.4% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | ||
|---|---|---|
| RevenueTrailing 12 months | $246M | $949M |
| EBITDAEarnings before interest/tax | $57M | $315M |
| Net IncomeAfter-tax profit | $70M | $254M |
| Free Cash FlowCash after capex | $47M | $38M |
| Gross MarginGross profit ÷ Revenue | +70.5% | +58.5% |
| Operating MarginEBIT ÷ Revenue | +19.4% | +16.4% |
| Net MarginNet income ÷ Revenue | +28.5% | +26.8% |
| FCF MarginFCF ÷ Revenue | +19.0% | +4.0% |
| Rev. Growth (YoY)Latest quarter vs prior year | +4.1% | +22.4% |
| EPS Growth (YoY)Latest quarter vs prior year | -18.9% | -59.5% |
Valuation Metrics
OSPN leads this category, winning 5 of 5 comparable metrics.
Valuation Metrics
At 6.4x trailing earnings, OSPN trades at a 89% valuation discount to DOCN's 59.8x P/E. On an enterprise value basis, OSPN's 6.0x EV/EBITDA is more attractive than DOCN's 55.0x.
| Metric | ||
|---|---|---|
| Market CapShares × price | $455M | $15.7B |
| Enterprise ValueMkt cap + debt − cash | $391M | $16.2B |
| Trailing P/EPrice ÷ TTM EPS | 6.39x | 59.75x |
| Forward P/EPrice ÷ next-FY EPS est. | 9.89x | 147.21x |
| PEG RatioP/E ÷ EPS growth rate | — | — |
| EV / EBITDAEnterprise value multiple | 6.00x | 54.99x |
| Price / SalesMarket cap ÷ Revenue | 1.87x | 17.43x |
| Price / BookPrice ÷ Book value/share | 1.72x | — |
| Price / FCFMarket cap ÷ FCF | 9.02x | 92.58x |
Profitability & Efficiency
OSPN leads this category, winning 6 of 8 comparable metrics.
Profitability & Efficiency
DOCN delivers a 165.7% return on equity — every $100 of shareholder capital generates $166 in annual profit, vs $27 for OSPN. On the Piotroski fundamental quality scale (0–9), DOCN scores 7/9 vs OSPN's 5/9, reflecting strong financial health.
| Metric | ||
|---|---|---|
| ROE (TTM)Return on equity | +27.3% | +165.7% |
| ROA (TTM)Return on assets | +18.9% | +13.0% |
| ROICReturn on invested capital | +21.7% | +15.6% |
| ROCEReturn on capital employed | +19.6% | +11.9% |
| Piotroski ScoreFundamental quality 0–9 | 5 | 7 |
| Debt / EquityFinancial leverage | 0.02x | — |
| Net DebtTotal debt minus cash | -$64M | $476M |
| Cash & Equiv.Liquid assets | $70M | $254M |
| Total DebtShort + long-term debt | $6M | $731M |
| Interest CoverageEBIT ÷ Interest expense | 1656.95x | 134.84x |
Total Returns (Dividends Reinvested)
DOCN leads this category, winning 6 of 6 comparable metrics.
Total Returns (Dividends Reinvested)
A $10,000 investment in DOCN five years ago would be worth $35,598 today (with dividends reinvested), compared to $4,969 for OSPN. Over the past 12 months, DOCN leads with a +426.1% total return vs OSPN's -19.1%. The 3-year compound annual growth rate (CAGR) favors DOCN at 65.5% vs OSPN's -2.4% — a key indicator of consistent wealth creation.
| Metric | ||
|---|---|---|
| YTD ReturnYear-to-date | -0.1% | +207.5% |
| 1-Year ReturnPast 12 months | -19.1% | +426.1% |
| 3-Year ReturnCumulative with dividends | -7.0% | +353.4% |
| 5-Year ReturnCumulative with dividends | -50.3% | +256.0% |
| 10-Year ReturnCumulative with dividends | -21.7% | +254.3% |
| CAGR (3Y)Annualised 3-year return | -2.4% | +65.5% |
Risk & Volatility
Evenly matched — OSPN and DOCN each lead in 1 of 2 comparable metrics.
Risk & Volatility
OSPN is the less volatile stock with a 1.23 beta — it tends to amplify market swings less than DOCN's 2.22 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. DOCN currently trades 93.0% from its 52-week high vs OSPN's 67.0% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | ||
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 1.23x | 2.22x |
| 52-Week HighHighest price in past year | $18.13 | $162.00 |
| 52-Week LowLowest price in past year | $10.07 | $25.56 |
| % of 52W HighCurrent price vs 52-week peak | +67.0% | +93.0% |
| RSI (14)Momentum oscillator 0–100 | 61.5 | 85.7 |
| Avg Volume (50D)Average daily shares traded | 599K | 4.1M |
Analyst Outlook
Insufficient data to determine a leader in this category.
Analyst Outlook
Wall Street rates OSPN as "Buy" and DOCN as "Buy". Consensus price targets imply 27.6% upside for OSPN (target: $16) vs -46.1% for DOCN (target: $81). OSPN is the only dividend payer here at 3.95% yield — a key consideration for income-focused portfolios.
| Metric | ||
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Buy |
| Price TargetConsensus 12-month target | $15.50 | $81.13 |
| # AnalystsCovering analysts | 15 | 19 |
| Dividend YieldAnnual dividend ÷ price | +3.9% | — |
| Dividend StreakConsecutive years of raises | 2 | — |
| Dividend / ShareAnnual DPS | $0.48 | — |
| Buyback YieldShare repurchases ÷ mkt cap | +2.9% | +0.5% |
OSPN leads in 3 of 6 categories (Income & Cash Flow, Valuation Metrics). DOCN leads in 1 (Total Returns). 1 tied.
OSPN vs DOCN: Frequently Asked Questions
10 questions · data-driven answers · updated daily
01Is OSPN or DOCN a better buy right now?
For growth investors, DigitalOcean Holdings, Inc.
(DOCN) is the stronger pick with 15. 5% revenue growth year-over-year, versus 0. 0% for OneSpan Inc. (OSPN). OneSpan Inc. (OSPN) offers the better valuation at 6. 4x trailing P/E (9. 9x forward), making it the more compelling value choice. Analysts rate OneSpan Inc. (OSPN) a "Buy" — based on 15 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.
02Which has the better valuation — OSPN or DOCN?
On trailing P/E, OneSpan Inc.
(OSPN) is the cheapest at 6. 4x versus DigitalOcean Holdings, Inc. at 59. 8x. On forward P/E, OneSpan Inc. is actually cheaper at 9. 9x.
03Which is the better long-term investment — OSPN or DOCN?
Over the past 5 years, DigitalOcean Holdings, Inc.
(DOCN) delivered a total return of +256. 0%, compared to -50. 3% for OneSpan Inc. (OSPN). Over 10 years, the gap is even starker: DOCN returned +254. 3% versus OSPN's -21. 7%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.
04Which is safer — OSPN or DOCN?
By beta (market sensitivity over 5 years), OneSpan Inc.
(OSPN) is the lower-risk stock at 1. 23β versus DigitalOcean Holdings, Inc. 's 2. 22β — meaning DOCN is approximately 80% more volatile than OSPN relative to the S&P 500.
05Which is growing faster — OSPN or DOCN?
By revenue growth (latest reported year), DigitalOcean Holdings, Inc.
(DOCN) is pulling ahead at 15. 5% versus 0. 0% for OneSpan Inc. (OSPN). On earnings-per-share growth, the picture is similar: DigitalOcean Holdings, Inc. grew EPS 183. 1% year-over-year, compared to 30. 1% for OneSpan Inc.. Over a 3-year CAGR, DOCN leads at 16. 1% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.
06Which has better profit margins — OSPN or DOCN?
OneSpan Inc.
(OSPN) is the more profitable company, earning 30. 0% net margin versus 28. 8% for DigitalOcean Holdings, Inc. — meaning it keeps 30. 0% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: OSPN leads at 20. 6% versus 17. 4% for DOCN. At the gross margin level — before operating expenses — OSPN leads at 70. 7%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.
07Is OSPN or DOCN more undervalued right now?
On forward earnings alone, OneSpan Inc.
(OSPN) trades at 9. 9x forward P/E versus 147. 2x for DigitalOcean Holdings, Inc. — 137. 3x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for OSPN: 27. 6% to $15. 50.
08Which pays a better dividend — OSPN or DOCN?
In this comparison, OSPN (3.
9% yield) pays a dividend. DOCN does not pay a meaningful dividend and should not be held primarily for income.
09Is OSPN or DOCN better for a retirement portfolio?
For long-horizon retirement investors, OneSpan Inc.
(OSPN) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 1. 23), 3. 9% yield). DigitalOcean Holdings, Inc. (DOCN) carries a higher beta of 2. 22 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (OSPN: -21. 7%, DOCN: +254. 3%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.
10What are the main differences between OSPN and DOCN?
Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.
In terms of investment character: OSPN is a small-cap deep-value stock; DOCN is a mid-cap high-growth stock. OSPN pays a dividend while DOCN does not, making them suitable for different income and tax situations. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.
Find Stocks Like These
Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform both.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.