Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

WMS vs TREX

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

Live fundamentals10-year financials5-year price chart
WMS
Advanced Drainage Systems, Inc.

Construction

IndustrialsNYSE • US
Market Cap$12.64B
5Y Perf.+235.4%
TREX
Trex Company, Inc.

Construction

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

WMS vs TREX — Key Financials

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

Company Snapshot
WMS logoWMS
TREX logoTREX
IndustryConstructionConstruction
Market Cap$12.64B$4.25B
Revenue (TTM)$2.99B$1.17B
Net Income (TTM)$471M$190M
Gross Margin38.2%39.2%
Operating Margin22.8%22.0%
Forward P/E24.5x24.4x
Total Debt$1.45B$229M
Cash & Equiv.$463M$4M

WMS vs TREXLong-Term Stock Performance

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

WMS
TREX
StockMay 20May 26Return
Advanced Drainage S… (WMS)100335.4+235.4%
Trex Company, Inc. (TREX)10066.5-33.5%

Price return only. Dividends and distributions are not included.

Quick Verdict: WMS vs TREX

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

Bottom line: TREX leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. Advanced Drainage Systems, Inc. is the stronger pick specifically for capital preservation and lower volatility and dividend income and shareholder returns. As sector peers, any of these can serve as alternatives in the same allocation.
WMS
Advanced Drainage Systems, Inc.
The Income Pick

WMS is the clearest fit if your priority is income & stability and long-term compounding.

  • Dividend streak 2 yrs, beta 1.32, yield 0.4%
  • 5.7% 10Y total return vs TREX's 247.6%
  • Lower volatility, beta 1.32, Low D/E 88.3%, current ratio 3.33x
Best for: income & stability and long-term compounding
TREX
Trex Company, Inc.
The Growth Play

TREX carries the broadest edge in this set and is the clearest fit for growth exposure.

  • Rev growth 2.0%, EPS growth -14.8%, 3Y rev CAGR 2.0%
  • 2.0% revenue growth vs WMS's 1.0%
  • Lower P/E (24.4x vs 24.5x)
Best for: growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthTREX logoTREX2.0% revenue growth vs WMS's 1.0%
ValueTREX logoTREXLower P/E (24.4x vs 24.5x)
Quality / MarginsTREX logoTREX16.2% margin vs WMS's 15.7%
Stability / SafetyWMS logoWMSBeta 1.32 vs TREX's 1.47
DividendsWMS logoWMS0.4% yield; 2-year raise streak; the other pay no meaningful dividend
Momentum (1Y)WMS logoWMS+32.4% vs TREX's -31.3%
Efficiency (ROA)TREX logoTREX12.4% ROA vs WMS's 11.4%, ROIC 16.4% vs 20.7%

WMS vs TREX — Revenue Breakdown by Segment

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

WMSAdvanced Drainage Systems, Inc.
FY 2025
Pipe Segment
57.7%$1.6B
Allied Products And Other Business Segments
26.2%$707M
Infiltrator Water Technologies Segment
22.1%$596M
Intersegment Eliminations
-6.0%$-162,827,000
TREXTrex Company, Inc.

Segment breakdown not available.

WMS vs TREX — Financial Metrics

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

BEST OVERALLWMSLAGGINGTREX

Income & Cash Flow (Last 12 Months)

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

WMS is the larger business by revenue, generating $3.0B annually — 2.5x TREX's $1.2B. Profitability is closely matched — net margins range from 16.2% (TREX) to 15.7% (WMS). On growth, WMS holds the edge at +0.4% YoY revenue growth, suggesting stronger near-term business momentum.

MetricWMS logoWMSAdvanced Drainage…TREX logoTREXTrex Company, Inc.
RevenueTrailing 12 months$3.0B$1.2B
EBITDAEarnings before interest/tax$869M$321M
Net IncomeAfter-tax profit$471M$190M
Free Cash FlowCash after capex$577M$147M
Gross MarginGross profit ÷ Revenue+38.2%+39.2%
Operating MarginEBIT ÷ Revenue+22.8%+22.0%
Net MarginNet income ÷ Revenue+15.7%+16.2%
FCF MarginFCF ÷ Revenue+19.3%+12.5%
Rev. Growth (YoY)Latest quarter vs prior year+0.4%-3.9%
EPS Growth (YoY)Latest quarter vs prior year+14.4%-77.8%
WMS leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

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

At 22.4x trailing earnings, TREX trades at a 13% valuation discount to WMS's 25.8x P/E. On an enterprise value basis, TREX's 13.9x EV/EBITDA is more attractive than WMS's 16.2x.

MetricWMS logoWMSAdvanced Drainage…TREX logoTREXTrex Company, Inc.
Market CapShares × price$12.6B$4.2B
Enterprise ValueMkt cap + debt − cash$13.6B$4.5B
Trailing P/EPrice ÷ TTM EPS25.82x22.42x
Forward P/EPrice ÷ next-FY EPS est.24.47x24.41x
PEG RatioP/E ÷ EPS growth rate6.70x
EV / EBITDAEnterprise value multiple16.20x13.94x
Price / SalesMarket cap ÷ Revenue4.35x3.62x
Price / BookPrice ÷ Book value/share7.11x4.13x
Price / FCFMarket cap ÷ FCF34.30x31.59x
TREX leads this category, winning 6 of 6 comparable metrics.

Profitability & Efficiency

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

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

MetricWMS logoWMSAdvanced Drainage…TREX logoTREXTrex Company, Inc.
ROE (TTM)Return on equity+23.2%+19.2%
ROA (TTM)Return on assets+11.4%+12.4%
ROICReturn on invested capital+20.7%+16.4%
ROCEReturn on capital employed+21.5%+23.2%
Piotroski ScoreFundamental quality 0–966
Debt / EquityFinancial leverage0.88x0.22x
Net DebtTotal debt minus cash$982M$225M
Cash & Equiv.Liquid assets$463M$4M
Total DebtShort + long-term debt$1.4B$229M
Interest CoverageEBIT ÷ Interest expense7.75x3394.21x
TREX leads this category, winning 6 of 8 comparable metrics.

Total Returns (Dividends Reinvested)

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

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

MetricWMS logoWMSAdvanced Drainage…TREX logoTREXTrex Company, Inc.
YTD ReturnYear-to-date-0.5%+11.4%
1-Year ReturnPast 12 months+32.4%-31.3%
3-Year ReturnCumulative with dividends+73.0%-29.1%
5-Year ReturnCumulative with dividends+39.2%-62.4%
10-Year ReturnCumulative with dividends+567.5%+247.6%
CAGR (3Y)Annualised 3-year return+20.0%-10.8%
WMS leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

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

WMS is the less volatile stock with a 1.32 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. WMS currently trades 82.9% from its 52-week high vs TREX's 58.0% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricWMS logoWMSAdvanced Drainage…TREX logoTREXTrex Company, Inc.
Beta (5Y)Sensitivity to S&P 5001.32x1.47x
52-Week HighHighest price in past year$179.31$68.78
52-Week LowLowest price in past year$104.69$29.77
% of 52W HighCurrent price vs 52-week peak+82.9%+58.0%
RSI (14)Momentum oscillator 0–10043.641.3
Avg Volume (50D)Average daily shares traded865K1.8M
WMS leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.

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

MetricWMS logoWMSAdvanced Drainage…TREX logoTREXTrex Company, Inc.
Analyst RatingConsensus buy/hold/sellHoldHold
Price TargetConsensus 12-month target$202.67$44.50
# AnalystsCovering analysts2231
Dividend YieldAnnual dividend ÷ price+0.4%
Dividend StreakConsecutive years of raises22
Dividend / ShareAnnual DPS$0.64
Buyback YieldShare repurchases ÷ mkt cap+0.6%+1.3%
Insufficient data to determine a leader in this category.
Key Takeaway

WMS leads in 3 of 6 categories (Income & Cash Flow, Total Returns). TREX leads in 2 (Valuation Metrics, Profitability & Efficiency).

Best OverallAdvanced Drainage Systems, … (WMS)Leads 3 of 6 categories
Loading custom metrics...

WMS vs TREX: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is WMS or TREX a better buy right now?

For growth investors, Trex Company, Inc.

(TREX) is the stronger pick with 2. 0% revenue growth year-over-year, versus 1. 0% for Advanced Drainage Systems, Inc. (WMS). Trex Company, Inc. (TREX) offers the better valuation at 22. 4x trailing P/E (24. 4x forward), making it the more compelling value choice. Analysts rate Advanced Drainage Systems, Inc. (WMS) a "Hold" — based on 22 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 — WMS or TREX?

On trailing P/E, Trex Company, Inc.

(TREX) is the cheapest at 22. 4x versus Advanced Drainage Systems, Inc. at 25. 8x. On forward P/E, Trex Company, Inc. is actually cheaper at 24. 4x.

03

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

Over the past 5 years, Advanced Drainage Systems, Inc.

(WMS) delivered a total return of +39. 2%, compared to -62. 4% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: WMS returned +567. 5% 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 — WMS or TREX?

By beta (market sensitivity over 5 years), Advanced Drainage Systems, Inc.

(WMS) is the lower-risk stock at 1. 32β versus Trex Company, Inc. 's 1. 47β — meaning TREX is approximately 11% more volatile than WMS relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 88% for Advanced Drainage Systems, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — WMS or TREX?

By revenue growth (latest reported year), Trex Company, Inc.

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

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 15. 5% for Advanced Drainage Systems, Inc. — meaning it keeps 16. 2% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: WMS leads at 22. 6% versus 22. 0% for TREX. At the gross margin level — before operating expenses — TREX leads at 39. 2%, 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 WMS or TREX more undervalued right now?

On forward earnings alone, Trex Company, Inc.

(TREX) trades at 24. 4x forward P/E versus 24. 5x for Advanced Drainage Systems, Inc. — 0. 1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for WMS: 36. 3% to $202. 67.

08

Which pays a better dividend — WMS or TREX?

In this comparison, WMS (0.

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

09

Is WMS or TREX better for a retirement portfolio?

For long-horizon retirement investors, Advanced Drainage Systems, Inc.

(WMS) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (+567. 5% 10Y return). Both have compounded well over 10 years (WMS: +567. 5%, 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 WMS 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.

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

WMS

Stable Dividend Mega-Cap

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
  • Dividend Yield > 0.5%
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 WMS and TREX on the metrics below

Revenue Growth>
%
(WMS: 0.4% · TREX: -3.9%)
Net Margin>
%
(WMS: 15.7% · TREX: 16.2%)
P/E Ratio<
x
(WMS: 25.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.