Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

NN vs NOVT vs TRMB vs CGNX vs VIAV

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

Live fundamentals10-year financials5-year price chart
NN
NextNav Inc.

Internet Content & Information

Communication ServicesNASDAQ • US
Market Cap$2.64B
5Y Perf.+97.1%
NOVT
Novanta Inc.

Hardware, Equipment & Parts

TechnologyNASDAQ • US
Market Cap$4.86B
5Y Perf.+13.6%
TRMB
Trimble Inc.

Hardware, Equipment & Parts

TechnologyNASDAQ • US
Market Cap$14.65B
5Y Perf.+3.3%
CGNX
Cognex Corporation

Hardware, Equipment & Parts

TechnologyNASDAQ • US
Market Cap$11.01B
5Y Perf.-12.3%
VIAV
Viavi Solutions Inc.

Communication Equipment

TechnologyNASDAQ • US
Market Cap$11.81B
5Y Perf.+276.9%

NN vs NOVT vs TRMB vs CGNX vs VIAV — Key Financials

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

Company Snapshot
NN logoNN
NOVT logoNOVT
TRMB logoTRMB
CGNX logoCGNX
VIAV logoVIAV
IndustryInternet Content & InformationHardware, Equipment & PartsHardware, Equipment & PartsHardware, Equipment & PartsCommunication Equipment
Market Cap$2.64B$4.86B$14.65B$11.01B$11.81B
Revenue (TTM)$5M$981M$3.69B$1.05B$1.37B
Net Income (TTM)$-189M$54M$456M$143M$-55M
Gross Margin-256.2%44.4%68.8%68.0%55.7%
Operating Margin-15.4%11.9%17.7%18.8%8.2%
Forward P/E38.2x20.0x53.0x55.2x
Total Debt$15M$342M$1.39B$77M$692M
Cash & Equiv.$45M$381M$253M$263M$424M

NN vs NOVT vs TRMB vs CGNX vs VIAVLong-Term Stock Performance

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

NN
NOVT
TRMB
CGNX
VIAV
StockNov 20May 26Return
NextNav Inc. (NN)100197.1+97.1%
Novanta Inc. (NOVT)100113.6+13.6%
Trimble Inc. (TRMB)100103.3+3.3%
Cognex Corporation (CGNX)10087.7-12.3%
Viavi Solutions Inc. (VIAV)100376.9+276.9%

Price return only. Dividends and distributions are not included.

Quick Verdict: NN vs NOVT vs TRMB vs CGNX vs VIAV

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

Bottom line: CGNX leads in 4 of 7 categories (5-stock set), making it the strongest pick for growth and revenue expansion and profitability and margin quality. NextNav Inc. is the stronger pick specifically for capital preservation and lower volatility. TRMB and VIAV also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
NN
NextNav Inc.
The Defensive Pick

NN is the #2 pick in this set and the best alternative if sleep-well-at-night and defensive is your priority.

  • Lower volatility, beta 1.33, current ratio 12.71x
  • Beta 1.33, current ratio 12.71x
  • Beta 1.33 vs NOVT's 2.02
Best for: sleep-well-at-night and defensive
NOVT
Novanta Inc.
The Technology Pick

Among these 5 stocks, NOVT doesn't own a clear edge in any measured category.

Best for: technology exposure
TRMB
Trimble Inc.
The Value Pick

TRMB ranks third and is worth considering specifically for valuation efficiency.

  • PEG 8.15 vs VIAV's 12.09
  • Lower P/E (20.0x vs 55.2x), PEG 8.15 vs 12.09
Best for: valuation efficiency
CGNX
Cognex Corporation
The Income Pick

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

  • Dividend streak 4 yrs, beta 1.50, yield 0.5%
  • Rev growth 8.7%, EPS growth 9.7%, 3Y rev CAGR -0.4%
  • 8.7% revenue growth vs NN's -19.3%
  • 13.6% margin vs NN's -41.4%
Best for: income & stability and growth exposure
VIAV
Viavi Solutions Inc.
The Long-Run Compounder

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

  • 7.2% 10Y total return vs NOVT's 8.5%
  • +466.6% vs TRMB's -6.7%
Best for: long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthCGNX logoCGNX8.7% revenue growth vs NN's -19.3%
ValueTRMB logoTRMBLower P/E (20.0x vs 55.2x), PEG 8.15 vs 12.09
Quality / MarginsCGNX logoCGNX13.6% margin vs NN's -41.4%
Stability / SafetyNN logoNNBeta 1.33 vs NOVT's 2.02
DividendsCGNX logoCGNX0.5% yield; 4-year raise streak; the other 4 pay no meaningful dividend
Momentum (1Y)VIAV logoVIAV+466.6% vs TRMB's -6.7%
Efficiency (ROA)CGNX logoCGNX7.1% ROA vs NN's -73.1%

NN vs NOVT vs TRMB vs CGNX vs VIAV — Revenue Breakdown by Segment

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

NNNextNav Inc.
FY 2025
Commercial Services
100.0%$4M
NOVTNovanta Inc.
FY 2025
Robotics and Automation
32.5%$319M
Advanced Surgery
24.7%$242M
Precision Medicine
24.2%$237M
Precision Manufacturing
18.6%$182M
TRMBTrimble Inc.
FY 2025
Service
68.4%$2.5B
Product
31.6%$1.1B
CGNXCognex Corporation
FY 2025
Standard Product and Services
88.5%$880M
Application of Customer Specific Solutions
11.5%$114M
VIAVViavi Solutions Inc.
FY 2025
Product
84.1%$912M
Service
15.9%$172M

NN vs NOVT vs TRMB vs CGNX vs VIAV — Financial Metrics

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

BEST OVERALLCGNXLAGGINGNOVT

Income & Cash Flow (Last 12 Months)

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

TRMB is the larger business by revenue, generating $3.7B annually — 806.2x NN's $5M. CGNX is the more profitable business, keeping 13.6% of every revenue dollar as net income compared to NN's -41.4%. On growth, VIAV holds the edge at +42.8% YoY revenue growth, suggesting stronger near-term business momentum.

MetricNN logoNNNextNav Inc.NOVT logoNOVTNovanta Inc.TRMB logoTRMBTrimble Inc.CGNX logoCGNXCognex CorporationVIAV logoVIAVViavi Solutions I…
RevenueTrailing 12 months$5M$981M$3.7B$1.0B$1.4B
EBITDAEarnings before interest/tax-$62M$179M$785M$219M$207M
Net IncomeAfter-tax profit-$189M$54M$456M$143M-$55M
Free Cash FlowCash after capex-$51M$48M$253M$241M$46M
Gross MarginGross profit ÷ Revenue-2.6%+44.4%+68.8%+68.0%+55.7%
Operating MarginEBIT ÷ Revenue-15.4%+11.9%+17.7%+18.8%+8.2%
Net MarginNet income ÷ Revenue-41.4%+5.5%+12.4%+13.6%-4.0%
FCF MarginFCF ÷ Revenue-11.2%+4.9%+6.9%+23.0%+3.3%
Rev. Growth (YoY)Latest quarter vs prior year-50.5%+8.5%+11.8%+24.3%+42.8%
EPS Growth (YoY)Latest quarter vs prior year-85.2%-2.2%+55.6%+121.4%-70.2%
CGNX leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

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

At 35.3x trailing earnings, TRMB trades at a 90% valuation discount to VIAV's 340.3x P/E. Adjusting for growth (PEG ratio), TRMB offers better value at 14.39x vs VIAV's 74.57x — a lower PEG means you pay less per unit of expected earnings growth.

MetricNN logoNNNextNav Inc.NOVT logoNOVTNovanta Inc.TRMB logoTRMBTrimble Inc.CGNX logoCGNXCognex CorporationVIAV logoVIAVViavi Solutions I…
Market CapShares × price$2.6B$4.9B$14.7B$11.0B$11.8B
Enterprise ValueMkt cap + debt − cash$2.6B$4.8B$15.8B$10.8B$12.1B
Trailing P/EPrice ÷ TTM EPS-13.74x92.71x35.34x96.92x340.33x
Forward P/EPrice ÷ next-FY EPS est.38.25x20.01x53.05x55.18x
PEG RatioP/E ÷ EPS growth rate28.13x14.39x74.57x
EV / EBITDAEnterprise value multiple27.00x20.05x55.96x90.43x
Price / SalesMarket cap ÷ Revenue577.54x4.96x4.08x11.07x10.89x
Price / BookPrice ÷ Book value/share3.81x2.54x7.48x14.77x
Price / FCFMarket cap ÷ FCF100.38x110.00x46.49x190.52x
TRMB leads this category, winning 5 of 7 comparable metrics.

Profitability & Efficiency

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

CGNX delivers a 9.6% return on equity — every $100 of shareholder capital generates $10 in annual profit, vs $-7 for VIAV. CGNX carries lower financial leverage with a 0.05x debt-to-equity ratio, signaling a more conservative balance sheet compared to VIAV's 0.89x. On the Piotroski fundamental quality scale (0–9), CGNX scores 7/9 vs NN's 3/9, reflecting strong financial health.

MetricNN logoNNNextNav Inc.NOVT logoNOVTNovanta Inc.TRMB logoTRMBTrimble Inc.CGNX logoCGNXCognex CorporationVIAV logoVIAVViavi Solutions I…
ROE (TTM)Return on equity+4.1%+8.0%+9.6%-6.9%
ROA (TTM)Return on assets-73.1%+3.0%+5.0%+7.1%-2.3%
ROICReturn on invested capital+7.4%+6.8%+9.0%+5.5%
ROCEReturn on capital employed-36.6%+8.3%+7.8%+8.9%+4.9%
Piotroski ScoreFundamental quality 0–935575
Debt / EquityFinancial leverage0.26x0.24x0.05x0.89x
Net DebtTotal debt minus cash-$30M-$39M$1.1B-$186M$269M
Cash & Equiv.Liquid assets$45M$381M$253M$263M$424M
Total DebtShort + long-term debt$15M$342M$1.4B$77M$692M
Interest CoverageEBIT ÷ Interest expense-5.64x4.89x12.26x2.70x
CGNX leads this category, winning 7 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

VIAV leads this category, winning 3 of 6 comparable metrics.

A $10,000 investment in VIAV five years ago would be worth $31,204 today (with dividends reinvested), compared to $7,797 for TRMB. Over the past 12 months, VIAV leads with a +466.6% total return vs TRMB's -6.7%. The 3-year compound annual growth rate (CAGR) favors NN at 109.2% vs NOVT's -5.3% — a key indicator of consistent wealth creation.

MetricNN logoNNNextNav Inc.NOVT logoNOVTNovanta Inc.TRMB logoTRMBTrimble Inc.CGNX logoCGNXCognex CorporationVIAV logoVIAVViavi Solutions I…
YTD ReturnYear-to-date+20.3%+22.6%-21.0%+78.7%+181.3%
1-Year ReturnPast 12 months+41.4%+14.6%-6.7%+133.1%+466.6%
3-Year ReturnCumulative with dividends+816.0%-15.2%+30.1%+34.7%+461.0%
5-Year ReturnCumulative with dividends+96.1%+5.7%-22.0%-13.2%+212.0%
10-Year ReturnCumulative with dividends+100.1%+853.7%+166.8%+249.6%+715.5%
CAGR (3Y)Annualised 3-year return+109.2%-5.3%+9.2%+10.4%+77.7%
VIAV leads this category, winning 3 of 6 comparable metrics.

Risk & Volatility

Evenly matched — NN and CGNX each lead in 1 of 2 comparable metrics.

NN is the less volatile stock with a 1.33 beta — it tends to amplify market swings less than NOVT's 2.02 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. CGNX currently trades 91.7% from its 52-week high vs TRMB's 70.7% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricNN logoNNNextNav Inc.NOVT logoNOVTNovanta Inc.TRMB logoTRMBTrimble Inc.CGNX logoCGNXCognex CorporationVIAV logoVIAVViavi Solutions I…
Beta (5Y)Sensitivity to S&P 5001.33x2.02x1.46x1.50x1.54x
52-Week HighHighest price in past year$24.19$149.95$87.50$71.90$60.43
52-Week LowLowest price in past year$10.84$98.27$61.63$27.82$8.87
% of 52W HighCurrent price vs 52-week peak+80.7%+90.9%+70.7%+91.7%+84.5%
RSI (14)Momentum oscillator 0–10055.262.636.876.366.7
Avg Volume (50D)Average daily shares traded2.2M375K1.7M2.0M6.3M
Evenly matched — NN and CGNX each lead in 1 of 2 comparable metrics.

Analyst Outlook

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

Analyst consensus: NN as "Buy", NOVT as "Buy", TRMB as "Buy", CGNX as "Hold", VIAV as "Buy". Consensus price targets imply 53.6% upside for TRMB (target: $95) vs -36.8% for VIAV (target: $32). CGNX is the only dividend payer here at 0.49% yield — a key consideration for income-focused portfolios.

MetricNN logoNNNextNav Inc.NOVT logoNOVTNovanta Inc.TRMB logoTRMBTrimble Inc.CGNX logoCGNXCognex CorporationVIAV logoVIAVViavi Solutions I…
Analyst RatingConsensus buy/hold/sellBuyBuyBuyHoldBuy
Price TargetConsensus 12-month target$26.33$150.00$95.00$60.22$32.25
# AnalystsCovering analysts33283119
Dividend YieldAnnual dividend ÷ price+0.5%
Dividend StreakConsecutive years of raises41
Dividend / ShareAnnual DPS$0.32
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.8%+5.9%+1.4%+0.1%
CGNX leads this category, winning 1 of 1 comparable metric.
Key Takeaway

CGNX leads in 3 of 6 categories (Income & Cash Flow, Profitability & Efficiency). TRMB leads in 1 (Valuation Metrics). 1 tied.

Best OverallCognex Corporation (CGNX)Leads 3 of 6 categories
Loading custom metrics...

NN vs NOVT vs TRMB vs CGNX vs VIAV: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is NN or NOVT or TRMB or CGNX or VIAV a better buy right now?

For growth investors, Cognex Corporation (CGNX) is the stronger pick with 8.

7% revenue growth year-over-year, versus -19. 3% for NextNav Inc. (NN). Trimble Inc. (TRMB) offers the better valuation at 35. 3x trailing P/E (20. 0x forward), making it the more compelling value choice. Analysts rate NextNav Inc. (NN) a "Buy" — based on 3 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 — NN or NOVT or TRMB or CGNX or VIAV?

On trailing P/E, Trimble Inc.

(TRMB) is the cheapest at 35. 3x versus Viavi Solutions Inc. at 340. 3x. On forward P/E, Trimble Inc. is actually cheaper at 20. 0x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Trimble Inc. wins at 8. 15x versus Viavi Solutions Inc. 's 12. 09x.

03

Which is the better long-term investment — NN or NOVT or TRMB or CGNX or VIAV?

Over the past 5 years, Viavi Solutions Inc.

(VIAV) delivered a total return of +212. 0%, compared to -22. 0% for Trimble Inc. (TRMB). Over 10 years, the gap is even starker: NOVT returned +853. 7% versus NN's +100. 1%. 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 — NN or NOVT or TRMB or CGNX or VIAV?

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

(NN) is the lower-risk stock at 1. 33β versus Novanta Inc. 's 2. 02β — meaning NOVT is approximately 52% more volatile than NN relative to the S&P 500. On balance sheet safety, Cognex Corporation (CGNX) carries a lower debt/equity ratio of 5% versus 89% for Viavi Solutions Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — NN or NOVT or TRMB or CGNX or VIAV?

By revenue growth (latest reported year), Cognex Corporation (CGNX) is pulling ahead at 8.

7% versus -19. 3% for NextNav Inc. (NN). On earnings-per-share growth, the picture is similar: Viavi Solutions Inc. grew EPS 225. 0% year-over-year, compared to -71. 3% for Trimble Inc.. Over a 3-year CAGR, NN leads at 5. 2% 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 — NN or NOVT or TRMB or CGNX or VIAV?

Trimble Inc.

(TRMB) is the more profitable company, earning 11. 8% net margin versus -41. 4% for NextNav Inc. — meaning it keeps 11. 8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: TRMB leads at 16. 9% versus -1535. 8% for NN. At the gross margin level — before operating expenses — TRMB leads at 68. 3%, 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 NN or NOVT or TRMB or CGNX or VIAV 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, Trimble Inc. (TRMB) is the more undervalued stock at a PEG of 8. 15x versus Viavi Solutions Inc. 's 12. 09x. Both stocks trade at elevated growth-adjusted valuations, so expected growth needs to materialise. On forward earnings alone, Trimble Inc. (TRMB) trades at 20. 0x forward P/E versus 55. 2x for Viavi Solutions Inc. — 35. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for TRMB: 53. 6% to $95. 00.

08

Which pays a better dividend — NN or NOVT or TRMB or CGNX or VIAV?

In this comparison, CGNX (0.

5% yield) pays a dividend. NN, NOVT, TRMB, VIAV do not pay a meaningful dividend and should not be held primarily for income.

09

Is NN or NOVT or TRMB or CGNX or VIAV better for a retirement portfolio?

For long-horizon retirement investors, Viavi Solutions Inc.

(VIAV) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (+715. 5% 10Y return). Novanta Inc. (NOVT) carries a higher beta of 2. 02 — meaning larger drawdowns in market downturns, which matters significantly when you cannot wait years for a recovery. Both have compounded well over 10 years (VIAV: +715. 5%, NOVT: +853. 7%), 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 NN and NOVT and TRMB and CGNX and VIAV?

These companies operate in different sectors (NN (Communication Services) and NOVT (Technology) and TRMB (Technology) and CGNX (Technology) and VIAV (Technology)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

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

NN

Quality Business

  • Sector: Communication Services
  • Market Cap > $100B
Run This Screen
Stocks Like

NOVT

Quality Business

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

TRMB

Steady Growth Compounder

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

CGNX

High-Growth Compounder

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 12%
  • Net Margin > 8%
Run This Screen
Stocks Like

VIAV

High-Growth Disruptor

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 21%
  • Gross Margin > 33%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform NN and NOVT and TRMB and CGNX and VIAV on the metrics below

Revenue Growth>
%
(NN: -50.5% · NOVT: 8.5%)

You Might Also Compare

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