Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

APEI vs GPI

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$1.01B
5Y Perf.+77.9%
GPI
Group 1 Automotive, Inc.

Auto - Dealerships

Consumer CyclicalNYSE • US
Market Cap$4.08B
5Y Perf.+446.5%

APEI vs GPI — Key Financials

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

Company Snapshot
APEI logoAPEI
GPI logoGPI
IndustryEducation & Training ServicesAuto - Dealerships
Market Cap$1.01B$4.08B
Revenue (TTM)$1.47B$22.47B
Net Income (TTM)$32M$326M
Gross Margin35.6%15.5%
Operating Margin4.1%4.3%
Forward P/E23.0x8.3x
Total Debt$68M$5.87B
Cash & Equiv.$176M$33M

APEI vs GPILong-Term Stock Performance

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

APEI
GPI
StockMay 20May 26Return
American Public Edu… (APEI)100177.9+77.9%
Group 1 Automotive,… (GPI)100546.5+446.5%

Price return only. Dividends and distributions are not included.

Quick Verdict: APEI vs GPI

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

Bottom line: APEI leads in 4 of 7 categories, making it the strongest pick for profitability and margin quality and capital preservation and lower volatility. Group 1 Automotive, Inc. is the stronger pick specifically for growth and revenue expansion and valuation and capital efficiency. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
APEI
American Public Education, Inc.
The Defensive Pick

APEI carries the broadest edge in this set and is the clearest fit for sleep-well-at-night and defensive.

  • Lower volatility, beta 0.32, Low D/E 23.2%, current ratio 3.46x
  • Beta 0.32, yield 0.3%, current ratio 3.46x
  • 2.2% margin vs GPI's 1.5%
Best for: sleep-well-at-night and defensive
GPI
Group 1 Automotive, Inc.
The Income Pick

GPI is the clearest fit if your priority is income & stability and growth exposure.

  • Dividend streak 5 yrs, beta 0.77, yield 0.6%
  • Rev growth 13.2%, EPS growth -31.6%, 3Y rev CAGR 11.6%
  • 474.1% 10Y total return vs APEI's 138.0%
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthGPI logoGPI13.2% revenue growth vs APEI's 3.9%
ValueGPI logoGPILower P/E (8.3x vs 23.0x), PEG 0.82 vs 13.55
Quality / MarginsAPEI logoAPEI2.2% margin vs GPI's 1.5%
Stability / SafetyAPEI logoAPEIBeta 0.32 vs GPI's 0.77, lower leverage
DividendsGPI logoGPI0.6% yield, 5-year raise streak, vs APEI's 0.3%
Momentum (1Y)APEI logoAPEI+122.6% vs GPI's -15.8%
Efficiency (ROA)APEI logoAPEI5.8% ROA vs GPI's 3.9%

APEI vs GPI — 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
GPIGroup 1 Automotive, Inc.
FY 2025
New And Used Vehicles
45.4%$18.8B
New Vehicles - Retail
26.6%$11.0B
Used Vehicles - Retail
17.4%$7.2B
Parts And Service
6.9%$2.8B
Financial Service
2.3%$935M
Used Vehicles - Wholesale
1.5%$607M

APEI vs GPI — Financial Metrics

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

BEST OVERALLAPEILAGGINGGPI

Income & Cash Flow (Last 12 Months)

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

GPI is the larger business by revenue, generating $22.5B annually — 15.3x APEI's $1.5B. Profitability is closely matched — net margins range from 2.2% (APEI) to 1.5% (GPI). On growth, APEI holds the edge at +4.9% YoY revenue growth, suggesting stronger near-term business momentum.

MetricAPEI logoAPEIAmerican Public E…GPI logoGPIGroup 1 Automotiv…
RevenueTrailing 12 months$1.5B$22.5B
EBITDAEarnings before interest/tax$77M$1.1B
Net IncomeAfter-tax profit$32M$326M
Free Cash FlowCash after capex$46M$288M
Gross MarginGross profit ÷ Revenue+35.6%+15.5%
Operating MarginEBIT ÷ Revenue+4.1%+4.3%
Net MarginNet income ÷ Revenue+2.2%+1.5%
FCF MarginFCF ÷ Revenue+3.1%+1.3%
Rev. Growth (YoY)Latest quarter vs prior year+4.9%-1.8%
EPS Growth (YoY)Latest quarter vs prior year+6.3%+11.4%
APEI leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

GPI leads this category, winning 7 of 7 comparable metrics.

At 13.7x trailing earnings, GPI trades at a 67% valuation discount to APEI's 41.1x P/E. Adjusting for growth (PEG ratio), GPI offers better value at 1.35x vs APEI's 24.17x — a lower PEG means you pay less per unit of expected earnings growth.

MetricAPEI logoAPEIAmerican Public E…GPI logoGPIGroup 1 Automotiv…
Market CapShares × price$1.0B$4.1B
Enterprise ValueMkt cap + debt − cash$905M$9.9B
Trailing P/EPrice ÷ TTM EPS41.11x13.69x
Forward P/EPrice ÷ next-FY EPS est.23.04x8.26x
PEG RatioP/E ÷ EPS growth rate24.17x1.35x
EV / EBITDAEnterprise value multiple16.27x9.27x
Price / SalesMarket cap ÷ Revenue1.56x0.18x
Price / BookPrice ÷ Book value/share3.54x1.57x
Price / FCFMarket cap ÷ FCF21.98x9.62x
GPI leads this category, winning 7 of 7 comparable metrics.

Profitability & Efficiency

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

GPI delivers a 11.0% return on equity — every $100 of shareholder capital generates $11 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 GPI's 2.10x. On the Piotroski fundamental quality scale (0–9), APEI scores 7/9 vs GPI's 6/9, reflecting strong financial health.

MetricAPEI logoAPEIAmerican Public E…GPI logoGPIGroup 1 Automotiv…
ROE (TTM)Return on equity+10.9%+11.0%
ROA (TTM)Return on assets+5.8%+3.9%
ROICReturn on invested capital+8.5%
ROCEReturn on capital employed+14.2%
Piotroski ScoreFundamental quality 0–976
Debt / EquityFinancial leverage0.23x2.10x
Net DebtTotal debt minus cash-$108M$5.8B
Cash & Equiv.Liquid assets$176M$33M
Total DebtShort + long-term debt$68M$5.9B
Interest CoverageEBIT ÷ Interest expense3.15x
APEI leads this category, winning 5 of 6 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in GPI five years ago would be worth $20,167 today (with dividends reinvested), compared to $19,004 for APEI. Over the past 12 months, APEI leads with a +122.6% total return vs GPI's -15.8%. The 3-year compound annual growth rate (CAGR) favors APEI at 117.3% vs GPI's 16.6% — a key indicator of consistent wealth creation.

MetricAPEI logoAPEIAmerican Public E…GPI logoGPIGroup 1 Automotiv…
YTD ReturnYear-to-date+54.7%-12.2%
1-Year ReturnPast 12 months+122.6%-15.8%
3-Year ReturnCumulative with dividends+925.9%+58.4%
5-Year ReturnCumulative with dividends+90.0%+101.7%
10-Year ReturnCumulative with dividends+138.0%+474.1%
CAGR (3Y)Annualised 3-year return+117.3%+16.6%
APEI leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

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

MetricAPEI logoAPEIAmerican Public E…GPI logoGPIGroup 1 Automotiv…
Beta (5Y)Sensitivity to S&P 5000.32x0.77x
52-Week HighHighest price in past year$61.59$488.39
52-Week LowLowest price in past year$23.00$292.44
% of 52W HighCurrent price vs 52-week peak+90.8%+70.4%
RSI (14)Momentum oscillator 0–10055.451.5
Avg Volume (50D)Average daily shares traded342K153K
APEI leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

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

Wall Street rates APEI as "Hold" and GPI as "Buy". Consensus price targets imply 38.6% upside for GPI (target: $477) vs -8.5% for APEI (target: $51). For income investors, GPI offers the higher dividend yield at 0.58% vs APEI's 0.26%.

MetricAPEI logoAPEIAmerican Public E…GPI logoGPIGroup 1 Automotiv…
Analyst RatingConsensus buy/hold/sellHoldBuy
Price TargetConsensus 12-month target$51.17$476.67
# AnalystsCovering analysts1924
Dividend YieldAnnual dividend ÷ price+0.3%+0.6%
Dividend StreakConsecutive years of raises05
Dividend / ShareAnnual DPS$0.15$2.01
Buyback YieldShare repurchases ÷ mkt cap+0.4%+13.6%
GPI leads this category, winning 2 of 2 comparable metrics.
Key Takeaway

APEI leads in 4 of 6 categories (Income & Cash Flow, Profitability & Efficiency). GPI leads in 2 (Valuation Metrics, Analyst Outlook).

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

APEI vs GPI: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is APEI or GPI a better buy right now?

For growth investors, Group 1 Automotive, Inc.

(GPI) is the stronger pick with 13. 2% revenue growth year-over-year, versus 3. 9% for American Public Education, Inc. (APEI). Group 1 Automotive, Inc. (GPI) offers the better valuation at 13. 7x trailing P/E (8. 3x forward), making it the more compelling value choice. Analysts rate Group 1 Automotive, Inc. (GPI) a "Buy" — based on 24 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 GPI?

On trailing P/E, Group 1 Automotive, Inc.

(GPI) is the cheapest at 13. 7x versus American Public Education, Inc. at 41. 1x. On forward P/E, Group 1 Automotive, Inc. is actually cheaper at 8. 3x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Group 1 Automotive, Inc. wins at 0. 82x versus American Public Education, Inc. 's 13. 55x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

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

Over the past 5 years, Group 1 Automotive, Inc.

(GPI) delivered a total return of +101. 7%, compared to +90. 0% for American Public Education, Inc. (APEI). Over 10 years, the gap is even starker: GPI returned +474. 1% versus APEI's +138. 0%. 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 GPI?

By beta (market sensitivity over 5 years), American Public Education, Inc.

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

05

Which is growing faster — APEI or GPI?

By revenue growth (latest reported year), Group 1 Automotive, Inc.

(GPI) is pulling ahead at 13. 2% 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 -31. 6% for Group 1 Automotive, Inc.. Over a 3-year CAGR, GPI leads at 11. 6% 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 GPI?

American Public Education, Inc.

(APEI) is the more profitable company, earning 4. 9% net margin versus 1. 4% for Group 1 Automotive, Inc. — meaning it keeps 4. 9% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: GPI 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 GPI 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, Group 1 Automotive, Inc. (GPI) is the more undervalued stock at a PEG of 0. 82x versus American Public Education, Inc. 's 13. 55x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, Group 1 Automotive, Inc. (GPI) trades at 8. 3x forward P/E versus 23. 0x for American Public Education, Inc. — 14. 8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for GPI: 38. 6% to $476. 67.

08

Which pays a better dividend — APEI or GPI?

All stocks in this comparison pay dividends.

Group 1 Automotive, Inc. (GPI) offers the highest yield at 0. 6%, versus 0. 3% for American Public Education, Inc. (APEI).

09

Is APEI or GPI better for a retirement portfolio?

For long-horizon retirement investors, Group 1 Automotive, Inc.

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

These companies operate in different sectors (APEI (Consumer Defensive) and GPI (Consumer Cyclical)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

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

GPI

Stable Dividend Mega-Cap

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Dividend Yield > 0.5%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform APEI and GPI on the metrics below

Revenue Growth>
%
(APEI: 494.8% · GPI: -1.8%)
P/E Ratio<
x
(APEI: 41.1x · GPI: 13.7x)

You Might Also Compare

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