Software - Infrastructure
Compare Stocks
4 / 10Stock Comparison
OSPN vs DOCN vs MSFT vs QLYS
Revenue, margins, valuation, and 5-year total return — side by side.
Software - Infrastructure
Software - Infrastructure
Software - Infrastructure
OSPN vs DOCN vs MSFT vs QLYS — Key Financials
Market cap, revenue, margins, and valuation side-by-side.
| Company Snapshot | ||||
|---|---|---|---|---|
| Industry | Software - Infrastructure | Software - Infrastructure | Software - Infrastructure | Software - Infrastructure |
| Market Cap | $455M | $15.72B | $3.13T | $3.34B |
| Revenue (TTM) | $246M | $949M | $318.27B | $685M |
| Net Income (TTM) | $70M | $254M | $125.22B | $201M |
| Gross Margin | 70.5% | 58.5% | 68.3% | 83.1% |
| Operating Margin | 19.4% | 16.4% | 46.8% | 33.7% |
| Forward P/E | 9.9x | 147.2x | 25.3x | 12.9x |
| Total Debt | $6M | $731M | $112.18B | $97M |
| Cash & Equiv. | $70M | $254M | $30.24B | $250M |
OSPN vs DOCN vs MSFT vs QLYS — 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% |
| Microsoft Corporati… (MSFT) | 100 | 178.5 | +78.5% |
| Qualys, Inc. (QLYS) | 100 | 90.6 | -9.4% |
Price return only. Dividends and distributions are not included.
Quick Verdict: OSPN vs DOCN vs MSFT vs QLYS
Each card shows where this stock fits in a portfolio — not just who wins on paper.
OSPN has the current edge in this matchup, primarily because of its strength in defensive.
- Beta 1.23, yield 3.9%, current ratio 1.50x
- Lower P/E (9.9x vs 25.3x)
- 3.9% yield, 2-year raise streak, vs MSFT's 0.8%, (2 stocks pay no dividend)
DOCN is the #2 pick in this set and the best alternative if growth exposure is your priority.
- Rev growth 15.5%, EPS growth 183.1%, 3Y rev CAGR 16.1%
- 15.5% revenue growth vs OSPN's 0.0%
- +426.1% vs QLYS's -25.6%
MSFT is the clearest fit if your priority is income & stability and long-term compounding.
- Dividend streak 19 yrs, beta 0.89, yield 0.8%
- 7.9% 10Y total return vs DOCN's 254.3%
- 39.3% margin vs DOCN's 26.8%
- 19.2% ROA vs DOCN's 13.0%, ROIC 24.9% vs 15.6%
QLYS is the clearest fit if your priority is sleep-well-at-night and valuation efficiency.
- Lower volatility, beta 0.53, Low D/E 17.3%, current ratio 1.41x
- PEG 0.66 vs MSFT's 1.35
- Beta 0.53 vs DOCN's 2.22
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 25.3x) | |
| Quality / Margins | 39.3% margin vs DOCN's 26.8% | |
| Stability / Safety | Beta 0.53 vs DOCN's 2.22 | |
| Dividends | 3.9% yield, 2-year raise streak, vs MSFT's 0.8%, (2 stocks pay no dividend) | |
| Momentum (1Y) | +426.1% vs QLYS's -25.6% | |
| Efficiency (ROA) | 19.2% ROA vs DOCN's 13.0%, ROIC 24.9% vs 15.6% |
OSPN vs DOCN vs MSFT vs QLYS — Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Segment breakdown not available.
OSPN vs DOCN vs MSFT vs QLYS — Financial Metrics
Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.
Who Leads Where
MSFT leads in 1 of 6 categories
OSPN leads 1 • DOCN leads 1 • QLYS leads 0 • 3 tied
Explore the data ↓Income & Cash Flow (Last 12 Months)
MSFT leads this category, winning 3 of 6 comparable metrics.
Income & Cash Flow (Last 12 Months)
MSFT is the larger business by revenue, generating $318.3B annually — 1295.1x OSPN's $246M. MSFT is the more profitable business, keeping 39.3% of every revenue dollar as net income compared to DOCN's 26.8%. On growth, DOCN holds the edge at +22.4% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | ||||
|---|---|---|---|---|
| RevenueTrailing 12 months | $246M | $949M | $318.3B | $685M |
| EBITDAEarnings before interest/tax | $57M | $315M | $192.6B | $241M |
| Net IncomeAfter-tax profit | $70M | $254M | $125.2B | $201M |
| Free Cash FlowCash after capex | $47M | $38M | $72.9B | $290M |
| Gross MarginGross profit ÷ Revenue | +70.5% | +58.5% | +68.3% | +83.1% |
| Operating MarginEBIT ÷ Revenue | +19.4% | +16.4% | +46.8% | +33.7% |
| Net MarginNet income ÷ Revenue | +28.5% | +26.8% | +39.3% | +29.4% |
| FCF MarginFCF ÷ Revenue | +19.0% | +4.0% | +22.9% | +42.4% |
| Rev. Growth (YoY)Latest quarter vs prior year | +4.1% | +22.4% | +18.3% | +9.8% |
| EPS Growth (YoY)Latest quarter vs prior year | -18.9% | -59.5% | +23.4% | +10.1% |
Valuation Metrics
OSPN leads this category, winning 6 of 7 comparable metrics.
Valuation Metrics
At 6.4x trailing earnings, OSPN trades at a 89% valuation discount to DOCN's 59.8x P/E. Adjusting for growth (PEG ratio), QLYS offers better value at 0.90x vs MSFT's 1.64x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | ||||
|---|---|---|---|---|
| Market CapShares × price | $455M | $15.7B | $3.13T | $3.3B |
| Enterprise ValueMkt cap + debt − cash | $391M | $16.2B | $3.21T | $3.2B |
| Trailing P/EPrice ÷ TTM EPS | 6.39x | 59.75x | 30.86x | 17.45x |
| Forward P/EPrice ÷ next-FY EPS est. | 9.89x | 147.21x | 25.34x | 12.87x |
| PEG RatioP/E ÷ EPS growth rate | — | — | 1.64x | 0.90x |
| EV / EBITDAEnterprise value multiple | 6.00x | 54.99x | 19.72x | 13.49x |
| Price / SalesMarket cap ÷ Revenue | 1.87x | 17.43x | 11.10x | 5.00x |
| Price / BookPrice ÷ Book value/share | 1.72x | — | 9.15x | 6.17x |
| Price / FCFMarket cap ÷ FCF | 9.02x | 92.58x | 43.66x | 10.98x |
Profitability & Efficiency
Evenly matched — OSPN and QLYS each lead in 3 of 9 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. OSPN carries lower financial leverage with a 0.02x debt-to-equity ratio, signaling a more conservative balance sheet compared to MSFT's 0.33x. 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% | +33.1% | +37.2% |
| ROA (TTM)Return on assets | +18.9% | +13.0% | +19.2% | +19.1% |
| ROICReturn on invested capital | +21.7% | +15.6% | +24.9% | +47.5% |
| ROCEReturn on capital employed | +19.6% | +11.9% | +29.7% | +37.8% |
| Piotroski ScoreFundamental quality 0–9 | 5 | 7 | 6 | 6 |
| Debt / EquityFinancial leverage | 0.02x | — | 0.33x | 0.17x |
| Net DebtTotal debt minus cash | -$64M | $476M | $81.9B | -$153M |
| Cash & Equiv.Liquid assets | $70M | $254M | $30.2B | $250M |
| Total DebtShort + long-term debt | $6M | $731M | $112.2B | $97M |
| Interest CoverageEBIT ÷ Interest expense | 1656.95x | 134.84x | 55.65x | — |
Total Returns (Dividends Reinvested)
DOCN leads this category, winning 5 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 QLYS's -25.6%. The 3-year compound annual growth rate (CAGR) favors DOCN at 65.5% vs QLYS's -6.3% — a key indicator of consistent wealth creation.
| Metric | ||||
|---|---|---|---|---|
| YTD ReturnYear-to-date | -0.1% | +207.5% | -10.8% | -27.5% |
| 1-Year ReturnPast 12 months | -19.1% | +426.1% | -2.1% | -25.6% |
| 3-Year ReturnCumulative with dividends | -7.0% | +353.4% | +39.5% | -17.7% |
| 5-Year ReturnCumulative with dividends | -50.3% | +256.0% | +72.5% | -3.1% |
| 10-Year ReturnCumulative with dividends | -21.7% | +254.3% | +787.7% | +267.2% |
| CAGR (3Y)Annualised 3-year return | -2.4% | +65.5% | +11.7% | -6.3% |
Risk & Volatility
Evenly matched — DOCN and QLYS each lead in 1 of 2 comparable metrics.
Risk & Volatility
QLYS is the less volatile stock with a 0.53 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 QLYS's 61.1% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | ||||
|---|---|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 1.23x | 2.22x | 0.89x | 0.53x |
| 52-Week HighHighest price in past year | $18.13 | $162.00 | $555.45 | $155.47 |
| 52-Week LowLowest price in past year | $10.07 | $25.56 | $356.28 | $74.51 |
| % of 52W HighCurrent price vs 52-week peak | +67.0% | +93.0% | +75.8% | +61.1% |
| RSI (14)Momentum oscillator 0–100 | 61.5 | 85.7 | 54.0 | 54.2 |
| Avg Volume (50D)Average daily shares traded | 599K | 4.1M | 32.5M | 773K |
Analyst Outlook
Evenly matched — OSPN and MSFT each lead in 1 of 2 comparable metrics.
Analyst Outlook
Analyst consensus: OSPN as "Buy", DOCN as "Buy", MSFT as "Buy", QLYS as "Hold". Consensus price targets imply 41.5% upside for QLYS (target: $134) vs -46.1% for DOCN (target: $81). For income investors, OSPN offers the higher dividend yield at 3.95% vs MSFT's 0.77%.
| Metric | ||||
|---|---|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Buy | Buy | Buy | Hold |
| Price TargetConsensus 12-month target | $15.50 | $81.13 | $551.75 | $134.30 |
| # AnalystsCovering analysts | 15 | 19 | 81 | 48 |
| Dividend YieldAnnual dividend ÷ price | +3.9% | — | +0.8% | — |
| Dividend StreakConsecutive years of raises | 2 | — | 19 | — |
| Dividend / ShareAnnual DPS | $0.48 | — | $3.23 | — |
| Buyback YieldShare repurchases ÷ mkt cap | +2.9% | +0.5% | +0.6% | +5.5% |
MSFT leads in 1 of 6 categories (Income & Cash Flow). OSPN leads in 1 (Valuation Metrics). 3 tied.
OSPN vs DOCN vs MSFT vs QLYS: Key Questions Answered
10 questions · data-driven answers · updated daily
01Is OSPN or DOCN or MSFT or QLYS 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 or MSFT or QLYS?
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. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Qualys, Inc. wins at 0. 66x versus Microsoft Corporation's 1. 35x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.
03Which is the better long-term investment — OSPN or DOCN or MSFT or QLYS?
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: MSFT returned +787. 7% 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 or MSFT or QLYS?
By beta (market sensitivity over 5 years), Qualys, Inc.
(QLYS) is the lower-risk stock at 0. 53β versus DigitalOcean Holdings, Inc. 's 2. 22β — meaning DOCN is approximately 319% more volatile than QLYS relative to the S&P 500. On balance sheet safety, OneSpan Inc. (OSPN) carries a lower debt/equity ratio of 2% versus 33% for Microsoft Corporation — giving it more financial flexibility in a downturn.
05Which is growing faster — OSPN or DOCN or MSFT or QLYS?
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 15. 6% for Microsoft Corporation. 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 or MSFT or QLYS?
Microsoft Corporation (MSFT) is the more profitable company, earning 36.
1% net margin versus 28. 8% for DigitalOcean Holdings, Inc. — meaning it keeps 36. 1% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: MSFT leads at 45. 6% versus 17. 4% for DOCN. At the gross margin level — before operating expenses — QLYS leads at 82. 8%, 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 or MSFT or QLYS more undervalued right now?
The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.
By this metric, Qualys, Inc. (QLYS) is the more undervalued stock at a PEG of 0. 66x versus Microsoft Corporation's 1. 35x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. 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 QLYS: 41. 5% to $134. 30.
08Which pays a better dividend — OSPN or DOCN or MSFT or QLYS?
In this comparison, OSPN (3.
9% yield), MSFT (0. 8% yield) pay a dividend. DOCN, QLYS do not pay a meaningful dividend and should not be held primarily for income.
09Is OSPN or DOCN or MSFT or QLYS better for a retirement portfolio?
For long-horizon retirement investors, Microsoft Corporation (MSFT) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.
89), 0. 8% yield, +787. 7% 10Y return). 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 (MSFT: +787. 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 and MSFT and QLYS?
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; MSFT is a mega-cap quality compounder stock; QLYS is a small-cap deep-value stock. OSPN, MSFT pay a dividend while DOCN, QLYS do 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 all of them.
You Might Also Compare
Based on how these companies actually compete and overlap — not just which sector they're filed under.