Free Trial

Compare Stocks

Compare stocks with our powerful stock comparison tool. Analyze fundamentals, price performance, and key financial indicators to make informed investment decisions. Our tool lets you compare up to ten stocks side by side based on Performance Charts, Price & Volume, MarketRank™, Analyst Ratings, Sales & Book Value, Profitability & Earnings, Dividends, Debt, Ownership, Headlines, and more. Simply enter up to ten stock symbols (e.g., BAC, JPM, WFC, C, GS) to get started and uncover top investment opportunities.

CompanyCurrent Price50-Day Moving Average52-Week RangeMarket CapBetaAvg. VolumeToday's Volume
The Home Depot, Inc. stock logo
HD
Home Depot
$309.97
-0.3%
$322.58
$289.10
$426.75
$309.88B0.975.14 million shs4.35 million shs
Trex Company, Inc. stock logo
TREX
Trex
$42.08
+6.1%
$39.48
$29.77
$68.78
$4.12B1.511.73 million shs2.94 million shs
7 Stocks to Buy Before the Robotics Revolution Cover

Robotics and automation are rapidly becoming essential infrastructure across healthcare, manufacturing, logistics, and many other industries.

"Physical AI" is coming to the United States, and there are four ways that investors can gain exposure to this new robotics revolution. Plus, learn which seven companies are most positioned to benefit as intelligent robots enter the workforce.

Get This Free Report

Compare Price Performance

Company1-Day Performance7-Day Performance30-Day Performance90-Day Performance1-Year Performance
The Home Depot, Inc. stock logo
HD
Home Depot
0.00%-2.10%-2.11%-12.06%-15.44%
Trex Company, Inc. stock logo
TREX
Trex
0.00%-4.18%-1.03%+6.63%-29.79%
CompanyCurrent Price50-Day Moving Average52-Week RangeMarket CapBetaAvg. VolumeToday's Volume
The Home Depot, Inc. stock logo
HD
Home Depot
$309.97
-0.3%
$322.58
$289.10
$426.75
$309.88B0.975.14 million shs4.35 million shs
Trex Company, Inc. stock logo
TREX
Trex
$42.08
+6.1%
$39.48
$29.77
$68.78
$4.12B1.511.73 million shs2.94 million shs
7 Stocks to Buy Before the Robotics Revolution Cover

Robotics and automation are rapidly becoming essential infrastructure across healthcare, manufacturing, logistics, and many other industries.

"Physical AI" is coming to the United States, and there are four ways that investors can gain exposure to this new robotics revolution. Plus, learn which seven companies are most positioned to benefit as intelligent robots enter the workforce.

Get This Free Report

Compare Price Performance

Company1-Day Performance7-Day Performance30-Day Performance90-Day Performance1-Year Performance
The Home Depot, Inc. stock logo
HD
Home Depot
0.00%-2.10%-2.11%-12.06%-15.44%
Trex Company, Inc. stock logo
TREX
Trex
0.00%-4.18%-1.03%+6.63%-29.79%
CompanyConsensus Rating ScoreConsensus RatingConsensus Price Target% Upside from Current Price
The Home Depot, Inc. stock logo
HD
Home Depot
2.56
Moderate Buy$371.3619.80% Upside
Trex Company, Inc. stock logo
TREX
Trex
2.41
Hold$46.4210.32% Upside

Current Analyst Ratings Breakdown

Latest TREX and HD Analyst Ratings

DateCompanyBrokerageActionRatingPrice TargetDetails
6/5/2026
Trex Company, Inc. stock logo
TREX
Trex
Reiterated RatingBuy$51.00
6/4/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetBuy$361.00 ➝ $360.00
5/26/2026
The Home Depot, Inc. stock logo
HD
Home Depot
DowngradeHold (C)Hold (C-)
5/21/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetBuy$425.00 ➝ $400.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetBuy$450.00 ➝ $430.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetSector Perform$377.00 ➝ $340.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetBuy$450.00 ➝ $375.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetOverweight$422.00 ➝ $421.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Set Price Target$378.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Reiterated RatingBuy$425.00
5/20/2026
The Home Depot, Inc. stock logo
HD
Home Depot
Lower Price TargetOverweight$375.00 ➝ $360.00
(Data available from 6/8/2023 forward. View 10+ years of historical ratings with our analyst ratings screener.)
CompanyAnnual RevenuePrice/SalesCashflowPrice/CashBook ValuePrice/Book
The Home Depot, Inc. stock logo
HD
Home Depot
$164.68B1.88$18.77 per share16.51$12.87 per share24.08
Trex Company, Inc. stock logo
TREX
Trex
$1.17B3.72$2.51 per share16.78$9.64 per share4.37
CompanyNet IncomeEPSTrailing P/E RatioForward P/E RatioP/E GrowthNet MarginsReturn on Equity (ROE)Return on Assets (ROA)Next Earnings Date
The Home Depot, Inc. stock logo
HD
Home Depot
$14.16B$14.0822.0219.123.598.41%117.24%13.83%8/18/2026 (Estimated)
Trex Company, Inc. stock logo
TREX
Trex
$190.41M$1.7923.5122.878.0316.25%19.66%12.93%8/3/2026 (Estimated)

Latest TREX and HD Earnings

DateQuarterCompanyConsensus EstimateReported EPSBeat/MissGap EPSRevenue EstimateActual RevenueDetails
5/19/2026Q1 2026
The Home Depot, Inc. stock logo
HD
Home Depot
$3.41$3.43+$0.02$3.30$41.59 billion$41.77 billion
5/7/2026Q1 2026
Trex Company, Inc. stock logo
TREX
Trex
$0.51$0.59+$0.08$0.58$339.99 million$343.40 million
CompanyAnnual PayoutDividend Yield5-Year Annualized Dividend GrowthPayout RatioYears of Consecutive Growth
The Home Depot, Inc. stock logo
HD
Home Depot
$9.323.01%+8.92%66.19%16 Years
Trex Company, Inc. stock logo
TREX
Trex
N/AN/AN/AN/AN/A

Latest TREX and HD Dividends

AnnouncementCompanyPeriodAmountYieldEx-Dividend DateRecord DatePayable Date
5/21/2026
The Home Depot, Inc. stock logo
HD
Home Depot
quarterly$2.333%6/4/20266/4/20266/18/2026
(Data available from 1/1/2013 forward)
CompanyDebt-to-Equity RatioCurrent RatioQuick Ratio
The Home Depot, Inc. stock logo
HD
Home Depot
3.23
1.04
0.28
Trex Company, Inc. stock logo
TREX
Trex
N/A
1.02
0.62

Institutional Ownership

CompanyInstitutional Ownership
The Home Depot, Inc. stock logo
HD
Home Depot
70.86%
Trex Company, Inc. stock logo
TREX
Trex
95.96%

Insider Ownership

CompanyInsider Ownership
The Home Depot, Inc. stock logo
HD
Home Depot
0.08%
Trex Company, Inc. stock logo
TREX
Trex
0.93%
CompanyEmployeesShares OutstandingFree FloatOptionable
The Home Depot, Inc. stock logo
HD
Home Depot
472,400997.12 million996.32 millionOptionable
Trex Company, Inc. stock logo
TREX
Trex
1,839103.90 million102.93 millionOptionable

Recent News About These Companies

Trex (NYSE:TREX) Given "Buy" Rating at DA Davidson
Trex (NYSE:TREX) Downgraded by Wall Street Zen to Sell
Zelman & Assoc. upgrades Trex (TREX)
Trex’s Q1 Earnings Call: Our Top 5 Analyst Questions
Trex Stock Price History

New MarketBeat Followers Over Time

Media Sentiment Over Time

Top Headlines

View All Headlines
Home Depot stock logo

Home Depot NYSE:HD

$309.97 -0.81 (-0.26%)
Closing price 03:59 PM Eastern
Extended Trading
$309.95 -0.02 (-0.01%)
As of 07:58 PM Eastern
Extended trading is trading that happens on electronic markets outside of regular trading hours. This is a fair market value extended hours price provided by Massive. Learn more.

The Home Depot, Inc. operates as a home improvement retailer in the United States and internationally. It sells various building materials, home improvement products, lawn and garden products, and décor products, as well as facilities maintenance, repair, and operations products. The company also offers installation services for flooring, water heaters, bath, garage doors, cabinets, cabinet makeovers, countertops, sheds, furnaces and central air systems, and windows. In addition, it provides tool and equipment rental services. The company primarily serves homeowners; and professional renovators/remodelers, general contractors, maintenance professionals, handymen, property managers, and building service contractors, as well as specialty tradesmen, such as electricians, plumbers, and painters. It sells its products through websites, including homedepot.com; homedepot.ca and homedepot.com.mx; blinds.com, justblinds.com, and americanblinds.com for custom window coverings; thecompanystore.com, an online site for textiles and décor products; hdsupply.com for maintenance, repair, and operations (MRO) products and related services; and The Home Depot stores. The Home Depot, Inc. was incorporated in 1978 and is headquartered in Atlanta, Georgia.

Trex stock logo

Trex NYSE:TREX

$42.08 +2.43 (+6.13%)
Closing price 03:59 PM Eastern
Extended Trading
$42.27 +0.19 (+0.45%)
As of 07:58 PM Eastern
Extended trading is trading that happens on electronic markets outside of regular trading hours. This is a fair market value extended hours price provided by Massive. Learn more.

Trex Company, Inc. manufactures and distributes composite decking, railing, and outdoor living products and accessories for residential and commercial markets in the United States. It offers decking products and accessories under the names Trex Transcend, Trex Select, Trex Signature, Trex Transcend Lineage, and Trex Enhance for protection against fading, staining, mold, and scratching; Trex Hideaway, a hidden fastening system; and Trex DeckLighting, a LED dimmable deck lighting for use on posts, floors, and steps. The company also provides Trex Transcend Railing products that are used in Trex decking products and other decking materials; Trex Select Railing products for a simple clean finished look; Trex Enhance Railing system; Trex Signature aluminum railing for a contemporary look; and Trex Select T-Rail railing products. In addition, it offers Trex Seclusions, a fencing product that includes structural posts, bottom and top rails, pickets, and decorative post caps. Further, the company acts as a licensor in various licensing agreements with third parties to manufacture and sell products under the Trex name, including Trex Outdoor Furniture; Trex RainEscape, an above joist deck drainage system; Trex Pergola, a cellular PVC product; Trex Latticeworks outdoor lattice boards; Trex Cornhole boards; Diablo Trex Blade, a saw blade for wood-alternative composite decking; Trex SpiralStairs and structural steel posts; and Trex Outdoor Kitchens, cabinetry, and Storage products. It sells its products through wholesale distributors, retail lumber dealers, and Home Depot and Lowe's stores. Trex Company, Inc. was founded in 1996 and is headquartered in Winchester, Virginia.