Comprehensive Stock Comparison
Compare Qualys, Inc. (QLYS) vs Fortinet, Inc. (FTNT) Stock
Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.
Selected Stocks
Add up to 10 tickers. Use presets or search to get started.
Quick Verdict
| Category | Winner | Why |
|---|---|---|
| Growth | FTNT | 14.2% revenue growth vs QLYS's 9.6% |
| Value | QLYS | Lower P/E (12.5x vs 26.6x), PEG 0.56 vs 0.80 |
| Quality / Margins | QLYS | 29.0% net margin vs FTNT's 27.3% |
| Stability / Safety | QLYS | Beta 0.81 vs FTNT's 1.23, lower leverage |
| Dividends | Tie | Neither pays a meaningful dividend |
| Momentum (1Y) | FTNT | -26.8% vs QLYS's -29.7% |
| Efficiency (ROA) | QLYS | 18.3% ROA vs FTNT's 17.8% |
Who Each Stock Is For
Income & stability
Growth exposure
Long-term compounding (10Y)
Sleep-well-at-night portfolio
Valuation efficiency (growth/$)
Defensive / Recession hedge
Business Model
What each company does and how it makes money
Qualys is a cloud-based cybersecurity platform that provides vulnerability management, compliance, and threat protection solutions. It generates revenue primarily through subscription fees for its Qualys Cloud Platform — which includes vulnerability scanning, compliance monitoring, and web application security services — with over 90% of revenue coming from subscriptions. The company's key advantage is its cloud-native architecture that enables continuous, real-time security assessments across global IT environments without requiring customer-deployed hardware.
Fortinet is a cybersecurity company that provides integrated network security solutions through hardware appliances, software, and cloud services. It generates revenue primarily from selling security hardware like firewalls (~60% of product revenue) and software subscriptions/services (~40% of total revenue) including support, cloud security, and software-as-a-service offerings. The company's key advantage is its Security Fabric architecture—a unified platform approach that integrates various security functions across networks, endpoints, and clouds, creating switching costs and operational efficiencies for customers.
Revenue Breakdown by Segment
How each company's revenue is distributed across its business units
Financial Metrics Comparison
Side-by-side fundamentals across 2 stocks. BestLagging
Financial Scorecard
QLYS leads in 3 of 6 categories (Financial Metrics, Valuation Metrics). FTNT leads in 1 (Total Returns). 1 tied.
Financial Metrics (TTM)
FTNT is the larger business by revenue, generating $6.8B annually — 10.4x QLYS's $653M. Profitability is closely matched — net margins range from 29.0% (QLYS) to 27.3% (FTNT). On growth, FTNT holds the edge at +14.8% YoY revenue growth, suggesting stronger near-term business momentum.
| Metric | QLYSQualys, Inc. | FTNTFortinet, Inc. |
|---|---|---|
| RevenueTrailing 12 months | $653M | $6.8B |
| EBITDAEarnings before interest/tax | $228M | $2.2B |
| Net IncomeAfter-tax profit | $189M | $1.9B |
| Free Cash FlowCash after capex | $271M | $2.2B |
| Gross MarginGross profit ÷ Revenue | +82.4% | +80.8% |
| Operating MarginEBIT ÷ Revenue | +32.5% | +30.6% |
| Net MarginNet income ÷ Revenue | +29.0% | +27.3% |
| FCF MarginFCF ÷ Revenue | +41.6% | +32.7% |
| Rev. Growth (YoY)Latest quarter vs prior year | +10.4% | +14.8% |
| EPS Growth (YoY)Latest quarter vs prior year | +12.1% | 0.0% |
Valuation Metrics
At 19.9x trailing earnings, QLYS trades at a 39% valuation discount to FTNT's 32.5x P/E. Adjusting for growth (PEG ratio), QLYS offers better value at 0.88x vs FTNT's 0.98x — a lower PEG means you pay less per unit of expected earnings growth.
| Metric | QLYSQualys, Inc. | FTNTFortinet, Inc. |
|---|---|---|
| Market CapShares × price | $3.3B | $58.8B |
| Enterprise ValueMkt cap + debt − cash | $3.1B | $57.3B |
| Trailing P/EPrice ÷ TTM EPS | 19.89x | 32.52x |
| Forward P/EPrice ÷ next-FY EPS est. | 12.54x | 26.56x |
| PEG RatioP/E ÷ EPS growth rate | 0.88x | 0.98x |
| EV / EBITDAEnterprise value multiple | 15.24x | 25.64x |
| Price / SalesMarket cap ÷ Revenue | 5.47x | 8.64x |
| Price / BookPrice ÷ Book value/share | 7.24x | 47.77x |
| Price / FCFMarket cap ÷ FCF | 14.33x | 26.40x |
Profitability & Efficiency
FTNT delivers a 149.8% return on equity — every $100 of shareholder capital generates $150 in annual profit, vs $36 for QLYS. QLYS carries lower financial leverage with a 0.10x debt-to-equity ratio, signaling a more conservative balance sheet compared to FTNT's 0.81x. On the Piotroski fundamental quality scale (0–9), FTNT scores 7/9 vs QLYS's 5/9, reflecting strong financial health.
| Metric | QLYSQualys, Inc. | FTNTFortinet, Inc. |
|---|---|---|
| ROE (TTM)Return on equity | +35.7% | +149.8% |
| ROA (TTM)Return on assets | +18.3% | +17.8% |
| ROICReturn on invested capital | +57.8% | — |
| ROCEReturn on capital employed | +38.7% | +37.7% |
| Piotroski ScoreFundamental quality 0–9 | 5 | 7 |
| Debt / EquityFinancial leverage | 0.10x | 0.81x |
| Net DebtTotal debt minus cash | -$185M | -$1.5B |
| Cash & Equiv.Liquid assets | $232M | $2.5B |
| Total DebtShort + long-term debt | $47M | $996M |
| Interest CoverageEBIT ÷ Interest expense | — | 112.99x |
Total Returns (with DRIP)
A $10,000 investment in FTNT five years ago would be worth $22,808 today (with dividends reinvested), compared to $9,270 for QLYS. Over the past 12 months, FTNT leads with a -26.8% total return vs QLYS's -29.7%. The 3-year compound annual growth rate (CAGR) favors FTNT at 10.0% vs QLYS's -7.8% — a key indicator of consistent wealth creation.
| Metric | QLYSQualys, Inc. | FTNTFortinet, Inc. |
|---|---|---|
| YTD ReturnYear-to-date | -29.4% | +1.5% |
| 1-Year ReturnPast 12 months | -29.7% | -26.8% |
| 3-Year ReturnCumulative with dividends | -21.7% | +33.0% |
| 5-Year ReturnCumulative with dividends | -7.3% | +128.1% |
| 10-Year ReturnCumulative with dividends | +270.3% | +1291.4% |
| CAGR (3Y)Annualised 3-year return | -7.8% | +10.0% |
Risk & Volatility
QLYS is the less volatile stock with a 0.81 beta — it tends to amplify market swings less than FTNT's 1.23 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. FTNT currently trades 71.4% from its 52-week high vs QLYS's 59.5% drawdown — a narrower gap to the peak suggests stronger recent price momentum.
| Metric | QLYSQualys, Inc. | FTNTFortinet, Inc. |
|---|---|---|
| Beta (5Y)Sensitivity to S&P 500 | 0.81x | 1.23x |
| 52-Week HighHighest price in past year | $155.47 | $110.67 |
| 52-Week LowLowest price in past year | $85.14 | $70.12 |
| % of 52W HighCurrent price vs 52-week peak | +59.5% | +71.4% |
| RSI (14)Momentum oscillator 0–100 | 28.4 | 47.1 |
| Avg Volume (50D)Average daily shares traded | 453K | 5.6M |
Analyst Outlook
Wall Street rates QLYS as "Hold" and FTNT as "Hold". Consensus price targets imply 49.0% upside for QLYS (target: $138) vs 8.5% for FTNT (target: $86).
| Metric | QLYSQualys, Inc. | FTNTFortinet, Inc. |
|---|---|---|
| Analyst RatingConsensus buy/hold/sell | Hold | Hold |
| Price TargetConsensus 12-month target | $137.80 | $85.71 |
| # AnalystsCovering analysts | 48 | 67 |
| Dividend YieldAnnual dividend ÷ price | — | — |
| Dividend StreakConsecutive years of raises | — | — |
| Dividend / ShareAnnual DPS | — | — |
| Buyback YieldShare repurchases ÷ mkt cap | +4.2% | +3.9% |
Historical Charts
Charts are rendered on first load. Hover for details.
Chart 1Total Return — 5 Years (Rebased to 100)
| Stock | Mar 20 | Feb 26 | Change |
|---|---|---|---|
| Qualys, Inc. (QLYS) | 100 | 164.57 | +64.6% |
| Fortinet, Inc. (FTNT) | 100 | 369.16 | +269.2% |
Fortinet, Inc. (FTNT) returned +128% over 5 years vs Qualys, Inc. (QLYS)'s -7%. A $10,000 investment in FTNT 5 years ago would be worth $22,808 today (including dividends reinvested).
Chart 2Revenue Growth — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| Qualys, Inc. (QLYS) | $198M | $608M | +207.0% |
| Fortinet, Inc. (FTNT) | $1.3B | $6.8B | +433.1% |
Fortinet, Inc.'s revenue grew from $1.3B (2016) to $6.8B (2025) — a 20.4% CAGR.
Chart 3Net Margin Trend — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| Qualys, Inc. (QLYS) | 9.7% | 28.6% | +194.3% |
| Fortinet, Inc. (FTNT) | 2.5% | 27.3% | +979.6% |
Fortinet, Inc.'s net margin went from 3% (2016) to 27% (2025).
Chart 4P/E Ratio History — 9 Years
| Stock | 2017 | 2025 | Change |
|---|---|---|---|
| Qualys, Inc. (QLYS) | 58.8 | 30.2 | -48.6% |
| Fortinet, Inc. (FTNT) | 242.8 | 32.7 | -86.5% |
Qualys, Inc. has traded in a 30x–78x P/E range over 8 years; current trailing P/E is ~20x. Fortinet, Inc. has traded in a 33x–243x P/E range over 9 years; current trailing P/E is ~33x.
Chart 5EPS Growth — 10 Years
| Stock | 2016 | 2025 | Change |
|---|---|---|---|
| Qualys, Inc. (QLYS) | 0.5 | 4.65 | +830.0% |
| Fortinet, Inc. (FTNT) | 0.04 | 2.43 | +6650.0% |
Fortinet, Inc.'s EPS grew from $0.04 (2016) to $2.43 (2025) — a 60% CAGR.
Chart 6Free Cash Flow — 5 Years
Qualys, Inc. generated $232M FCF in 2024 (+32% vs 2021). Fortinet, Inc. generated $2B FCF in 2025 (+85% vs 2021).
QLYS vs FTNT: Frequently Asked Questions
9 questions · data-driven answers · updated daily
01Is QLYS or FTNT a better buy right now?
Qualys, Inc. (QLYS) offers the better valuation at 19.9x trailing P/E (12.5x forward), making it the more compelling value choice. Analysts rate Qualys, Inc. (QLYS) a "Hold" — based on 48 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 — QLYS or FTNT?
On trailing P/E, Qualys, Inc. (QLYS) is the cheapest at 19.9x versus Fortinet, Inc. at 32.5x. On forward P/E, Qualys, Inc. is actually cheaper at 12.5x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Qualys, Inc. wins at 0.56x versus Fortinet, Inc.'s 0.80x — a PEG below 1.0 traditionally signals the market is underpricing earnings growth.
03Which is the better long-term investment — QLYS or FTNT?
Over the past 5 years, Fortinet, Inc. (FTNT) delivered a total return of +128.1%, compared to -7.3% for Qualys, Inc. (QLYS). A $10,000 investment in FTNT five years ago would be worth approximately $23K today (assuming dividends reinvested). Over 10 years, the gap is even starker: FTNT returned +1291% versus QLYS's +270.3%. 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 — QLYS or FTNT?
By beta (market sensitivity over 5 years), Qualys, Inc. (QLYS) is the lower-risk stock at 0.81β versus Fortinet, Inc.'s 1.23β — meaning FTNT is approximately 50% more volatile than QLYS relative to the S&P 500. On balance sheet safety, Qualys, Inc. (QLYS) carries a lower debt/equity ratio of 10% versus 81% for Fortinet, Inc. — giving it more financial flexibility in a downturn.
05Which has better profit margins — QLYS or FTNT?
Qualys, Inc. (QLYS) is the more profitable company, earning 28.6% net margin versus 27.3% for Fortinet, Inc. — meaning it keeps 28.6% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: QLYS leads at 30.8% versus 30.6% for FTNT. At the gross margin level — before operating expenses — QLYS leads at 81.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.
06Is QLYS or FTNT 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.56x versus Fortinet, Inc.'s 0.80x. A PEG below 1.0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Qualys, Inc. (QLYS) trades at 12.5x forward P/E versus 26.6x for Fortinet, Inc. — 14.0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for QLYS: 49.0% to $137.80.
07Which pays a better dividend — QLYS or FTNT?
None of the stocks in this comparison currently pay a material dividend. All are effectively zero-yield and should be held for capital appreciation rather than income.
08Is QLYS or FTNT better for a retirement portfolio?
For long-horizon retirement investors, Fortinet, Inc. (FTNT) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 1.23), +1291% 10Y return). Both have compounded well over 10 years (FTNT: +1291%, QLYS: +270.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.
09What are the main differences between QLYS and FTNT?
Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both. 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 beat both.