STRA vs. TREX
STRA (Strategic Education, Inc.) and TREX (Trex Company, Inc.) are both stocks. STRA operates in Education & Training Services (Consumer Defensive), while TREX operates in Building Products & Equipment (Industrials). Over the past 10 years, STRA returned 7.26%/yr vs 16.02%/yr for TREX. At a 0.22 correlation, their price movements are largely independent.
Performance
STRA vs. TREX - Performance Comparison
Loading charts...
Returns By Period
In the year-to-date period, STRA achieves a -2.03% return, which is significantly lower than TREX's 30.07% return. Over the past 10 years, STRA has underperformed TREX with an annualized return of 7.26%, while TREX has yielded a comparatively higher 16.02% annualized return.
STRA
- 1D
- -3.06%
- 1M
- -0.93%
- YTD
- -2.03%
- 6M
- -2.72%
- 1Y
- -5.50%
- 3Y*
- 3.48%
- 5Y*
- 2.52%
- 10Y*
- 7.26%
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%
STRA vs. TREX - Yearly Performance Comparison
| 2026 (YTD) | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
STRA Strategic Education, Inc. | -2.03% | -11.62% | 3.53% | 21.43% | 40.39% | -37.26% | -38.80% | 42.05% | 28.16% | 12.41% |
TREX Trex Company, Inc. | 30.07% | -49.18% | -16.62% | 95.58% | -68.65% | 61.29% | 86.29% | 51.42% | 9.53% | 68.31% |
Correlation
The correlation between STRA 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.24 |
Correlation (5Y) Calculated over the trailing 5-year period | 0.26 |
Correlation (10Y) Calculated over the trailing 10-year period | 0.27 |
Correlation (All Time) Calculated using the full available price history since Apr 8, 1999 | 0.22 |
Fundamentals
STRA:
$1.72B
TREX:
$4.80B
STRA:
$5.64
TREX:
$1.80
STRA:
13.73
TREX:
25.41
STRA:
0.48
TREX:
69.84
STRA:
1.40
TREX:
4.13
STRA:
1.05
TREX:
4.82
STRA:
$1.27B
TREX:
$1.18B
STRA:
$475.81M
TREX:
$461.26M
STRA:
$216.79M
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
STRA vs. TREX — Risk / Return Rank
STRA
TREX
STRA vs. TREX - Risk-Adjusted Trends Comparison
This table presents a comparison of risk-adjusted performance metrics for Strategic Education, Inc. (STRA) 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.
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.
| STRA | TREX | Difference | |
|---|---|---|---|
| Sharpe ratioReturn per unit of total volatility | +0.22 | ||
| Sortino ratioReturn per unit of downside risk | +0.18 | ||
| Omega ratioGain probability vs. loss probability | 1.00 | 0.97 | +0.03 |
| Calmar ratioReturn relative to maximum drawdown | -0.35 | -0.36 | +0.01 |
| Martin ratioReturn relative to average drawdown | -0.75 | -0.57 | -0.18 |
Loading charts...
Drawdowns
STRA vs. TREX - Drawdown Comparison
The maximum STRA drawdown since its inception was -85.50%, smaller than the maximum TREX drawdown of -90.53%. Use the drawdown chart below to compare losses from any high point for STRA and TREX.
Loading charts...
Drawdown Indicators
| STRA | TREX | Difference | |
|---|---|---|---|
Max DrawdownLargest peak-to-trough decline | -85.50% | -90.53% | +5.03% |
Max Drawdown (1Y)Largest decline over 1 year | -15.75% | -56.01% | +40.26% |
Max Drawdown (3Y)Largest decline over 3 years | -38.05% | -69.90% | +31.85% |
Max Drawdown (5Y)Largest decline over 5 years | -38.05% | -78.58% | +40.53% |
Max Drawdown (10Y)Largest decline over 10 years | -71.86% | -78.58% | +6.72% |
Current DrawdownCurrent decline from peak | -58.27% | -67.56% | +9.29% |
Average DrawdownAverage peak-to-trough decline | -39.04% | -38.76% | -0.28% |
Ulcer IndexDepth and duration of drawdowns from previous peaks | 7.38% | 35.58% | -28.20% |
Volatility
STRA vs. TREX - Volatility Comparison
The current volatility for Strategic Education, Inc. (STRA) is 6.97%, while Trex Company, Inc. (TREX) has a volatility of 15.84%. This indicates that STRA experiences smaller price fluctuations and is considered to be less risky than TREX based on this measure. The chart below showcases a comparison of their rolling one-month volatility.
Loading charts...
Volatility by Period
| STRA | TREX | Difference | |
|---|---|---|---|
Volatility (1M)Calculated over the trailing 1-month period | 6.97% | 15.84% | -8.87% |
Volatility (6M)Calculated over the trailing 6-month period | 26.38% | 28.22% | -1.84% |
Volatility (1Y)Calculated over the trailing 1-year period | 31.96% | 51.26% | -19.30% |
Volatility (5Y)Calculated over the trailing 5-year period, annualized | 33.83% | 47.34% | -13.51% |
Volatility (10Y)Calculated over the trailing 10-year period, annualized | 37.00% | 46.46% | -9.46% |
Dividends
STRA vs. TREX - Dividend Comparison
STRA's dividend yield for the trailing twelve months is around 3.10%, while TREX has not paid dividends to shareholders.
| Position | TTM | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
|---|---|---|---|---|---|---|---|---|---|---|
STRA Strategic Education, Inc. | 3.10% | 2.99% | 2.57% | 2.60% | 3.06% | 4.15% | 2.52% | 1.32% | 1.32% | 1.12% |
TREX Trex Company, Inc. | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% | 0.00% |
Financials
STRA vs. TREX - Financials Comparison
This section allows you to compare key financial metrics between Strategic Education, Inc. 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.
Total Revenue: Total amount of money received from sales and other business activities
STRA vs. TREX - Profitability Comparison
STRA - Gross Margin
Gross margin is calculated as gross profit divided by revenue. For the three months ending on Jun 2026, Strategic Education, Inc. reported a gross profit of 0.00 and revenue of 305.93M. Therefore, the gross margin over that period was 0.0%.
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%.
STRA - Operating Margin
Operating margin is calculated as operating income divided by revenue. For the three months ending on Jun 2026, Strategic Education, Inc. reported an operating income of 41.09M and revenue of 305.93M, resulting in an operating margin of 13.4%.
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%.
STRA - Net Margin
Net margin is calculated as net income divided by revenue. For the three months ending on Jun 2026, Strategic Education, Inc. reported a net income of 32.81M and revenue of 305.93M, resulting in a net margin of 10.7%.
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
STRA 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.
TREX has higher volatility (15.84%) compared to STRA (6.97%). In terms of maximum drawdown, STRA dropped -85.50% vs TREX's -90.53%.
STRA currently has the higher Sharpe Ratio (-0.17 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 STRA 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