Comprehensive Stock Comparison

Compare The Trade Desk, Inc. (TTD) vs SAP SE (SAP) vs Salesforce, Inc. (CRM) Stock

Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.

Tickers 3 / 10100+ Metrics

Selected Stocks

Add up to 10 tickers. Use presets or search to get started.

3 / 10
Try these comparisons:

Quick Verdict

CategoryWinnerWhy
GrowthTTD18.5% revenue growth vs SAP's 3.4%
ValueCRMLower P/E (16.5x vs 27.8x), PEG 1.35 vs 4.20
Quality / MarginsSAP19.9% net margin vs TTD's 15.3%
Stability / SafetySAPBeta 0.86 vs TTD's 1.67
DividendsSAP1.3% yield, 2-year raise streak, vs CRM's 0.9%
Momentum (1Y)SAP-25.8% vs TTD's -66.1%
Efficiency (ROA)SAP10.4% ROA vs CRM's 6.6%, ROIC 16.1% vs 10.9%
Bottom line: SAP leads in 5 of 7 categories, making it the stronger pick for investors who prioritize profitability and margin quality and capital preservation and lower volatility. The Trade Desk, Inc. is the better choice for growth and revenue expansion. As direct sector peers, they can serve as alternatives in the same portfolio allocation.

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

TTDThe Trade Desk, Inc.
Technology

The Trade Desk operates a cloud-based platform that enables advertisers to programmatically buy and manage digital ad campaigns across channels like connected TV, display, and video. It generates revenue primarily from platform fees—typically a percentage of media spend—with nearly all income coming from its core self-service advertising platform. Its key advantage is its independent, transparent position in the ad tech ecosystem—unlike walled gardens—which attracts major agencies and brands seeking unbiased campaign optimization.

SAPSAP SE
Technology

SAP is a global enterprise software company that provides business applications, technology platforms, and cloud services for organizations worldwide. It generates revenue primarily through software licenses and cloud subscriptions — with cloud services now representing over 40% of total revenue — along with consulting and support services. The company's key advantage is its deep integration across business functions — from finance to supply chain to HR — creating switching costs and network effects within its large enterprise customer base.

CRMSalesforce, Inc.
Technology

Salesforce is a cloud-based customer relationship management (CRM) software company that helps businesses manage sales, service, marketing, and commerce operations. It generates revenue primarily through subscription fees for its SaaS platform—with sales cloud (~30%), service cloud (~25%), and platform/other (~45%) being its main segments. Its competitive moat lies in its massive ecosystem of integrated applications, enterprise data architecture, and high switching costs for customers deeply embedded in its platform.

Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

TTDThe Trade Desk, Inc.

Segment breakdown not available.

SAPSAP SE
FY 2024
Cloud
79.9%$17.1B
Services
20.1%$4.3B
CRMSalesforce, Inc.
FY 2025
Service Cloud
23.9%$9.1B
Sales Cloud
22.0%$8.3B
Salesforce Platform and Other
19.1%$7.2B
Integration And Analytics
15.2%$5.8B
Marketing and Commerce Cloud
13.9%$5.3B
Professional Services and Other
5.8%$2.2B

Financial Metrics Comparison

Side-by-side fundamentals across 3 stocks. BestLagging

Financial Scorecard

SAP 3TTD 1CRM 1
Financial MetricsTie2/6 metrics
Valuation MetricsCRM4/7 metrics
Profitability & EfficiencyTTD5/9 metrics
Total ReturnsSAP5/6 metrics
Risk & VolatilitySAP2/2 metrics
Analyst OutlookSAP1/1 metrics

SAP leads in 3 of 6 categories (Total Returns, Risk & Volatility). CRM leads in 1 (Valuation Metrics). 1 tied.

Financial Metrics (TTM)

CRM is the larger business by revenue, generating $41.5B annually — 14.3x TTD's $2.9B. Profitability is closely matched — net margins range from 19.9% (SAP) to 15.3% (TTD). On growth, TTD holds the edge at +14.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricTTDThe Trade Desk, I…SAPSAP SECRMSalesforce, Inc.
RevenueTrailing 12 months$2.9B$36.7B$41.5B
EBITDAEarnings before interest/tax$673M$11.5B$11.4B
Net IncomeAfter-tax profit$443M$7.3B$7.5B
Free Cash FlowCash after capex$787M$8.4B$14.4B
Gross MarginGross profit ÷ Revenue+78.6%+73.3%+77.7%
Operating MarginEBIT ÷ Revenue+20.3%+27.0%+21.5%
Net MarginNet income ÷ Revenue+15.3%+19.9%+18.0%
FCF MarginFCF ÷ Revenue+27.2%+22.9%+34.7%
Rev. Growth (YoY)Latest quarter vs prior year+14.3%+2.3%+12.1%
EPS Growth (YoY)Latest quarter vs prior year+11.1%+14.7%+18.3%
Evenly matched — TTD and SAP and CRM each lead in 2 of 6 comparable metrics.

Valuation Metrics

At 25.0x trailing earnings, CRM trades at a 12% valuation discount to SAP's 28.5x P/E. Adjusting for growth (PEG ratio), TTD offers better value at 1.99x vs SAP's 4.32x — a lower PEG means you pay less per unit of expected earnings growth.

MetricTTDThe Trade Desk, I…SAPSAP SECRMSalesforce, Inc.
Market CapShares × price$11.5B$234.7B$187.4B
Enterprise ValueMkt cap + debt − cash$11.3B$234.5B$186.8B
Trailing P/EPrice ÷ TTM EPS26.18x28.52x24.97x
Forward P/EPrice ÷ next-FY EPS est.21.13x27.77x16.54x
PEG RatioP/E ÷ EPS growth rate1.99x4.32x2.04x
EV / EBITDAEnterprise value multiple21.02x17.84x20.95x
Price / SalesMarket cap ÷ Revenue3.99x5.63x4.51x
Price / BookPrice ÷ Book value/share4.63x4.44x3.15x
Price / FCFMarket cap ÷ FCF14.51x25.07x13.01x
CRM leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

TTD delivers a 17.8% return on equity — every $100 of shareholder capital generates $18 in annual profit, vs $13 for CRM. CRM carries lower financial leverage with a 0.11x debt-to-equity ratio, signaling a more conservative balance sheet compared to SAP's 0.18x. On the Piotroski fundamental quality scale (0–9), SAP scores 9/9 vs TTD's 6/9, reflecting strong financial health.

MetricTTDThe Trade Desk, I…SAPSAP SECRMSalesforce, Inc.
ROE (TTM)Return on equity+17.8%+16.2%+12.6%
ROA (TTM)Return on assets+7.2%+10.4%+6.6%
ROICReturn on invested capital+21.3%+16.1%+10.9%
ROCEReturn on capital employed+19.2%+18.3%+11.9%
Piotroski ScoreFundamental quality 0–9698
Debt / EquityFinancial leverage0.18x0.18x0.11x
Net DebtTotal debt minus cash-$222M-$149M-$590M
Cash & Equiv.Liquid assets$658M$8.2B$7.3B
Total DebtShort + long-term debt$436M$8.1B$6.7B
Interest CoverageEBIT ÷ Interest expense985.25x8.94x44.14x
TTD leads this category, winning 5 of 9 comparable metrics.

Total Returns (with DRIP)

A $10,000 investment in SAP five years ago would be worth $17,166 today (with dividends reinvested), compared to $2,862 for TTD. Over the past 12 months, SAP leads with a -25.8% total return vs TTD's -66.1%. The 3-year compound annual growth rate (CAGR) favors SAP at 22.4% vs TTD's -24.8% — a key indicator of consistent wealth creation.

MetricTTDThe Trade Desk, I…SAPSAP SECRMSalesforce, Inc.
YTD ReturnYear-to-date-36.8%-14.9%-23.2%
1-Year ReturnPast 12 months-66.1%-25.8%-34.0%
3-Year ReturnCumulative with dividends-57.4%+83.4%+21.1%
5-Year ReturnCumulative with dividends-71.4%+71.7%-9.0%
10-Year ReturnCumulative with dividends+691.4%+193.8%+192.3%
CAGR (3Y)Annualised 3-year return-24.8%+22.4%+6.6%
SAP leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

SAP is the less volatile stock with a 0.86 beta — it tends to amplify market swings less than TTD's 1.67 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. SAP currently trades 64.3% from its 52-week high vs TTD's 26.0% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricTTDThe Trade Desk, I…SAPSAP SECRMSalesforce, Inc.
Beta (5Y)Sensitivity to S&P 5001.67x0.86x1.04x
52-Week HighHighest price in past year$91.45$313.28$303.07
52-Week LowLowest price in past year$21.08$189.22$174.57
% of 52W HighCurrent price vs 52-week peak+26.0%+64.3%+64.3%
RSI (14)Momentum oscillator 0–10025.445.347.5
Avg Volume (50D)Average daily shares traded10.7M2.4M8.6M
SAP leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Analyst consensus: TTD as "Buy", SAP as "Buy", CRM as "Buy". Consensus price targets imply 106.1% upside for SAP (target: $415) vs 53.5% for CRM (target: $299). For income investors, SAP offers the higher dividend yield at 1.31% vs CRM's 0.85%.

MetricTTDThe Trade Desk, I…SAPSAP SECRMSalesforce, Inc.
Analyst RatingConsensus buy/hold/sellBuyBuyBuy
Price TargetConsensus 12-month target$46.65$415.33$299.00
# AnalystsCovering analysts464397
Dividend YieldAnnual dividend ÷ price+1.3%+0.9%
Dividend StreakConsecutive years of raises22
Dividend / ShareAnnual DPS$2.24$1.66
Buyback YieldShare repurchases ÷ mkt cap+12.0%+0.9%+6.7%
SAP leads this category, winning 1 of 1 comparable metric.

Historical Charts

Charts are rendered on first load. Hover for details.

Chart 1Total Return — 5 Years (Rebased to 100)

StockMar 20Feb 26Change
The Trade Desk, Inc. (TTD)100103.26+3.3%
SAP SE (SAP)100163.78+63.8%
Salesforce, Inc. (CRM)100119.26+19.3%

SAP SE (SAP) returned +72% over 5 years vs The Trade Desk, Inc. (TTD)'s -71%. A $10,000 investment in SAP 5 years ago would be worth $17,166 today (including dividends reinvested).

Chart 2Revenue Growth — 10 Years

Stock20172026Change
The Trade Desk, Inc. (TTD)$308M$2.9B+839.7%
SAP SE (SAP)$23.5B$35.3B+50.7%
Salesforce, Inc. (CRM)$8.4B$41.5B+394.8%

Chart 3Net Margin Trend — 10 Years

Stock20172026Change
The Trade Desk, Inc. (TTD)16.5%15.3%-7.1%
SAP SE (SAP)17.1%19.9%+16.5%
Salesforce, Inc. (CRM)3.8%18.0%+366.6%

Chart 4P/E Ratio History — 10 Years

Stock20172026Change
The Trade Desk, Inc. (TTD)38.141.7+9.4%
SAP SE (SAP)33.540.6+21.2%
Salesforce, Inc. (CRM)393.225-93.6%

The Trade Desk, Inc. has traded in a 38x–408x P/E range over 9 years; current trailing P/E is ~26x. SAP SE has traded in a 29x–93x P/E range over 9 years; current trailing P/E is ~29x.

Chart 5EPS Growth — 10 Years

Stock20172026Change
The Trade Desk, Inc. (TTD)0.120.91+658.3%
SAP SE (SAP)3.355.99+78.8%
Salesforce, Inc. (CRM)0.267.8+2900.0%

Chart 6Free Cash Flow — 5 Years

2022
$457M
$5B
$5B
2023
$543M
$6B
$6B
2024
$632M
$4B
$9B
2025
$796M
$8B
$12B
2026
$14B
The Trade Desk, Inc. (TTD)SAP SE (SAP)Salesforce, Inc. (CRM)

The Trade Desk, Inc. generated $796M FCF in 2025 (+150% vs 2021). SAP SE generated $8B FCF in 2025 (+44% vs 2021).

Loading custom metrics...

TTD vs SAP vs CRM: Key Questions Answered

9 questions · data-driven answers · updated daily

01

Is TTD or SAP or CRM a better buy right now?

Salesforce, Inc. (CRM) offers the better valuation at 25.0x trailing P/E (16.5x forward), making it the more compelling value choice. Analysts rate The Trade Desk, Inc. (TTD) a "Buy" — based on 46 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.

02

Which has the better valuation — TTD or SAP or CRM?

On trailing P/E, Salesforce, Inc. (CRM) is the cheapest at 25.0x versus SAP SE at 28.5x. On forward P/E, Salesforce, Inc. is actually cheaper at 16.5x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Salesforce, Inc. wins at 1.35x versus SAP SE's 4.20x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — TTD or SAP or CRM?

Over the past 5 years, SAP SE (SAP) delivered a total return of +71.7%, compared to -71.4% for The Trade Desk, Inc. (TTD). A $10,000 investment in SAP five years ago would be worth approximately $17K today (assuming dividends reinvested). Over 10 years, the gap is even starker: TTD returned +691.4% versus CRM's +192.3%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — TTD or SAP or CRM?

By beta (market sensitivity over 5 years), SAP SE (SAP) is the lower-risk stock at 0.86β versus The Trade Desk, Inc.'s 1.67β — meaning TTD is approximately 95% more volatile than SAP relative to the S&P 500. On balance sheet safety, Salesforce, Inc. (CRM) carries a lower debt/equity ratio of 11% versus 18% for SAP SE — giving it more financial flexibility in a downturn.

05

Which has better profit margins — TTD or SAP or CRM?

SAP SE (SAP) is the more profitable company, earning 19.9% net margin versus 15.3% for The Trade Desk, Inc. — meaning it keeps 19.9% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: SAP leads at 28.0% versus 20.3% for TTD. At the gross margin level — before operating expenses — TTD leads at 78.6%, 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.

06

Is TTD or SAP or CRM 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, Salesforce, Inc. (CRM) is the more undervalued stock at a PEG of 1.35x versus SAP SE's 4.20x. A PEG below 1.5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, Salesforce, Inc. (CRM) trades at 16.5x forward P/E versus 27.8x for SAP SE — 11.2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for SAP: 106.1% to $415.33.

07

Which pays a better dividend — TTD or SAP or CRM?

In this comparison, SAP (1.3% yield), CRM (0.9% yield) pay a dividend. TTD does not pay a meaningful dividend and should not be held primarily for income.

08

Is TTD or SAP or CRM better for a retirement portfolio?

For long-horizon retirement investors, SAP SE (SAP) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.86), 1.3% yield, +193.8% 10Y return). The Trade Desk, Inc. (TTD) carries a higher beta of 1.67 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (SAP: +193.8%, TTD: +691.4%), 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.

09

What are the main differences between TTD and SAP and CRM?

Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both. SAP, CRM pay a dividend while TTD 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 beat both.

📊
Stocks Like

TTD

Steady Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 7%
  • Net Margin > 9%
Run This Screen
🏦
Stocks Like

SAP

Stable Dividend Mega-Cap

  • Sector: Technology
  • Market Cap > $100B
  • Net Margin > 11%
  • Dividend Yield > 0.5%
Run This Screen
🏦
Stocks Like

CRM

Stable Dividend Mega-Cap

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 6%
  • Net Margin > 10%
Run This Screen
Custom Screen

Better Than Both

Find stocks that beat TTD and SAP and CRM on the metrics you choose

Revenue Growth>
%
(TTD: 14.3% · SAP: 2.3%)
Net Margin>
%
(TTD: 15.3% · SAP: 19.9%)
P/E Ratio<
x
(TTD: 26.2x · SAP: 28.5x)