Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

APEI vs WMT

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

Live fundamentals10-year financials5-year price chart
APEI
American Public Education, Inc.

Education & Training Services

Consumer DefensiveNASDAQ • US
Market Cap$992M
5Y Perf.+74.1%
WMT
Walmart Inc.

Specialty Retail

Consumer DefensiveNYSE • US
Market Cap$1.04T
5Y Perf.+214.9%

APEI vs WMT — Key Financials

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

Company Snapshot
APEI logoAPEI
WMT logoWMT
IndustryEducation & Training ServicesSpecialty Retail
Market Cap$992M$1.04T
Revenue (TTM)$1.47B$703.06B
Net Income (TTM)$32M$22.91B
Gross Margin35.6%24.9%
Operating Margin4.1%4.1%
Forward P/E22.5x44.7x
Total Debt$68M$67.09B
Cash & Equiv.$176M$10.73B

APEI vs WMTLong-Term Stock Performance

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

APEI
WMT
StockMay 20May 26Return
American Public Edu… (APEI)100174.1+74.1%
Walmart Inc. (WMT)100314.9+214.9%

Price return only. Dividends and distributions are not included.

Quick Verdict: APEI vs WMT

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

Bottom line: WMT leads in 5 of 7 categories, making it the strongest pick for growth and revenue expansion and profitability and margin quality. American Public Education, Inc. is the stronger pick specifically for valuation and capital efficiency and recent price momentum and sentiment. As sector peers, any of these can serve as alternatives in the same allocation.
APEI
American Public Education, Inc.
The Defensive Pick

APEI is the clearest fit if your priority is sleep-well-at-night.

  • Lower volatility, beta 0.32, Low D/E 23.2%, current ratio 3.46x
  • Lower P/E (22.5x vs 44.7x)
  • +115.3% vs WMT's +32.7%
Best for: sleep-well-at-night
WMT
Walmart Inc.
The Income Pick

WMT carries the broadest edge in this set and is the clearest fit for income & stability and growth exposure.

  • Dividend streak 37 yrs, beta 0.12, yield 0.7%
  • Rev growth 4.7%, EPS growth 13.3%, 3Y rev CAGR 5.3%
  • 499.5% 10Y total return vs APEI's 129.9%
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthWMT logoWMT4.7% revenue growth vs APEI's 3.9%
ValueAPEI logoAPEILower P/E (22.5x vs 44.7x)
Quality / MarginsWMT logoWMT3.3% margin vs APEI's 2.2%
Stability / SafetyWMT logoWMTBeta 0.12 vs APEI's 0.32
DividendsWMT logoWMT0.7% yield, 37-year raise streak, vs APEI's 0.3%
Momentum (1Y)APEI logoAPEI+115.3% vs WMT's +32.7%
Efficiency (ROA)WMT logoWMT7.9% ROA vs APEI's 5.8%

APEI vs WMT — Revenue Breakdown by Segment

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

APEIAmerican Public Education, Inc.
FY 2025
Instructional Services, Net Of Grants And Scholarships
91.2%$592M
Textbook And Other Course Materials
7.3%$48M
Other Fees
0.8%$5M
Graduation Fees
0.6%$4M
WMTWalmart Inc.
FY 2025
Walmart U S
68.6%$462.4B
Walmart International
18.1%$121.9B
Sams Club
13.4%$90.2B

APEI vs WMT — Financial Metrics

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

BEST OVERALLAPEILAGGINGWMT

Income & Cash Flow (Last 12 Months)

APEI leads this category, winning 4 of 6 comparable metrics.

WMT is the larger business by revenue, generating $703.1B annually — 479.3x APEI's $1.5B. Profitability is closely matched — net margins range from 3.3% (WMT) to 2.2% (APEI).

MetricAPEI logoAPEIAmerican Public E…WMT logoWMTWalmart Inc.
RevenueTrailing 12 months$1.5B$703.1B
EBITDAEarnings before interest/tax$77M$42.8B
Net IncomeAfter-tax profit$32M$22.9B
Free Cash FlowCash after capex$46M$15.3B
Gross MarginGross profit ÷ Revenue+35.6%+24.9%
Operating MarginEBIT ÷ Revenue+4.1%+4.1%
Net MarginNet income ÷ Revenue+2.2%+3.3%
FCF MarginFCF ÷ Revenue+3.1%+2.2%
Rev. Growth (YoY)Latest quarter vs prior year+4.9%+5.8%
EPS Growth (YoY)Latest quarter vs prior year+6.3%+35.1%
APEI leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

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

At 40.2x trailing earnings, APEI trades at a 16% valuation discount to WMT's 47.7x P/E. Adjusting for growth (PEG ratio), WMT offers better value at 4.33x vs APEI's 23.65x — a lower PEG means you pay less per unit of expected earnings growth.

MetricAPEI logoAPEIAmerican Public E…WMT logoWMTWalmart Inc.
Market CapShares × price$992M$1.04T
Enterprise ValueMkt cap + debt − cash$883M$1.09T
Trailing P/EPrice ÷ TTM EPS40.23x47.69x
Forward P/EPrice ÷ next-FY EPS est.22.55x44.71x
PEG RatioP/E ÷ EPS growth rate23.65x4.33x
EV / EBITDAEnterprise value multiple15.88x24.85x
Price / SalesMarket cap ÷ Revenue1.53x1.46x
Price / BookPrice ÷ Book value/share3.46x10.45x
Price / FCFMarket cap ÷ FCF21.51x24.97x
APEI leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

APEI leads this category, winning 4 of 6 comparable metrics.

WMT delivers a 22.3% return on equity — every $100 of shareholder capital generates $22 in annual profit, vs $11 for APEI. APEI carries lower financial leverage with a 0.23x debt-to-equity ratio, signaling a more conservative balance sheet compared to WMT's 0.67x. On the Piotroski fundamental quality scale (0–9), APEI scores 7/9 vs WMT's 6/9, reflecting strong financial health.

MetricAPEI logoAPEIAmerican Public E…WMT logoWMTWalmart Inc.
ROE (TTM)Return on equity+10.9%+22.3%
ROA (TTM)Return on assets+5.8%+7.9%
ROICReturn on invested capital+14.7%
ROCEReturn on capital employed+17.5%
Piotroski ScoreFundamental quality 0–976
Debt / EquityFinancial leverage0.23x0.67x
Net DebtTotal debt minus cash-$108M$56.4B
Cash & Equiv.Liquid assets$176M$10.7B
Total DebtShort + long-term debt$68M$67.1B
Interest CoverageEBIT ÷ Interest expense11.85x
APEI leads this category, winning 4 of 6 comparable metrics.

Total Returns (Dividends Reinvested)

APEI leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in WMT five years ago would be worth $28,695 today (with dividends reinvested), compared to $17,751 for APEI. Over the past 12 months, APEI leads with a +115.3% total return vs WMT's +32.7%. The 3-year compound annual growth rate (CAGR) favors APEI at 115.7% vs WMT's 37.6% — a key indicator of consistent wealth creation.

MetricAPEI logoAPEIAmerican Public E…WMT logoWMTWalmart Inc.
YTD ReturnYear-to-date+51.3%+15.7%
1-Year ReturnPast 12 months+115.3%+32.7%
3-Year ReturnCumulative with dividends+903.9%+160.5%
5-Year ReturnCumulative with dividends+77.5%+186.9%
10-Year ReturnCumulative with dividends+129.9%+499.5%
CAGR (3Y)Annualised 3-year return+115.7%+37.6%
APEI leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

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

MetricAPEI logoAPEIAmerican Public E…WMT logoWMTWalmart Inc.
Beta (5Y)Sensitivity to S&P 5000.32x0.12x
52-Week HighHighest price in past year$61.59$134.69
52-Week LowLowest price in past year$23.00$91.89
% of 52W HighCurrent price vs 52-week peak+88.8%+96.7%
RSI (14)Momentum oscillator 0–10045.855.9
Avg Volume (50D)Average daily shares traded345K17.2M
WMT leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

Wall Street rates APEI as "Hold" and WMT as "Buy". Consensus price targets imply 5.3% upside for WMT (target: $137) vs -6.5% for APEI (target: $51). For income investors, WMT offers the higher dividend yield at 0.72% vs APEI's 0.27%.

MetricAPEI logoAPEIAmerican Public E…WMT logoWMTWalmart Inc.
Analyst RatingConsensus buy/hold/sellHoldBuy
Price TargetConsensus 12-month target$51.17$137.04
# AnalystsCovering analysts1964
Dividend YieldAnnual dividend ÷ price+0.3%+0.7%
Dividend StreakConsecutive years of raises037
Dividend / ShareAnnual DPS$0.15$0.94
Buyback YieldShare repurchases ÷ mkt cap+0.4%+0.8%
WMT leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

APEI leads in 4 of 6 categories (Income & Cash Flow, Valuation Metrics). WMT leads in 2 (Risk & Volatility, Analyst Outlook).

Best OverallAmerican Public Education, … (APEI)Leads 4 of 6 categories
Loading custom metrics...

APEI vs WMT: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is APEI or WMT a better buy right now?

For growth investors, Walmart Inc.

(WMT) is the stronger pick with 4. 7% revenue growth year-over-year, versus 3. 9% for American Public Education, Inc. (APEI). American Public Education, Inc. (APEI) offers the better valuation at 40. 2x trailing P/E (22. 5x forward), making it the more compelling value choice. Analysts rate Walmart Inc. (WMT) a "Buy" — based on 64 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 — APEI or WMT?

On trailing P/E, American Public Education, Inc.

(APEI) is the cheapest at 40. 2x versus Walmart Inc. at 47. 7x. On forward P/E, American Public Education, Inc. is actually cheaper at 22. 5x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Walmart Inc. wins at 4. 06x versus American Public Education, Inc. 's 13. 26x.

03

Which is the better long-term investment — APEI or WMT?

Over the past 5 years, Walmart Inc.

(WMT) delivered a total return of +186. 9%, compared to +77. 5% for American Public Education, Inc. (APEI). Over 10 years, the gap is even starker: WMT returned +499. 5% versus APEI's +129. 9%. 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 — APEI or WMT?

By beta (market sensitivity over 5 years), Walmart Inc.

(WMT) is the lower-risk stock at 0. 12β versus American Public Education, Inc. 's 0. 32β — meaning APEI is approximately 177% more volatile than WMT relative to the S&P 500. On balance sheet safety, American Public Education, Inc. (APEI) carries a lower debt/equity ratio of 23% versus 67% for Walmart Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — APEI or WMT?

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

(WMT) is pulling ahead at 4. 7% versus 3. 9% for American Public Education, Inc. (APEI). On earnings-per-share growth, the picture is similar: American Public Education, Inc. grew EPS 147. 3% year-over-year, compared to 13. 3% for Walmart Inc.. Over a 3-year CAGR, WMT leads at 5. 3% 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 — APEI or WMT?

American Public Education, Inc.

(APEI) is the more profitable company, earning 4. 9% net margin versus 3. 1% for Walmart Inc. — meaning it keeps 4. 9% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: WMT leads at 4. 2% versus 4. 1% for APEI. At the gross margin level — before operating expenses — APEI leads at 35. 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.

07

Is APEI or WMT 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, Walmart Inc. (WMT) is the more undervalued stock at a PEG of 4. 06x versus American Public Education, Inc. 's 13. 26x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, American Public Education, Inc. (APEI) trades at 22. 5x forward P/E versus 44. 7x for Walmart Inc. — 22. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for WMT: 5. 3% to $137. 04.

08

Which pays a better dividend — APEI or WMT?

All stocks in this comparison pay dividends.

Walmart Inc. (WMT) offers the highest yield at 0. 7%, versus 0. 3% for American Public Education, Inc. (APEI).

09

Is APEI or WMT better for a retirement portfolio?

For long-horizon retirement investors, Walmart Inc.

(WMT) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 12), 0. 7% yield, +499. 5% 10Y return). Both have compounded well over 10 years (WMT: +499. 5%, APEI: +129. 9%), 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 APEI and WMT?

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.

WMT pays a dividend while APEI 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 outperform both.

Stocks Like

APEI

High-Growth Disruptor

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 247%
  • Gross Margin > 21%
Run This Screen
Stocks Like

WMT

Stable Dividend Mega-Cap

  • Sector: Consumer Defensive
  • Market Cap > $100B
  • Revenue Growth > 5%
  • Gross Margin > 14%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform APEI and WMT on the metrics below

Revenue Growth>
%
(APEI: 494.8% · WMT: 5.8%)
Net Margin>
%
(APEI: 2.2% · WMT: 3.3%)
P/E Ratio<
x
(APEI: 40.2x · WMT: 47.7x)

You Might Also Compare

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