Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

SWIM vs PATK vs UFPI vs TREX

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

Live fundamentals10-year financials5-year price chart
SWIM
Latham Group, Inc.

Construction

IndustrialsNASDAQ • US
Market Cap$673M
5Y Perf.-78.8%
PATK
Patrick Industries, Inc.

Furnishings, Fixtures & Appliances

Consumer CyclicalNASDAQ • US
Market Cap$3.17B
5Y Perf.+59.3%
UFPI
UFP Industries, Inc.

Paper, Lumber & Forest Products

Basic MaterialsNASDAQ • US
Market Cap$4.76B
5Y Perf.+0.4%
TREX
Trex Company, Inc.

Construction

IndustrialsNYSE • US
Market Cap$4.12B
5Y Perf.-62.8%

SWIM vs PATK vs UFPI vs TREX — Key Financials

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

Company Snapshot
SWIM logoSWIM
PATK logoPATK
UFPI logoUFPI
TREX logoTREX
IndustryConstructionFurnishings, Fixtures & AppliancesPaper, Lumber & Forest ProductsConstruction
Market Cap$673M$3.17B$4.76B$4.12B
Revenue (TTM)$552M$3.94B$6.19B$1.18B
Net Income (TTM)$9M$136M$264M$191M
Gross Margin28.5%22.5%16.6%39.2%
Operating Margin5.5%7.0%5.4%22.1%
Forward P/E28.8x19.5x18.0x24.2x
Total Debt$35M$1.64B$230M$229M
Cash & Equiv.$71M$26M$925M$4M

SWIM vs PATK vs UFPI vs TREXLong-Term Stock Performance

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

SWIM
PATK
UFPI
TREX
StockApr 21May 26Return
Latham Group, Inc. (SWIM)10021.2-78.8%
Patrick Industries,… (PATK)100159.3+59.3%
UFP Industries, Inc. (UFPI)100100.4+0.4%
Trex Company, Inc. (TREX)10037.2-62.8%

Price return only. Dividends and distributions are not included.

Quick Verdict: SWIM vs PATK vs UFPI vs TREX

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

Bottom line: PATK and UFPI are tied at the top with 2 categories each — the right choice depends on your priorities. UFP Industries, Inc. is the stronger pick specifically for valuation and capital efficiency and capital preservation and lower volatility. TREX and SWIM also each lead in at least one category. This set spans 3 sectors — these stocks serve different portfolio roles, not just different price points.
SWIM
Latham Group, Inc.
The Growth Play

SWIM is the clearest fit if your priority is growth exposure.

  • Rev growth 7.4%, EPS growth 161.9%, 3Y rev CAGR -7.8%
  • 7.4% revenue growth vs UFPI's -5.0%
Best for: growth exposure
PATK
Patrick Industries, Inc.
The Long-Run Compounder

PATK has the current edge in this matchup, primarily because of its strength in long-term compounding.

  • 395.2% 10Y total return vs TREX's 239.9%
  • 1.7% yield, 1-year raise streak, vs UFPI's 1.7%, (2 stocks pay no dividend)
  • +19.6% vs TREX's -30.8%
Best for: long-term compounding
UFPI
UFP Industries, Inc.
The Income Pick

UFPI is the #2 pick in this set and the best alternative if income & stability and sleep-well-at-night is your priority.

  • Dividend streak 13 yrs, beta 0.92, yield 1.7%
  • Lower volatility, beta 0.92, Low D/E 7.4%, current ratio 4.59x
  • PEG 3.95 vs TREX's 7.25
  • Beta 0.92, yield 1.7%, current ratio 4.59x
Best for: income & stability and sleep-well-at-night
TREX
Trex Company, Inc.
The Quality Compounder

TREX is the clearest fit if your priority is quality and efficiency.

  • 16.3% margin vs SWIM's 1.5%
  • 12.3% ROA vs SWIM's 1.0%, ROIC 16.4% vs 4.7%
Best for: quality and efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthSWIM logoSWIM7.4% revenue growth vs UFPI's -5.0%
ValueUFPI logoUFPILower P/E (18.0x vs 24.2x), PEG 3.95 vs 7.25
Quality / MarginsTREX logoTREX16.3% margin vs SWIM's 1.5%
Stability / SafetyUFPI logoUFPIBeta 0.92 vs SWIM's 2.11, lower leverage
DividendsPATK logoPATK1.7% yield, 1-year raise streak, vs UFPI's 1.7%, (2 stocks pay no dividend)
Momentum (1Y)PATK logoPATK+19.6% vs TREX's -30.8%
Efficiency (ROA)TREX logoTREX12.3% ROA vs SWIM's 1.0%, ROIC 16.4% vs 4.7%

SWIM vs PATK vs UFPI vs TREX — Revenue Breakdown by Segment

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

SWIMLatham Group, Inc.
FY 2025
In-Ground Swimming Pools
48.0%$262M
Covers
29.4%$161M
Liners
22.6%$123M
PATKPatrick Industries, Inc.
FY 2025
Manufactured Housing
31.3%$681M
Marine
27.9%$606M
Industrial
23.1%$503M
Powersports
17.7%$384M
UFPIUFP Industries, Inc.
FY 2025
Retail
40.3%$2.4B
Site Built
33.2%$2.0B
Industrial
26.5%$1.6B
TREXTrex Company, Inc.

Segment breakdown not available.

SWIM vs PATK vs UFPI vs TREX — Financial Metrics

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

BEST OVERALLUFPILAGGINGSWIM

Income & Cash Flow (Last 12 Months)

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

UFPI is the larger business by revenue, generating $6.2B annually — 11.2x SWIM's $552M. TREX is the more profitable business, keeping 16.3% of every revenue dollar as net income compared to SWIM's 1.5%. On growth, SWIM holds the edge at +5.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricSWIM logoSWIMLatham Group, Inc.PATK logoPATKPatrick Industrie…UFPI logoUFPIUFP Industries, I…TREX logoTREXTrex Company, Inc.
RevenueTrailing 12 months$552M$3.9B$6.2B$1.2B
EBITDAEarnings before interest/tax$69M$445M$498M$309M
Net IncomeAfter-tax profit$9M$136M$264M$191M
Free Cash FlowCash after capex$18M$194M$298M$263M
Gross MarginGross profit ÷ Revenue+28.5%+22.5%+16.6%+39.2%
Operating MarginEBIT ÷ Revenue+5.5%+7.0%+5.4%+22.1%
Net MarginNet income ÷ Revenue+1.5%+3.5%+4.3%+16.3%
FCF MarginFCF ÷ Revenue+3.3%+4.9%+4.8%+22.3%
Rev. Growth (YoY)Latest quarter vs prior year+5.3%-0.6%-8.4%+1.0%
EPS Growth (YoY)Latest quarter vs prior year-40.0%-0.9%-31.5%+3.6%
TREX leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

UFPI leads this category, winning 5 of 7 comparable metrics.

At 16.8x trailing earnings, UFPI trades at a 73% valuation discount to SWIM's 62.0x P/E. Adjusting for growth (PEG ratio), UFPI offers better value at 3.67x vs TREX's 6.58x — a lower PEG means you pay less per unit of expected earnings growth.

MetricSWIM logoSWIMLatham Group, Inc.PATK logoPATKPatrick Industrie…UFPI logoUFPIUFP Industries, I…TREX logoTREXTrex Company, Inc.
Market CapShares × price$673M$3.2B$4.8B$4.1B
Enterprise ValueMkt cap + debt − cash$636M$4.8B$4.1B$4.3B
Trailing P/EPrice ÷ TTM EPS61.96x24.45x16.77x22.00x
Forward P/EPrice ÷ next-FY EPS est.28.84x19.47x18.05x24.24x
PEG RatioP/E ÷ EPS growth rate3.67x6.58x
EV / EBITDAEnterprise value multiple7.64x10.72x7.70x13.53x
Price / SalesMarket cap ÷ Revenue1.23x0.80x0.75x3.51x
Price / BookPrice ÷ Book value/share1.70x2.79x1.60x4.05x
Price / FCFMarket cap ÷ FCF25.82x12.86x17.24x30.60x
UFPI leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

TREX leads this category, winning 4 of 9 comparable metrics.

TREX delivers a 18.8% return on equity — every $100 of shareholder capital generates $19 in annual profit, vs $2 for SWIM. UFPI carries lower financial leverage with a 0.07x debt-to-equity ratio, signaling a more conservative balance sheet compared to PATK's 1.39x. On the Piotroski fundamental quality scale (0–9), SWIM scores 7/9 vs UFPI's 4/9, reflecting strong financial health.

MetricSWIM logoSWIMLatham Group, Inc.PATK logoPATKPatrick Industrie…UFPI logoUFPIUFP Industries, I…TREX logoTREXTrex Company, Inc.
ROE (TTM)Return on equity+2.1%+11.6%+8.4%+18.8%
ROA (TTM)Return on assets+1.0%+4.4%+6.5%+12.3%
ROICReturn on invested capital+4.7%+7.6%+11.4%+16.4%
ROCEReturn on capital employed+4.3%+10.2%+10.2%+23.2%
Piotroski ScoreFundamental quality 0–97646
Debt / EquityFinancial leverage0.09x1.39x0.07x0.22x
Net DebtTotal debt minus cash-$36M$1.6B-$695M$225M
Cash & Equiv.Liquid assets$71M$26M$925M$4M
Total DebtShort + long-term debt$35M$1.6B$230M$229M
Interest CoverageEBIT ÷ Interest expense1.66x3.40x43.92x
TREX leads this category, winning 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in PATK five years ago would be worth $15,662 today (with dividends reinvested), compared to $1,989 for SWIM. Over the past 12 months, PATK leads with a +19.6% total return vs TREX's -30.8%. The 3-year compound annual growth rate (CAGR) favors PATK at 31.7% vs TREX's -11.4% — a key indicator of consistent wealth creation.

MetricSWIM logoSWIMLatham Group, Inc.PATK logoPATKPatrick Industrie…UFPI logoUFPIUFP Industries, I…TREX logoTREXTrex Company, Inc.
YTD ReturnYear-to-date-9.2%-13.2%-8.6%+9.3%
1-Year ReturnPast 12 months-3.7%+19.6%-12.0%-30.8%
3-Year ReturnCumulative with dividends+124.6%+128.2%+6.3%-30.4%
5-Year ReturnCumulative with dividends-80.1%+56.6%+1.5%-64.0%
10-Year ReturnCumulative with dividends-78.9%+395.2%+230.6%+239.9%
CAGR (3Y)Annualised 3-year return+31.0%+31.7%+2.1%-11.4%
PATK leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

UFPI leads this category, winning 2 of 2 comparable metrics.

UFPI is the less volatile stock with a 0.92 beta — it tends to amplify market swings less than SWIM's 2.11 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. UFPI currently trades 71.1% from its 52-week high vs TREX's 56.9% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricSWIM logoSWIMLatham Group, Inc.PATK logoPATKPatrick Industrie…UFPI logoUFPIUFP Industries, I…TREX logoTREXTrex Company, Inc.
Beta (5Y)Sensitivity to S&P 5002.06x1.00x0.94x1.52x
52-Week HighHighest price in past year$8.97$148.50$118.00$68.78
52-Week LowLowest price in past year$5.04$80.35$80.06$29.77
% of 52W HighCurrent price vs 52-week peak+64.1%+64.2%+71.1%+56.9%
RSI (14)Momentum oscillator 0–10047.042.835.651.3
Avg Volume (50D)Average daily shares traded791K469K379K1.7M
UFPI leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Evenly matched — PATK and UFPI each lead in 1 of 2 comparable metrics.

Analyst consensus: SWIM as "Buy", PATK as "Buy", UFPI as "Buy", TREX as "Hold". Consensus price targets imply 43.5% upside for SWIM (target: $8) vs 21.1% for TREX (target: $47). For income investors, PATK offers the higher dividend yield at 1.67% vs UFPI's 1.67%.

MetricSWIM logoSWIMLatham Group, Inc.PATK logoPATKPatrick Industrie…UFPI logoUFPIUFP Industries, I…TREX logoTREXTrex Company, Inc.
Analyst RatingConsensus buy/hold/sellBuyBuyBuyHold
Price TargetConsensus 12-month target$8.25$124.50$103.00$47.44
# AnalystsCovering analysts817831
Dividend YieldAnnual dividend ÷ price+1.7%+1.7%
Dividend StreakConsecutive years of raises21132
Dividend / ShareAnnual DPS$1.60$1.40
Buyback YieldShare repurchases ÷ mkt cap0.0%+1.0%+9.1%+1.3%
Evenly matched — PATK and UFPI each lead in 1 of 2 comparable metrics.
Key Takeaway

TREX leads in 2 of 6 categories (Income & Cash Flow, Profitability & Efficiency). UFPI leads in 2 (Valuation Metrics, Risk & Volatility). 1 tied.

Best OverallUFP Industries, Inc. (UFPI)Leads 2 of 6 categories
Loading custom metrics...

SWIM vs PATK vs UFPI vs TREX: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is SWIM or PATK or UFPI or TREX a better buy right now?

For growth investors, Latham Group, Inc.

(SWIM) is the stronger pick with 7. 4% revenue growth year-over-year, versus -5. 0% for UFP Industries, Inc. (UFPI). UFP Industries, Inc. (UFPI) offers the better valuation at 16. 8x trailing P/E (18. 0x forward), making it the more compelling value choice. Analysts rate Latham Group, Inc. (SWIM) a "Buy" — based on 8 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 — SWIM or PATK or UFPI or TREX?

On trailing P/E, UFP Industries, Inc.

(UFPI) is the cheapest at 16. 8x versus Latham Group, Inc. at 62. 0x. On forward P/E, UFP Industries, Inc. is actually cheaper at 18. 0x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: UFP Industries, Inc. wins at 3. 95x versus Trex Company, Inc. 's 7. 25x.

03

Which is the better long-term investment — SWIM or PATK or UFPI or TREX?

Over the past 5 years, Patrick Industries, Inc.

(PATK) delivered a total return of +56. 6%, compared to -80. 1% for Latham Group, Inc. (SWIM). Over 10 years, the gap is even starker: PATK returned +394. 3% versus SWIM's -79. 8%. 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 — SWIM or PATK or UFPI or TREX?

By beta (market sensitivity over 5 years), UFP Industries, Inc.

(UFPI) is the lower-risk stock at 0. 94β versus Latham Group, Inc. 's 2. 06β — meaning SWIM is approximately 119% more volatile than UFPI relative to the S&P 500. On balance sheet safety, UFP Industries, Inc. (UFPI) carries a lower debt/equity ratio of 7% versus 139% for Patrick Industries, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — SWIM or PATK or UFPI or TREX?

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

(SWIM) is pulling ahead at 7. 4% versus -5. 0% for UFP Industries, Inc. (UFPI). On earnings-per-share growth, the picture is similar: Latham Group, Inc. grew EPS 161. 9% year-over-year, compared to -26. 1% for UFP Industries, Inc.. Over a 3-year CAGR, TREX leads at 2. 0% 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 — SWIM or PATK or UFPI or TREX?

Trex Company, Inc.

(TREX) is the more profitable company, earning 16. 2% net margin versus 2. 0% for Latham Group, Inc. — meaning it keeps 16. 2% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: TREX leads at 22. 0% versus 5. 8% for UFPI. At the gross margin level — before operating expenses — TREX leads at 39. 2%, 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 SWIM or PATK or UFPI or TREX 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, UFP Industries, Inc. (UFPI) is the more undervalued stock at a PEG of 3. 95x versus Trex Company, Inc. 's 7. 25x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, UFP Industries, Inc. (UFPI) trades at 18. 0x forward P/E versus 28. 8x for Latham Group, Inc. — 10. 8x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for SWIM: 43. 5% to $8. 25.

08

Which pays a better dividend — SWIM or PATK or UFPI or TREX?

In this comparison, PATK (1.

7% yield), UFPI (1. 7% yield) pay a dividend. SWIM, TREX do not pay a meaningful dividend and should not be held primarily for income.

09

Is SWIM or PATK or UFPI or TREX better for a retirement portfolio?

For long-horizon retirement investors, Patrick Industries, Inc.

(PATK) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 1. 00), 1. 7% yield, +394. 3% 10Y return). Latham Group, Inc. (SWIM) carries a higher beta of 2. 06 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (PATK: +394. 3%, SWIM: -79. 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 SWIM and PATK and UFPI and TREX?

These companies operate in different sectors (SWIM (Industrials) and PATK (Consumer Cyclical) and UFPI (Basic Materials) and TREX (Industrials)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: SWIM is a small-cap quality compounder stock; PATK is a small-cap quality compounder stock; UFPI is a small-cap deep-value stock; TREX is a small-cap quality compounder stock. PATK, UFPI pay a dividend while SWIM, TREX 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

SWIM

Quality Business

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

PATK

Income & Dividend Stock

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Gross Margin > 13%
  • Dividend Yield > 0.6%
Run This Screen
Stocks Like

UFPI

Income & Dividend Stock

  • Sector: Basic Materials
  • Market Cap > $100B
  • Dividend Yield > 0.6%
Run This Screen
Stocks Like

TREX

Quality Business

  • Sector: Industrials
  • Market Cap > $100B
  • Net Margin > 9%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform SWIM and PATK and UFPI and TREX on the metrics below

Revenue Growth>
%
(SWIM: 5.3% · PATK: -0.6%)
P/E Ratio<
x
(SWIM: 62.0x · PATK: 24.5x)

You Might Also Compare

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