Compare Stocks

2 / 10
Try these comparisons:

Stock Comparison

NMIH vs MTG

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

Live fundamentals10-year financials5-year price chart
NMIH
NMI Holdings, Inc.

Insurance - Specialty

Financial ServicesNASDAQ • US
Market Cap$2.87B
5Y Perf.+145.1%
MTG
MGIC Investment Corporation

Insurance - Specialty

Financial ServicesNYSE • US
Market Cap$5.55B
5Y Perf.+219.6%

NMIH vs MTG — Key Financials

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

Company Snapshot
NMIH logoNMIH
MTG logoMTG
IndustryInsurance - SpecialtyInsurance - Specialty
Market Cap$2.87B$5.55B
Revenue (TTM)$706M$1.20B
Net Income (TTM)$389M$718M
Gross Margin91.8%93.6%
Operating Margin70.8%75.4%
Forward P/E7.3x8.5x
Total Debt$417M$646M
Cash & Equiv.$44M$376M

NMIH vs MTGLong-Term Stock Performance

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

NMIH
MTG
StockMay 20May 26Return
NMI Holdings, Inc. (NMIH)100245.1+145.1%
MGIC Investment Cor… (MTG)100319.6+219.6%

Price return only. Dividends and distributions are not included.

Quick Verdict: NMIH vs MTG

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

Bottom line: MTG leads in 5 of 7 categories, making it the strongest pick for profitability and margin quality and capital preservation and lower volatility. NMI Holdings, Inc. is the stronger pick specifically for growth and revenue expansion and valuation and capital efficiency. As sector peers, any of these can serve as alternatives in the same allocation.
NMIH
NMI Holdings, Inc.
The Insurance Pick

NMIH is the clearest fit if your priority is growth exposure and long-term compounding.

  • Rev growth 8.4%, EPS growth 11.1%, 3Y rev CAGR 10.4%
  • 478.5% 10Y total return vs MTG's 324.6%
  • PEG 0.40 vs MTG's 0.44
Best for: growth exposure and long-term compounding
MTG
MGIC Investment Corporation
The Insurance Pick

MTG carries the broadest edge in this set and is the clearest fit for income & stability and sleep-well-at-night.

  • Dividend streak 7 yrs, beta 0.43, yield 2.2%
  • Lower volatility, beta 0.43, Low D/E 12.6%
  • Beta 0.43, yield 2.2%
Best for: income & stability and sleep-well-at-night
See the full category breakdown
CategoryWinnerWhy
GrowthNMIH logoNMIH8.4% revenue growth vs MTG's 0.5%
ValueNMIH logoNMIHLower P/E (7.3x vs 8.5x), PEG 0.40 vs 0.44
Quality / MarginsMTG logoMTGCombined ratio 0.2 vs NMIH's 0.3 (lower = better underwriting)
Stability / SafetyMTG logoMTGBeta 0.43 vs NMIH's 0.45, lower leverage
DividendsMTG logoMTG2.2% yield; 7-year raise streak; the other pay no meaningful dividend
Momentum (1Y)MTG logoMTG+3.0% vs NMIH's +0.5%
Efficiency (ROA)MTG logoMTG11.0% ROA vs NMIH's 10.6%, ROIC 12.7% vs 13.5%

NMIH vs MTG — Financial Metrics

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

BEST OVERALLMTGLAGGINGNMIH

Income & Cash Flow (Last 12 Months)

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

MTG is the larger business by revenue, generating $1.2B annually — 1.7x NMIH's $706M. Profitability is closely matched — net margins range from 59.6% (MTG) to 55.1% (NMIH). On growth, NMIH holds the edge at +8.4% YoY revenue growth, suggesting stronger near-term business momentum.

MetricNMIH logoNMIHNMI Holdings, Inc.MTG logoMTGMGIC Investment C…
RevenueTrailing 12 months$706M$1.2B
EBITDAEarnings before interest/tax$516M$913M
Net IncomeAfter-tax profit$389M$718M
Free Cash FlowCash after capex$413M$705M
Gross MarginGross profit ÷ Revenue+91.8%+93.6%
Operating MarginEBIT ÷ Revenue+70.8%+75.4%
Net MarginNet income ÷ Revenue+55.1%+59.6%
FCF MarginFCF ÷ Revenue+58.4%+58.5%
Rev. Growth (YoY)Latest quarter vs prior year+8.4%-3.0%
EPS Growth (YoY)Latest quarter vs prior year+12.1%+1.3%
MTG leads this category, winning 4 of 6 comparable metrics.

Valuation Metrics

NMIH leads this category, winning 6 of 7 comparable metrics.

At 7.7x trailing earnings, NMIH trades at a 8% valuation discount to MTG's 8.4x P/E. Adjusting for growth (PEG ratio), NMIH offers better value at 0.42x vs MTG's 0.43x — a lower PEG means you pay less per unit of expected earnings growth.

MetricNMIH logoNMIHNMI Holdings, Inc.MTG logoMTGMGIC Investment C…
Market CapShares × price$2.9B$5.5B
Enterprise ValueMkt cap + debt − cash$3.2B$5.8B
Trailing P/EPrice ÷ TTM EPS7.65x8.36x
Forward P/EPrice ÷ next-FY EPS est.7.34x8.53x
PEG RatioP/E ÷ EPS growth rate0.42x0.43x
EV / EBITDAEnterprise value multiple6.14x6.22x
Price / SalesMarket cap ÷ Revenue4.06x4.57x
Price / BookPrice ÷ Book value/share1.15x1.15x
Price / FCFMarket cap ÷ FCF6.95x6.52x
NMIH leads this category, winning 6 of 7 comparable metrics.

Profitability & Efficiency

Evenly matched — NMIH and MTG each lead in 4 of 8 comparable metrics.

NMIH delivers a 15.8% return on equity — every $100 of shareholder capital generates $16 in annual profit, vs $14 for MTG. MTG carries lower financial leverage with a 0.13x debt-to-equity ratio, signaling a more conservative balance sheet compared to NMIH's 0.16x.

MetricNMIH logoNMIHNMI Holdings, Inc.MTG logoMTGMGIC Investment C…
ROE (TTM)Return on equity+15.8%+14.0%
ROA (TTM)Return on assets+10.6%+11.0%
ROICReturn on invested capital+13.5%+12.7%
ROCEReturn on capital employed+15.0%+14.1%
Piotroski ScoreFundamental quality 0–955
Debt / EquityFinancial leverage0.16x0.13x
Net DebtTotal debt minus cash$373M$271M
Cash & Equiv.Liquid assets$44M$376M
Total DebtShort + long-term debt$417M$646M
Interest CoverageEBIT ÷ Interest expense18.55x27.10x
Evenly matched — NMIH and MTG each lead in 4 of 8 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in MTG five years ago would be worth $19,005 today (with dividends reinvested), compared to $15,034 for NMIH. Over the past 12 months, MTG leads with a +3.0% total return vs NMIH's +0.5%. The 3-year compound annual growth rate (CAGR) favors MTG at 23.4% vs NMIH's 16.8% — a key indicator of consistent wealth creation.

MetricNMIH logoNMIHNMI Holdings, Inc.MTG logoMTGMGIC Investment C…
YTD ReturnYear-to-date-7.3%-9.5%
1-Year ReturnPast 12 months+0.5%+3.0%
3-Year ReturnCumulative with dividends+59.2%+88.0%
5-Year ReturnCumulative with dividends+50.3%+90.0%
10-Year ReturnCumulative with dividends+478.5%+324.6%
CAGR (3Y)Annualised 3-year return+16.8%+23.4%
MTG leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

MTG is the less volatile stock with a 0.43 beta — it tends to amplify market swings less than NMIH's 0.45 beta. A beta below 1.0 means the stock typically moves less than the S&P 500.

MetricNMIH logoNMIHNMI Holdings, Inc.MTG logoMTGMGIC Investment C…
Beta (5Y)Sensitivity to S&P 5000.45x0.43x
52-Week HighHighest price in past year$43.20$29.97
52-Week LowLowest price in past year$34.84$24.78
% of 52W HighCurrent price vs 52-week peak+87.2%+87.6%
RSI (14)Momentum oscillator 0–10035.537.5
Avg Volume (50D)Average daily shares traded435K1.8M
MTG leads this category, winning 2 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.

Wall Street rates NMIH as "Buy" and MTG as "Buy". Consensus price targets imply 15.5% upside for NMIH (target: $44) vs 14.3% for MTG (target: $30). MTG is the only dividend payer here at 2.24% yield — a key consideration for income-focused portfolios.

MetricNMIH logoNMIHNMI Holdings, Inc.MTG logoMTGMGIC Investment C…
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$43.50$30.00
# AnalystsCovering analysts2022
Dividend YieldAnnual dividend ÷ price+2.2%
Dividend StreakConsecutive years of raises7
Dividend / ShareAnnual DPS$0.59
Buyback YieldShare repurchases ÷ mkt cap+3.7%+14.2%
Insufficient data to determine a leader in this category.
Key Takeaway

MTG leads in 3 of 6 categories (Income & Cash Flow, Total Returns). NMIH leads in 1 (Valuation Metrics). 1 tied.

Best OverallMGIC Investment Corporation (MTG)Leads 3 of 6 categories
Loading custom metrics...

NMIH vs MTG: Frequently Asked Questions

10 questions · data-driven answers · updated daily

01

Is NMIH or MTG a better buy right now?

For growth investors, NMI Holdings, Inc.

(NMIH) is the stronger pick with 8. 4% revenue growth year-over-year, versus 0. 5% for MGIC Investment Corporation (MTG). NMI Holdings, Inc. (NMIH) offers the better valuation at 7. 7x trailing P/E (7. 3x forward), making it the more compelling value choice. Analysts rate NMI Holdings, Inc. (NMIH) a "Buy" — based on 20 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 — NMIH or MTG?

On trailing P/E, NMI Holdings, Inc.

(NMIH) is the cheapest at 7. 7x versus MGIC Investment Corporation at 8. 4x. On forward P/E, NMI Holdings, Inc. is actually cheaper at 7. 3x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: NMI Holdings, Inc. wins at 0. 40x versus MGIC Investment Corporation's 0. 44x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — NMIH or MTG?

Over the past 5 years, MGIC Investment Corporation (MTG) delivered a total return of +90.

0%, compared to +50. 3% for NMI Holdings, Inc. (NMIH). Over 10 years, the gap is even starker: NMIH returned +478. 5% versus MTG's +324. 6%. 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 — NMIH or MTG?

By beta (market sensitivity over 5 years), MGIC Investment Corporation (MTG) is the lower-risk stock at 0.

43β versus NMI Holdings, Inc. 's 0. 45β — meaning NMIH is approximately 7% more volatile than MTG relative to the S&P 500. On balance sheet safety, MGIC Investment Corporation (MTG) carries a lower debt/equity ratio of 13% versus 16% for NMI Holdings, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — NMIH or MTG?

By revenue growth (latest reported year), NMI Holdings, Inc.

(NMIH) is pulling ahead at 8. 4% versus 0. 5% for MGIC Investment Corporation (MTG). On earnings-per-share growth, the picture is similar: NMI Holdings, Inc. grew EPS 11. 1% year-over-year, compared to 8. 7% for MGIC Investment Corporation. Over a 3-year CAGR, NMIH leads at 10. 4% 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 — NMIH or MTG?

MGIC Investment Corporation (MTG) is the more profitable company, earning 60.

8% net margin versus 55. 1% for NMI Holdings, Inc. — meaning it keeps 60. 8% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: MTG leads at 76. 5% versus 70. 8% for NMIH. At the gross margin level — before operating expenses — MTG leads at 94. 9%, 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 NMIH or MTG 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, NMI Holdings, Inc. (NMIH) is the more undervalued stock at a PEG of 0. 40x versus MGIC Investment Corporation's 0. 44x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, NMI Holdings, Inc. (NMIH) trades at 7. 3x forward P/E versus 8. 5x for MGIC Investment Corporation — 1. 2x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for NMIH: 15. 5% to $43. 50.

08

Which pays a better dividend — NMIH or MTG?

In this comparison, MTG (2.

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

09

Is NMIH or MTG better for a retirement portfolio?

For long-horizon retirement investors, MGIC Investment Corporation (MTG) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

43), 2. 2% yield, +324. 6% 10Y return). Both have compounded well over 10 years (MTG: +324. 6%, NMIH: +478. 5%), 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 NMIH and MTG?

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

MTG pays a dividend while NMIH does 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 both.

Stocks Like

NMIH

Quality Mega-Cap Compounder

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

MTG

Dividend Mega-Cap Quality

  • Sector: Financial Services
  • Market Cap > $100B
  • Net Margin > 35%
  • Dividend Yield > 0.8%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform NMIH and MTG on the metrics below

Revenue Growth>
%
(NMIH: 8.4% · MTG: -3.0%)
Net Margin>
%
(NMIH: 55.1% · MTG: 59.6%)
P/E Ratio<
x
(NMIH: 7.7x · MTG: 8.4x)

You Might Also Compare

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