Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

MGRC vs TREX

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

Live fundamentals10-year financials5-year price chart
MGRC
McGrath RentCorp

Rental & Leasing Services

IndustrialsNASDAQ • US
Market Cap$2.78B
5Y Perf.+102.8%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.25B
5Y Perf.-33.5%

MGRC vs TREX — Key Financials

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

Company Snapshot
MGRC logoMGRC
TREX logoTREX
IndustryRental & Leasing ServicesConstruction
Market Cap$2.78B$4.25B
Revenue (TTM)$947M$1.17B
Net Income (TTM)$155M$190M
Gross Margin45.9%39.2%
Operating Margin25.5%22.0%
Forward P/E17.5x24.4x
Total Debt$528M$229M
Cash & Equiv.$295K$4M

MGRC vs TREXLong-Term Stock Performance

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

MGRC
TREX
StockMay 20May 26Return
McGrath RentCorp (MGRC)100202.8+102.8%
Trex Company, Inc. (TREX)10066.5-33.5%

Price return only. Dividends and distributions are not included.

Quick Verdict: MGRC vs TREX

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

Bottom line: MGRC leads in 6 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. Trex Company, Inc. is the stronger pick specifically for operational efficiency and capital deployment. As sector peers, any of these can serve as alternatives in the same allocation.
MGRC
McGrath RentCorp
The Income Pick

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

  • Dividend streak 36 yrs, beta 0.87, yield 1.7%
  • Rev growth 3.7%, EPS growth -32.7%, 3Y rev CAGR 14.1%
  • 394.1% 10Y total return vs TREX's 247.6%
Best for: income & stability and growth exposure
TREX
Trex Company, Inc.
The Niche Pick

TREX is the clearest fit if your priority is efficiency.

  • 12.4% ROA vs MGRC's 6.6%, ROIC 16.4% vs 10.5%
Best for: efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthMGRC logoMGRC3.7% revenue growth vs TREX's 2.0%
ValueMGRC logoMGRCLower P/E (17.5x vs 24.4x), PEG 1.98 vs 7.30
Quality / MarginsMGRC logoMGRC16.4% margin vs TREX's 16.2%
Stability / SafetyMGRC logoMGRCBeta 0.87 vs TREX's 1.47
DividendsMGRC logoMGRC1.7% yield; 36-year raise streak; the other pay no meaningful dividend
Momentum (1Y)MGRC logoMGRC+6.6% vs TREX's -31.3%
Efficiency (ROA)TREX logoTREX12.4% ROA vs MGRC's 6.6%, ROIC 16.4% vs 10.5%

MGRC vs TREX — Revenue Breakdown by Segment

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

MGRCMcGrath RentCorp
FY 2025
Mobile Modular
68.3%$645M
Trs Ren Telco
15.8%$149M
Portable Storage
9.8%$93M
Enviroplex
6.1%$57M
TREXTrex Company, Inc.

Segment breakdown not available.

MGRC vs TREX — Financial Metrics

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

BEST OVERALLMGRCLAGGINGTREX

Income & Cash Flow (Last 12 Months)

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

TREX and MGRC operate at a comparable scale, with $1.2B and $947M in trailing revenue. Profitability is closely matched — net margins range from 16.4% (MGRC) to 16.2% (TREX). On growth, MGRC holds the edge at +1.6% YoY revenue growth, suggesting stronger near-term business momentum.

MetricMGRC logoMGRCMcGrath RentCorpTREX logoTREXTrex Company, Inc.
RevenueTrailing 12 months$947M$1.2B
EBITDAEarnings before interest/tax$350M$321M
Net IncomeAfter-tax profit$155M$190M
Free Cash FlowCash after capex$196M$147M
Gross MarginGross profit ÷ Revenue+45.9%+39.2%
Operating MarginEBIT ÷ Revenue+25.5%+22.0%
Net MarginNet income ÷ Revenue+16.4%+16.2%
FCF MarginFCF ÷ Revenue+20.7%+12.5%
Rev. Growth (YoY)Latest quarter vs prior year+1.6%-3.9%
EPS Growth (YoY)Latest quarter vs prior year-4.3%-77.8%
MGRC leads this category, winning 6 of 6 comparable metrics.

Valuation Metrics

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

At 17.8x trailing earnings, MGRC trades at a 21% valuation discount to TREX's 22.4x P/E. Adjusting for growth (PEG ratio), MGRC offers better value at 2.02x vs TREX's 6.70x — a lower PEG means you pay less per unit of expected earnings growth.

MetricMGRC logoMGRCMcGrath RentCorpTREX logoTREXTrex Company, Inc.
Market CapShares × price$2.8B$4.2B
Enterprise ValueMkt cap + debt − cash$3.3B$4.5B
Trailing P/EPrice ÷ TTM EPS17.80x22.42x
Forward P/EPrice ÷ next-FY EPS est.17.46x24.41x
PEG RatioP/E ÷ EPS growth rate2.02x6.70x
EV / EBITDAEnterprise value multiple9.41x13.94x
Price / SalesMarket cap ÷ Revenue2.94x3.62x
Price / BookPrice ÷ Book value/share2.25x4.13x
Price / FCFMarket cap ÷ FCF13.14x31.59x
MGRC leads this category, winning 7 of 7 comparable metrics.

Profitability & Efficiency

TREX leads this category, winning 8 of 8 comparable metrics.

TREX delivers a 19.2% return on equity — every $100 of shareholder capital generates $19 in annual profit, vs $13 for MGRC. TREX carries lower financial leverage with a 0.22x debt-to-equity ratio, signaling a more conservative balance sheet compared to MGRC's 0.43x.

MetricMGRC logoMGRCMcGrath RentCorpTREX logoTREXTrex Company, Inc.
ROE (TTM)Return on equity+12.8%+19.2%
ROA (TTM)Return on assets+6.6%+12.4%
ROICReturn on invested capital+10.5%+16.4%
ROCEReturn on capital employed+11.3%+23.2%
Piotroski ScoreFundamental quality 0–966
Debt / EquityFinancial leverage0.43x0.22x
Net DebtTotal debt minus cash$528M$225M
Cash & Equiv.Liquid assets$295,000$4M
Total DebtShort + long-term debt$528M$229M
Interest CoverageEBIT ÷ Interest expense8.35x3394.21x
TREX leads this category, winning 8 of 8 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in MGRC five years ago would be worth $14,915 today (with dividends reinvested), compared to $3,755 for TREX. Over the past 12 months, MGRC leads with a +6.6% total return vs TREX's -31.3%. The 3-year compound annual growth rate (CAGR) favors MGRC at 9.5% vs TREX's -10.8% — a key indicator of consistent wealth creation.

MetricMGRC logoMGRCMcGrath RentCorpTREX logoTREXTrex Company, Inc.
YTD ReturnYear-to-date+8.4%+11.4%
1-Year ReturnPast 12 months+6.6%-31.3%
3-Year ReturnCumulative with dividends+31.3%-29.1%
5-Year ReturnCumulative with dividends+49.2%-62.4%
10-Year ReturnCumulative with dividends+394.1%+247.6%
CAGR (3Y)Annualised 3-year return+9.5%-10.8%
MGRC leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

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

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

MetricMGRC logoMGRCMcGrath RentCorpTREX logoTREXTrex Company, Inc.
Beta (5Y)Sensitivity to S&P 5000.87x1.47x
52-Week HighHighest price in past year$128.41$68.78
52-Week LowLowest price in past year$94.99$29.77
% of 52W HighCurrent price vs 52-week peak+88.0%+58.0%
RSI (14)Momentum oscillator 0–10050.341.3
Avg Volume (50D)Average daily shares traded211K1.8M
MGRC leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

MGRC leads this category, winning 1 of 1 comparable metric.

Wall Street rates MGRC as "Buy" and TREX as "Hold". Consensus price targets imply 23.8% upside for MGRC (target: $140) vs 11.5% for TREX (target: $45). MGRC is the only dividend payer here at 1.72% yield — a key consideration for income-focused portfolios.

MetricMGRC logoMGRCMcGrath RentCorpTREX logoTREXTrex Company, Inc.
Analyst RatingConsensus buy/hold/sellBuyHold
Price TargetConsensus 12-month target$140.00$44.50
# AnalystsCovering analysts531
Dividend YieldAnnual dividend ÷ price+1.7%
Dividend StreakConsecutive years of raises362
Dividend / ShareAnnual DPS$1.94
Buyback YieldShare repurchases ÷ mkt cap0.0%+1.3%
MGRC leads this category, winning 1 of 1 comparable metric.
Key Takeaway

MGRC leads in 5 of 6 categories (Income & Cash Flow, Valuation Metrics). TREX leads in 1 (Profitability & Efficiency).

Best OverallMcGrath RentCorp (MGRC)Leads 5 of 6 categories
Loading custom metrics...

MGRC vs TREX: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is MGRC or TREX a better buy right now?

For growth investors, McGrath RentCorp (MGRC) is the stronger pick with 3.

7% revenue growth year-over-year, versus 2. 0% for Trex Company, Inc. (TREX). McGrath RentCorp (MGRC) offers the better valuation at 17. 8x trailing P/E (17. 5x forward), making it the more compelling value choice. Analysts rate McGrath RentCorp (MGRC) a "Buy" — based on 5 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 — MGRC or TREX?

On trailing P/E, McGrath RentCorp (MGRC) is the cheapest at 17.

8x versus Trex Company, Inc. at 22. 4x. On forward P/E, McGrath RentCorp is actually cheaper at 17. 5x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: McGrath RentCorp wins at 1. 98x versus Trex Company, Inc. 's 7. 30x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — MGRC or TREX?

Over the past 5 years, McGrath RentCorp (MGRC) delivered a total return of +49.

2%, compared to -62. 4% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: MGRC returned +394. 1% versus TREX's +247. 6%. 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 — MGRC or TREX?

By beta (market sensitivity over 5 years), McGrath RentCorp (MGRC) is the lower-risk stock at 0.

87β versus Trex Company, Inc. 's 1. 47β — meaning TREX is approximately 69% more volatile than MGRC relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 43% for McGrath RentCorp — giving it more financial flexibility in a downturn.

05

Which is growing faster — MGRC or TREX?

By revenue growth (latest reported year), McGrath RentCorp (MGRC) is pulling ahead at 3.

7% versus 2. 0% for Trex Company, Inc. (TREX). On earnings-per-share growth, the picture is similar: Trex Company, Inc. grew EPS -14. 8% year-over-year, compared to -32. 7% for McGrath RentCorp. Over a 3-year CAGR, MGRC leads at 14. 1% 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 — MGRC or TREX?

McGrath RentCorp (MGRC) is the more profitable company, earning 16.

6% net margin versus 16. 2% for Trex Company, Inc. — meaning it keeps 16. 6% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: MGRC leads at 25. 9% versus 22. 0% for TREX. At the gross margin level — before operating expenses — MGRC leads at 46. 1%, 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 MGRC or TREX 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, McGrath RentCorp (MGRC) is the more undervalued stock at a PEG of 1. 98x versus Trex Company, Inc. 's 7. 30x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, McGrath RentCorp (MGRC) trades at 17. 5x forward P/E versus 24. 4x for Trex Company, Inc. — 7. 0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for MGRC: 23. 8% to $140. 00.

08

Which pays a better dividend — MGRC or TREX?

In this comparison, MGRC (1.

7% yield) pays a dividend. TREX does not pay a meaningful dividend and should not be held primarily for income.

09

Is MGRC or TREX better for a retirement portfolio?

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

87), 1. 7% yield, +394. 1% 10Y return). Both have compounded well over 10 years (MGRC: +394. 1%, TREX: +247. 6%), 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 MGRC and TREX?

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

In terms of investment character: MGRC is a small-cap deep-value stock; TREX is a small-cap quality compounder stock. MGRC pays a dividend while TREX 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

MGRC

Income & Dividend Stock

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
  • Dividend Yield > 0.6%
Run This Screen
Stocks Like

TREX

Quality Business

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform MGRC and TREX on the metrics below

Revenue Growth>
%
(MGRC: 1.6% · TREX: -3.9%)
Net Margin>
%
(MGRC: 16.4% · TREX: 16.2%)
P/E Ratio<
x
(MGRC: 17.8x · TREX: 22.4x)

You Might Also Compare

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