New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls.
Read the Q3 2026 report
SPX Technologies, Inc. (SPXC) vs Trex Company, Inc. (TREX)
- SPX Technologies, Inc. SPXC 143.28 +1.06%
- Trex Company, Inc. TREX 54.07 +2.93%
SPX Technologies, Inc. and Trex Company, Inc. are both Building Products & Equipment companies. SPX Technologies, Inc. is the larger, with a market value of $7.2B against $5.4B — 1.3× the size. SPX Technologies, Inc. trades at the lower P/E: 24.0× against 31.4×. SPX Technologies, Inc. grew revenue faster over the last twelve months: 20.2% against 8.58%. Trex Company, Inc. has the higher net margin (13.9% vs 11.5%) and the higher return on invested capital (13.1% vs 7.14%). Across the 22 metrics below, SPX Technologies, Inc. leads on 13 and Trex Company, Inc. on 9.
Valuation
Profitability
| Metric | SPXC | TREX | Building Products & Equipment median |
|---|---|---|---|
| Gross margin | 39.89% | 37.09% | 29.81% |
| Operating margin | 16.10% | 19.17% | 7.18% |
| Net margin | 11.48% | 13.89% | 3.85% |
| Free cash flow margin | 8.72% | 15.10% | 7.39% |
| Return on equity | 12.98% | 17.35% | 6.20% |
| Return on assets | 7.19% | 11.79% | 2.57% |
| Return on invested capital | 7.14% | 13.05% | 6.79% |
Growth
Health
Dividend
Size
Any metric, up to five companies and an Excel export Powerpack