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

Performance

NVDA vs. TREX - Performance Comparison

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

Loading charts...

Returns By Period

In the year-to-date period, NVDA achieves a 12.01% return, which is significantly lower than TREX's 19.87% return. Over the past 10 years, NVDA has outperformed TREX with an annualized return of 68.47%, while TREX has yielded a comparatively lower 14.76% annualized return.


NVDA

1D
1.73%
1M
-2.94%
YTD
12.01%
6M
12.58%
1Y
47.43%
3Y*
75.35%
5Y*
64.54%
10Y*
68.47%

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%
*Multi-year figures are annualized to reflect compound growth (CAGR)

NVDA vs. TREX - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
NVDA
NVIDIA Corporation
12.01%38.92%171.25%239.02%-50.26%125.48%122.30%76.94%-30.82%81.99%
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 NVDA and TREX is 0.17, 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.17

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

0.25

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 8, 1999

0.29

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

Fundamentals

Market Cap

NVDA:

$5.09T

TREX:

$4.42B

EPS

NVDA:

$6.53

TREX:

$1.80

PE Ratio

NVDA:

31.97

TREX:

23.41

PEG Ratio

NVDA:

0.18

TREX:

64.36

PS Ratio

NVDA:

20.13

TREX:

3.80

PB Ratio

NVDA:

26.03

TREX:

4.44

Total Revenue (TTM)

NVDA:

$253.49B

TREX:

$1.18B

Gross Profit (TTM)

NVDA:

$187.95B

TREX:

$461.26M

EBITDA (TTM)

NVDA:

$192.76B

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

NVDA vs. TREX — Risk / Return Rank

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

NVDA
NVDA Risk / Return Rank: 7777
Overall Rank
NVDA Sharpe Ratio Rank: 8080
Sharpe Ratio Rank
NVDA Sortino Ratio Rank: 7575
Sortino Ratio Rank
NVDA Omega Ratio Rank: 7373
Omega Ratio Rank
NVDA Calmar Ratio Rank: 7979
Calmar Ratio Rank
NVDA Martin Ratio Rank: 7979
Martin Ratio Rank

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

NVDA vs. TREX - Risk-Adjusted Trends Comparison

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


NVDATREXDifference
Sharpe ratioReturn per unit of total volatility

+1.89

Sortino ratioReturn per unit of downside risk

+2.34

Omega ratioGain probability vs. loss probability

1.24

0.94

+0.30

Calmar ratioReturn relative to maximum drawdown

2.36

-0.46

+2.82

Martin ratioReturn relative to average drawdown

5.73

-0.73

+6.46

NVDA vs. TREX - Sharpe Ratio Comparison

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


NVDATREXDifference

Sharpe Ratio (1Y)

Calculated over the trailing 1-year period

1.37

-0.52

+1.89

Sharpe Ratio (5Y)

Calculated over the trailing 5-year period

1.25

-0.33

+1.59

Sharpe Ratio (10Y)

Calculated over the trailing 10-year period

1.38

0.32

+1.06

Sharpe Ratio (All Time)

Calculated using the full available price history

0.63

0.25

+0.37

Drawdowns

NVDA vs. TREX - Drawdown Comparison

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


Loading charts...

Drawdown Indicators


NVDATREXDifference

Max Drawdown

Largest peak-to-trough decline

-89.72%

-90.53%

+0.81%

Max Drawdown (1Y)

Largest decline over 1 year

-20.21%

-56.01%

+35.80%

Max Drawdown (3Y)

Largest decline over 3 years

-36.88%

-69.90%

+33.02%

Max Drawdown (5Y)

Largest decline over 5 years

-66.34%

-78.58%

+12.24%

Max Drawdown (10Y)

Largest decline over 10 years

-66.34%

-78.58%

+12.24%

Current Drawdown

Current decline from peak

-11.39%

-70.11%

+58.72%

Average Drawdown

Average peak-to-trough decline

-36.20%

-38.75%

+2.55%

Ulcer Index

Depth and duration of drawdowns from previous peaks

8.30%

35.32%

-27.02%

Volatility

NVDA vs. TREX - Volatility Comparison

NVIDIA Corporation (NVDA) and Trex Company, Inc. (TREX) have volatilities of 13.14% and 13.04%, respectively, indicating that both stocks experience similar levels of price fluctuations. This suggests that the risk associated with both stocks, as measured by volatility, is nearly the same. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


NVDATREXDifference

Volatility (1M)

Calculated over the trailing 1-month period

13.14%

13.04%

+0.10%

Volatility (6M)

Calculated over the trailing 6-month period

26.37%

26.51%

-0.14%

Volatility (1Y)

Calculated over the trailing 1-year period

34.81%

50.31%

-15.50%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

51.75%

47.13%

+4.62%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

49.85%

46.37%

+3.48%

Dividends

NVDA vs. TREX - Dividend Comparison

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


PositionTTM20252024202320222021202020192018201720162015
NVDA
NVIDIA Corporation
0.14%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

NVDA vs. TREX - Financials Comparison

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


Quarterly
Annual

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


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

NVDA vs. TREX - Profitability Comparison

The chart below illustrates the profitability comparison between NVIDIA Corporation and Trex Company, Inc. 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
74.9%
40.5%
Portfolio components
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 - 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 - 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 - 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 - 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%.

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


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

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

NVDA currently has the higher Sharpe Ratio (1.37 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 NVDA 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