WallStSmart
TREX

Trex Company Inc

NYSE: TREX · INDUSTRIALS · BUILDING PRODUCTS & EQUIPMENT

$39.50
-1.20% today

Updated 2026-06-05

Market cap
$4.74B
P/E ratio
25.35
P/S ratio
4.03x
EPS (TTM)
$1.80
Dividend yield
52W range
$30 – $69
Volume
1.8M

Trex Company Inc (TREX) Stock Valuation Analysis

Fair value estimate, historical valuation range, and quality signals for TREX.

WallStSmart Verdict
Fairly
Valued

Valuation reasonably reflects current fundamentals. Limited margin of safety at these levels.

Smart Value Score: 62 / 100
P/E (TTM)
25.4x
vs 5Y median of 26.5x
PEG
1.00
Fair range
Margin of Safety
+53.97%
Fair value $95.75 vs $39.50
EV / EBITDA
0.0x

TREX historical valuation range

Where current P/E sits in TREX's own 5Y range.

NOW
19.8x
5Y Low
23.0x
25th
26.5x
Median
34.6x
75th
74.6x
5Y High
TREX is trading cheaper than 55% of the last 5Y.
45th percentile · Below median

TREX intrinsic value (DCF)

DCF-based fair value estimate vs current market price.

Current price
$39.50
Market value
Intrinsic value
$95.75
DCF estimate
Margin of safety
+53.97%
+142.4% upside to fair value

Intrinsic value calculated using discounted cash flow (DCF) model based on projected free cash flows, discount rate, and terminal growth assumptions. A positive margin of safety indicates the current price is below estimated fair value, providing a cushion against estimation error.

TREX valuation signals

Quick-read green flags, caution flags, and risks based on current metrics.

!
PEG in fair range
PEG of 1.00 suggests price reflects growth fairly. Neither a bargain nor overpriced.
!
P/E in mid-range
P/E sits at the 45th percentile of the 5Y range. Neither cheap nor rich historically.
Strong margin of safety
Current price 54.0% below DCF intrinsic value estimate. Meaningful downside cushion.
Weak financial quality
Piotroski F-Score of 3/9 suggests deteriorating fundamentals. Valuation requires closer scrutiny.

P/E Ratio — History

Current: 25.35x

P/S Ratio — History

Current: 4.03x

Is TREX overvalued in 2026?

Trex Company Inc (TREX) currently trades at $39.50 per share with a market capitalization of $4,740,899,000.00. Based on our multi-factor framework, the stock trades at a fair valuation with a Smart Value Score of 62/100. This score blends growth quality, financial health, and price attractiveness into a single institutional-grade read.

The stock trades at a P/E ratio of 25.4x, below its 5-year median of 26.5x. The PEG ratio of 1.00 points to a price that reasonably reflects expected earnings growth.

Looking at its own history, TREX is currently trading cheaper than 55% of the last 5Y on P/E. This places it in the 45th percentile of its historical range, a reasonable but unremarkable position.

Our discounted cash flow model estimates TREX's intrinsic value at $95.75 per share, against the current market price of $39.50. This implies a margin of safety of +53.97%. A meaningful cushion exists against model error, making this a reasonable risk-adjusted entry.

Financial quality is a concern. The Piotroski F-Score of 3/9 flags weakening fundamentals that deserve closer scrutiny before the valuation case can be fully trusted.

Bottom line: TREX trades at a fair valuation on our framework, with a Smart Value Score of 62/100. The valuation is defensible but offers no obvious bargain. Patience or a better entry price may reward disciplined buyers.

Frequently asked questions

Is TREX overvalued?

TREX scores 62/100 on our Smart Value Score (Grade C+), a mixed overall profile. The DCF also shows a positive margin of safety, so price and fundamentals line up reasonably well.

What is TREX's fair value?

Our DCF model estimates TREX's intrinsic value at $95.75 per share, versus the current price of $39.50, a margin of safety of +53.97%. Fair value is the present value of the cash flows we project the business to produce, so a price below it means the market is pricing the stock below that conservative estimate.

What P/E ratio does TREX trade at?

TREX trades at a P/E of 25.4x on trailing twelve-month earnings, against a 5-year median of 26.5x. P/E is what you pay per dollar of profit, and sitting below its own median means the stock is cheaper than usual relative to its earnings.

Is TREX a buy based on valuation?

Our Smart Value rating for TREX is Hold, from a Smart Value Score of 62/100 that blends growth, quality, and valuation. The profile is balanced and best suited to investors who already have a thesis. This is research to inform your decision, not personalized financial advice.

How does TREX's valuation compare to its history?

On P/E, TREX sits in the 45th percentile of its own 5Y range, below its long-run median relative to where it has traded. A low percentile means today's multiple is near the bottom of its historical band.

What is TREX's Smart Value Score?

TREX's Smart Value Score is 62/100. It is a proprietary WallStSmart metric blending growth quality, financial health, and valuation into a single 0-100 read, and scores above 75 are rare, signaling strong multi-factor alignment.