Compare StocksJNJ vs TYL

Johnson & Johnson (JNJ) vs Tyler Technologies, Inc. (TYL): Which Is the Better Buy in 2026?

As of 2026-06-19, JNJ is fairly valued at $228, with a DCF intrinsic value of $281 and a margin of safety of 19%. TYL is fairly valued at $279, with an intrinsic value of $343 and a margin of safety of 19%. Of the two, TYL has the wider margin of safety.

JNJ
Johnson & Johnson
$228.39
VS
TYL
Tyler Technologies, Inc.
$278.91

Rewards

JNJ
  • Johnson & Johnson has maintained ROIC above 15% for 4 consecutive years, indicating a durable competitive advantage.
  • Gross margin of 68.0% indicates strong pricing power — typical of businesses with significant intellectual property or brand strength.
  • Johnson & Johnson scores 90/100 on the Economic Moat Score (Wide Moat), with revenue predictability as the strongest competitive dimension.
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

JNJ
  • Trailing P/E of 26.5x is 33% above the historical average of 20.0x — the stock trades at a premium to its own history.
  • PEG ratio of 3.06 indicates the stock is expensive relative to its expected growth — the market may be pricing in more growth than analysts project.
  • Insiders have sold $2.4M worth of stock in the past 3 months — significant insider liquidation.
TYL

    Key Valuation Metrics

    Learn more →
    JNJ
    TYL
    Valuation
    $19.31B
    Free Cash Flow
    $544.49M
    3.51%
    FCF Yield
    4.75%
    26.46
    Trailing P/E
    38.47
    17.96
    Forward P/E
    18.95
    Quality & Moat
    15.32%
    ROIC
    8.89%
    26.42%
    ROE
    8.93%
    68.04%
    Gross Margin
    46.75%
    3.06
    PEG Ratio
    1.45
    Balance Sheet Safety
    0.41
    Net Debt / Equity
    Net cash
    N/A
    Interest Coverage
    N/A
    0.96
    Net Debt / EBITDA
    -0.66
    2.22%
    Dividend Yield
    0.00%
    JNJ: 7Ties: 1TYL: 4
    JNJTYL

    Historical Fundamentals

    Learn more →
    JNJ

    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 →
    JNJ
    $0.91
    created per $1 retained over 3 years
    Mediocre Allocator
    Σ Retained
    $40.05B
    Δ Market Cap
    +$36.63B
    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 →
    JNJ
    18.6% Margin of Safety
    Price is 18.6% below estimated fair value
    Current Price: $228.39
    Fair Value: $280.51
    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 →
    JNJ

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

    +7.7%
    Market-Implied Owner Earnings Growth
    Standard FCF implies +13.3%

    The market implies +7.7% Owner Earnings growth, above historical trends.

    Standard FCF implies a demanding +13.3%, reflecting heavy growth investment.

    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 →
    JNJ
    90/100
    Wide Moat
    70+ Wide · 40-69 Narrow · <40 None

    Wide moat with strength across all dimensions. Revenue Predictability is the standout factor.

    Composite score measuring competitive advantage durability across four dimensions: returns above cost of capital, pricing power stability, revenue predictability, and capital efficiency. Based on 5 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 →
    JNJ
    -2.31
    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.
    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 →
    JNJ
    Insiders 0.1%Institutions 76.9%Retail & Other 23.1%
    No. of Institutional Holders5,728
    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 →
    JNJ
    0
    Buys (3M)
    1
    Buys (12M)
    Total value (12M): $257,688
    MORIKIS JOHN G
    Director
    $257,688
    @ $206.15 · 2025-11-26
    WEINBERGER MARK A
    Director
    $147,220
    @ $147.22 · 2024-12-12
    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 →
    JNJ
    1
    Sells (3M)
    13
    Sells (12M)
    Total value (12M): $103.65M
    WENGEL KATHRYN E
    Chief Technology Officer
    $2.41M
    @ $241.15 · 2026-06-11
    DECKER ROBERT J
    Officer
    $1.01M
    @ $247.87 · 2026-02-27
    SCHMID TIMOTHY
    Officer
    $324,763
    @ $245.66 · 2026-02-20
    SCHMID TIMOTHY
    Officer
    $5.53M
    @ $244.33 · 2026-02-18
    SWANSON JAMES D
    Chief Technology Officer
    $15.11M
    @ $243.39 · 2026-02-17
    BROADHURST VANESSA
    Officer
    $1.51M
    @ $243.39 · 2026-02-17
    WOLK JOSEPH J
    Chief Financial Officer
    $21.77M
    @ $242.80 · 2026-02-17
    REED JOHN C
    Officer
    $13.11M
    @ $243.00 · 2026-02-17
    REED JOHN C
    Officer
    $4.19M
    @ $192.71 · 2025-10-17
    TAUBERT JENNIFER L
    Officer
    $10.04M
    @ $177.81 · 2025-09-04
    DUATO JOAQUIN BOIX
    Chief Executive Officer
    $22.55M
    @ $179.21 · 2025-08-22
    WOLK JOSEPH J
    Chief Financial Officer
    $2.98M
    @ $176.91 · 2025-08-15
    REED JOHN C
    Officer
    $3.13M
    @ $163.55 · 2025-07-17
    DECKER ROBERT J
    Officer
    $1.16M
    @ $165.88 · 2025-02-25
    SCHMID TIMOTHY
    Officer
    $62,928
    @ $156.15 · 2025-02-18
    WOLK JOSEPH J
    Chief Financial Officer
    $2.00M
    @ $153.89 · 2025-02-07
    DECKER ROBERT J
    Officer
    $930,113
    @ $165.06 · 2024-08-30
    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 →
    JNJ
    FearGreed
    😏Greed(62/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 →
    JNJ
    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 (62)
    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 JNJ Full AnalysisView TYL Full Analysis

    Frequently Asked Questions: JNJ vs TYL

    Is Johnson & Johnson or Tyler Technologies, Inc. more undervalued in 2026?

    Based on our discounted cash flow model, TYL trades at a 18.8% margin of safety (intrinsic value $343 vs. price $279), compared to JNJ's 18.6% margin of safety (intrinsic $281 vs. $228).

    Which stock has a wider economic moat, Johnson & Johnson or Tyler Technologies, Inc.?

    JNJ scores 90/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.

    Which company has better free cash flow, Johnson & Johnson or Tyler Technologies, Inc.?

    Tyler Technologies, Inc. (TYL) generates a 4.7% free cash flow yield, compared to Johnson & Johnson's 3.5%. A higher FCF yield means the business converts more of its market value into cash that can be returned to shareholders or reinvested.

    Which stock has higher return on invested capital, Johnson & Johnson or Tyler Technologies, Inc.?

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

    JNJ vs TYL: Which Is the Better Buy in 2026? | SafetyMargin.io