Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

HLP vs SGBX vs BLDR vs CODA

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
HLP
Hongli Group Inc.

Steel

Basic MaterialsNASDAQ • CN
Market Cap$62M
5Y Perf.-75.8%
SGBX
Safe & Green Holdings Corp.

Manufacturing - Metal Fabrication

IndustrialsNASDAQ • US
Market Cap$33K
5Y Perf.-99.9%
BLDR
Builders FirstSource, Inc.

Construction

IndustrialsNYSE • US
Market Cap$8.79B
5Y Perf.-10.5%
CODA
Coda Octopus Group, Inc.

Aerospace & Defense

IndustrialsNASDAQ • US
Market Cap$134M
5Y Perf.+62.6%

HLP vs SGBX vs BLDR vs CODA — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
HLP logoHLP
SGBX logoSGBX
BLDR logoBLDR
CODA logoCODA
IndustrySteelManufacturing - Metal FabricationConstructionAerospace & Defense
Market Cap$62M$33K$8.79B$134M
Revenue (TTM)$30M$3M$14.82B$28M
Net Income (TTM)$-1M$-19M$292M$4M
Gross Margin32.4%-87.3%29.9%66.3%
Operating Margin-1.9%-375.8%4.2%17.4%
Forward P/E14.1x22.5x
Total Debt$9M$7M$5.65B$395K
Cash & Equiv.$910K$376K$182M$29M

HLP vs SGBX vs BLDR vs CODALong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

HLP
SGBX
BLDR
CODA
StockMar 23May 26Return
Hongli Group Inc. (HLP)10024.2-75.8%
Safe & Green Holdin… (SGBX)1000.1-99.9%
Builders FirstSourc… (BLDR)10089.5-10.5%
Coda Octopus Group,… (CODA)100162.6+62.6%

Price return only. Dividends and distributions are not included.

Quick Verdict: HLP vs SGBX vs BLDR vs CODA

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: CODA leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and profitability and margin quality. Safe & Green Holdings Corp. is the stronger pick specifically for capital preservation and lower volatility and dividend income and shareholder returns. BLDR also leads in specific categories worth noting. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
HLP
Hongli Group Inc.
The Secondary Option

HLP lags the leaders in this set but could rank higher in a more targeted comparison.

Best for: basic materials exposure
SGBX
Safe & Green Holdings Corp.
The Income Pick

SGBX is the #2 pick in this set and the best alternative if income & stability is your priority.

  • Dividend streak 1 yrs, beta 0.45, yield 100.0%
  • Beta 0.45 vs BLDR's 1.65
  • 100.0% yield; 1-year raise streak; the other 3 pay no meaningful dividend
Best for: income & stability
BLDR
Builders FirstSource, Inc.
The Value Pick

BLDR is the clearest fit if your priority is valuation efficiency.

  • PEG 1.78 vs CODA's 5.24
  • Lower P/E (14.1x vs 22.5x), PEG 1.78 vs 5.24
Best for: valuation efficiency
CODA
Coda Octopus Group, Inc.
The Growth Play

CODA carries the broadest edge in this set and is the clearest fit for growth exposure and long-term compounding.

  • Rev growth 30.7%, EPS growth 15.6%, 3Y rev CAGR 6.1%
  • 8.4% 10Y total return vs BLDR's 6.1%
  • Lower volatility, beta 1.00, Low D/E 0.7%, current ratio 8.86x
  • Beta 1.00, current ratio 8.86x
Best for: growth exposure and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthCODA logoCODA30.7% revenue growth vs SGBX's -69.9%
ValueBLDR logoBLDRLower P/E (14.1x vs 22.5x), PEG 1.78 vs 5.24
Quality / MarginsCODA logoCODA14.8% margin vs SGBX's -5.7%
Stability / SafetySGBX logoSGBXBeta 0.45 vs BLDR's 1.65
DividendsSGBX logoSGBX100.0% yield; 1-year raise streak; the other 3 pay no meaningful dividend
Momentum (1Y)CODA logoCODA+78.9% vs SGBX's -96.3%
Efficiency (ROA)CODA logoCODA6.6% ROA vs SGBX's -35.6%, ROIC 11.2% vs -625.7%

HLP vs SGBX vs BLDR vs CODA — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

HLPHongli Group Inc.

Segment breakdown not available.

SGBXSafe & Green Holdings Corp.
FY 2024
Office
96.3%$5M
Hospitality
3.7%$181,719
BLDRBuilders FirstSource, Inc.
FY 2025
Specialty Building Products And Services
26.8%$4.1B
Lumber And Lumber Sheet Goods
25.5%$3.9B
Windows Doors And Millwork
25.3%$3.8B
Manufactured Products
22.5%$3.4B
CODACoda Octopus Group, Inc.
FY 2025
Equipment Sales
71.3%$14M
Service
17.3%$4M
Equipment Rentals
7.3%$1M
Software Sales
4.0%$811,912

HLP vs SGBX vs BLDR vs CODA — Financial Metrics

Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLCODALAGGINGSGBX

Income & Cash Flow (Last 12 Months)

CODA leads this category, winning 5 of 6 comparable metrics.

BLDR is the larger business by revenue, generating $14.8B annually — 4381.0x SGBX's $3M. CODA is the more profitable business, keeping 14.8% of every revenue dollar as net income compared to SGBX's -5.7%. On growth, CODA holds the edge at +28.8% YoY revenue growth, suggesting stronger near-term business momentum.

MetricHLP logoHLPHongli Group Inc.SGBX logoSGBXSafe & Green Hold…BLDR logoBLDRBuilders FirstSou…CODA logoCODACoda Octopus Grou…
RevenueTrailing 12 months$30M$3M$14.8B$28M
EBITDAEarnings before interest/tax$1M-$12M$1.2B$6M
Net IncomeAfter-tax profit-$1M-$19M$292M$4M
Free Cash FlowCash after capex-$2M-$5M$862M$7M
Gross MarginGross profit ÷ Revenue+32.4%-87.3%+29.9%+66.3%
Operating MarginEBIT ÷ Revenue-1.9%-3.8%+4.2%+17.4%
Net MarginNet income ÷ Revenue-3.4%-5.7%+2.0%+14.8%
FCF MarginFCF ÷ Revenue-6.4%-155.0%+5.8%+24.6%
Rev. Growth (YoY)Latest quarter vs prior year+0.9%-40.0%-10.1%+28.8%
EPS Growth (YoY)Latest quarter vs prior year+88.9%-151.2%+3.0%
CODA leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

BLDR leads this category, winning 4 of 7 comparable metrics.

At 20.4x trailing earnings, BLDR trades at a 36% valuation discount to CODA's 32.2x P/E. Adjusting for growth (PEG ratio), BLDR offers better value at 2.59x vs CODA's 7.51x — a lower PEG means you pay less per unit of expected earnings growth.

MetricHLP logoHLPHongli Group Inc.SGBX logoSGBXSafe & Green Hold…BLDR logoBLDRBuilders FirstSou…CODA logoCODACoda Octopus Grou…
Market CapShares × price$62M$32,963$8.8B$134M
Enterprise ValueMkt cap + debt − cash$70M$7M$14.3B$106M
Trailing P/EPrice ÷ TTM EPS-32.85x-0.00x20.43x32.16x
Forward P/EPrice ÷ next-FY EPS est.14.07x22.45x
PEG RatioP/E ÷ EPS growth rate2.59x7.51x
EV / EBITDAEnterprise value multiple10.35x17.85x
Price / SalesMarket cap ÷ Revenue4.38x0.01x0.58x5.05x
Price / BookPrice ÷ Book value/share1.15x2.04x2.30x
Price / FCFMarket cap ÷ FCF10.30x22.20x
BLDR leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

CODA leads this category, winning 7 of 9 comparable metrics.

CODA delivers a 7.2% return on equity — every $100 of shareholder capital generates $7 in annual profit, vs $-77 for SGBX. CODA carries lower financial leverage with a 0.01x debt-to-equity ratio, signaling a more conservative balance sheet compared to BLDR's 1.30x. On the Piotroski fundamental quality scale (0–9), CODA scores 7/9 vs SGBX's 2/9, reflecting strong financial health.

MetricHLP logoHLPHongli Group Inc.SGBX logoSGBXSafe & Green Hold…BLDR logoBLDRBuilders FirstSou…CODA logoCODACoda Octopus Grou…
ROE (TTM)Return on equity-1.9%-77.2%+6.9%+7.2%
ROA (TTM)Return on assets-1.6%-35.6%+2.6%+6.6%
ROICReturn on invested capital-2.6%-625.7%+6.4%+11.2%
ROCEReturn on capital employed-3.9%+8.5%+8.1%
Piotroski ScoreFundamental quality 0–93257
Debt / EquityFinancial leverage0.18x1.30x0.01x
Net DebtTotal debt minus cash$8M$7M$5.5B-$28M
Cash & Equiv.Liquid assets$909,716$375,873$182M$29M
Total DebtShort + long-term debt$9M$7M$5.6B$394,932
Interest CoverageEBIT ÷ Interest expense-0.00x-13.81x2.19x
CODA leads this category, winning 7 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

CODA leads this category, winning 5 of 6 comparable metrics.

A $10,000 investment in BLDR five years ago would be worth $15,180 today (with dividends reinvested), compared to $5 for SGBX. Over the past 12 months, CODA leads with a +78.9% total return vs SGBX's -96.3%. The 3-year compound annual growth rate (CAGR) favors CODA at 10.4% vs SGBX's -87.5% — a key indicator of consistent wealth creation.

MetricHLP logoHLPHongli Group Inc.SGBX logoSGBXSafe & Green Hold…BLDR logoBLDRBuilders FirstSou…CODA logoCODACoda Octopus Grou…
YTD ReturnYear-to-date-17.2%-52.9%-24.0%+25.1%
1-Year ReturnPast 12 months-31.6%-96.3%-25.0%+78.9%
3-Year ReturnCumulative with dividends-65.0%-99.8%-30.1%+34.5%
5-Year ReturnCumulative with dividends-76.0%-100.0%+51.8%+49.7%
10-Year ReturnCumulative with dividends-76.0%-100.0%+614.8%+844.4%
CAGR (3Y)Annualised 3-year return-29.5%-87.5%-11.2%+10.4%
CODA leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

Evenly matched — SGBX and CODA each lead in 1 of 2 comparable metrics.

SGBX is the less volatile stock with a 0.45 beta — it tends to amplify market swings less than BLDR's 1.65 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. CODA currently trades 68.9% from its 52-week high vs SGBX's 1.0% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricHLP logoHLPHongli Group Inc.SGBX logoSGBXSafe & Green Hold…BLDR logoBLDRBuilders FirstSou…CODA logoCODACoda Octopus Grou…
Beta (5Y)Sensitivity to S&P 5000.81x0.45x1.65x1.00x
52-Week HighHighest price in past year$1.82$96.00$151.03$17.28
52-Week LowLowest price in past year$0.61$0.79$73.40$5.98
% of 52W HighCurrent price vs 52-week peak+46.2%+1.0%+52.6%+68.9%
RSI (14)Momentum oscillator 0–10045.535.242.848.6
Avg Volume (50D)Average daily shares traded164K503K2.4M256K
Evenly matched — SGBX and CODA each lead in 1 of 2 comparable metrics.

Analyst Outlook

BLDR leads this category, winning 1 of 1 comparable metric.

Analyst consensus: BLDR as "Buy", CODA as "Buy". Consensus price targets imply 38.3% upside for BLDR (target: $110) vs 17.6% for CODA (target: $14). SGBX is the only dividend payer here at 100.00% yield — a key consideration for income-focused portfolios.

MetricHLP logoHLPHongli Group Inc.SGBX logoSGBXSafe & Green Hold…BLDR logoBLDRBuilders FirstSou…CODA logoCODACoda Octopus Grou…
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$109.92$14.00
# AnalystsCovering analysts431
Dividend YieldAnnual dividend ÷ price+100.0%
Dividend StreakConsecutive years of raises120
Dividend / ShareAnnual DPS$13.85
Buyback YieldShare repurchases ÷ mkt cap0.0%0.0%+4.7%0.0%
BLDR leads this category, winning 1 of 1 comparable metric.
Key Takeaway

CODA leads in 3 of 6 categories (Income & Cash Flow, Profitability & Efficiency). BLDR leads in 2 (Valuation Metrics, Analyst Outlook). 1 tied.

Best OverallCoda Octopus Group, Inc. (CODA)Leads 3 of 6 categories
Loading custom metrics...

HLP vs SGBX vs BLDR vs CODA: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is HLP or SGBX or BLDR or CODA a better buy right now?

For growth investors, Coda Octopus Group, Inc.

(CODA) is the stronger pick with 30. 7% revenue growth year-over-year, versus -69. 9% for Safe & Green Holdings Corp. (SGBX). Builders FirstSource, Inc. (BLDR) offers the better valuation at 20. 4x trailing P/E (14. 1x forward), making it the more compelling value choice. Analysts rate Builders FirstSource, Inc. (BLDR) a "Buy" — based on 43 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — HLP or SGBX or BLDR or CODA?

On trailing P/E, Builders FirstSource, Inc.

(BLDR) is the cheapest at 20. 4x versus Coda Octopus Group, Inc. at 32. 2x. On forward P/E, Builders FirstSource, Inc. is actually cheaper at 14. 1x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Builders FirstSource, Inc. wins at 1. 78x versus Coda Octopus Group, Inc. 's 5. 24x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — HLP or SGBX or BLDR or CODA?

Over the past 5 years, Builders FirstSource, Inc.

(BLDR) delivered a total return of +51. 8%, compared to -100. 0% for Safe & Green Holdings Corp. (SGBX). Over 10 years, the gap is even starker: CODA returned +844. 4% versus SGBX's -100. 0%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — HLP or SGBX or BLDR or CODA?

By beta (market sensitivity over 5 years), Safe & Green Holdings Corp.

(SGBX) is the lower-risk stock at 0. 45β versus Builders FirstSource, Inc. 's 1. 65β — meaning BLDR is approximately 271% more volatile than SGBX relative to the S&P 500. On balance sheet safety, Coda Octopus Group, Inc. (CODA) carries a lower debt/equity ratio of 1% versus 130% for Builders FirstSource, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — HLP or SGBX or BLDR or CODA?

By revenue growth (latest reported year), Coda Octopus Group, Inc.

(CODA) is pulling ahead at 30. 7% versus -69. 9% for Safe & Green Holdings Corp. (SGBX). On earnings-per-share growth, the picture is similar: Safe & Green Holdings Corp. grew EPS 69. 1% year-over-year, compared to -134. 8% for Hongli Group Inc.. Over a 3-year CAGR, CODA leads at 6. 1% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — HLP or SGBX or BLDR or CODA?

Coda Octopus Group, Inc.

(CODA) is the more profitable company, earning 15. 5% net margin versus -341. 2% for Safe & Green Holdings Corp. — meaning it keeps 15. 5% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: CODA leads at 17. 1% versus -195. 0% for SGBX. At the gross margin level — before operating expenses — CODA leads at 66. 5%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is HLP or SGBX or BLDR or CODA more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, Builders FirstSource, Inc. (BLDR) is the more undervalued stock at a PEG of 1. 78x versus Coda Octopus Group, Inc. 's 5. 24x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Builders FirstSource, Inc. (BLDR) trades at 14. 1x forward P/E versus 22. 5x for Coda Octopus Group, Inc. — 8. 4x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for BLDR: 38. 3% to $109. 92.

08

Which pays a better dividend — HLP or SGBX or BLDR or CODA?

In this comparison, SGBX (100.

0% yield) pays a dividend. HLP, BLDR, CODA do not pay a meaningful dividend and should not be held primarily for income.

09

Is HLP or SGBX or BLDR or CODA better for a retirement portfolio?

For long-horizon retirement investors, Safe & Green Holdings Corp.

(SGBX) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 45), 100. 0% yield). Builders FirstSource, Inc. (BLDR) carries a higher beta of 1. 65 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (SGBX: -100. 0%, BLDR: +614. 8%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between HLP and SGBX and BLDR and CODA?

These companies operate in different sectors (HLP (Basic Materials) and SGBX (Industrials) and BLDR (Industrials) and CODA (Industrials)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: HLP is a small-cap quality compounder stock; SGBX is a small-cap income-oriented stock; BLDR is a small-cap quality compounder stock; CODA is a small-cap high-growth stock. SGBX pays a dividend while HLP, BLDR, CODA do not, making them suitable for different income and tax situations. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform all of them.

Stocks Like

HLP

Quality Business

  • Sector: Basic Materials
  • Market Cap > $100B
  • Gross Margin > 19%
Run This Screen
Stocks Like

SGBX

Quality Business

  • Sector: Industrials
  • Market Cap > $2B
  • Dividend Yield > 40.0%
Run This Screen
Stocks Like

BLDR

Quality Business

  • Sector: Industrials
  • Market Cap > $100B
  • Gross Margin > 17%
Run This Screen
Stocks Like

CODA

High-Growth Compounder

  • Sector: Industrials
  • Market Cap > $100B
  • Revenue Growth > 14%
  • Net Margin > 8%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform HLP and SGBX and BLDR and CODA on the metrics below

Revenue Growth>
%
(HLP: 0.9% · SGBX: -40.0%)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.