Compare StocksMS vs TYL

Morgan Stanley (MS) vs Tyler Technologies, Inc. (TYL): Which Is the Better Buy in 2026?

As of 2026-06-19, MS is undervalued at $223, with a DCF intrinsic value of $298 and a margin of safety of 25%. TYL is fairly valued at $279, with an intrinsic value of $343 and a margin of safety of 19%. Of the two, MS has the wider margin of safety.

MS
Morgan Stanley
$223.17
VS
TYL
Tyler Technologies, Inc.
$278.91

Rewards

MS
  • Gross margin of 87.4% indicates strong pricing power — typical of businesses with significant intellectual property or brand strength.
  • Morgan Stanley scores 80/100 on the Economic Moat Score (Wide Moat), with revenue predictability as the strongest competitive dimension.
  • Each dollar of retained earnings has created $3.56 of earning power — management is an exceptional capital allocator.
TYL
  • Free cash flow has grown at a 23.3% CAGR over the past 4 years, demonstrating strong earnings power growth.
  • Each dollar of retained earnings has created $2.16 of earning power — management is an exceptional capital allocator.
  • Trailing P/E of 38.5x is 55% below the historical average of 85.7x — potentially undervalued relative to its own history.

Risks

MS
  • Trailing P/E of 20.2x is 26% above the historical average of 16.1x — the stock trades at a premium to its own history.
  • PEG ratio of 2.66 indicates the stock is expensive relative to its expected growth — the market may be pricing in more growth than analysts project.
  • Altman Z-Score of 0.29 places the company in the distress zone — financial patterns resemble those of companies that experienced bankruptcy.
TYL

    Key Valuation Metrics

    Learn more →
    MS
    TYL
    Valuation
    N/A
    Free Cash Flow
    $544.49M
    N/A
    FCF Yield
    4.75%
    20.21
    Trailing P/E
    38.47
    17.56
    Forward P/E
    18.95
    Quality & Moat
    3.38%
    ROIC
    8.89%
    16.39%
    ROE
    8.93%
    87.39%
    Gross Margin
    46.75%
    2.66
    PEG Ratio
    1.45
    Balance Sheet Safety
    Net cash
    Net Debt / Equity
    Net cash
    N/A
    Interest Coverage
    N/A
    N/A
    Net Debt / EBITDA
    -0.66
    1.81%
    Dividend Yield
    0.00%
    MS: 6Ties: 1TYL: 2
    MSTYL

    Historical Fundamentals

    Learn more →
    MS

    Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation. The dashed forward point is the forward P/E — today's price ÷ analyst consensus EPS.

    TYL

    Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation. The dashed forward point is the forward P/E — today's price ÷ analyst consensus EPS.

    Price ÷ Earnings Per Share — how many years of current earnings you're paying for at today's price. Lower P/E may indicate undervaluation. The dashed forward point is the forward P/E — today's price ÷ analyst consensus EPS.

    $1 Retained Earnings Test

    Learn more →
    MS
    $6.65
    created per $1 retained over 3 years
    Exceptional Value Creator
    Σ Retained
    $20.84B
    Δ Market Cap
    +$138.59B
    Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
    > $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer
    TYL
    $8.20
    created per $1 retained over 3 years
    Exceptional Value Creator
    Σ Retained
    $744.5M
    Δ Market Cap
    +$6.10B
    Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
    > $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer

    Buffett's "$1 Test": For every $1 of earnings retained, has management created at least $1 of market value?
    > $1 created per $1 retained = Value Creator · < $1 created = Value Destroyer

    Discounted Cash Flow (DCF) Analysis

    Learn more →
    MS
    25.0% Margin of Safety
    Price is 25.0% below estimated fair value
    Current Price: $223.17
    Fair Value: $297.53
    Strongly undervalued
    Undervalued
    Fairly valued
    Overvalued
    Strongly overvalued
    TYL
    18.8% Margin of Safety
    Price is 18.8% below estimated fair value
    Current Price: $278.91
    Fair Value: $343.29
    Strongly undervalued
    Undervalued
    Fairly valued
    Overvalued
    Strongly overvalued

    Reverse DCF — Market-Implied Growth

    Learn more →
    MS

    Requires positive FCF to compute implied growth rate.

    TYL

    What growth rate is the market pricing in at $279?

    +11.3%
    Market-Implied Owner Earnings Growth
    Standard FCF implies +8.1%

    The market implies +11.3% Owner Earnings growth, below historical trends — potential opportunity.

    Standard FCF implies a more demanding +8.1%, reflecting heavy growth investment expected to generate future returns.

    Economic Moat Score

    Learn more →
    MS
    80/100
    Wide Moat
    70+ Wide · 40-69 Narrow · <40 None

    Wide moat driven primarily by revenue predictability. Margin Stability is the area most vulnerable to competitive pressure.

    Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 4 years of fundamental data.
    TYL
    62/100
    Narrow Moat
    70+ Wide · 40-69 Narrow · <40 None

    Narrow moat with revenue predictability as the key competitive advantage. Improving roic consistency would strengthen the moat.

    Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 4 years of fundamental data.

    Forensic Accounting

    Learn more →
    MS
    -2.09
    Possible Manipulator
    Above -1.78 = likely manipulator · -2.22 to -1.78 = grey zone

    M-Score Trend

    Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.
    TYL
    -2.70
    Unlikely Manipulator
    Above -1.78 = likely manipulator · -2.22 to -1.78 = grey zone

    M-Score Trend

    Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.

    Beneish's 8-variable model estimates the probability of earnings manipulation. An M-Score above -1.78 signals elevated risk — companies in this range have historically been 3-5× more likely to be manipulating earnings. Scores between -2.22 and -1.78 fall in a grey zone warranting further investigation.

    Ownership Breakdown

    Learn more →
    MS
    Insiders 24.3%Institutions 62.8%Retail & Other 12.9%
    No. of Institutional Holders3,208
    High insider ownership aligns management incentives with shareholders — a key signal in Buffett-style analysis. Institutional concentration can indicate smart-money conviction but also crowding risk.
    TYL
    Insiders 0.5%Institutions 103.5%
    No. of Institutional Holders1,115
    High insider ownership aligns management incentives with shareholders — a key signal in Buffett-style analysis. Institutional concentration can indicate smart-money conviction but also crowding risk.

    High insider ownership aligns management incentives with shareholders. Institutional concentration can indicate smart-money conviction but also crowding risk.

    Insider Buying Activity

    Learn more →
    MS
    0
    Buys (3M)
    1
    Buys (12M)
    Total value (12M): $5,630
    PETERSON DOUGLAS L
    Director
    $5,630
    @ $156.39 · 2025-10-17
    Open market purchases · includes direct & indirect ownership · excludes option exercises
    TYL
    0
    Buys (3M)
    2
    Buys (12M)
    Total value (12M): $694,152
    TEED ANDREW D.
    Director
    $495,856
    @ $309.91 · 2026-02-23
    DIAZ-PEDROSA ABIGAIL MARSHALL
    Officer
    $198,296
    @ $325.08 · 2026-02-20
    Open market purchases · includes direct & indirect ownership · excludes option exercises

    Open market purchases · includes direct & indirect ownership · excludes option exercises.

    Insider Selling Activity

    Learn more →
    MS
    4
    Sells (3M)
    16
    Sells (12M)
    Total value (12M): $70.42M
    GROSSMAN ERIC F
    Officer
    $2.12M
    @ $190.75 · 2026-04-20
    SIMKOWITZ DANIEL A
    President
    $2.78M
    @ $189.24 · 2026-04-17
    CRAWLEY MANDELL L.
    Officer
    $3.04M
    @ $188.22 · 2026-04-16
    SAPERSTEIN ANDREW MICHAEL
    President
    $9.74M
    @ $188.59 · 2026-04-16
    SIMKOWITZ DANIEL A
    President
    $6.02M
    @ $182.61 · 2026-01-30
    CRAWLEY MANDELL L.
    Officer
    $1.44M
    @ $183.45 · 2026-01-20
    YESHAYA SHARON
    Chief Financial Officer
    $2.94M
    @ $185.77 · 2026-01-20
    SMITH CHARLES AUBREY III
    Officer
    $1.55M
    @ $182.08 · 2026-01-20
    SAPERSTEIN ANDREW MICHAEL
    President
    $5.57M
    @ $183.62 · 2026-01-20
    GROSSMAN ERIC F
    Officer
    $3.97M
    @ $184.00 · 2026-01-20
    PIZZI MICHAEL A
    Officer
    $3.69M
    @ $184.55 · 2026-01-20
    PICK EDWARD N.
    Chief Executive Officer
    $16.43M
    @ $164.34 · 2025-10-31
    SMITH CHARLES AUBREY III
    Officer
    $2.81M
    @ $140.30 · 2025-07-17
    SIMKOWITZ DANIEL A
    President
    $4.09M
    @ $141.13 · 2025-07-17
    GROSSMAN ERIC F
    Officer
    $1.69M
    @ $141.12 · 2025-07-17
    PIZZI MICHAEL A
    Officer
    $2.53M
    @ $140.62 · 2025-07-17
    SIMKOWITZ DANIEL A
    President
    $3.70M
    @ $127.37 · 2025-05-12
    HERZ ROBERT H
    Director
    $95,459
    @ $119.32 · 2025-05-02
    SAPERSTEIN ANDREW MICHAEL
    President
    $4.80M
    @ $120.00 · 2025-05-02
    GROSSMAN ERIC F
    Officer
    $1.12M
    @ $111.65 · 2025-04-15
    CRAWLEY MANDELL L.
    Officer
    $1.15M
    @ $138.06 · 2025-01-22
    SAPERSTEIN ANDREW MICHAEL
    President
    $4.20M
    @ $136.43 · 2025-01-21
    SIMKOWITZ DANIEL A
    President
    $5.00M
    @ $136.61 · 2025-01-21
    AKRAM RAJA
    Chief Financial Officer
    $2.38M
    @ $136.01 · 2025-01-21
    GROSSMAN ERIC F
    Officer
    $1.78M
    @ $136.20 · 2025-01-21
    PIZZI MICHAEL A
    Officer
    $2.52M
    @ $136.92 · 2025-01-21
    CRAWLEY MANDELL L.
    Officer
    $368,375
    @ $105.25 · 2024-07-26
    AKRAM RAJA
    Officer
    $797,764
    @ $106.37 · 2024-07-18
    HERZ ROBERT H
    Director
    $106,621
    @ $106.62 · 2024-07-17
    SIMKOWITZ DANIEL A
    President
    $4.26M
    @ $106.54 · 2024-07-17
    Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives
    TYL
    0
    Sells (3M)
    13
    Sells (12M)
    Total value (12M): $16.95M
    CARTER GLENN A.
    Director
    $567,003
    @ $349.14 · 2026-03-12
    PUCKETT JEFFREY DAVID
    Chief Operating Officer
    $1.91M
    @ $369.93 · 2026-03-05
    POPE DANIEL M
    Director
    $177,700
    @ $355.40 · 2026-03-02
    MILLER BRIAN K.
    Chief Financial Officer
    $448,510
    @ $448.51 · 2025-12-15
    MILLER BRIAN K.
    Chief Financial Officer
    $458,650
    @ $458.65 · 2025-12-12
    CARTER GLENN A.
    Director
    $229,364
    @ $458.73 · 2025-12-12
    MILLER BRIAN K.
    Chief Financial Officer
    $469,080
    @ $469.08 · 2025-11-25
    CARTER GLENN A.
    Director
    $403,725
    @ $538.30 · 2025-09-15
    MARR JOHN S JR
    Officer and Director
    $2.24M
    @ $560.65 · 2025-09-09
    MARR JOHN S JR
    Officer and Director
    $2.36M
    @ $555.53 · 2025-08-28
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $3.09M
    @ $588.89 · 2025-08-11
    CLINE BRENDA A
    Director
    $1.54M
    @ $616.65 · 2025-08-06
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $3.05M
    @ $580.77 · 2025-07-31
    MILLER BRIAN K.
    Chief Financial Officer
    $696,866
    @ $580.72 · 2025-06-13
    MILLER BRIAN K.
    Chief Financial Officer
    $613,041
    @ $587.20 · 2025-06-12
    MILLER BRIAN K.
    Chief Financial Officer
    $703,101
    @ $585.92 · 2025-06-10
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $3.07M
    @ $585.18 · 2025-06-10
    MARR JOHN S JR
    Officer and Director
    $2.29M
    @ $572.41 · 2025-06-09
    MILLER BRIAN K.
    Chief Financial Officer
    $693,187
    @ $577.66 · 2025-06-06
    DIAZ-PEDROSA ABIGAIL MARSHALL
    Officer
    $215,100
    @ $573.60 · 2025-06-05
    MARR JOHN S JR
    Officer and Director
    $1.65M
    @ $572.51 · 2025-05-30
    MILLER BRIAN K.
    Chief Financial Officer
    $1.89M
    @ $568.46 · 2025-05-23
    MARR JOHN S JR
    Officer and Director
    $2.27M
    @ $568.66 · 2025-05-22
    MILLER BRIAN K.
    Chief Financial Officer
    $1.04M
    @ $576.65 · 2025-05-16
    CLINE BRENDA A
    Director
    $1.44M
    @ $577.42 · 2025-05-16
    MARR JOHN S JR
    Officer and Director
    $2.79M
    @ $558.86 · 2025-05-09
    MILLER BRIAN K.
    Chief Financial Officer
    $575,639
    @ $557.79 · 2025-05-07
    POPE DANIEL M
    Director
    $200,750
    @ $550.00 · 2025-05-02
    MARR JOHN S JR
    Officer and Director
    $3.71M
    @ $619.00 · 2025-03-06
    MILLER BRIAN K.
    Chief Financial Officer
    $950,904
    @ $613.88 · 2025-03-04
    PUCKETT JEFFREY DAVID
    Chief Operating Officer
    $5.17M
    @ $608.53 · 2025-02-28
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $4.02M
    @ $617.59 · 2025-02-26
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $4.92M
    @ $614.54 · 2025-02-25
    MILLER BRIAN K.
    Chief Financial Officer
    $4.14M
    @ $613.75 · 2024-12-13
    MILLER BRIAN K.
    Chief Financial Officer
    $1.58M
    @ $632.01 · 2024-12-04
    MARR JOHN S JR
    Officer and Director
    $3.80M
    @ $633.55 · 2024-12-04
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $2.05M
    @ $631.41 · 2024-11-27
    MARR JOHN S JR
    Chairman of the Board
    $7.36M
    @ $613.66 · 2024-11-25
    MARR JOHN S JR
    Chairman of the Board
    $6.79M
    @ $616.88 · 2024-11-13
    MILLER BRIAN K.
    Chief Financial Officer
    $1.56M
    @ $624.41 · 2024-11-08
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $5.45M
    @ $623.02 · 2024-11-08
    MILLER BRIAN K.
    Chief Financial Officer
    $3.03M
    @ $606.71 · 2024-11-07
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $3.79M
    @ $605.82 · 2024-11-06
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $2.88M
    @ $576.62 · 2024-09-12
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $2.95M
    @ $590.98 · 2024-09-10
    MILLER BRIAN K.
    Chief Financial Officer
    $1.47M
    @ $586.04 · 2024-09-09
    CARTER GLENN A.
    Director
    $1.95M
    @ $582.57 · 2024-09-05
    MILLER BRIAN K.
    Chief Financial Officer
    $2.94M
    @ $587.97 · 2024-08-30
    MARR JOHN S JR
    Officer and Director
    $5.79M
    @ $578.51 · 2024-08-21
    MARR JOHN S JR
    Officer and Director
    $5.75M
    @ $575.50 · 2024-08-09
    MILLER BRIAN K.
    Chief Financial Officer
    $2.58M
    @ $573.36 · 2024-08-08
    MOORE HORACE LYNN JR.
    Chief Executive Officer
    $3.60M
    @ $576.49 · 2024-08-06
    PUCKETT JEFFREY DAVID
    Chief Operating Officer
    $3.44M
    @ $574.79 · 2024-07-31
    POPE DANIEL M
    Director
    $159,022
    @ $578.26 · 2024-07-29
    Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives

    Direct ownership only · excludes indirect, option exercises, planned (10b5-1) sales & derivatives.

    🎭 Mr. Market's Mood

    Learn more →
    MS
    FearGreed
    😏Greed(70/100)

    "Market is optimistic — be cautious and ensure you have a margin of safety"

    Composite sentiment score based on 6 market signals. Inspired by Buffett's "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.
    TYL
    FearGreed
    😨Fear(26/100)

    "Market is pessimistic — investigate whether fears are temporary or structural"

    Composite sentiment score based on 6 market signals. Inspired by Buffett's "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.

    Composite sentiment score based on market signals. Inspired by Buffett’s "Mr. Market" allegory — fear = potential opportunity, greed = potential risk. Must be used alongside fundamental analysis, not in isolation.

    ⚖️ Buffett Signal

    Learn more →
    MS
    Awaiting DCF Data

    The Buffett Signal cross-references market sentiment with DCF valuation. Configure the DCF Analysis above to generate a signal.

    DCF Margin of Safety: N/AMr. Market's Mood: Greed (70)
    TYL
    Awaiting DCF Data

    The Buffett Signal cross-references market sentiment with DCF valuation. Configure the DCF Analysis above to generate a signal.

    DCF Margin of Safety: N/AMr. Market's Mood: Fear (26)
    View MS Full AnalysisView TYL Full Analysis

    Frequently Asked Questions: MS vs TYL

    Is Morgan Stanley or Tyler Technologies, Inc. more undervalued in 2026?

    Based on our discounted cash flow model, MS trades at a 25.0% margin of safety (intrinsic value $298 vs. price $223), compared to TYL's 18.8% margin of safety (intrinsic $343 vs. $279).

    Which stock has a wider economic moat, Morgan Stanley or Tyler Technologies, Inc.?

    MS scores 80/100 (Wide moat), while TYL scores 62/100 (Narrow moat). The moat score measures competitive advantage durability across ROIC consistency, margin stability, revenue predictability, and reinvestment efficiency.

    Is Morgan Stanley in financial distress?

    MS's Altman Z-Score of 0.3 places it in the Distress zone, signaling elevated bankruptcy risk. TYL scores 7.3 (Safe zone). The Altman Z-Score is a five-factor model that predicts insolvency within two years; scores below 1.81 indicate significant distress.

    Which stock has higher return on invested capital, Morgan Stanley or Tyler Technologies, Inc.?

    TYL earns 8.9% ROIC versus MS's 3.4%. A higher ROIC means the company generates more profit per dollar of capital employed, a hallmark of durable competitive advantage in Buffett-style analysis.