PortfoliosLab logoPortfoliosLab logo
TREX vs. SPXC
Performance
Return for Risk
Drawdowns
Volatility
Dividends
Financials

Performance

TREX vs. SPXC - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Trex Company, Inc. (TREX) and SPX Corporation (SPXC). The values are adjusted to include any dividend payments, if applicable.

Loading charts...

Returns By Period

In the year-to-date period, TREX achieves a 19.87% return, which is significantly higher than SPXC's 14.94% return. Over the past 10 years, TREX has underperformed SPXC with an annualized return of 14.76%, while SPXC has yielded a comparatively higher 30.96% annualized return.


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

1D
0.94%
1M
13.37%
YTD
14.94%
6M
11.54%
1Y
45.81%
3Y*
39.57%
5Y*
30.08%
10Y*
30.96%
*Multi-year figures are annualized to reflect compound growth (CAGR)

TREX vs. SPXC - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
TREX
Trex Company, Inc.
19.87%-49.18%-16.62%95.58%-68.65%61.29%86.29%51.42%9.53%68.31%
SPXC
SPX Corporation
14.94%37.48%44.06%53.86%10.00%9.42%7.19%81.65%-10.77%32.34%

Correlation

The correlation between TREX and SPXC 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 TREX and SPXC shifts across timeframes, from 0.37 (all time) to 0.50 (5 years), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

TREX:

$4.42B

SPXC:

$11.62B

EPS

TREX:

$1.80

SPXC:

$5.19

PE Ratio

TREX:

23.41

SPXC:

44.32

PEG Ratio

TREX:

64.36

SPXC:

0.01

PS Ratio

TREX:

3.80

SPXC:

4.78

PB Ratio

TREX:

4.44

SPXC:

5.08

Total Revenue (TTM)

TREX:

$1.18B

SPXC:

$2.35B

Gross Profit (TTM)

TREX:

$461.26M

SPXC:

$909.30M

EBITDA (TTM)

TREX:

$308.51M

SPXC:

$475.30M

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

TREX vs. SPXC — Risk / Return Rank

Compare risk-adjusted metric ranks to identify better-performing investments over the past 12 months.

TREX
TREX Risk / Return Rank: 2424
Overall Rank
TREX Sharpe Ratio Rank: 2020
Sharpe Ratio Rank
TREX Sortino Ratio Rank: 2323
Sortino Ratio Rank
TREX Omega Ratio Rank: 2121
Omega Ratio Rank
TREX Calmar Ratio Rank: 2626
Calmar Ratio Rank
TREX Martin Ratio Rank: 2929
Martin Ratio Rank

SPXC
SPXC Risk / Return Rank: 7676
Overall Rank
SPXC Sharpe Ratio Rank: 7878
Sharpe Ratio Rank
SPXC Sortino Ratio Rank: 7575
Sortino Ratio Rank
SPXC Omega Ratio Rank: 7373
Omega Ratio Rank
SPXC Calmar Ratio Rank: 7575
Calmar Ratio Rank
SPXC Martin Ratio Rank: 7777
Martin Ratio Rank
The rank (0–100) shows how this investment's returns compare to the risk taken. Higher = better. Based on the past 12 months of data, combining Sharpe, Sortino, and other metrics used by quantitative funds and institutional investors.

TREX vs. SPXC - Risk-Adjusted Trends Comparison

This table presents a comparison of risk-adjusted performance metrics for Trex Company, Inc. (TREX) and SPX Corporation (SPXC). 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.


TREXSPXCDifference
Sharpe ratioReturn per unit of total volatility

-1.78

Sortino ratioReturn per unit of downside risk

-2.32

Omega ratioGain probability vs. loss probability

0.94

1.23

-0.30

Calmar ratioReturn relative to maximum drawdown

-0.46

1.99

-2.45

Martin ratioReturn relative to average drawdown

-0.73

5.09

-5.82

TREX vs. SPXC - Sharpe Ratio Comparison

The current TREX Sharpe Ratio is -0.52, which is lower than the SPXC Sharpe Ratio of 1.26. The chart below compares the historical Sharpe Ratios of TREX and SPXC, calculated using daily returns over the previous 12 months. A higher Sharpe Ratio indicates better risk-adjusted performance relative to the risk-free rate.


Loading charts...

Sharpe Ratios by Period


TREXSPXCDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

-0.52

1.26

-1.78

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

-0.33

0.86

-1.19

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

0.32

0.83

-0.51

Sharpe Ratio (All Time)

Calculated using the full available price history

0.25

0.34

-0.09

Drawdowns

TREX vs. SPXC - Drawdown Comparison

The maximum TREX drawdown since its inception was -90.53%, which is greater than SPXC's maximum drawdown of -81.12%. Use the drawdown chart below to compare losses from any high point for TREX and SPXC.


Loading charts...

Drawdown Indicators


TREXSPXCDifference

Max Drawdown

Largest peak-to-trough decline

-90.53%

-81.12%

-9.41%

Max Drawdown (1Y)

Largest decline over 1 year

-56.01%

-23.15%

-32.86%

Max Drawdown (3Y)

Largest decline over 3 years

-69.90%

-33.54%

-36.36%

Max Drawdown (5Y)

Largest decline over 5 years

-78.58%

-38.32%

-40.26%

Max Drawdown (10Y)

Largest decline over 10 years

-78.58%

-50.26%

-28.32%

Current Drawdown

Current decline from peak

-70.11%

-5.39%

-64.72%

Average Drawdown

Average peak-to-trough decline

-38.75%

-29.02%

-9.73%

Ulcer Index

Depth and duration of drawdowns from previous peaks

35.32%

9.03%

+26.29%

Volatility

TREX vs. SPXC - Volatility Comparison

Trex Company, Inc. (TREX) has a higher volatility of 13.04% compared to SPX Corporation (SPXC) at 10.68%. This indicates that TREX's price experiences larger fluctuations and is considered to be riskier than SPXC based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


TREXSPXCDifference

Volatility (1M)

Calculated over the trailing 1-month period

13.04%

10.68%

+2.36%

Volatility (6M)

Calculated over the trailing 6-month period

26.51%

27.88%

-1.37%

Volatility (1Y)

Calculated over the trailing 1-year period

50.31%

36.54%

+13.77%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

47.13%

35.14%

+11.99%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

46.37%

37.46%

+8.91%

Dividends

TREX vs. SPXC - Dividend Comparison

Neither TREX nor SPXC has paid dividends to shareholders.


PositionTTM20252024202320222021202020192018201720162015
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

TREX vs. SPXC - Financials Comparison

This section allows you to compare key financial metrics between Trex Company, Inc. and SPX Corporation. You can select fields from income statements, balance sheets, and cash flow statements to easily visualize and compare the financial health of both companies.


Quarterly
Annual

Total Revenue: Total amount of money received from sales and other business activities


200.00M300.00M400.00M500.00M600.00M20222023202420252026
343.40M
566.80M
(TREX) Total Revenue
(SPXC) Total Revenue
Values in USD except per share items

TREX vs. SPXC - Profitability Comparison

The chart below illustrates the profitability comparison between Trex Company, Inc. and SPX Corporation over time, highlighting three key metrics: Gross Profit Margin, Operating Margin, and Net Profit Margin.

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

25.0%30.0%35.0%40.0%45.0%20222023202420252026
40.5%
40.7%
Portfolio components
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 - 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 - 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 - 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 - 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%.

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


Frequently Asked Questions


TREX and SPXC 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, TREX dropped -90.53% vs SPXC's -81.12%.

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.

Portfolio Optimizer

Find the right allocation for TREX and SPXC

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