Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

STG vs GOOG vs MSFT vs AMZN vs AAPL

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%
AAPL
Apple Inc.

Consumer Electronics

TechnologyNASDAQ • US
Market Cap$4.22T
5Y Perf.+261.6%

STG vs GOOG vs MSFT vs AMZN vs AAPL — Key Financials

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

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

STG vs GOOG vs MSFT vs AMZN vs AAPLLong-Term Stock Performance

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

STG
GOOG
MSFT
AMZN
AAPL
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%
Apple Inc. (AAPL)100361.6+261.6%

Price return only. Dividends and distributions are not included.

Quick Verdict: STG vs GOOG vs MSFT vs AMZN vs AAPL

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

Bottom line: STG and GOOG are tied at the top with 2 categories each (5-stock set) — the right choice depends on your priorities. Alphabet Inc. is the stronger pick specifically for growth and revenue expansion and recent price momentum and sentiment. MSFT and AAPL also each lead in at least one category. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
STG
Sunlands Technology Group
The Defensive Pick

STG has the current edge in this matchup, primarily because of its strength in sleep-well-at-night.

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

GOOG is the #2 pick in this set and the best alternative if growth exposure and valuation efficiency is your priority.

  • Rev growth 15.1%, EPS growth 34.5%, 3Y rev CAGR 12.5%
  • PEG 1.09 vs AAPL's 1.89
  • 15.1% revenue growth vs STG's -7.8%
  • +159.3% vs STG's -40.8%
Best for: growth exposure and valuation efficiency
MSFT
Microsoft Corporation
The Income Pick

MSFT ranks third and is worth considering specifically for 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 Consumer Cyclical Pick

Among these 5 stocks, AMZN doesn't own a clear edge in any measured category.

Best for: consumer cyclical exposure
AAPL
Apple Inc.
The Long-Run Compounder

AAPL is the clearest fit if your priority is long-term compounding.

  • 11.7% 10Y total return vs GOOG's 10.1%
  • 34.0% ROA vs AMZN's 11.5%, ROIC 67.4% vs 14.7%
Best for: long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthGOOG logoGOOG15.1% revenue growth vs STG's -7.8%
ValueSTG logoSTGLower P/E (0.8x vs 33.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)AAPL logoAAPL34.0% ROA vs AMZN's 11.5%, ROIC 67.4% vs 14.7%

STG vs GOOG vs MSFT vs AMZN vs AAPL — 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
AAPLApple Inc.
FY 2025
iPhone
50.4%$209.6B
Service
26.2%$109.2B
Wearables, Home and Accessories
8.6%$35.7B
Mac
8.1%$33.7B
iPad
6.7%$28.0B

STG vs GOOG vs MSFT vs AMZN vs AAPL — Financial Metrics

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

BEST OVERALLSTGLAGGINGAMZN

Income & Cash Flow (Last 12 Months)

Evenly matched — GOOG and MSFT each lead in 2 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.AAPL logoAAPLApple Inc.
RevenueTrailing 12 months$2.0B$422.6B$318.3B$742.8B$451.4B
EBITDAEarnings before interest/tax$419M$161.3B$192.6B$155.9B$160.0B
Net IncomeAfter-tax profit$385M$160.2B$125.2B$90.8B$122.6B
Free Cash FlowCash after capex$0$73.3B$72.9B-$2.5B$129.2B
Gross MarginGross profit ÷ Revenue+86.0%+60.4%+68.3%+50.6%+47.9%
Operating MarginEBIT ÷ Revenue+19.2%+32.7%+46.8%+11.5%+32.6%
Net MarginNet income ÷ Revenue+18.9%+37.9%+39.3%+12.2%+27.2%
FCF MarginFCF ÷ Revenue+9.8%+17.3%+22.9%-0.3%+28.6%
Rev. Growth (YoY)Latest quarter vs prior year+6.5%+21.8%+18.3%+16.6%+16.6%
EPS Growth (YoY)Latest quarter vs prior year+42.9%+81.9%+23.4%+74.8%+21.8%
Evenly matched — GOOG and MSFT each lead in 2 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 AAPL's 38.5x P/E. Adjusting for growth (PEG ratio), GOOG offers better value at 1.23x vs AAPL's 2.16x — 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.AAPL logoAAPLApple Inc.
Market CapShares × price$42M$4.78T$3.13T$2.92T$4.22T
Enterprise ValueMkt cap + debt − cash-$5M$4.81T$3.21T$2.98T$4.30T
Trailing P/EPrice ÷ TTM EPS0.84x36.57x30.86x37.82x38.53x
Forward P/EPrice ÷ next-FY EPS est.32.45x25.34x34.77x33.78x
PEG RatioP/E ÷ EPS growth rate1.23x1.64x1.35x2.16x
EV / EBITDAEnterprise value multiple-0.10x32.01x19.72x20.47x29.68x
Price / SalesMarket cap ÷ Revenue0.14x11.87x11.10x4.07x10.14x
Price / BookPrice ÷ Book value/share0.48x11.64x9.15x7.14x58.49x
Price / FCFMarket cap ÷ FCF1.47x65.27x43.66x378.98x42.72x
STG leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

AAPL leads this category, winning 4 of 9 comparable metrics.

AAPL delivers a 146.7% return on equity — every $100 of shareholder capital generates $147 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 AAPL's 1.52x. On the Piotroski fundamental quality scale (0–9), AAPL scores 8/9 vs STG's 5/9, reflecting strong financial health.

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

Total Returns (Dividends Reinvested)

GOOG leads this category, winning 5 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.AAPL logoAAPLApple Inc.
YTD ReturnYear-to-date-47.8%+25.4%-10.8%+19.7%+6.2%
1-Year ReturnPast 12 months-40.8%+159.3%-2.1%+43.7%+47.0%
3-Year ReturnCumulative with dividends-51.2%+266.7%+39.5%+156.2%+67.4%
5-Year ReturnCumulative with dividends-72.4%+231.0%+72.5%+64.8%+124.4%
10-Year ReturnCumulative with dividends-97.3%+1013.4%+787.7%+697.8%+1174.1%
CAGR (3Y)Annualised 3-year return-21.3%+54.2%+11.7%+36.8%+18.7%
GOOG leads this category, winning 5 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.AAPL logoAAPLApple Inc.
Beta (5Y)Sensitivity to S&P 5000.69x1.23x0.89x1.51x0.99x
52-Week HighHighest price in past year$15.00$397.28$555.45$278.56$292.13
52-Week LowLowest price in past year$3.04$149.49$356.28$185.01$193.25
% of 52W HighCurrent price vs 52-week peak+20.6%+99.5%+75.8%+97.3%+98.4%
RSI (14)Momentum oscillator 0–10039.882.854.081.169.4
Avg Volume (50D)Average daily shares traded3K19.1M32.5M45.5M39.8M
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", AAPL 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.AAPL logoAAPLApple Inc.
Analyst RatingConsensus buy/hold/sellBuyBuyBuyBuy
Price TargetConsensus 12-month target$383.41$551.75$306.77$317.11
# AnalystsCovering analysts798194110
Dividend YieldAnnual dividend ÷ price+0.2%+0.8%+0.4%
Dividend StreakConsecutive years of raises021914
Dividend / ShareAnnual DPS$0.82$3.23$1.03
Buyback YieldShare repurchases ÷ mkt cap+3.8%+1.0%+0.6%0.0%+2.1%
MSFT leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

STG leads in 1 of 6 categories (Valuation Metrics). AAPL leads in 1 (Profitability & Efficiency). 2 tied.

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

STG vs GOOG vs MSFT vs AMZN vs AAPL: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is STG or GOOG or MSFT or AMZN or AAPL 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 or AAPL?

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

8x versus Apple Inc. at 38. 5x. 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 Apple Inc. 's 1. 89x — a reasonable growth-adjusted valuation.

03

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

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: AAPL returned +1174% 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 or AAPL?

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 152% for Apple Inc. — giving it more financial flexibility in a downturn.

05

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

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 or AAPL?

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 or AAPL 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 Apple Inc. 's 1. 89x. 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 or AAPL?

In this comparison, MSFT (0.

8% yield), AAPL (0. 4% 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 or AAPL 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 and AAPL?

These companies operate in different sectors (STG (Consumer Defensive) and GOOG (Communication Services) and MSFT (Technology) and AMZN (Consumer Cyclical) and AAPL (Technology)), 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; AAPL is a mega-cap quality compounder stock. MSFT pays a dividend while STG, GOOG, AMZN, AAPL 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
Stocks Like

AAPL

High-Growth Quality Leader

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

Beat Both

Find stocks that outperform STG and GOOG and MSFT and AMZN and AAPL 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.