The Moat Index

Trex Company, Inc.

TREX · Materials · $4.7B mkt cap · FY2025 filings · Wide moat

On the watchlist

86/ 100
Wide moat

The four filters

Pricing power67

Median gross margin 41.0% over 10y, very stable.

Returns on capital100

Median ROIC 36.6%, above the 9% hurdle in 100% of years.

Balance-sheet safety100

Net cash position — no leverage risk.

Capital discipline80

Owner earnings +12.1%/yr, share count n/a.

Margin of safety

Above valueOn sale
109% above value
Owner earnings (normalized)
$204.1M
Est. intrinsic value / share
$21.45
Recent price
$44.86
Discount to value
109% above value

Conservative model: 9% discount rate, 0% assumed growth (capped at 4%), maintenance capex ≈ min(capex, D&A).

Moat Score history

Score history begins 2026-07-17. Check back as the record builds.

Scores are logged append-only and never overwritten — this record can't be backfilled, which is exactly why it's worth keeping.

Embed this score on your site

One iframe, no script. The badge shows TREX’s live Moat Score, updates itself as new filings are scored, and links back here. How it works.

<iframe
  src="https://buylikebuffett.com/embed/TREX"
  width="340" height="150" style="border:0"
  title="TREX Moat Score — The Moat Index"
  loading="lazy"></iframe>
Trex Company, Inc. (TREX) Moat Score — The Moat Index · Buy Like Buffett