Trex Co Inc TREX
NYSE TREX
$48.87 +0.08 (+0.15%)
As of: Oct 21, 2026 · 3:59 PM EDT

Trex (TREX) Gross Margin (2010 - 2026)

Updated

Trex (TREX) reported Gross Margin of 37.88% for Q2 2026, down 2.90 percentage points from 40.78% a year earlier and down 2.60 percentage points from the prior quarter.

Analysis

Trex (TREX) Gross Margin (2010 - 2026) Analysis & Trends

Over the twelve months ended Jun 30, 2026, Trex's Gross Margin came in at 38.20%, down 2.54 percentage points year-over-year; for FY2025, it was 39.17%, down 4.42 percentage points from FY2024.

  • Gross Margin has a five-year change of -1.64 percentage points (FY2020 to FY2025).
  • By year, Gross Margin came in at 43.59% in FY2024 (+2.41 pp), 41.17% in FY2023 (+4.65 pp), 36.53% in FY2022 (-1.95 pp) and 38.47% in FY2021 (-2.34 pp).
  • Five-year quarterly Gross Margin spans a low of 24.52% in Q3 2022 and a high of 45.40% in Q1 2024.
  • Year over year, Gross Margin has now declined in each of the last three quarters, with an average year-over-year change of -2.42 percentage points over the last eight quarters.
  • The high point for year-over-year Gross Margin in five years was Q3 2023 (a gain of 18.56 percentage points); the low point was Q3 2022 (a drop of 13.67 percentage points).
  • Per Business Quant data, the three quarters before Q2 2026 came in at 40.48% (Q1 2026), 30.20% (Q4 2025) and 40.46% (Q3 2025).
Peer Set

Peer Comparison

# Company Market Cap Enterprise Value Gross Profit (Qtr) Gross Margin (Qtr)
1 Trane Technologies 104.14 Bn 98.86 Bn 2.26 Bn 35.57%
2 Johnson Controls International 91.59 Bn 89.32 Bn 2.47 Bn 37.41%
3 Comfort Systems Usa 49.30 Bn 44.56 Bn 844.23 Mn 25.85%
4 Carrier Global 46.68 Bn 40.99 Bn 1.94 Bn 30.59%
5 Otis Worldwide 27.65 Bn 24.06 Bn 1.14 Bn 29.52%
6 James Hardie Industries 15.30 Bn 14.37 Bn 548.70 Mn 37.21%
7 Masco 14.84 Bn 12.70 Bn 868.00 Mn 43.57%
8 Carlisle Companies 13.70 Bn 10.04 Bn 568.40 Mn 36.20%
9 Allegion 13.58 Bn 12.29 Bn 517.50 Mn 44.94%
10 Trex 5.00 Bn 4.98 Bn 158.34 Mn 37.88%
Historic Data

Historic Data

Download Data
DateValue
Jun 30, 2026 37.88%
Mar 31, 2026 40.48%
Dec 31, 2025 30.20%
Sep 30, 2025 40.46%
Jun 30, 2025 40.78%
Mar 31, 2025 40.51%
Dec 31, 2024 42.34%
Sep 30, 2024 39.88%
Jun 30, 2024 44.65%
Mar 31, 2024 45.40%
Dec 31, 2023 35.26%
Sep 30, 2023 43.08%
Jun 30, 2023 43.88%
Mar 31, 2023 39.56%
Dec 31, 2022 34.09%
Sep 30, 2022 24.52%
Jun 30, 2022 40.74%
Mar 31, 2022 39.77%
Dec 31, 2021 38.88%
Sep 30, 2021 38.18%
API Access

Trex Gross Margin API

Pull this series into your own models, spreadsheets and apps with the Business Quant Historical Metrics API. The request below matches the chart above — change the frequency, period or values and it follows. Swap YOUR_API_KEY for your own key.

https://data.businessquant.com/historic?slug=gross-margin&ticker=TREX&period=max&api_key=YOUR_API_KEY