SPXC vs. TREX
SPXC (SPX Corporation) and TREX (Trex Company, Inc.) are both stocks. Both are in the Industrials sector — SPXC in Specialty Industrial Machinery, TREX in Building Products & Equipment. Over the past 10 years, SPXC returned 30.96%/yr vs 14.76%/yr for TREX. At a 0.37 correlation, their price movements are largely independent.
Performance
SPXC vs. TREX - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, SPXC achieves a 14.94% return, which is significantly lower than TREX's 19.87% return. Over the past 10 years, SPXC has outperformed TREX with an annualized return of 30.96%, while TREX has yielded a comparatively lower 14.76% annualized return.
SPXC
- 1D
- 0.94%
- 1M
- 13.37%
- YTD
- 14.94%
- 6M
- 11.54%
- 1Y
- 45.81%
- 3Y*
- 39.57%
- 5Y*
- 30.08%
- 10Y*
- 30.96%
TREX
- 1D
- 6.05%
- 1M
- 4.60%
- YTD
- 19.87%
- 6M
- 22.45%
- 1Y
- -25.77%
- 3Y*
- -10.07%
- 5Y*
- -15.54%
- 10Y*
- 14.76%
SPXC vs. TREX - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
SPXC SPX Corporation | 14.94% | 37.48% | 44.06% | 53.86% | 10.00% | 9.42% | 7.19% | 81.65% | -10.77% | 32.34% |
TREX Trex Company, Inc. | 19.87% | -49.18% | -16.62% | 95.58% | -68.65% | 61.29% | 86.29% | 51.42% | 9.53% | 68.31% |
Correlation
The correlation between SPXC and TREX is 0.45, which is low. Their price movements are largely independent, making them effective diversification partners.
| Correlation | |
|---|---|
Correlation (1Y) Calculated over the trailing 1-year period | 0.45 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.46 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.50 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.48 |
Correlation (All Time) Calculated using the full available price history since Apr 9, 1999 | 0.37 |
The correlation between SPXC and TREX shifts across timeframes, from 0.37 (all time) to 0.50 (5 years), reflecting how their relationship changes across market environments.
Fundamentals
SPXC:
$11.62B
TREX:
$4.42B
SPXC:
$5.19
TREX:
$1.80
SPXC:
44.32
TREX:
23.41
SPXC:
0.01
TREX:
64.36
SPXC:
4.78
TREX:
3.80
SPXC:
5.08
TREX:
4.44
SPXC:
$2.35B
TREX:
$1.18B
SPXC:
$909.30M
TREX:
$461.26M
SPXC:
$475.30M
TREX:
$308.51M
Compare stocks, funds, or ETFs
Search for stocks, ETFs, and funds for a quick comparison or use the comparison tool for more options.
Return for Risk
SPXC vs. TREX — Risk / Return Rank
SPXC
TREX
SPXC vs. TREX - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for SPX Corporation (SPXC) and Trex Company, Inc. (TREX). Risk-adjusted metrics are performance indicators that assess an investment's returns in relation to its risk, enabling a more accurate comparison of different investment options.
| SPXC | TREX | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +1.78 | ||
| Sortino ratioReturn per unit of downside risk | +2.32 | ||
| Omega ratioGain probability vs. loss probability | 1.23 | 0.94 | +0.30 |
| Calmar ratioReturn relative to maximum drawdown | 1.99 | -0.46 | +2.45 |
| Martin ratioReturn relative to average drawdown | 5.09 | -0.73 | +5.82 |
Data is calculated on a 1-year rolling basis and updated daily. The trend shows the change in the indicator over the past month. | |||
Loading charts...
Sharpe Ratios by Period
| SPXC | TREX | Difference | |
|---|---|---|---|
Sharpe Ratio (1Y)Calculated over the trailing 1-year period | 1.26 | -0.52 | +1.78 |
Sharpe Ratio (5Y)Calculated over the trailing 5-year period | 0.86 | -0.33 | +1.19 |
Sharpe Ratio (10Y)Calculated over the trailing 10-year period | 0.83 | 0.32 | +0.51 |
Sharpe Ratio (All Time)Calculated using the full available price history | 0.34 | 0.25 | +0.09 |
Drawdowns
SPXC vs. TREX - Drawdown Comparison
The maximum SPXC drawdown since its inception was -81.12%, smaller than the maximum TREX drawdown of -90.53%. Use the drawdown chart below to compare losses from any high point for SPXC and TREX.
Loading charts...
Drawdown Indicators
| SPXC | TREX | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -81.12% | -90.53% | +9.41% |
Max Drawdown (1Y)Largest decline over 1 year | -23.15% | -56.01% | +32.86% |
Max Drawdown (3Y)Largest decline over 3 years | -33.54% | -69.90% | +36.36% |
Max Drawdown (5Y)Largest decline over 5 years | -38.32% | -78.58% | +40.26% |
Max Drawdown (10Y)Largest decline over 10 years | -50.26% | -78.58% | +28.32% |
Current DrawdownCurrent decline from peak | -5.39% | -70.11% | +64.72% |
Average DrawdownAverage peak-to-trough decline | -29.02% | -38.75% | +9.73% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 9.03% | 35.32% | -26.29% |
Volatility
SPXC vs. TREX - Volatility Comparison
The current volatility for SPX Corporation (SPXC) is 10.68%, while Trex Company, Inc. (TREX) has a volatility of 13.04%. This indicates that SPXC experiences smaller price fluctuations and is considered to be less risky than TREX based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| SPXC | TREX | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 10.68% | 13.04% | -2.36% |
Volatility (6M)Calculated over the trailing 6-month period | 27.88% | 26.51% | +1.37% |
Volatility (1Y)Calculated over the trailing 1-year period | 36.54% | 50.31% | -13.77% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 35.14% | 47.13% | -11.99% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 37.46% | 46.37% | -8.91% |
Dividends
SPXC vs. TREX - Dividend Comparison
Neither SPXC nor TREX has paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
SPXC SPX Corporation | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 386.22% |
TREX Trex Company, Inc. | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
Financials
SPXC vs. TREX - Financials Comparison
This section allows you to compare key financial metrics between SPX Corporation and Trex Company, Inc.. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.
Total Revenue: Total amount of money received from sales and other business activities
SPXC vs. TREX - Profitability Comparison
SPXC - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, SPX Corporation reported a gross profit of 230.60M and revenue of 566.80M. Therefore, the gross margin over that period was 40.7%.
TREX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Trex Company, Inc. reported a gross profit of 139.02M and revenue of 343.40M. Therefore, the gross margin over that period was 40.5%.
SPXC - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, SPX Corporation reported an operating income of 87.70M and revenue of 566.80M, resulting in an operating margin of 15.5%.
TREX - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Trex Company, Inc. reported an operating income of 83.51M and revenue of 343.40M, resulting in an operating margin of 24.3%.
SPXC - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, SPX Corporation reported a net income of 59.90M and revenue of 566.80M, resulting in a net margin of 10.6%.
TREX - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Trex Company, Inc. reported a net income of 61.40M and revenue of 343.40M, resulting in a net margin of 17.9%.
Frequently Asked Questions
SPXC and TREX have a correlation of 0.45, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
TREX has higher volatility (13.04%) compared to SPXC (10.68%). In terms of maximum drawdown, SPXC dropped -81.12% vs TREX's -90.53%.
SPXC currently has the higher Sharpe Ratio (1.26 vs -0.52), meaning it's delivered slightly more return per unit of risk over the trailing 12 months. However, this ranking shifts over time - use the Risk/Return Score above for a more comprehensive view that combines Sharpe, Sortino, and other measures used by quantitative funds.
Find the right allocation for SPXC and TREX
Add both to a portfolio and optimize allocations for your target — whether that's maximizing returns, minimizing drawdowns, or balancing risk across holdings.
Open Portfolio Optimizer