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

Performance

TREX vs. HBM - Performance Comparison

The chart below illustrates the hypothetical performance of a $10,000 investment in Trex Company, Inc. (TREX) and Hudbay Minerals Inc. (HBM). 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 30.07% return, which is significantly lower than HBM's 40.23% return. Over the past 10 years, TREX has underperformed HBM with an annualized return of 16.02%, while HBM has yielded a comparatively higher 19.31% annualized return.


TREX

1D
-1.53%
1M
20.14%
YTD
30.07%
6M
30.07%
1Y
-20.07%
3Y*
-8.67%
5Y*
-14.60%
10Y*
16.02%

HBM

1D
4.43%
1M
0.32%
YTD
40.23%
6M
49.02%
1Y
189.83%
3Y*
78.89%
5Y*
31.42%
10Y*
19.31%
*Multi-year figures are annualized to reflect compound growth (CAGR)

TREX vs. HBM - Yearly Performance Comparison


2026 (YTD)202520242023202220212020201920182017
TREX
Trex Company, Inc.
30.07%-49.18%-16.62%95.58%-68.65%61.29%86.29%51.42%9.53%68.31%
HBM
Hudbay Minerals Inc.
40.23%145.46%47.03%9.24%-29.87%3.82%69.50%-11.77%-46.20%54.77%

Correlation

The correlation between TREX and HBM is 0.28, 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.28

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

0.31

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

0.32

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

0.27

Correlation (All Time)
Calculated using the full available price history since Feb 13, 2009

0.28

Fundamentals

Market Cap

TREX:

$4.80B

HBM:

$11.09B

EPS

TREX:

$1.80

HBM:

$1.65

PE Ratio

TREX:

25.41

HBM:

16.83

PEG Ratio

TREX:

69.84

HBM:

0.12

PS Ratio

TREX:

4.13

HBM:

4.68

PB Ratio

TREX:

4.82

HBM:

3.13

Total Revenue (TTM)

TREX:

$1.18B

HBM:

$2.37B

Gross Profit (TTM)

TREX:

$461.26M

HBM:

$828.54M

EBITDA (TTM)

TREX:

$308.51M

HBM:

$1.54B

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

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

TREX
TREX Risk / Return Rank: 2929
Overall Rank
TREX Sharpe Ratio Rank: 2626
Sharpe Ratio Rank
TREX Sortino Ratio Rank: 2828
Sortino Ratio Rank
TREX Omega Ratio Rank: 2727
Omega Ratio Rank
TREX Calmar Ratio Rank: 3131
Calmar Ratio Rank
TREX Martin Ratio Rank: 3333
Martin Ratio Rank

HBM
HBM Risk / Return Rank: 9393
Overall Rank
HBM Sharpe Ratio Rank: 9696
Sharpe Ratio Rank
HBM Sortino Ratio Rank: 9292
Sortino Ratio Rank
HBM Omega Ratio Rank: 9191
Omega Ratio Rank
HBM Calmar Ratio Rank: 9393
Calmar Ratio Rank
HBM Martin Ratio Rank: 9494
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. HBM - Risk-Adjusted Trends Comparison

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

Values are calculated on a 1-year rolling basis and updated daily. Risk-adjusted metrics are more stable over longer periods — use the period switch above to explore them.


TREXHBMDifference
Sharpe ratioReturn per unit of total volatility

-3.62

Sortino ratioReturn per unit of downside risk

-3.46

Omega ratioGain probability vs. loss probability

0.97

1.44

-0.47

Calmar ratioReturn relative to maximum drawdown

-0.36

5.28

-5.64

Martin ratioReturn relative to average drawdown

-0.57

16.41

-16.97

TREX vs. HBM - Sharpe Ratio Comparison

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

Drawdowns

TREX vs. HBM - Drawdown Comparison

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


Loading charts...

Drawdown Indicators


TREXHBMDifference

Max Drawdown

Largest peak-to-trough decline

-90.53%

-92.21%

+1.68%

Max Drawdown (1Y)

Largest decline over 1 year

-56.01%

-36.16%

-19.85%

Max Drawdown (3Y)

Largest decline over 3 years

-69.90%

-41.11%

-28.79%

Max Drawdown (5Y)

Largest decline over 5 years

-78.58%

-63.33%

-15.25%

Max Drawdown (10Y)

Largest decline over 10 years

-78.58%

-86.34%

+7.76%

Current Drawdown

Current decline from peak

-67.56%

-12.68%

-54.88%

Average Drawdown

Average peak-to-trough decline

-38.76%

-52.45%

+13.69%

Ulcer Index

Depth and duration of drawdowns from previous peaks

35.58%

11.62%

+23.96%

Volatility

TREX vs. HBM - Volatility Comparison

The current volatility for Trex Company, Inc. (TREX) is 15.84%, while Hudbay Minerals Inc. (HBM) has a volatility of 25.87%. This indicates that TREX experiences smaller price fluctuations and is considered to be less risky than HBM based on this measure. The chart below showcases a comparison of their rolling one-month volatility.


Loading charts...

Volatility by Period


TREXHBMDifference

Volatility (1M)

Calculated over the trailing 1-month period

15.84%

25.87%

-10.03%

Volatility (6M)

Calculated over the trailing 6-month period

28.22%

47.72%

-19.50%

Volatility (1Y)

Calculated over the trailing 1-year period

51.26%

59.13%

-7.87%

Volatility (5Y)

Calculated over the trailing 5-year period, annualized

47.34%

55.51%

-8.17%

Volatility (10Y)

Calculated over the trailing 10-year period, annualized

46.46%

58.82%

-12.36%

Dividends

TREX vs. HBM - Dividend Comparison

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


PositionTTM20252024202320222021202020192018201720162015
HBM
Hudbay Minerals Inc.
0.08%0.07%0.17%0.31%0.32%0.22%0.21%0.36%0.38%0.23%0.35%0.52%
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. HBM - Financials Comparison

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


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

TREX vs. HBM - Profitability Comparison

The chart below illustrates the profitability comparison between Trex Company, Inc. and Hudbay Minerals 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%0.0%20.0%40.0%60.0%20222023202420252026
40.5%
45.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%.

HBM - Gross Margin

Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Hudbay Minerals Inc. reported a gross profit of 340.81M and revenue of 745.43M. Therefore, the gross margin over that period was 45.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%.

HBM - Operating Margin

Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Hudbay Minerals Inc. reported an operating income of 297.62M and revenue of 745.43M, resulting in an operating margin of 39.9%.

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

HBM - Net Margin

Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Hudbay Minerals Inc. reported a net income of 187.76M and revenue of 745.43M, resulting in a net margin of 25.2%.


Frequently Asked Questions


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

HBM has higher volatility (25.87%) compared to TREX (15.84%). In terms of maximum drawdown, TREX dropped -90.53% vs HBM's -92.21%.

HBM currently has the higher Sharpe Ratio (3.23 vs -0.39), 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 HBM

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