TREX vs. AGX
TREX (Trex Company, Inc.) and AGX (Argan, Inc.) are both stocks. Both are in the Industrials sector — TREX in Building Products & Equipment, AGX in Engineering & Construction. Over the past 10 years, TREX returned 16.02%/yr vs 35.01%/yr for AGX. At a 0.20 correlation, their price movements are largely independent.
Performance
TREX vs. AGX - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, TREX achieves a 30.07% return, which is significantly lower than AGX's 105.22% return. Over the past 10 years, TREX has underperformed AGX with an annualized return of 16.02%, while AGX has yielded a comparatively higher 35.01% 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%
AGX
- 1D
- 2.89%
- 1M
- -10.87%
- YTD
- 105.22%
- 6M
- 101.00%
- 1Y
- 190.56%
- 3Y*
- 154.34%
- 5Y*
- 71.15%
- 10Y*
- 35.01%
TREX vs. AGX - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
TREX Trex Company, Inc. | 30.07% | -49.18% | -16.62% | 95.58% | -68.65% | 61.29% | 86.29% | 51.42% | 9.53% | 68.31% |
AGX Argan, Inc. | 105.22% | 130.61% | 198.31% | 30.24% | -2.01% | -11.64% | 19.15% | 8.62% | -14.32% | -34.26% |
Correlation
The correlation between TREX and AGX is 0.15, 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.15 |
Correlation (3Y) Calculated over the trailing 3-year period | 0.24 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.27 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.29 |
Correlation (All Time) Calculated using the full available price history since Apr 8, 1999 | 0.21 |
The correlation between TREX and AGX shifts across timeframes, from 0.15 (1 year) to 0.29 (10 years), reflecting how their relationship changes across market environments.
Fundamentals
TREX:
$4.80B
AGX:
$9.11B
TREX:
$1.80
AGX:
$11.38
TREX:
25.41
AGX:
56.36
TREX:
69.84
AGX:
1.03
TREX:
4.13
AGX:
8.72
TREX:
4.82
AGX:
19.24
TREX:
$1.18B
AGX:
$1.04B
TREX:
$461.26M
AGX:
$217.93M
TREX:
$308.51M
AGX:
$163.99M
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. AGX — Risk / Return Rank
TREX
AGX
TREX vs. AGX - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Trex Company, Inc. (TREX) and Argan, Inc. (AGX). 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.
| TREX | AGX | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | -2.98 | ||
| Sortino ratioReturn per unit of downside risk | -3.44 | ||
| Omega ratioGain probability vs. loss probability | 0.97 | 1.41 | -0.44 |
| Calmar ratioReturn relative to maximum drawdown | -0.36 | 7.68 | -8.04 |
| Martin ratioReturn relative to average drawdown | -0.57 | 21.89 | -22.46 |
Loading charts...
Drawdowns
TREX vs. AGX - Drawdown Comparison
The maximum TREX drawdown since its inception was -90.53%, roughly equal to the maximum AGX drawdown of -94.37%. Use the drawdown chart below to compare losses from any high point for TREX and AGX.
Loading charts...
Drawdown Indicators
| TREX | AGX | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -90.53% | -94.37% | +3.84% |
Max Drawdown (1Y)Largest decline over 1 year | -56.01% | -24.96% | -31.05% |
Max Drawdown (3Y)Largest decline over 3 years | -69.90% | -43.75% | -26.15% |
Max Drawdown (5Y)Largest decline over 5 years | -78.58% | -43.75% | -34.83% |
Max Drawdown (10Y)Largest decline over 10 years | -78.58% | -54.61% | -23.97% |
Current DrawdownCurrent decline from peak | -67.56% | -13.39% | -54.17% |
Average DrawdownAverage peak-to-trough decline | -38.76% | -48.33% | +9.57% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 35.58% | 8.78% | +26.80% |
Volatility
TREX vs. AGX - Volatility Comparison
The current volatility for Trex Company, Inc. (TREX) is 15.84%, while Argan, Inc. (AGX) has a volatility of 18.53%. This indicates that TREX experiences smaller price fluctuations and is considered to be less risky than AGX based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| TREX | AGX | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 15.84% | 18.53% | -2.69% |
Volatility (6M)Calculated over the trailing 6-month period | 28.22% | 54.47% | -26.25% |
Volatility (1Y)Calculated over the trailing 1-year period | 51.26% | 74.07% | -22.81% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 47.34% | 50.95% | -3.61% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 46.46% | 45.88% | +0.58% |
Dividends
TREX vs. AGX - Dividend Comparison
TREX has not paid dividends to shareholders, while AGX's dividend yield for the trailing twelve months is around 0.29%.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
AGX Argan, Inc. | 0.29% | 0.52% | 0.93% | 2.24% | 2.71% | 1.94% | 7.31% | 2.49% | 1.98% | 4.44% | 1.42% | 2.16% |
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. AGX - Financials Comparison
This section allows you to compare key financial metrics between Trex Company, Inc. and Argan, 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
TREX vs. AGX - Profitability Comparison
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%.
AGX - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Argan, Inc. reported a gross profit of 61.11M and revenue of 290.95M. Therefore, the gross margin over that period was 21.0%.
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%.
AGX - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Argan, Inc. reported an operating income of 45.40M and revenue of 290.95M, resulting in an operating margin of 15.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%.
AGX - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Argan, Inc. reported a net income of 46.06M and revenue of 290.95M, resulting in a net margin of 15.8%.
Frequently Asked Questions
TREX and AGX have a correlation of 0.15, meaning they provide meaningful diversification benefit when combined. Depending on your allocation goals, holding both could reduce overall portfolio risk.
AGX has higher volatility (18.53%) compared to TREX (15.84%). In terms of maximum drawdown, TREX dropped -90.53% vs AGX's -94.37%.
AGX currently has the higher Sharpe Ratio (2.59 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.
Find the right allocation for TREX and AGX
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