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

Performance

TREX vs. NVDA - Performance Comparison

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

Loading charts...

Returns By Period

The year-to-date returns for both investments are quite close, with TREX having a 18.56% return and NVDA slightly higher at 19.48%. Over the past 10 years, TREX has underperformed NVDA with an annualized return of 14.44%, while NVDA has yielded a comparatively higher 69.46% annualized return.


TREX

1D
0.07%
1M
7.22%
YTD
18.56%
6M
19.34%
1Y
-22.36%
3Y*
-9.38%
5Y*
-15.17%
10Y*
14.44%

NVDA

1D
-0.69%
1M
12.28%
YTD
19.48%
6M
22.81%
1Y
62.23%
3Y*
78.33%
5Y*
67.45%
10Y*
69.46%
*Multi-year figures are annualized to reflect compound growth (CAGR)

TREX vs. NVDA - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
TREX
Trex Company, Inc.
18.56%-49.18%-16.62%95.58%-68.65%61.29%86.29%51.42%9.53%68.31%
NVDA
NVIDIA Corporation
19.48%38.92%171.25%239.02%-50.26%125.48%122.30%76.94%-30.82%81.99%

Correlation

The correlation between TREX and NVDA is 0.16, 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.16

Correlation (3Y)
Calculated over the trailing 3-year period

0.24

Correlation (5Y)
Calculated over the trailing 5-year period

0.41

Correlation (10Y)
Calculated over the trailing 10-year period

0.38

Correlation (All Time)
Calculated using the full available price history since Apr 9, 1999

0.29

The correlation between TREX and NVDA shifts across timeframes, from 0.16 (1 year) to 0.41 (5 years), reflecting how their relationship changes across market environments.

Fundamentals

Market Cap

TREX:

$4.37B

NVDA:

$5.43T

EPS

TREX:

$1.80

NVDA:

$6.53

PE Ratio

TREX:

23.16

NVDA:

34.15

PEG Ratio

TREX:

63.65

NVDA:

0.19

PS Ratio

TREX:

3.76

NVDA:

21.50

PB Ratio

TREX:

4.39

NVDA:

27.80

Total Revenue (TTM)

TREX:

$1.18B

NVDA:

$253.49B

Gross Profit (TTM)

TREX:

$461.26M

NVDA:

$187.95B

EBITDA (TTM)

TREX:

$308.51M

NVDA:

$192.76B

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. NVDA — Risk / Return Rank

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

TREX
TREX Risk / Return Rank: 2323
Overall Rank
TREX Sharpe Ratio Rank: 2121
Sharpe Ratio Rank
TREX Sortino Ratio Rank: 2323
Sortino Ratio Rank
TREX Omega Ratio Rank: 2222
Omega Ratio Rank
TREX Calmar Ratio Rank: 2525
Calmar Ratio Rank
TREX Martin Ratio Rank: 2727
Martin Ratio Rank

NVDA
NVDA Risk / Return Rank: 8282
Overall Rank
NVDA Sharpe Ratio Rank: 8585
Sharpe Ratio Rank
NVDA Sortino Ratio Rank: 8282
Sortino Ratio Rank
NVDA Omega Ratio Rank: 7979
Omega Ratio Rank
NVDA Calmar Ratio Rank: 8383
Calmar Ratio Rank
NVDA Martin Ratio Rank: 8383
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. NVDA - Risk-Adjusted Trends Comparison

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


TREXNVDADifference

Sharpe ratio

Return per unit of total volatility

-0.45

1.84

-2.29

Sortino ratio

Return per unit of downside risk

-0.29

2.47

-2.76

Omega ratio

Gain probability vs. loss probability

0.96

1.30

-0.34

Calmar ratio

Return relative to maximum drawdown

-0.46

3.21

-3.67

Martin ratio

Return relative to average drawdown

-0.73

7.92

-8.65

TREX vs. NVDA - Sharpe Ratio Comparison

The current TREX Sharpe Ratio is -0.45, which is lower than the NVDA Sharpe Ratio of 1.84. The chart below compares the historical Sharpe Ratios of TREX and NVDA, 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


TREXNVDADifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

-0.45

1.84

-2.29

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

-0.32

1.31

-1.64

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

0.31

1.40

-1.09

Sharpe Ratio (All Time)

Calculated using the full available price history

0.25

0.63

-0.38

Drawdowns

TREX vs. NVDA - Drawdown Comparison

The maximum TREX drawdown since its inception was -90.53%, roughly equal to the maximum NVDA drawdown of -89.72%. Use the drawdown chart below to compare losses from any high point for TREX and NVDA.


Loading charts...

Drawdown Indicators


TREXNVDADifference

Max Drawdown

Largest peak-to-trough decline

-90.53%

-89.72%

-0.81%

Max Drawdown (1Y)

Largest decline over 1 year

-56.01%

-20.21%

-35.80%

Max Drawdown (3Y)

Largest decline over 3 years

-69.90%

-36.88%

-33.02%

Max Drawdown (5Y)

Largest decline over 5 years

-78.58%

-66.34%

-12.24%

Max Drawdown (10Y)

Largest decline over 10 years

-78.58%

-66.34%

-12.24%

Current Drawdown

Current decline from peak

-70.44%

-5.48%

-64.96%

Average Drawdown

Average peak-to-trough decline

-38.73%

-36.21%

-2.52%

Ulcer Index

Depth and duration of drawdowns from previous peaks

34.95%

8.20%

+26.75%

Volatility

TREX vs. NVDA - Volatility Comparison

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


Loading charts...

Volatility by Period


TREXNVDADifference

Volatility (1M)

Calculated over the trailing 1-month period

14.37%

11.79%

+2.58%

Volatility (6M)

Calculated over the trailing 6-month period

25.83%

25.29%

+0.54%

Volatility (1Y)

Calculated over the trailing 1-year period

50.09%

34.03%

+16.06%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

47.05%

51.66%

-4.61%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

46.33%

49.80%

-3.47%

Dividends

TREX vs. NVDA - Dividend Comparison

TREX has not paid dividends to shareholders, while NVDA's dividend yield for the trailing twelve months is around 0.02%.


PositionTTM20252024202320222021202020192018201720162015
NVDA
NVIDIA Corporation
0.02%0.02%0.03%0.03%0.11%0.05%0.12%0.27%0.46%0.29%0.45%1.20%
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. NVDA - Financials Comparison

This section allows you to compare key financial metrics between Trex Company, Inc. and NVIDIA 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


0.0020.00B40.00B60.00B80.00B20222023202420252026
343.40M
81.62B
(TREX) Total Revenue
(NVDA) Total Revenue
Values in USD except per share items

TREX vs. NVDA - Profitability Comparison

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

Gross Margin
Operating Margin
Net Margin
Quarterly
Annual

20.0%30.0%40.0%50.0%60.0%70.0%80.0%20222023202420252026
40.5%
74.9%
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%.

NVDA - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, NVIDIA Corporation reported a gross profit of 61.16B and revenue of 81.62B. Therefore, the gross margin over that period was 74.9%.

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

NVDA - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, NVIDIA Corporation reported an operating income of 53.54B and revenue of 81.62B, resulting in an operating margin of 65.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%.

NVDA - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, NVIDIA Corporation reported a net income of 58.32B and revenue of 81.62B, resulting in a net margin of 71.5%.


Frequently Asked Questions


TREX and NVDA have a correlation of 0.16, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.

TREX has higher volatility (14.37%) compared to NVDA (11.79%). In terms of maximum drawdown, TREX dropped -90.53% vs NVDA's -89.72%.

NVDA currently has the higher Sharpe Ratio (1.84 vs -0.45), 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 NVDA

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