Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

JHX vs TREX

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

Live fundamentals10-year financials5-year price chart
JHX
James Hardie Industries plc

Construction Materials

Basic MaterialsNYSE • IE
Market Cap$12.17B
5Y Perf.+21.9%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.18B
5Y Perf.-33.1%

JHX vs TREX — Key Financials

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

Company Snapshot
JHX logoJHX
TREX logoTREX
IndustryConstruction MaterialsConstruction
Market Cap$12.17B$4.18B
Revenue (TTM)$4.40B$1.18B
Net Income (TTM)$119M$191M
Gross Margin35.9%39.2%
Operating Margin12.2%22.1%
Forward P/E19.1x24.2x
Total Debt$1.21B$229M
Cash & Equiv.$563M$4M

JHX vs TREXLong-Term Stock Performance

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

JHX
TREX
StockMay 20May 26Return
James Hardie Indust… (JHX)100121.9+21.9%
Trex Company, Inc. (TREX)10066.9-33.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: JHX 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 profitability and margin quality. James Hardie Industries plc is the stronger pick specifically for valuation and capital efficiency and recent price momentum and sentiment. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
JHX
James Hardie Industries plc
The Value Pick

JHX is the clearest fit if your priority is valuation efficiency.

  • PEG 1.51 vs TREX's 7.25
  • Lower P/E (19.1x vs 24.2x), PEG 1.51 vs 7.25
  • -12.7% vs TREX's -31.0%
Best for: valuation efficiency
TREX
Trex Company, Inc.
The Income Pick

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

  • Dividend streak 2 yrs, beta 1.52
  • Rev growth 2.0%, EPS growth -14.8%, 3Y rev CAGR 2.0%
  • 248.9% 10Y total return vs JHX's 65.9%
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthTREX logoTREX2.0% revenue growth vs JHX's -1.5%
ValueJHX logoJHXLower P/E (19.1x vs 24.2x), PEG 1.51 vs 7.25
Quality / MarginsTREX logoTREX16.3% margin vs JHX's 2.7%
Stability / SafetyTREX logoTREXBeta 1.52 vs JHX's 1.59, lower leverage
DividendsTieNeither stock pays a meaningful dividend
Momentum (1Y)JHX logoJHX-12.7% vs TREX's -31.0%
Efficiency (ROA)TREX logoTREX12.3% ROA vs JHX's 0.9%, ROIC 16.4% vs 17.9%

JHX vs TREX — Revenue Breakdown by Segment

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

JHXJames Hardie Industries plc
FY 2022
Europe Building Products
100.0%$489M
Other Businesses
0.0%$0
TREXTrex Company, Inc.

Segment breakdown not available.

JHX vs TREX — Financial Metrics

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

BEST OVERALLTREXLAGGINGJHX

Income & Cash Flow (Last 12 Months)

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

JHX is the larger business by revenue, generating $4.4B annually — 3.7x TREX's $1.2B. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to JHX's 2.7%. On growth, JHX holds the edge at +30.1% YoY revenue growth, suggesting stronger near-term business momentum.

MetricJHX logoJHXJames Hardie Indu…TREX logoTREXTrex Company, Inc.
RevenueTrailing 12 months$4.4B$1.2B
EBITDAEarnings before interest/tax$927M$309M
Net IncomeAfter-tax profit$119M$191M
Free Cash FlowCash after capex$206M$239M
Gross MarginGross profit ÷ Revenue+35.9%+39.2%
Operating MarginEBIT ÷ Revenue+12.2%+22.1%
Net MarginNet income ÷ Revenue+2.7%+16.3%
FCF MarginFCF ÷ Revenue+4.7%+20.3%
Rev. Growth (YoY)Latest quarter vs prior year+30.1%+1.0%
EPS Growth (YoY)Latest quarter vs prior year-63.6%+3.6%
TREX leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

JHX leads this category, winning 4 of 7 comparable metrics.

At 21.4x trailing earnings, JHX trades at a 5% valuation discount to TREX's 22.6x P/E. Adjusting for growth (PEG ratio), JHX offers better value at 1.69x vs TREX's 6.75x — a lower PEG means you pay less per unit of expected earnings growth.

MetricJHX logoJHXJames Hardie Indu…TREX logoTREXTrex Company, Inc.
Market CapShares × price$12.2B$4.2B
Enterprise ValueMkt cap + debt − cash$12.8B$4.4B
Trailing P/EPrice ÷ TTM EPS21.41x22.58x
Forward P/EPrice ÷ next-FY EPS est.19.13x24.24x
PEG RatioP/E ÷ EPS growth rate1.69x6.75x
EV / EBITDAEnterprise value multiple14.69x13.72x
Price / SalesMarket cap ÷ Revenue3.14x3.56x
Price / BookPrice ÷ Book value/share4.19x4.16x
Price / FCFMarket cap ÷ FCF31.97x31.05x
JHX leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

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

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

MetricJHX logoJHXJames Hardie Indu…TREX logoTREXTrex Company, Inc.
ROE (TTM)Return on equity+1.9%+18.8%
ROA (TTM)Return on assets+0.9%+12.3%
ROICReturn on invested capital+17.9%+16.4%
ROCEReturn on capital employed+15.4%+23.2%
Piotroski ScoreFundamental quality 0–966
Debt / EquityFinancial leverage0.56x0.22x
Net DebtTotal debt minus cash$642M$225M
Cash & Equiv.Liquid assets$563M$4M
Total DebtShort + long-term debt$1.2B$229M
Interest CoverageEBIT ÷ Interest expense2.23x
TREX leads this category, winning 6 of 7 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in JHX five years ago would be worth $6,299 today (with dividends reinvested), compared to $3,728 for TREX. Over the past 12 months, JHX leads with a -12.7% total return vs TREX's -31.0%. The 3-year compound annual growth rate (CAGR) favors JHX at -3.5% vs TREX's -10.6% — a key indicator of consistent wealth creation.

MetricJHX logoJHXJames Hardie Indu…TREX logoTREXTrex Company, Inc.
YTD ReturnYear-to-date+0.8%+12.2%
1-Year ReturnPast 12 months-12.7%-31.0%
3-Year ReturnCumulative with dividends-10.2%-28.6%
5-Year ReturnCumulative with dividends-37.0%-62.7%
10-Year ReturnCumulative with dividends+65.9%+248.9%
CAGR (3Y)Annualised 3-year return-3.5%-10.6%
JHX leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

Evenly matched — JHX and TREX each lead in 1 of 2 comparable metrics.

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

MetricJHX logoJHXJames Hardie Indu…TREX logoTREXTrex Company, Inc.
Beta (5Y)Sensitivity to S&P 5001.59x1.52x
52-Week HighHighest price in past year$29.83$68.78
52-Week LowLowest price in past year$16.46$29.77
% of 52W HighCurrent price vs 52-week peak+70.3%+58.4%
RSI (14)Momentum oscillator 0–10047.548.4
Avg Volume (50D)Average daily shares traded6.4M1.7M
Evenly matched — JHX and TREX each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Wall Street rates JHX as "Buy" and TREX as "Hold". Consensus price targets imply 18.0% upside for TREX (target: $47) vs 16.8% for JHX (target: $25).

MetricJHX logoJHXJames Hardie Indu…TREX logoTREXTrex Company, Inc.
Analyst RatingConsensus buy/hold/sellBuyHold
Price TargetConsensus 12-month target$24.50$47.44
# AnalystsCovering analysts1631
Dividend YieldAnnual dividend ÷ price
Dividend StreakConsecutive years of raises02
Dividend / ShareAnnual DPS
Buyback YieldShare repurchases ÷ mkt cap+1.2%+1.3%
TREX leads this category, winning 1 of 1 comparable metric.
Key Takeaway

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

Best OverallTrex Company, Inc. (TREX)Leads 3 of 6 categories
Loading custom metrics...

JHX vs TREX: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is JHX 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. 5% for James Hardie Industries plc (JHX). James Hardie Industries plc (JHX) offers the better valuation at 21. 4x trailing P/E (19. 1x forward), making it the more compelling value choice. Analysts rate James Hardie Industries plc (JHX) a "Buy" — based on 16 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 — JHX or TREX?

On trailing P/E, James Hardie Industries plc (JHX) is the cheapest at 21.

4x versus Trex Company, Inc. at 22. 6x. On forward P/E, James Hardie Industries plc is actually cheaper at 19. 1x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: James Hardie Industries plc wins at 1. 51x versus Trex Company, Inc. 's 7. 25x — a reasonable growth-adjusted valuation.

03

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

Over the past 5 years, James Hardie Industries plc (JHX) delivered a total return of -37.

0%, compared to -62. 7% for Trex Company, Inc. (TREX). Over 10 years, the gap is even starker: TREX returned +248. 9% versus JHX's +65. 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 — JHX or TREX?

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

(TREX) is the lower-risk stock at 1. 52β versus James Hardie Industries plc's 1. 59β — meaning JHX is approximately 5% more volatile than TREX relative to the S&P 500. On balance sheet safety, Trex Company, Inc. (TREX) carries a lower debt/equity ratio of 22% versus 56% for James Hardie Industries plc — giving it more financial flexibility in a downturn.

05

Which is growing faster — JHX or TREX?

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

(TREX) is pulling ahead at 2. 0% versus -1. 5% for James Hardie Industries plc (JHX). On earnings-per-share growth, the picture is similar: Trex Company, Inc. grew EPS -14. 8% year-over-year, compared to -15. 5% for James Hardie Industries plc. Over a 3-year CAGR, JHX leads at 2. 4% 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 — JHX or TREX?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 10. 9% for James Hardie Industries plc — meaning it keeps 16. 2% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: TREX leads at 22. 0% versus 16. 9% for JHX. 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 JHX 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, James Hardie Industries plc (JHX) is the more undervalued stock at a PEG of 1. 51x versus Trex Company, Inc. 's 7. 25x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, James Hardie Industries plc (JHX) trades at 19. 1x forward P/E versus 24. 2x for Trex Company, Inc. — 5. 1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for TREX: 18. 0% to $47. 44.

08

Which pays a better dividend — JHX or TREX?

None of the stocks in this comparison currently pay a material dividend.

All are effectively zero-yield and should be held for capital appreciation rather than income.

09

Is JHX or TREX better for a retirement portfolio?

For long-horizon retirement investors, Trex Company, Inc.

(TREX) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (+248. 9% 10Y return). James Hardie Industries plc (JHX) carries a higher beta of 1. 59 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (TREX: +248. 9%, JHX: +65. 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 JHX and TREX?

These companies operate in different sectors (JHX (Basic Materials) and TREX (Industrials)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

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

JHX

High-Growth Disruptor

  • Sector: Basic Materials
  • Market Cap > $100B
  • Revenue Growth > 15%
  • Gross Margin > 21%
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 JHX and TREX on the metrics below

Revenue Growth>
%
(JHX: 30.1% · TREX: 1.0%)
Net Margin>
%
(JHX: 2.7% · TREX: 16.3%)
P/E Ratio<
x
(JHX: 21.4x · TREX: 22.6x)

You Might Also Compare

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