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. 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

Metric SPXC TREX Building Products & Equipment median
P/E 24.00 31.44 26.59
P/S 2.76 4.29 1.97
P/B 2.94 5.44 2.94
Price to free cash flow 31.67 28.42 19.21
EV/EBITDA 14.62 17.57 13.96
EV/Sales 3.23 4.42 2.09
Earnings yield 4.17% 3.18% 2.13%
Free cash flow yield 3.16% 3.52% 3.52%

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

Metric SPXC TREX Building Products & Equipment median
Revenue growth (TTM) 20.18% 8.58% 3.96%
EPS growth (last fiscal year) 18.08% (19.55%) (22.45%)
Revenue growth, 5-year CAGR 14.96% 5.92% 5.37%
Net income growth, 5-year CAGR 19.77% 1.63% 9.27%

Health

Metric SPXC TREX Building Products & Equipment median
Debt to equity 0.55 0.17 0.51
Current ratio 1.84 1.23 1.83
Net debt to EBITDA 0.28 0.40 0.98

Dividend

Metric SPXC TREX Building Products & Equipment median
Dividend yield — — 1.32%
Payout ratio — — 0.28

Size

Metric SPXC TREX Building Products & Equipment median
Market cap 7.18b 5.40b 1.36b

Compare with another peer

Any metric, up to five companies and an Excel export Powerpack