Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

STG vs UDMY

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
STG
Sunlands Technology Group

Education & Training Services

Consumer DefensiveNYSE • CN
Market Cap$44M
5Y Perf.-36.6%
UDMY
Udemy, Inc.

Education & Training Services

Consumer DefensiveNASDAQ • US
Market Cap$676M
5Y Perf.-83.2%

STG vs UDMY — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
STG logoSTG
UDMY logoUDMY
IndustryEducation & Training ServicesEducation & Training Services
Market Cap$44M$676M
Revenue (TTM)$2.03B$790M
Net Income (TTM)$385M$4M
Gross Margin86.0%65.6%
Operating Margin19.2%-0.5%
Forward P/E0.9x9.3x
Total Debt$187M$10M
Cash & Equiv.$507M$231M

STG vs UDMYLong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

STG
UDMY
StockOct 21May 26Return
Sunlands Technology… (STG)10063.4-36.6%
Udemy, Inc. (UDMY)10016.8-83.2%

Price return only. Dividends and distributions are not included.

Quick Verdict: STG vs UDMY

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: STG leads in 4 of 7 categories, making it the strongest pick for valuation and capital efficiency and profitability and margin quality. Udemy, Inc. is the stronger pick specifically for growth and revenue expansion and recent price momentum and sentiment. As sector peers, any of these can serve as alternatives in the same allocation.
STG
Sunlands Technology Group
The Income Pick

STG carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.

  • Dividend streak 0 yrs, beta 0.76
  • Lower volatility, beta 0.76, Low D/E 31.2%, current ratio 1.10x
  • Beta 0.76, current ratio 1.10x
Best for: income & stability and sleep-well-at-night
UDMY
Udemy, Inc.
The Growth Play

UDMY is the clearest fit if your priority is growth exposure and long-term compounding.

  • Rev growth 0.4%, EPS growth 104.6%, 3Y rev CAGR 7.9%
  • -83.2% 10Y total return vs STG's -97.2%
  • 0.4% revenue growth vs STG's -7.8%
Best for: growth exposure and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthUDMY logoUDMY0.4% revenue growth vs STG's -7.8%
ValueSTG logoSTGLower P/E (0.9x vs 9.3x)
Quality / MarginsSTG logoSTG18.9% margin vs UDMY's 0.5%
Stability / SafetySTG logoSTGBeta 0.76 vs UDMY's 1.18
DividendsTieNeither stock pays a meaningful dividend
Momentum (1Y)UDMY logoUDMY-31.6% vs STG's -39.8%
Efficiency (ROA)STG logoSTG18.1% ROA vs UDMY's 0.6%, ROIC 447.4% vs -56.7%

STG vs UDMY — Revenue Breakdown by Segment

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

STGSunlands Technology Group
FY 2024
Sales of products
85.5%$245M
Other Revenue
14.5%$42M
UDMYUdemy, Inc.
FY 2025
Breakage
100.0%$3M

STG vs UDMY — Financial Metrics

Side-by-side numbers across 2 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLSTGLAGGINGUDMY

Income & Cash Flow (Last 12 Months)

STG leads this category, winning 5 of 6 comparable metrics.

STG is the larger business by revenue, generating $2.0B annually — 2.6x UDMY's $790M. STG is the more profitable business, keeping 18.9% of every revenue dollar as net income compared to UDMY's 0.5%. On growth, STG holds the edge at +6.5% YoY revenue growth, suggesting stronger near-term business momentum.

MetricSTG logoSTGSunlands Technolo…UDMY logoUDMYUdemy, Inc.
RevenueTrailing 12 months$2.0B$790M
EBITDAEarnings before interest/tax$419M$21M
Net IncomeAfter-tax profit$385M$4M
Free Cash FlowCash after capex$0$73M
Gross MarginGross profit ÷ Revenue+86.0%+65.6%
Operating MarginEBIT ÷ Revenue+19.2%-0.5%
Net MarginNet income ÷ Revenue+18.9%+0.5%
FCF MarginFCF ÷ Revenue+9.8%+9.3%
Rev. Growth (YoY)Latest quarter vs prior year+6.5%-3.0%
EPS Growth (YoY)Latest quarter vs prior year+42.9%+76.2%
STG leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

STG leads this category, winning 5 of 5 comparable metrics.

At 0.9x trailing earnings, STG trades at a 100% valuation discount to UDMY's 180.2x P/E.

MetricSTG logoSTGSunlands Technolo…UDMY logoUDMYUdemy, Inc.
Market CapShares × price$44M$676M
Enterprise ValueMkt cap + debt − cash-$3M$454M
Trailing P/EPrice ÷ TTM EPS0.87x180.16x
Forward P/EPrice ÷ next-FY EPS est.9.27x
PEG RatioP/E ÷ EPS growth rate
EV / EBITDAEnterprise value multiple-0.06x19.95x
Price / SalesMarket cap ÷ Revenue0.15x0.86x
Price / BookPrice ÷ Book value/share0.50x3.30x
Price / FCFMarket cap ÷ FCF1.53x8.40x
STG leads this category, winning 5 of 5 comparable metrics.

Profitability & Efficiency

STG leads this category, winning 6 of 9 comparable metrics.

STG delivers a 52.0% return on equity — every $100 of shareholder capital generates $52 in annual profit, vs $2 for UDMY. UDMY carries lower financial leverage with a 0.05x debt-to-equity ratio, signaling a more conservative balance sheet compared to STG's 0.31x. On the Piotroski fundamental quality scale (0–9), UDMY scores 8/9 vs STG's 5/9, reflecting strong financial health.

MetricSTG logoSTGSunlands Technolo…UDMY logoUDMYUdemy, Inc.
ROE (TTM)Return on equity+52.0%+1.7%
ROA (TTM)Return on assets+18.1%+0.6%
ROICReturn on invested capital+4.5%-56.7%
ROCEReturn on capital employed+24.5%-1.2%
Piotroski ScoreFundamental quality 0–958
Debt / EquityFinancial leverage0.31x0.05x
Net DebtTotal debt minus cash-$320M-$221M
Cash & Equiv.Liquid assets$507M$231M
Total DebtShort + long-term debt$187M$10M
Interest CoverageEBIT ÷ Interest expense298.47x18.19x
STG leads this category, winning 6 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

UDMY leads this category, winning 5 of 6 comparable metrics.

A $10,000 investment in STG five years ago would be worth $2,907 today (with dividends reinvested), compared to $1,684 for UDMY. Over the past 12 months, UDMY leads with a -31.6% total return vs STG's -39.8%. The 3-year compound annual growth rate (CAGR) favors UDMY at -19.8% vs STG's -20.2% — a key indicator of consistent wealth creation.

MetricSTG logoSTGSunlands Technolo…UDMY logoUDMYUdemy, Inc.
YTD ReturnYear-to-date-45.6%-16.9%
1-Year ReturnPast 12 months-39.8%-31.6%
3-Year ReturnCumulative with dividends-49.1%-48.3%
5-Year ReturnCumulative with dividends-70.9%-83.2%
10-Year ReturnCumulative with dividends-97.2%-83.2%
CAGR (3Y)Annualised 3-year return-20.2%-19.8%
UDMY leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

Evenly matched — STG and UDMY each lead in 1 of 2 comparable metrics.

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

MetricSTG logoSTGSunlands Technolo…UDMY logoUDMYUdemy, Inc.
Beta (5Y)Sensitivity to S&P 5000.76x1.18x
52-Week HighHighest price in past year$15.00$8.09
52-Week LowLowest price in past year$3.04$4.01
% of 52W HighCurrent price vs 52-week peak+21.5%+57.2%
RSI (14)Momentum oscillator 0–10033.954.6
Avg Volume (50D)Average daily shares traded3K1.4M
Evenly matched — STG and UDMY each lead in 1 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.
MetricSTG logoSTGSunlands Technolo…UDMY logoUDMYUdemy, Inc.
Analyst RatingConsensus buy/hold/sellHold
Price TargetConsensus 12-month target$5.00
# AnalystsCovering analysts12
Dividend YieldAnnual dividend ÷ price
Dividend StreakConsecutive years of raises0
Dividend / ShareAnnual DPS
Buyback YieldShare repurchases ÷ mkt cap+3.7%+7.5%
Insufficient data to determine a leader in this category.
Key Takeaway

STG leads in 3 of 6 categories (Income & Cash Flow, Valuation Metrics). UDMY leads in 1 (Total Returns). 1 tied.

Best OverallSunlands Technology Group (STG)Leads 3 of 6 categories
Loading custom metrics...

STG vs UDMY: Frequently Asked Questions

9 questions · data-driven answers · updated daily

01

Is STG or UDMY a better buy right now?

For growth investors, Udemy, Inc.

(UDMY) is the stronger pick with 0. 4% revenue growth year-over-year, versus -7. 8% for Sunlands Technology Group (STG). Sunlands Technology Group (STG) offers the better valuation at 0. 9x trailing P/E, making it the more compelling value choice. Analysts rate Udemy, Inc. (UDMY) a "Hold" — based on 12 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 — STG or UDMY?

On trailing P/E, Sunlands Technology Group (STG) is the cheapest at 0.

9x versus Udemy, Inc. at 180. 2x.

03

Which is the better long-term investment — STG or UDMY?

Over the past 5 years, Sunlands Technology Group (STG) delivered a total return of -70.

9%, compared to -83. 2% for Udemy, Inc. (UDMY). Over 10 years, the gap is even starker: UDMY returned -83. 2% versus STG's -97. 2%. 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 — STG or UDMY?

By beta (market sensitivity over 5 years), Sunlands Technology Group (STG) is the lower-risk stock at 0.

76β versus Udemy, Inc. 's 1. 18β — meaning UDMY is approximately 55% more volatile than STG relative to the S&P 500. On balance sheet safety, Udemy, Inc. (UDMY) carries a lower debt/equity ratio of 5% versus 31% for Sunlands Technology Group — giving it more financial flexibility in a downturn.

05

Which is growing faster — STG or UDMY?

By revenue growth (latest reported year), Udemy, Inc.

(UDMY) is pulling ahead at 0. 4% versus -7. 8% for Sunlands Technology Group (STG). On earnings-per-share growth, the picture is similar: Udemy, Inc. grew EPS 104. 6% year-over-year, compared to -46. 0% for Sunlands Technology Group. Over a 3-year CAGR, UDMY leads at 7. 9% 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.

06

Which has better profit margins — STG or UDMY?

Sunlands Technology Group (STG) is the more profitable company, earning 17.

2% net margin versus 0. 5% for Udemy, Inc. — meaning it keeps 17. 2% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: STG leads at 15. 0% versus -0. 3% for UDMY. At the gross margin level — before operating expenses — STG leads at 84. 0%, 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.

07

Which pays a better dividend — STG or UDMY?

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.

08

Is STG or UDMY better for a retirement portfolio?

For long-horizon retirement investors, Sunlands Technology Group (STG) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

76)). Both have compounded well over 10 years (STG: -97. 2%, UDMY: -83. 2%), 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 STG and UDMY?

Both stocks operate in the Consumer Defensive sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

In terms of investment character: STG is a small-cap deep-value stock; UDMY is a small-cap quality compounder stock. 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 both.

Stocks Like

STG

Steady Growth Compounder

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Net Margin > 11%
Run This Screen
Stocks Like

UDMY

Quality Business

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Gross Margin > 39%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform STG and UDMY on the metrics below

Revenue Growth>
%
(STG: 6.5% · UDMY: -3.0%)
P/E Ratio<
x
(STG: 0.9x · UDMY: 180.2x)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.