Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

GHM vs PRIM

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

Live fundamentals10-year financials5-year price chart
GHM
Graham Corporation

Industrial - Machinery

IndustrialsNYSE • US
Market Cap$1.08B
5Y Perf.+758.3%
PRIM
Primoris Services Corporation

Engineering & Construction

IndustrialsNASDAQ • US
Market Cap$5.68B
5Y Perf.+527.9%

GHM vs PRIM — Key Financials

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

Company Snapshot
GHM logoGHM
PRIM logoPRIM
IndustryIndustrial - MachineryEngineering & Construction
Market Cap$1.08B$5.68B
Revenue (TTM)$238M$7.49B
Net Income (TTM)$15M$248M
Gross Margin24.6%10.4%
Operating Margin7.7%4.9%
Forward P/E80.6x20.2x
Total Debt$7M$1.28B
Cash & Equiv.$22M$541M

GHM vs PRIMLong-Term Stock Performance

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

GHM
PRIM
StockMay 20May 26Return
Graham Corporation (GHM)100858.3+758.3%
Primoris Services C… (PRIM)100627.9+527.9%

Price return only. Dividends and distributions are not included.

Quick Verdict: GHM vs PRIM

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

Bottom line: PRIM leads in 5 of 7 categories, making it the strongest pick for growth and revenue expansion and valuation and capital efficiency. Graham Corporation is the stronger pick specifically for profitability and margin quality and recent price momentum and sentiment. As sector peers, any of these can serve as alternatives in the same allocation.
GHM
Graham Corporation
The Long-Run Compounder

GHM is the clearest fit if your priority is long-term compounding.

  • 445.3% 10Y total return vs PRIM's 387.5%
  • 6.3% margin vs PRIM's 3.3%
  • +180.1% vs PRIM's +53.5%
Best for: long-term compounding
PRIM
Primoris Services Corporation
The Income Pick

PRIM carries the broadest edge in this set and is the clearest fit for income & stability and growth exposure.

  • Dividend streak 2 yrs, beta 1.37, yield 0.3%
  • Rev growth 19.0%, EPS growth 51.7%, 3Y rev CAGR 19.7%
  • Lower volatility, beta 1.37, Low D/E 75.9%, current ratio 1.26x
Best for: income & stability and growth exposure
See the full category breakdown
CategoryWinnerWhy
GrowthPRIM logoPRIM19.0% revenue growth vs GHM's 13.1%
ValuePRIM logoPRIMLower P/E (20.2x vs 80.6x), PEG 1.10 vs 1.90
Quality / MarginsGHM logoGHM6.3% margin vs PRIM's 3.3%
Stability / SafetyPRIM logoPRIMBeta 1.37 vs GHM's 2.21
DividendsPRIM logoPRIM0.3% yield; 2-year raise streak; the other pay no meaningful dividend
Momentum (1Y)GHM logoGHM+180.1% vs PRIM's +53.5%
Efficiency (ROA)PRIM logoPRIM5.6% ROA vs GHM's 5.1%, ROIC 13.6% vs 11.3%

GHM vs PRIM — Revenue Breakdown by Segment

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

GHMGraham Corporation
FY 2024
Defense
89.3%$122M
Space
10.7%$15M
PRIMPrimoris Services Corporation
FY 2025
Energy
65.1%$5.0B
U And D Segment
34.9%$2.7B

GHM vs PRIM — Financial Metrics

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

BEST OVERALLGHMLAGGINGPRIM

Income & Cash Flow (Last 12 Months)

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

PRIM is the larger business by revenue, generating $7.5B annually — 31.5x GHM's $238M. Profitability is closely matched — net margins range from 6.3% (GHM) to 3.3% (PRIM). On growth, GHM holds the edge at +20.5% YoY revenue growth, suggesting stronger near-term business momentum.

MetricGHM logoGHMGraham CorporationPRIM logoPRIMPrimoris Services…
RevenueTrailing 12 months$238M$7.5B
EBITDAEarnings before interest/tax$25M$437M
Net IncomeAfter-tax profit$15M$248M
Free Cash FlowCash after capex-$6M$165M
Gross MarginGross profit ÷ Revenue+24.6%+10.4%
Operating MarginEBIT ÷ Revenue+7.7%+4.9%
Net MarginNet income ÷ Revenue+6.3%+3.3%
FCF MarginFCF ÷ Revenue-2.6%+2.2%
Rev. Growth (YoY)Latest quarter vs prior year+20.5%-5.4%
EPS Growth (YoY)Latest quarter vs prior year+78.6%-60.5%
GHM leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

PRIM leads this category, winning 7 of 7 comparable metrics.

At 20.9x trailing earnings, PRIM trades at a 76% valuation discount to GHM's 88.5x P/E. Adjusting for growth (PEG ratio), PRIM offers better value at 1.14x vs GHM's 2.09x — a lower PEG means you pay less per unit of expected earnings growth.

MetricGHM logoGHMGraham CorporationPRIM logoPRIMPrimoris Services…
Market CapShares × price$1.1B$5.7B
Enterprise ValueMkt cap + debt − cash$1.1B$6.4B
Trailing P/EPrice ÷ TTM EPS88.46x20.88x
Forward P/EPrice ÷ next-FY EPS est.80.62x20.22x
PEG RatioP/E ÷ EPS growth rate2.09x1.14x
EV / EBITDAEnterprise value multiple50.38x12.69x
Price / SalesMarket cap ÷ Revenue5.14x0.75x
Price / BookPrice ÷ Book value/share9.09x3.42x
Price / FCFMarket cap ÷ FCF201.33x16.69x
PRIM leads this category, winning 7 of 7 comparable metrics.

Profitability & Efficiency

Evenly matched — GHM and PRIM each lead in 4 of 8 comparable metrics.

PRIM delivers a 15.2% return on equity — every $100 of shareholder capital generates $15 in annual profit, vs $11 for GHM. GHM carries lower financial leverage with a 0.06x debt-to-equity ratio, signaling a more conservative balance sheet compared to PRIM's 0.76x. On the Piotroski fundamental quality scale (0–9), GHM scores 7/9 vs PRIM's 5/9, reflecting strong financial health.

MetricGHM logoGHMGraham CorporationPRIM logoPRIMPrimoris Services…
ROE (TTM)Return on equity+11.4%+15.2%
ROA (TTM)Return on assets+5.1%+5.6%
ROICReturn on invested capital+11.3%+13.6%
ROCEReturn on capital employed+12.5%+16.3%
Piotroski ScoreFundamental quality 0–975
Debt / EquityFinancial leverage0.06x0.76x
Net DebtTotal debt minus cash-$15M$735M
Cash & Equiv.Liquid assets$22M$541M
Total DebtShort + long-term debt$7M$1.3B
Interest CoverageEBIT ÷ Interest expense21.02x
Evenly matched — GHM and PRIM each lead in 4 of 8 comparable metrics.

Total Returns (Dividends Reinvested)

GHM leads this category, winning 6 of 6 comparable metrics.

A $10,000 investment in GHM five years ago would be worth $69,186 today (with dividends reinvested), compared to $32,936 for PRIM. Over the past 12 months, GHM leads with a +180.1% total return vs PRIM's +53.5%. The 3-year compound annual growth rate (CAGR) favors GHM at 99.0% vs PRIM's 63.0% — a key indicator of consistent wealth creation.

MetricGHM logoGHMGraham CorporationPRIM logoPRIMPrimoris Services…
YTD ReturnYear-to-date+47.9%-19.7%
1-Year ReturnPast 12 months+180.1%+53.5%
3-Year ReturnCumulative with dividends+688.0%+333.3%
5-Year ReturnCumulative with dividends+591.9%+229.4%
10-Year ReturnCumulative with dividends+445.3%+387.5%
CAGR (3Y)Annualised 3-year return+99.0%+63.0%
GHM leads this category, winning 6 of 6 comparable metrics.

Risk & Volatility

Evenly matched — GHM and PRIM each lead in 1 of 2 comparable metrics.

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

MetricGHM logoGHMGraham CorporationPRIM logoPRIMPrimoris Services…
Beta (5Y)Sensitivity to S&P 5002.21x1.37x
52-Week HighHighest price in past year$100.96$205.50
52-Week LowLowest price in past year$33.45$67.15
% of 52W HighCurrent price vs 52-week peak+97.3%+51.0%
RSI (14)Momentum oscillator 0–10059.833.2
Avg Volume (50D)Average daily shares traded128K1.1M
Evenly matched — GHM and PRIM each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Wall Street rates GHM as "Hold" and PRIM as "Buy". Consensus price targets imply 57.1% upside for PRIM (target: $165) vs -18.5% for GHM (target: $80). PRIM is the only dividend payer here at 0.30% yield — a key consideration for income-focused portfolios.

MetricGHM logoGHMGraham CorporationPRIM logoPRIMPrimoris Services…
Analyst RatingConsensus buy/hold/sellHoldBuy
Price TargetConsensus 12-month target$80.00$164.63
# AnalystsCovering analysts423
Dividend YieldAnnual dividend ÷ price+0.3%
Dividend StreakConsecutive years of raises02
Dividend / ShareAnnual DPS$0.32
Buyback YieldShare repurchases ÷ mkt cap+0.1%+0.2%
PRIM leads this category, winning 1 of 1 comparable metric.
Key Takeaway

GHM leads in 2 of 6 categories (Income & Cash Flow, Total Returns). PRIM leads in 2 (Valuation Metrics, Analyst Outlook). 2 tied.

Best OverallGraham Corporation (GHM)Leads 2 of 6 categories
Loading custom metrics...

GHM vs PRIM: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is GHM or PRIM a better buy right now?

For growth investors, Primoris Services Corporation (PRIM) is the stronger pick with 19.

0% revenue growth year-over-year, versus 13. 1% for Graham Corporation (GHM). Primoris Services Corporation (PRIM) offers the better valuation at 20. 9x trailing P/E (20. 2x forward), making it the more compelling value choice. Analysts rate Primoris Services Corporation (PRIM) a "Buy" — based on 23 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 — GHM or PRIM?

On trailing P/E, Primoris Services Corporation (PRIM) is the cheapest at 20.

9x versus Graham Corporation at 88. 5x. On forward P/E, Primoris Services Corporation is actually cheaper at 20. 2x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Primoris Services Corporation wins at 1. 10x versus Graham Corporation's 1. 90x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — GHM or PRIM?

Over the past 5 years, Graham Corporation (GHM) delivered a total return of +591.

9%, compared to +229. 4% for Primoris Services Corporation (PRIM). Over 10 years, the gap is even starker: GHM returned +445. 3% versus PRIM's +387. 5%. 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 — GHM or PRIM?

By beta (market sensitivity over 5 years), Primoris Services Corporation (PRIM) is the lower-risk stock at 1.

37β versus Graham Corporation's 2. 21β — meaning GHM is approximately 62% more volatile than PRIM relative to the S&P 500. On balance sheet safety, Graham Corporation (GHM) carries a lower debt/equity ratio of 6% versus 76% for Primoris Services Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — GHM or PRIM?

By revenue growth (latest reported year), Primoris Services Corporation (PRIM) is pulling ahead at 19.

0% versus 13. 1% for Graham Corporation (GHM). On earnings-per-share growth, the picture is similar: Graham Corporation grew EPS 164. 3% year-over-year, compared to 51. 7% for Primoris Services Corporation. Over a 3-year CAGR, PRIM leads at 19. 7% 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 — GHM or PRIM?

Graham Corporation (GHM) is the more profitable company, earning 5.

8% net margin versus 3. 6% for Primoris Services Corporation — meaning it keeps 5. 8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: GHM leads at 7. 2% versus 5. 5% for PRIM. At the gross margin level — before operating expenses — GHM leads at 25. 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 GHM or PRIM 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, Primoris Services Corporation (PRIM) is the more undervalued stock at a PEG of 1. 10x versus Graham Corporation's 1. 90x. A PEG below 1. 5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, Primoris Services Corporation (PRIM) trades at 20. 2x forward P/E versus 80. 6x for Graham Corporation — 60. 4x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for PRIM: 57. 1% to $164. 63.

08

Which pays a better dividend — GHM or PRIM?

In this comparison, PRIM (0.

3% yield) pays a dividend. GHM does not pay a meaningful dividend and should not be held primarily for income.

09

Is GHM or PRIM better for a retirement portfolio?

For long-horizon retirement investors, Primoris Services Corporation (PRIM) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (+387.

5% 10Y return). Graham Corporation (GHM) carries a higher beta of 2. 21 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (PRIM: +387. 5%, GHM: +445. 3%), 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 GHM and PRIM?

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

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

GHM

High-Growth Disruptor

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

PRIM

Stable Dividend Mega-Cap

  • Sector: Industrials
  • Market Cap > $100B
  • Dividend Yield > 0.5%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform GHM and PRIM on the metrics below

Revenue Growth>
%
(GHM: 20.5% · PRIM: -5.4%)
Net Margin>
%
(GHM: 6.3% · PRIM: 3.3%)
P/E Ratio<
x
(GHM: 88.5x · PRIM: 20.9x)

You Might Also Compare

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