Trex (TREX) Gross Margin (2010 - 2026)
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.
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 Comparison
| # | Company | Market Cap | Enterprise Value | Gross Profit (Qtr) | Gross Margin (Qtr) |
|---|---|---|---|---|---|
| 1 | Trane Technologies | 100.25 Bn | 94.99 Bn | 2.26 Bn | 35.57% |
| 2 | Johnson Controls International | 90.55 Bn | 88.31 Bn | 2.47 Bn | 37.41% |
| 3 | Comfort Systems Usa | 58.58 Bn | 53.83 Bn | 844.23 Mn | 25.85% |
| 4 | Carrier Global | 45.65 Bn | 40.28 Bn | 1.94 Bn | 30.59% |
| 5 | Otis Worldwide | 24.99 Bn | 21.59 Bn | 1.14 Bn | 29.52% |
| 6 | James Hardie Industries | 14.56 Bn | 13.29 Bn | 548.70 Mn | 37.21% |
| 7 | Masco | 13.48 Bn | 11.59 Bn | 868.00 Mn | 43.57% |
| 8 | Allegion | 13.22 Bn | 11.93 Bn | 517.50 Mn | 44.94% |
| 9 | Carlisle Companies | 12.96 Bn | 9.31 Bn | 568.40 Mn | 36.20% |
| 10 | Trex | 4.49 Bn | 4.46 Bn | 158.34 Mn | 37.88% |
Historic Data
| Date | Value |
|---|---|
| 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% |
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
import requests
url = "https://data.businessquant.com/historic"
params = {"slug": "gross-margin", "ticker": "TREX", "period": "max", "api_key": "YOUR_API_KEY"}
data = requests.get(url, params=params).json()
const res = await fetch("https://data.businessquant.com/historic?slug=gross-margin&ticker=TREX&period=max&api_key=YOUR_API_KEY");
const data = await res.json();