Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

STG vs GOOG vs MSFT vs AMZN

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$42M
5Y Perf.-83.7%
GOOG
Alphabet Inc.

Internet Content & Information

Communication ServicesNASDAQ • US
Market Cap$4.78T
5Y Perf.+453.3%
MSFT
Microsoft Corporation

Software - Infrastructure

TechnologyNASDAQ • US
Market Cap$3.13T
5Y Perf.+129.7%
AMZN
Amazon.com, Inc.

Specialty Retail

Consumer CyclicalNASDAQ • US
Market Cap$2.92T
5Y Perf.+122.1%

STG vs GOOG vs MSFT vs AMZN — Key Financials

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

Company Snapshot
STG logoSTG
GOOG logoGOOG
MSFT logoMSFT
AMZN logoAMZN
IndustryEducation & Training ServicesInternet Content & InformationSoftware - InfrastructureSpecialty Retail
Market Cap$42M$4.78T$3.13T$2.92T
Revenue (TTM)$2.03B$422.57B$318.27B$742.78B
Net Income (TTM)$385M$160.21B$125.22B$90.80B
Gross Margin86.0%60.4%68.3%50.6%
Operating Margin19.2%32.7%46.8%11.5%
Forward P/E0.8x32.5x25.3x34.8x
Total Debt$187M$59.29B$112.18B$152.99B
Cash & Equiv.$507M$30.71B$30.24B$86.81B

STG vs GOOG vs MSFT vs AMZNLong-Term Stock Performance

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

STG
GOOG
MSFT
AMZN
StockMay 20May 26Return
Sunlands Technology… (STG)10016.3-83.7%
Alphabet Inc. (GOOG)100553.3+453.3%
Microsoft Corporati… (MSFT)100229.7+129.7%
Amazon.com, Inc. (AMZN)100222.1+122.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: STG vs GOOG vs MSFT vs AMZN

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

Bottom line: GOOG leads in 3 of 7 categories, making it the strongest pick for growth and revenue expansion and recent price momentum and sentiment. Sunlands Technology Group is the stronger pick specifically for valuation and capital efficiency and capital preservation and lower volatility. MSFT also leads in specific categories worth noting. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
STG
Sunlands Technology Group
The Defensive Pick

STG is the #2 pick in this set and the best alternative if sleep-well-at-night is your priority.

  • Lower volatility, beta 0.69, Low D/E 31.2%, current ratio 1.10x
  • Lower P/E (0.8x vs 34.8x)
  • Beta 0.69 vs AMZN's 1.51, lower leverage
Best for: sleep-well-at-night
GOOG
Alphabet Inc.
The Growth Play

GOOG carries the broadest edge in this set and is the clearest fit for growth exposure and long-term compounding.

  • Rev growth 15.1%, EPS growth 34.5%, 3Y rev CAGR 12.5%
  • 10.1% 10Y total return vs MSFT's 7.9%
  • PEG 1.09 vs MSFT's 1.35
  • 15.1% revenue growth vs STG's -7.8%
Best for: growth exposure and long-term compounding
MSFT
Microsoft Corporation
The Income Pick

MSFT is the clearest fit if your priority is income & stability and defensive.

  • Dividend streak 19 yrs, beta 0.89, yield 0.8%
  • Beta 0.89, yield 0.8%, current ratio 1.35x
  • 39.3% margin vs AMZN's 12.2%
  • 0.8% yield, 19-year raise streak, vs GOOG's 0.2%, (2 stocks pay no dividend)
Best for: income & stability and defensive
AMZN
Amazon.com, Inc.
The Secondary Option

AMZN lags the leaders in this set but could rank higher in a more targeted comparison.

Best for: consumer cyclical exposure
See the full category breakdown
CategoryWinnerWhy
GrowthGOOG logoGOOG15.1% revenue growth vs STG's -7.8%
ValueSTG logoSTGLower P/E (0.8x vs 34.8x)
Quality / MarginsMSFT logoMSFT39.3% margin vs AMZN's 12.2%
Stability / SafetySTG logoSTGBeta 0.69 vs AMZN's 1.51, lower leverage
DividendsMSFT logoMSFT0.8% yield, 19-year raise streak, vs GOOG's 0.2%, (2 stocks pay no dividend)
Momentum (1Y)GOOG logoGOOG+159.3% vs STG's -40.8%
Efficiency (ROA)GOOG logoGOOG27.4% ROA vs AMZN's 11.5%, ROIC 25.1% vs 14.7%

STG vs GOOG vs MSFT vs AMZN — 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
GOOGAlphabet Inc.
FY 2025
Google Search & Other
55.7%$224.5B
Google Cloud
14.6%$58.7B
Google Inc.
11.9%$48.0B
YouTube Advertising Revenue
10.0%$40.4B
Google Network
7.4%$29.8B
Other Bets
0.4%$1.5B
Other Segments
-0.0%$-127,000,000
MSFTMicrosoft Corporation
FY 2025
Server Products And Cloud Services
34.9%$98.4B
Microsoft Three Six Five Commercial Products And Cloud Services
31.2%$87.8B
Gaming
8.3%$23.5B
Linked In Corporation
6.3%$17.8B
Windows
6.1%$17.3B
Search Advertising
4.9%$13.9B
Dynamics Products And Cloud Services
2.8%$7.8B
Other (3)
5.4%$15.2B
AMZNAmazon.com, Inc.
FY 2025
Online Stores
37.6%$269.3B
Third-Party Seller Services
24.0%$172.2B
Amazon Web Services
18.0%$128.7B
Advertising Services
9.6%$68.6B
Subscription Services
6.9%$49.6B
Physical Stores
3.1%$22.6B
Other Services
0.8%$5.9B

STG vs GOOG vs MSFT vs AMZN — Financial Metrics

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

BEST OVERALLGOOGLAGGINGAMZN

Income & Cash Flow (Last 12 Months)

MSFT leads this category, winning 3 of 6 comparable metrics.

AMZN is the larger business by revenue, generating $742.8B annually — 365.3x STG's $2.0B. MSFT is the more profitable business, keeping 39.3% of every revenue dollar as net income compared to AMZN's 12.2%. On growth, GOOG holds the edge at +21.8% YoY revenue growth, suggesting stronger near-term business momentum.

MetricSTG logoSTGSunlands Technolo…GOOG logoGOOGAlphabet Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.
RevenueTrailing 12 months$2.0B$422.6B$318.3B$742.8B
EBITDAEarnings before interest/tax$419M$161.3B$192.6B$155.9B
Net IncomeAfter-tax profit$385M$160.2B$125.2B$90.8B
Free Cash FlowCash after capex$0$73.3B$72.9B-$2.5B
Gross MarginGross profit ÷ Revenue+86.0%+60.4%+68.3%+50.6%
Operating MarginEBIT ÷ Revenue+19.2%+32.7%+46.8%+11.5%
Net MarginNet income ÷ Revenue+18.9%+37.9%+39.3%+12.2%
FCF MarginFCF ÷ Revenue+9.8%+17.3%+22.9%-0.3%
Rev. Growth (YoY)Latest quarter vs prior year+6.5%+21.8%+18.3%+16.6%
EPS Growth (YoY)Latest quarter vs prior year+42.9%+81.9%+23.4%+74.8%
MSFT leads this category, winning 3 of 6 comparable metrics.

Valuation Metrics

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

At 0.8x trailing earnings, STG trades at a 98% valuation discount to AMZN's 37.8x P/E. Adjusting for growth (PEG ratio), GOOG offers better value at 1.23x vs MSFT's 1.64x — a lower PEG means you pay less per unit of expected earnings growth.

MetricSTG logoSTGSunlands Technolo…GOOG logoGOOGAlphabet Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.
Market CapShares × price$42M$4.78T$3.13T$2.92T
Enterprise ValueMkt cap + debt − cash-$5M$4.81T$3.21T$2.98T
Trailing P/EPrice ÷ TTM EPS0.84x36.57x30.86x37.82x
Forward P/EPrice ÷ next-FY EPS est.32.45x25.34x34.77x
PEG RatioP/E ÷ EPS growth rate1.23x1.64x1.35x
EV / EBITDAEnterprise value multiple-0.10x32.01x19.72x20.47x
Price / SalesMarket cap ÷ Revenue0.14x11.87x11.10x4.07x
Price / BookPrice ÷ Book value/share0.48x11.64x9.15x7.14x
Price / FCFMarket cap ÷ FCF1.47x65.27x43.66x378.98x
STG leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

GOOG leads this category, winning 5 of 9 comparable metrics.

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

MetricSTG logoSTGSunlands Technolo…GOOG logoGOOGAlphabet Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.
ROE (TTM)Return on equity+52.0%+39.0%+33.1%+23.3%
ROA (TTM)Return on assets+18.1%+27.4%+19.2%+11.5%
ROICReturn on invested capital+4.5%+25.1%+24.9%+14.7%
ROCEReturn on capital employed+24.5%+30.3%+29.7%+15.3%
Piotroski ScoreFundamental quality 0–95766
Debt / EquityFinancial leverage0.31x0.14x0.33x0.37x
Net DebtTotal debt minus cash-$320M$28.6B$81.9B$66.2B
Cash & Equiv.Liquid assets$507M$30.7B$30.2B$86.8B
Total DebtShort + long-term debt$187M$59.3B$112.2B$153.0B
Interest CoverageEBIT ÷ Interest expense298.47x392.15x55.65x39.96x
GOOG leads this category, winning 5 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

GOOG leads this category, winning 6 of 6 comparable metrics.

A $10,000 investment in GOOG five years ago would be worth $33,098 today (with dividends reinvested), compared to $2,756 for STG. Over the past 12 months, GOOG leads with a +159.3% total return vs STG's -40.8%. The 3-year compound annual growth rate (CAGR) favors GOOG at 54.2% vs STG's -21.3% — a key indicator of consistent wealth creation.

MetricSTG logoSTGSunlands Technolo…GOOG logoGOOGAlphabet Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.
YTD ReturnYear-to-date-47.8%+25.4%-10.8%+19.7%
1-Year ReturnPast 12 months-40.8%+159.3%-2.1%+43.7%
3-Year ReturnCumulative with dividends-51.2%+266.7%+39.5%+156.2%
5-Year ReturnCumulative with dividends-72.4%+231.0%+72.5%+64.8%
10-Year ReturnCumulative with dividends-97.3%+1013.4%+787.7%+697.8%
CAGR (3Y)Annualised 3-year return-21.3%+54.2%+11.7%+36.8%
GOOG leads this category, winning 6 of 6 comparable metrics.

Risk & Volatility

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

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

MetricSTG logoSTGSunlands Technolo…GOOG logoGOOGAlphabet Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.
Beta (5Y)Sensitivity to S&P 5000.69x1.23x0.89x1.51x
52-Week HighHighest price in past year$15.00$397.28$555.45$278.56
52-Week LowLowest price in past year$3.04$149.49$356.28$185.01
% of 52W HighCurrent price vs 52-week peak+20.6%+99.5%+75.8%+97.3%
RSI (14)Momentum oscillator 0–10039.882.854.081.1
Avg Volume (50D)Average daily shares traded3K19.1M32.5M45.5M
Evenly matched — STG and GOOG each lead in 1 of 2 comparable metrics.

Analyst Outlook

MSFT leads this category, winning 2 of 2 comparable metrics.

Analyst consensus: GOOG as "Buy", MSFT as "Buy", AMZN as "Buy". Consensus price targets imply 31.1% upside for MSFT (target: $552) vs -3.0% for GOOG (target: $383). For income investors, MSFT offers the higher dividend yield at 0.77% vs GOOG's 0.21%.

MetricSTG logoSTGSunlands Technolo…GOOG logoGOOGAlphabet Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.
Analyst RatingConsensus buy/hold/sellBuyBuyBuy
Price TargetConsensus 12-month target$383.41$551.75$306.77
# AnalystsCovering analysts798194
Dividend YieldAnnual dividend ÷ price+0.2%+0.8%
Dividend StreakConsecutive years of raises0219
Dividend / ShareAnnual DPS$0.82$3.23
Buyback YieldShare repurchases ÷ mkt cap+3.8%+1.0%+0.6%0.0%
MSFT leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

MSFT leads in 2 of 6 categories (Income & Cash Flow, Analyst Outlook). GOOG leads in 2 (Profitability & Efficiency, Total Returns). 1 tied.

Best OverallAlphabet Inc. (GOOG)Leads 2 of 6 categories
Loading custom metrics...

STG vs GOOG vs MSFT vs AMZN: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is STG or GOOG or MSFT or AMZN a better buy right now?

For growth investors, Alphabet Inc.

(GOOG) is the stronger pick with 15. 1% revenue growth year-over-year, versus -7. 8% for Sunlands Technology Group (STG). Sunlands Technology Group (STG) offers the better valuation at 0. 8x trailing P/E, making it the more compelling value choice. Analysts rate Alphabet Inc. (GOOG) a "Buy" — based on 79 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 GOOG or MSFT or AMZN?

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

8x versus Amazon. com, Inc. at 37. 8x. On forward P/E, Microsoft Corporation is actually cheaper at 25. 3x — notably different from the trailing picture, reflecting expected earnings growth. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Alphabet Inc. wins at 1. 09x versus Microsoft Corporation's 1. 35x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — STG or GOOG or MSFT or AMZN?

Over the past 5 years, Alphabet Inc.

(GOOG) delivered a total return of +231. 0%, compared to -72. 4% for Sunlands Technology Group (STG). Over 10 years, the gap is even starker: GOOG returned +1013% versus STG's -97. 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 — STG or GOOG or MSFT or AMZN?

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

69β versus Amazon. com, Inc. 's 1. 51β — meaning AMZN is approximately 118% more volatile than STG relative to the S&P 500. On balance sheet safety, Alphabet Inc. (GOOG) carries a lower debt/equity ratio of 14% versus 37% for Amazon. com, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — STG or GOOG or MSFT or AMZN?

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

(GOOG) is pulling ahead at 15. 1% versus -7. 8% for Sunlands Technology Group (STG). On earnings-per-share growth, the picture is similar: Alphabet Inc. grew EPS 34. 5% year-over-year, compared to -46. 0% for Sunlands Technology Group. Over a 3-year CAGR, GOOG leads at 12. 5% 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 GOOG or MSFT or AMZN?

Microsoft Corporation (MSFT) is the more profitable company, earning 36.

1% net margin versus 10. 8% for Amazon. com, Inc. — meaning it keeps 36. 1% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: MSFT leads at 45. 6% versus 11. 2% for AMZN. 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

Is STG or GOOG or MSFT or AMZN 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, Alphabet Inc. (GOOG) is the more undervalued stock at a PEG of 1. 09x versus Microsoft Corporation's 1. 35x. A PEG below 1. 5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, Microsoft Corporation (MSFT) trades at 25. 3x forward P/E versus 34. 8x for Amazon. com, Inc. — 9. 4x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for MSFT: 31. 1% to $551. 75.

08

Which pays a better dividend — STG or GOOG or MSFT or AMZN?

In this comparison, MSFT (0.

8% yield), GOOG (0. 2% yield) pay a dividend. STG, AMZN do not pay a meaningful dividend and should not be held primarily for income.

09

Is STG or GOOG or MSFT or AMZN better for a retirement portfolio?

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

89), 0. 8% yield, +787. 7% 10Y return). Amazon. com, Inc. (AMZN) carries a higher beta of 1. 51 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (MSFT: +787. 7%, AMZN: +697. 8%), 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.

10

What are the main differences between STG and GOOG and MSFT and AMZN?

These companies operate in different sectors (STG (Consumer Defensive) and GOOG (Communication Services) and MSFT (Technology) and AMZN (Consumer Cyclical)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: STG is a small-cap deep-value stock; GOOG is a mega-cap high-growth stock; MSFT is a mega-cap quality compounder stock; AMZN is a mega-cap quality compounder stock. MSFT pays a dividend while STG, GOOG, AMZN do 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 outperform all of them.

Stocks Like

STG

Steady Growth Compounder

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

GOOG

High-Growth Quality Leader

  • Sector: Communication Services
  • Market Cap > $100B
  • Revenue Growth > 10%
  • Net Margin > 22%
Run This Screen
Stocks Like

MSFT

High-Growth Quality Leader

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

AMZN

High-Growth Compounder

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Revenue Growth > 8%
  • Net Margin > 7%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform STG and GOOG and MSFT and AMZN on the metrics below

Revenue Growth>
%
(STG: 6.5% · GOOG: 21.8%)
Net Margin>
%
(STG: 18.9% · GOOG: 37.9%)
P/E Ratio<
x
(STG: 0.8x · GOOG: 36.6x)

You Might Also Compare

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