Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

XGN vs CSTL

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

Live fundamentals10-year financials5-year price chart
XGN
Exagen Inc.

Medical - Diagnostics & Research

HealthcareNASDAQ • US
Market Cap$67M
5Y Perf.-74.6%
CSTL
Castle Biosciences, Inc.

Medical - Diagnostics & Research

HealthcareNASDAQ • US
Market Cap$583M
5Y Perf.-49.9%

XGN vs CSTL — Key Financials

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

Company Snapshot
XGN logoXGN
CSTL logoCSTL
IndustryMedical - Diagnostics & ResearchMedical - Diagnostics & Research
Market Cap$67M$583M
Revenue (TTM)$67M$340M
Net Income (TTM)$-20M$-13M
Gross Margin58.3%48.5%
Operating Margin-21.1%-8.6%
Total Debt$5M$37M
Cash & Equiv.$32M$117M

XGN vs CSTLLong-Term Stock Performance

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

XGN
CSTL
StockMay 20May 26Return
Exagen Inc. (XGN)10025.4-74.6%
Castle Biosciences,… (CSTL)10050.1-49.9%

Price return only. Dividends and distributions are not included.

Quick Verdict: XGN vs CSTL

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

Bottom line: CSTL leads in 4 of 6 categories, making it the strongest pick for profitability and margin quality and capital preservation and lower volatility. Exagen Inc. is the stronger pick specifically for growth and revenue expansion. As sector peers, any of these can serve as alternatives in the same allocation.
XGN
Exagen Inc.
The Growth Play

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

  • Rev growth 19.7%, EPS growth -12.0%, 3Y rev CAGR 13.5%
  • 19.7% revenue growth vs CSTL's 3.7%
Best for: growth exposure
CSTL
Castle Biosciences, Inc.
The Income Pick

CSTL carries the broadest edge in this set and is the clearest fit for income & stability and long-term compounding.

  • beta 0.88
  • -10.1% 10Y total return vs XGN's -84.2%
  • Lower volatility, beta 0.88, Low D/E 7.8%, current ratio 5.26x
Best for: income & stability and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthXGN logoXGN19.7% revenue growth vs CSTL's 3.7%
Quality / MarginsCSTL logoCSTL-3.8% margin vs XGN's -30.0%
Stability / SafetyCSTL logoCSTLBeta 0.88 vs XGN's 1.37, lower leverage
DividendsTieNeither stock pays a meaningful dividend
Momentum (1Y)CSTL logoCSTL+12.8% vs XGN's -57.0%
Efficiency (ROA)CSTL logoCSTL-2.3% ROA vs XGN's -36.3%, ROIC -8.5% vs -18.5%

XGN vs CSTL — Revenue Breakdown by Segment

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

XGNExagen Inc.
FY 2025
Reportable Segment
100.0%$67M
CSTLCastle Biosciences, Inc.
FY 2025
Dermatologic
100.0%$216M

XGN vs CSTL — Financial Metrics

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

BEST OVERALLCSTLLAGGINGXGN

Income & Cash Flow (Last 12 Months)

CSTL leads this category, winning 4 of 6 comparable metrics.

CSTL is the larger business by revenue, generating $340M annually — 5.1x XGN's $67M. CSTL is the more profitable business, keeping -3.8% of every revenue dollar as net income compared to XGN's -30.0%. On growth, XGN holds the edge at +21.8% YoY revenue growth, suggesting stronger near-term business momentum.

MetricXGN logoXGNExagen Inc.CSTL logoCSTLCastle Bioscience…
RevenueTrailing 12 months$67M$340M
EBITDAEarnings before interest/tax-$12M-$16M
Net IncomeAfter-tax profit-$20M-$13M
Free Cash FlowCash after capex-$14M$5M
Gross MarginGross profit ÷ Revenue+58.3%+48.5%
Operating MarginEBIT ÷ Revenue-21.1%-8.6%
Net MarginNet income ÷ Revenue-30.0%-3.8%
FCF MarginFCF ÷ Revenue-21.4%+1.3%
Rev. Growth (YoY)Latest quarter vs prior year+21.8%-4.9%
EPS Growth (YoY)Latest quarter vs prior year-5.0%+45.6%
CSTL leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

CSTL leads this category, winning 2 of 3 comparable metrics.
MetricXGN logoXGNExagen Inc.CSTL logoCSTLCastle Bioscience…
Market CapShares × price$67M$583M
Enterprise ValueMkt cap + debt − cash$41M$503M
Trailing P/EPrice ÷ TTM EPS-3.16x-23.18x
Forward P/EPrice ÷ next-FY EPS est.
PEG RatioP/E ÷ EPS growth rate
EV / EBITDAEnterprise value multiple
Price / SalesMarket cap ÷ Revenue1.01x1.69x
Price / BookPrice ÷ Book value/share3.63x1.18x
Price / FCFMarket cap ÷ FCF20.58x
CSTL leads this category, winning 2 of 3 comparable metrics.

Profitability & Efficiency

CSTL leads this category, winning 6 of 8 comparable metrics.

CSTL delivers a -2.8% return on equity — every $100 of shareholder capital generates $-3 in annual profit, vs $-127 for XGN. CSTL carries lower financial leverage with a 0.08x debt-to-equity ratio, signaling a more conservative balance sheet compared to XGN's 0.31x.

MetricXGN logoXGNExagen Inc.CSTL logoCSTLCastle Bioscience…
ROE (TTM)Return on equity-126.6%-2.8%
ROA (TTM)Return on assets-36.3%-2.3%
ROICReturn on invested capital-18.5%-8.5%
ROCEReturn on capital employed-37.5%-8.6%
Piotroski ScoreFundamental quality 0–933
Debt / EquityFinancial leverage0.31x0.08x
Net DebtTotal debt minus cash-$27M-$80M
Cash & Equiv.Liquid assets$32M$117M
Total DebtShort + long-term debt$5M$37M
Interest CoverageEBIT ÷ Interest expense-3.26x-270.94x
CSTL leads this category, winning 6 of 8 comparable metrics.

Total Returns (Dividends Reinvested)

CSTL leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in CSTL five years ago would be worth $3,190 today (with dividends reinvested), compared to $1,918 for XGN. Over the past 12 months, CSTL leads with a +12.8% total return vs XGN's -57.0%. The 3-year compound annual growth rate (CAGR) favors XGN at 1.6% vs CSTL's -5.3% — a key indicator of consistent wealth creation.

MetricXGN logoXGNExagen Inc.CSTL logoCSTLCastle Bioscience…
YTD ReturnYear-to-date-51.3%-50.1%
1-Year ReturnPast 12 months-57.0%+12.8%
3-Year ReturnCumulative with dividends+5.0%-15.0%
5-Year ReturnCumulative with dividends-80.8%-68.1%
10-Year ReturnCumulative with dividends-84.2%-10.1%
CAGR (3Y)Annualised 3-year return+1.6%-5.3%
CSTL leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

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

MetricXGN logoXGNExagen Inc.CSTL logoCSTLCastle Bioscience…
Beta (5Y)Sensitivity to S&P 5001.37x0.88x
52-Week HighHighest price in past year$12.23$44.28
52-Week LowLowest price in past year$2.61$14.59
% of 52W HighCurrent price vs 52-week peak+24.0%+43.5%
RSI (14)Momentum oscillator 0–10055.948.1
Avg Volume (50D)Average daily shares traded251K363K
CSTL leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.
MetricXGN logoXGNExagen Inc.CSTL logoCSTLCastle Bioscience…
Analyst RatingConsensus buy/hold/sellBuy
Price TargetConsensus 12-month target$47.80
# AnalystsCovering analysts11
Dividend YieldAnnual dividend ÷ price
Dividend StreakConsecutive years of raises1
Dividend / ShareAnnual DPS
Buyback YieldShare repurchases ÷ mkt cap0.0%0.0%
Insufficient data to determine a leader in this category.
Key Takeaway

CSTL leads in 5 of 6 categories — strongest in Income & Cash Flow and Valuation Metrics.

Best OverallCastle Biosciences, Inc. (CSTL)Leads 5 of 6 categories
Loading custom metrics...

XGN vs CSTL: Frequently Asked Questions

8 questions · data-driven answers · updated daily

01

Is XGN or CSTL a better buy right now?

For growth investors, Exagen Inc.

(XGN) is the stronger pick with 19. 7% revenue growth year-over-year, versus 3. 7% for Castle Biosciences, Inc. (CSTL). Analysts rate Castle Biosciences, Inc. (CSTL) a "Buy" — based on 11 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 is the better long-term investment — XGN or CSTL?

Over the past 5 years, Castle Biosciences, Inc.

(CSTL) delivered a total return of -68. 1%, compared to -80. 8% for Exagen Inc. (XGN). Over 10 years, the gap is even starker: CSTL returned -10. 1% versus XGN's -84. 2%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

03

Which is safer — XGN or CSTL?

By beta (market sensitivity over 5 years), Castle Biosciences, Inc.

(CSTL) is the lower-risk stock at 0. 88β versus Exagen Inc. 's 1. 37β — meaning XGN is approximately 55% more volatile than CSTL relative to the S&P 500. On balance sheet safety, Castle Biosciences, Inc. (CSTL) carries a lower debt/equity ratio of 8% versus 31% for Exagen Inc. — giving it more financial flexibility in a downturn.

04

Which is growing faster — XGN or CSTL?

By revenue growth (latest reported year), Exagen Inc.

(XGN) is pulling ahead at 19. 7% versus 3. 7% for Castle Biosciences, Inc. (CSTL). On earnings-per-share growth, the picture is similar: Exagen Inc. grew EPS -12. 0% year-over-year, compared to -233. 9% for Castle Biosciences, Inc.. Over a 3-year CAGR, CSTL leads at 35. 9% 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.

05

Which has better profit margins — XGN or CSTL?

Castle Biosciences, Inc.

(CSTL) is the more profitable company, earning -7. 0% net margin versus -30. 0% for Exagen Inc. — meaning it keeps -7. 0% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: CSTL leads at -12. 4% versus -21. 1% for XGN. At the gross margin level — before operating expenses — CSTL leads at 68. 7%, 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.

06

Which pays a better dividend — XGN or CSTL?

None of the stocks in this comparison currently pay a material dividend.

All are effectively zero-yield and should be held for capital appreciation rather than income.

07

Is XGN or CSTL better for a retirement portfolio?

For long-horizon retirement investors, Castle Biosciences, Inc.

(CSTL) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0. 88)). Both have compounded well over 10 years (CSTL: -10. 1%, XGN: -84. 2%), 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.

08

What are the main differences between XGN and CSTL?

Both stocks operate in the Healthcare sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

In terms of investment character: XGN is a small-cap high-growth stock; CSTL is a small-cap quality compounder stock. 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 both.

Stocks Like

XGN

High-Growth Disruptor

  • Sector: Healthcare
  • Market Cap > $100B
  • Revenue Growth > 10%
  • Gross Margin > 34%
Run This Screen
Stocks Like

CSTL

Quality Business

  • Sector: Healthcare
  • Market Cap > $100B
  • Gross Margin > 29%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform XGN and CSTL on the metrics below

Revenue Growth>
%
(XGN: 21.8% · CSTL: -4.9%)

You Might Also Compare

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