SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

NMI Holdings, Inc. – ‘10-Q’ for 9/30/19 – ‘EX-101.CAL’

On:  Wednesday, 11/6/19, at 5:57pm ET   ·   As of:  11/7/19   ·   For:  9/30/19   ·   Accession #:  1547903-19-131   ·   File #:  1-36174

Previous ‘10-Q’:  ‘10-Q’ on 8/1/19 for 6/30/19   ·   Next:  ‘10-Q’ on 5/7/20 for 3/31/20   ·   Latest:  ‘10-Q’ on 5/1/24 for 3/31/24

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size

11/07/19  NMI Holdings, Inc.                10-Q        9/30/19   72:8.4M

Quarterly Report   —   Form 10-Q   —   Sect. 13 / 15(d) – SEA’34
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML   1.29M 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     29K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     29K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     25K 
34: R1          Cover Page                                          HTML     75K 
67: R2          Condensed Consolidated Balance Sheets (Unaudited)   HTML    110K 
49: R3          Condensed Consolidated Balance Sheets (Unaudited)   HTML     37K 
                (Parenthetical)                                                  
23: R4          Condensed Consolidated Statements of Operations     HTML    107K 
                and Comprehensive Income (Loss) (Unaudited)                      
31: R5          Condensed Consolidated Statements of Operations     HTML     28K 
                and Comprehensive Income (Loss) (Unaudited)                      
                (Parenthetical)                                                  
66: R6          Condensed Consolidated Statements of Changes in     HTML     94K 
                Shareholders' Equity (Unaudited)                                 
46: R7          Condensed Consolidated Statements of Changes in     HTML     32K 
                Shareholders' Equity (Unaudited) (Parenthetical)                 
20: R8          Condensed Consolidated Statements of Cash Flows     HTML    128K 
                (Unaudited)                                                      
35: R9          Organization, Basis of Presentation and Summary of  HTML     43K 
                Accounting Principles                                            
48: R10         Investments                                         HTML    214K 
68: R11         Fair Value of Financial Instruments                 HTML    108K 
33: R12         Debt                                                HTML     44K 
24: R13         Reinsurance                                         HTML    110K 
47: R14         Reserves for Insurance Claims and Claim Expenses    HTML     63K 
65: R15         Earnings per Share (Eps)                            HTML     70K 
32: R16         Warrants                                            HTML     29K 
22: R17         Income Taxes                                        HTML     27K 
50: R18         Leases                                              HTML     44K 
64: R19         Regulatory Information                              HTML     40K 
45: R20         Organization, Basis of Presentation and Summary of  HTML     43K 
                Accounting Principles (Policies)                                 
15: R21         Investments (Tables)                                HTML    218K 
58: R22         Fair Value of Financial Instruments (Tables)        HTML    107K 
63: R23         Debt (Tables)                                       HTML     31K 
44: R24         Reinsurance (Tables)                                HTML     91K 
14: R25         Reserves for Insurance Claims and Claim Expenses    HTML     56K 
                (Tables)                                                         
57: R26         Earnings per Share (Eps) (Tables)                   HTML     69K 
62: R27         Leases (Tables)                                     HTML     44K 
43: R28         Regulatory Information (Tables)                     HTML     41K 
16: R29         Organization, Basis of Presentation and Summary of  HTML     25K 
                Accounting Principles - Narrative (Details)                      
18: R30         Organization, Basis of Presentation and Summary of  HTML     29K 
                Accounting Principles - Recent Accounting                        
                Pronouncements (Details)                                         
27: R31         Investments - Fair Values and Gross Unrealized      HTML     52K 
                Gains and Losses (Details)                                       
69: R32         Investments - Corporate Debt Securities by          HTML     41K 
                Industry Group (Details)                                         
51: R33         Investments - Narrative (Details)                   HTML     38K 
19: R34         Investments - Scheduled Maturities (Details)        HTML     60K 
28: R35         Investments - Aging of Unrealized Losses (Details)  HTML     75K 
70: R36         Investments - Net Investment Income (Details)       HTML     30K 
52: R37         Investments - Net Realized Investment Gains         HTML     29K 
                (Losses) (Details)                                               
17: R38         Fair Value of Financial Instruments - Assets and    HTML     74K 
                Liabilities at Fair Value (Details)                              
30: R39         Fair Value of Financial Instruments - Rollforward   HTML     34K 
                of Level 3 Liabilities (Details)                                 
12: R40         Fair Value of Financial Instruments - Valuation     HTML     47K 
                Assumptions for Warrant Liabilities (Details)                    
39: R41         Debt - Narrative (Details)                          HTML     98K 
59: R42         Debt - Schedule of Future Principal Payments        HTML     40K 
                (Details)                                                        
55: R43         Reinsurance - Narrative (Details)                   HTML     81K 
13: R44         Reinsurance - Effect of Reinsurance Agreements on   HTML     42K 
                Premiums Written and Earned (Details)                            
40: R45         Reinsurance - ILN Transactions (Details)            HTML     38K 
60: R46         Reinsurance - Amounts Ceded Related to QSR          HTML     36K 
                Transactions (Details)                                           
56: R47         Reserves for Insurance Claims and Claim Expenses -  HTML     60K 
                Narrative (Details)                                              
11: R48         Reserves for Insurance Claims and Claim Expenses -  HTML     54K 
                Reconciliation of Reserve Balances for Insurance                 
                Claims and Claim Expense (Details)                               
42: R49         Earnings per Share (Eps) (Details)                  HTML     59K 
37: R50         Warrants (Details)                                  HTML     44K 
26: R51         Income Taxes (Details)                              HTML     29K 
54: R52         Leases - Narrative (Details)                        HTML     45K 
72: R53         Leases - Right-of-Use Asset and Lease Liability     HTML     26K 
                Assumptions (Details)                                            
36: R54         Leases - Future Payment Due Under Operating Leases  HTML     39K 
                (Details)                                                        
25: R55         Leases - Future Minimum Lease Payments as           HTML     39K 
                Accounted for Prior to Adoption of ASU 2016-02                   
                (Details)                                                        
53: R56         Regulatory Information - Statutory Net Income       HTML     26K 
                (Loss) (Details)                                                 
71: R57         Regulatory Information - Schedule of Statutory      HTML     30K 
                Surplus, Contingency Reserve and RTC Ratio                       
                (Details)                                                        
21: R9999       Uncategorized Items - nmihq3201910-q.htm            HTML     24K 
38: XML         IDEA XML File -- Filing Summary                      XML    129K 
41: XML         XBRL Instance -- nmihq3201910-q_htm                  XML   2.11M 
61: EXCEL       IDEA Workbook of Financial Reports                  XLSX     78K 
 6: EX-101.CAL  XBRL Calculations -- nmih-20190930_cal               XML    229K 
 7: EX-101.DEF  XBRL Definitions -- nmih-20190930_def                XML    421K 
 8: EX-101.LAB  XBRL Labels -- nmih-20190930_lab                     XML   1.44M 
 9: EX-101.PRE  XBRL Presentations -- nmih-20190930_pre              XML    804K 
 5: EX-101.SCH  XBRL Schema -- nmih-20190930                         XSD    149K 
10: JSON        XBRL Instance as JSON Data -- MetaLinks              310±   471K 
29: ZIP         XBRL Zipped Folder -- 0001547903-19-000131-xbrl      Zip    269K 


‘EX-101.CAL’   —   XBRL Calculations — nmih-20190930_cal


This Exhibit is an XBRL XML File.


                                                                                                                                                                                
<?xml version="1.0" encoding="windows-1252"?>
<!-- XBRL Document Created with Wdesk from Workiva -->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:href="nmih-20190930.xsd#CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="nmih-20190930.xsd#CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="nmih-20190930.xsd#CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:href="nmih-20190930.xsd#CondensedConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:href="nmih-20190930.xsd#CondensedConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeLossUnaudited" xlink:href="nmih-20190930.xsd#CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeLossUnaudited" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeLossUnauditedParenthetical" xlink:href="nmih-20190930.xsd#CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeLossUnauditedParenthetical" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/CoverPage" xlink:href="nmih-20190930.xsd#CoverPage" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/Debt" xlink:href="nmih-20190930.xsd#Debt" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/DebtNarrativeDetails" xlink:href="nmih-20190930.xsd#DebtNarrativeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/DebtScheduleOfFuturePrincipalPaymentsDetails" xlink:href="nmih-20190930.xsd#DebtScheduleOfFuturePrincipalPaymentsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/DebtTables" xlink:href="nmih-20190930.xsd#DebtTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/EarningsPerShareEps" xlink:href="nmih-20190930.xsd#EarningsPerShareEps" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/EarningsPerShareEpsDetails" xlink:href="nmih-20190930.xsd#EarningsPerShareEpsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/EarningsPerShareEpsTables" xlink:href="nmih-20190930.xsd#EarningsPerShareEpsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/FairValueOfFinancialInstruments" xlink:href="nmih-20190930.xsd#FairValueOfFinancialInstruments" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails" xlink:href="nmih-20190930.xsd#FairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsRollforwardOfLevel3LiabilitiesDetails" xlink:href="nmih-20190930.xsd#FairValueOfFinancialInstrumentsRollforwardOfLevel3LiabilitiesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="nmih-20190930.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsValuationAssumptionsForWarrantLiabilitiesDetails" xlink:href="nmih-20190930.xsd#FairValueOfFinancialInstrumentsValuationAssumptionsForWarrantLiabilitiesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxes" xlink:href="nmih-20190930.xsd#IncomeTaxes" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/IncomeTaxesDetails" xlink:href="nmih-20190930.xsd#IncomeTaxesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/Investments" xlink:href="nmih-20190930.xsd#Investments" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsAgingOfUnrealizedLossesDetails" xlink:href="nmih-20190930.xsd#InvestmentsAgingOfUnrealizedLossesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsCorporateDebtSecuritiesByIndustryGroupDetails" xlink:href="nmih-20190930.xsd#InvestmentsCorporateDebtSecuritiesByIndustryGroupDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsFairValuesAndGrossUnrealizedGainsAndLossesDetails" xlink:href="nmih-20190930.xsd#InvestmentsFairValuesAndGrossUnrealizedGainsAndLossesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsNarrativeDetails" xlink:href="nmih-20190930.xsd#InvestmentsNarrativeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:href="nmih-20190930.xsd#InvestmentsNetInvestmentIncomeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsNetRealizedInvestmentGainsLossesDetails" xlink:href="nmih-20190930.xsd#InvestmentsNetRealizedInvestmentGainsLossesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsScheduledMaturitiesDetails" xlink:href="nmih-20190930.xsd#InvestmentsScheduledMaturitiesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/InvestmentsTables" xlink:href="nmih-20190930.xsd#InvestmentsTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/Leases" xlink:href="nmih-20190930.xsd#Leases" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/LeasesFutureMinimumLeasePaymentsAsAccountedForPriorToAdoptionOfAsu201602Details" xlink:href="nmih-20190930.xsd#LeasesFutureMinimumLeasePaymentsAsAccountedForPriorToAdoptionOfAsu201602Details" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/LeasesFuturePaymentDueUnderOperatingLeasesDetails" xlink:href="nmih-20190930.xsd#LeasesFuturePaymentDueUnderOperatingLeasesDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/LeasesNarrativeDetails" xlink:href="nmih-20190930.xsd#LeasesNarrativeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/LeasesRightOfUseAssetAndLeaseLiabilityAssumptionsDetails" xlink:href="nmih-20190930.xsd#LeasesRightOfUseAssetAndLeaseLiabilityAssumptionsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/LeasesTables" xlink:href="nmih-20190930.xsd#LeasesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciples" xlink:href="nmih-20190930.xsd#OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciples" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesNarrativeDetails" xlink:href="nmih-20190930.xsd#OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesNarrativeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesPolicies" xlink:href="nmih-20190930.xsd#OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesPolicies" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesRecentAccountingPronouncementsDetails" xlink:href="nmih-20190930.xsd#OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesRecentAccountingPronouncementsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformation" xlink:href="nmih-20190930.xsd#RegulatoryInformation" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformationScheduleOfStatutorySurplusContingencyReserveAndRtcRatioDetails" xlink:href="nmih-20190930.xsd#RegulatoryInformationScheduleOfStatutorySurplusContingencyReserveAndRtcRatioDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformationStatutoryNetIncomeLossDetails" xlink:href="nmih-20190930.xsd#RegulatoryInformationStatutoryNetIncomeLossDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/RegulatoryInformationTables" xlink:href="nmih-20190930.xsd#RegulatoryInformationTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/Reinsurance" xlink:href="nmih-20190930.xsd#Reinsurance" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceAmountsCededRelatedToQsrTransactionsDetails" xlink:href="nmih-20190930.xsd#ReinsuranceAmountsCededRelatedToQsrTransactionsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceEffectOfReinsuranceAgreementsOnPremiumsWrittenAndEarnedDetails" xlink:href="nmih-20190930.xsd#ReinsuranceEffectOfReinsuranceAgreementsOnPremiumsWrittenAndEarnedDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceIlnTransactionsDetails" xlink:href="nmih-20190930.xsd#ReinsuranceIlnTransactionsDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceNarrativeDetails" xlink:href="nmih-20190930.xsd#ReinsuranceNarrativeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReinsuranceTables" xlink:href="nmih-20190930.xsd#ReinsuranceTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpenses" xlink:href="nmih-20190930.xsd#ReservesForInsuranceClaimsAndClaimExpenses" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpensesNarrativeDetails" xlink:href="nmih-20190930.xsd#ReservesForInsuranceClaimsAndClaimExpensesNarrativeDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpensesReconciliationOfReserveBalancesForInsuranceClaimsAndClaimExpenseDetails" xlink:href="nmih-20190930.xsd#ReservesForInsuranceClaimsAndClaimExpensesReconciliationOfReserveBalancesForInsuranceClaimsAndClaimExpenseDetails" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpensesTables" xlink:href="nmih-20190930.xsd#ReservesForInsuranceClaimsAndClaimExpensesTables" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/Warrants" xlink:href="nmih-20190930.xsd#Warrants" xlink:type="simple"/>
<link:roleRef roleURI="http://www.nationalmi.com/role/WarrantsDetails" xlink:href="nmih-20190930.xsd#WarrantsDetails" xlink:type="simple"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e562c48b-3e99-2c57-8e96-c3b81056b58c" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e562c48b-3e99-2c57-8e96-c3b81056b58c" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_21c019f0-62e8-3b20-07d1-495695054dce" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_21c019f0-62e8-3b20-07d1-495695054dce" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PremiumsReceivableAtCarryingValue" xlink:label="loc_us-gaap_PremiumsReceivableAtCarryingValue_82058bad-06da-019a-216a-114ac6e1abf8" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_PremiumsReceivableAtCarryingValue_82058bad-06da-019a-216a-114ac6e1abf8" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_AccruedInvestmentIncomeReceivable_bfbf3cab-2654-5a6a-253b-82bbababe3ce" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_AccruedInvestmentIncomeReceivable_bfbf3cab-2654-5a6a-253b-82bbababe3ce" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidExpenseCurrentAndNoncurrent" xlink:label="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_17b4da49-994e-06fa-b9be-170b91b04689" xlink:type="locator"/>
<link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_17b4da49-994e-06fa-b9be-170b91b04689" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredPolicyAcquisitionCosts" xlink:label="loc_us-gaap_DeferredPolicyAcquisitionCosts_73b0729e-31ca-4e5a-414b-f49774aa79ba" xlink:type="locator"/>
<link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_DeferredPolicyAcquisitionCosts_73b0729e-31ca-4e5a-414b-f49774aa79ba" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4246ec24-1a4c-19dd-57c9-32d4a8e0cbaa" xlink:type="locator"/>
<link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_4246ec24-1a4c-19dd-57c9-32d4a8e0cbaa" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_0572c4a5-7251-883f-b3a9-f968acd71b9b" xlink:type="locator"/>
<link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_0572c4a5-7251-883f-b3a9-f968acd71b9b" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PrepaidReinsurancePremiums" xlink:label="loc_us-gaap_PrepaidReinsurancePremiums_83169329-6715-22ed-9b09-d303c5de8b33" xlink:type="locator"/>
<link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_PrepaidReinsurancePremiums_83169329-6715-22ed-9b09-d303c5de8b33" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_53a34e15-d375-c4e0-c5cf-68e055eee5e5" xlink:type="locator"/>
<link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_17ef3f41-42f7-52c0-cba1-93e7e0e1116a" xlink:to="loc_us-gaap_OtherAssets_53a34e15-d375-c4e0-c5cf-68e055eee5e5" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_4d934b0d-59bc-ae5c-ffb9-b6ced82ff9f8" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_CommitmentsAndContingencies_4d934b0d-59bc-ae5c-ffb9-b6ced82ff9f8" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_LongTermDebt_a2f199ce-3001-c200-d488-633bc54206dc" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_UnearnedPremiums" xlink:label="loc_us-gaap_UnearnedPremiums_1f6f3cde-87b1-2c7b-c8d1-cd12a39b021a" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_UnearnedPremiums_1f6f3cde-87b1-2c7b-c8d1-cd12a39b021a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_efa64cef-5110-33cd-b428-f0367bd538b9" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_efa64cef-5110-33cd-b428-f0367bd538b9" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense" xlink:label="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_abd16f49-26bc-4cce-6af2-35474b4f0a92" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_LiabilityForClaimsAndClaimsAdjustmentExpense_abd16f49-26bc-4cce-6af2-35474b4f0a92" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FundsHeldUnderReinsuranceAgreementsLiability" xlink:label="loc_us-gaap_FundsHeldUnderReinsuranceAgreementsLiability_20810e9e-f74e-314e-cb36-bffb63028076" xlink:type="locator"/>
<link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_FundsHeldUnderReinsuranceAgreementsLiability_20810e9e-f74e-314e-cb36-bffb63028076" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WarrantsAndRightsOutstanding" xlink:label="loc_us-gaap_WarrantsAndRightsOutstanding_d3b228b2-7eb9-f739-11a1-2268f8c30c19" xlink:type="locator"/>
<link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_WarrantsAndRightsOutstanding_d3b228b2-7eb9-f739-11a1-2268f8c30c19" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_64993a75-9b0c-349a-1011-cc5a81c58412" xlink:type="locator"/>
<link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_64993a75-9b0c-349a-1011-cc5a81c58412" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_ff0e0b1b-b140-8889-cbc7-6f0d76651556" xlink:type="locator"/>
<link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_44863786-cbc4-bac4-e070-0a1f19314584" xlink:to="loc_us-gaap_OtherLiabilities_ff0e0b1b-b140-8889-cbc7-6f0d76651556" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_d7f1ad03-6ed4-706a-15fc-eae794dee33a" xlink:to="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CommonStockValueOutstanding" xlink:label="loc_us-gaap_CommonStockValueOutstanding_294c6946-9048-096a-8276-56aec7d04572" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_CommonStockValueOutstanding_294c6946-9048-096a-8276-56aec7d04572" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_3d5a0ca6-0f59-67e6-adb5-6aecd22b693b" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AdditionalPaidInCapital_3d5a0ca6-0f59-67e6-adb5-6aecd22b693b" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_988c1346-b444-a867-fe80-f3aec1443d54" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_988c1346-b444-a867-fe80-f3aec1443d54" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_62305d8f-d807-0fe8-d0ab-f2c2b3d03011" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_4b9904d8-8624-0dbb-a949-29ff2cf808a8" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_62305d8f-d807-0fe8-d0ab-f2c2b3d03011" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_70a92108-04c8-ea13-dcdc-b3b1e3a5458e" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_70a92108-04c8-ea13-dcdc-b3b1e3a5458e" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_FairValueAdjustmentOfWarrants" xlink:label="loc_us-gaap_FairValueAdjustmentOfWarrants_dcf39713-2bbe-ebf2-2d75-3bc1c2f5ba99" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_FairValueAdjustmentOfWarrants_dcf39713-2bbe-ebf2-2d75-3bc1c2f5ba99" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DepreciationAmortizationAndAccretionNet" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet_f8d3390c-1850-b76f-7062-99d566a4ad4a" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_DepreciationAmortizationAndAccretionNet_f8d3390c-1850-b76f-7062-99d566a4ad4a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_94f5ae99-7bd8-4f8c-5311-9522abc2f1bd" xlink:type="locator"/>
<link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_94f5ae99-7bd8-4f8c-5311-9522abc2f1bd" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_c839a0d8-dfea-e1a5-fc91-ef95e7aed9cb" xlink:type="locator"/>
<link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_c839a0d8-dfea-e1a5-fc91-ef95e7aed9cb" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_f0b9d825-b0b9-37fd-4d25-9294a8598890" xlink:type="locator"/>
<link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_ShareBasedCompensation_f0b9d825-b0b9-37fd-4d25-9294a8598890" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9a5dd9a5-8471-2942-da95-5c0a29bbe3b1" xlink:type="locator"/>
<link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_9a5dd9a5-8471-2942-da95-5c0a29bbe3b1" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInPremiumsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInPremiumsReceivable_bb351048-5c87-9f71-683e-f5c53f3165f5" xlink:type="locator"/>
<link:calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInPremiumsReceivable_bb351048-5c87-9f71-683e-f5c53f3165f5" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_3f8a9c34-c392-f7e7-663b-e1187aad8041" xlink:type="locator"/>
<link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInvestmentIncomeReceivable_3f8a9c34-c392-f7e7-663b-e1187aad8041" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidExpense" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_41a534b8-a087-ee21-d2ee-012c298680b5" xlink:type="locator"/>
<link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidExpense_41a534b8-a087-ee21-d2ee-012c298680b5" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_360094d4-9387-1e15-c2a3-cc1b6baa796a" xlink:type="locator"/>
<link:calculationArc order="12" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredPolicyAcquisitionCosts_360094d4-9387-1e15-c2a3-cc1b6baa796a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_dfcbd6f7-83fa-00c2-bd9e-6c5c1de7d890" xlink:type="locator"/>
<link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_dfcbd6f7-83fa-00c2-bd9e-6c5c1de7d890" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInUnearnedPremiums" xlink:label="loc_us-gaap_IncreaseDecreaseInUnearnedPremiums_4b8e0c22-9d9b-d21a-c00c-d04959f9a9ff" xlink:type="locator"/>
<link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInUnearnedPremiums_4b8e0c22-9d9b-d21a-c00c-d04959f9a9ff" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInLiabilityForClaimsAndClaimsAdjustmentExpenseReserve" xlink:label="loc_us-gaap_IncreaseDecreaseInLiabilityForClaimsAndClaimsAdjustmentExpenseReserve_af942e6d-d845-d466-ef57-a6a88c58b9c6" xlink:type="locator"/>
<link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInLiabilityForClaimsAndClaimsAdjustmentExpenseReserve_af942e6d-d845-d466-ef57-a6a88c58b9c6" xlink:type="arc"/>
<link:loc xlink:href="nmih-20190930.xsd#nmih_IncreaseDecreaseinReinsuranceAssetsandLiabilities" xlink:label="loc_nmih_IncreaseDecreaseinReinsuranceAssetsandLiabilities_8f7895d5-f0ac-4d5b-666e-df89419015f1" xlink:type="locator"/>
<link:calculationArc order="16" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_nmih_IncreaseDecreaseinReinsuranceAssetsandLiabilities_8f7895d5-f0ac-4d5b-666e-df89419015f1" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_7c1c3153-d95c-50b8-10ed-a75d1f3d7a68" xlink:type="locator"/>
<link:calculationArc order="17" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_ce0d7b63-a366-bc9b-79e1-780981e428fe" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_7c1c3153-d95c-50b8-10ed-a75d1f3d7a68" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireShortTermInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireShortTermInvestments_64589f54-c78b-3b4d-2741-1fc26cfb953a" xlink:type="locator"/>
<link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_64589f54-c78b-3b4d-2741-1fc26cfb953a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_8b51ae5f-8f14-ae0e-00e7-8f4e716f2f96" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_8b51ae5f-8f14-ae0e-00e7-8f4e716f2f96" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleOfShortTermInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_cfe928e9-32cc-877c-5be1-d45ac401869a" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleOfShortTermInvestments_cfe928e9-32cc-877c-5be1-d45ac401869a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_83cf65a5-9616-b748-1d6c-92f0b7da6e69" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_83cf65a5-9616-b748-1d6c-92f0b7da6e69" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0f8df60b-841f-6df5-83c3-e4049d366459" xlink:type="locator"/>
<link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_0f07a806-a2da-6d18-a7a9-d734fad1f3b0" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_0f8df60b-841f-6df5-83c3-e4049d366459" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_50231013-f048-89e7-0e20-ba139224c5f7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_0f0975d6-8500-76a0-c74f-5d2f0ed8b620" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_0f0975d6-8500-76a0-c74f-5d2f0ed8b620" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_3b304564-1a0d-03c8-a331-770e72d1f6fc" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_3b304564-1a0d-03c8-a331-770e72d1f6fc" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_07e50027-f2db-6d1b-93ed-b22d6bd39351" xlink:type="locator"/>
<link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_07e50027-f2db-6d1b-93ed-b22d6bd39351" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_7b833212-d46c-4ee0-30ea-7217723a0d68" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_7b833212-d46c-4ee0-30ea-7217723a0d68" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_50c96d39-6558-6bd8-b3d6-7ed1c558807e" xlink:type="locator"/>
<link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_50c96d39-6558-6bd8-b3d6-7ed1c558807e" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_d03b640f-8d2c-4108-a1c4-1354103a7ee2" xlink:type="locator"/>
<link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_d03b640f-8d2c-4108-a1c4-1354103a7ee2" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ProceedsFromWarrantExercises" xlink:label="loc_us-gaap_ProceedsFromWarrantExercises_a88ea9da-fe15-25d5-e7ed-084f1843cf38" xlink:type="locator"/>
<link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_1efd93c0-bb90-2a64-a997-3a70afaa3faa" xlink:to="loc_us-gaap_ProceedsFromWarrantExercises_a88ea9da-fe15-25d5-e7ed-084f1843cf38" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfChangesInShareholdersEquityUnaudited" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfChangesInShareholdersEquityUnauditedParenthetical" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeLossUnaudited" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_5c8b3520-1ca2-0a91-0912-70d62831826c" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_5c8b3520-1ca2-0a91-0912-70d62831826c" xlink:to="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_489b61b6-7c39-240c-7f68-1c1675bca3b7" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_489b61b6-7c39-240c-7f68-1c1675bca3b7" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_489b61b6-7c39-240c-7f68-1c1675bca3b7" xlink:to="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PremiumsEarnedNet" xlink:label="loc_us-gaap_PremiumsEarnedNet_88dba276-a88f-9f62-bf2f-2675783c9e0a" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:to="loc_us-gaap_PremiumsEarnedNet_88dba276-a88f-9f62-bf2f-2675783c9e0a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_NetInvestmentIncome" xlink:label="loc_us-gaap_NetInvestmentIncome_a9a877fc-5ca4-60d6-236e-1fd7da5874f2" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:to="loc_us-gaap_NetInvestmentIncome_a9a877fc-5ca4-60d6-236e-1fd7da5874f2" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_GainLossOnInvestments" xlink:label="loc_us-gaap_GainLossOnInvestments_f36be4b0-50ba-fdde-d8c3-1df343692d30" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:to="loc_us-gaap_GainLossOnInvestments_f36be4b0-50ba-fdde-d8c3-1df343692d30" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherIncome" xlink:label="loc_us-gaap_OtherIncome_b36cbb9c-3cb7-e834-cb02-aac35e8dbc1b" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_425ada39-f194-a279-47ac-dd09cf899fb1" xlink:to="loc_us-gaap_OtherIncome_b36cbb9c-3cb7-e834-cb02-aac35e8dbc1b" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaap_CostsAndExpenses_76d25f63-60a6-4deb-1fd0-84a3d98fe881" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_489b61b6-7c39-240c-7f68-1c1675bca3b7" xlink:to="loc_us-gaap_CostsAndExpenses_76d25f63-60a6-4deb-1fd0-84a3d98fe881" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncurredClaimsPropertyCasualtyAndLiability" xlink:label="loc_us-gaap_IncurredClaimsPropertyCasualtyAndLiability_20d006d6-9433-0726-c9f2-14c4cf6a5e1a" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_76d25f63-60a6-4deb-1fd0-84a3d98fe881" xlink:to="loc_us-gaap_IncurredClaimsPropertyCasualtyAndLiability_20d006d6-9433-0726-c9f2-14c4cf6a5e1a" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherCostAndExpenseOperating" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_fdd3a041-a733-299c-016d-efa8e43f811b" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_76d25f63-60a6-4deb-1fd0-84a3d98fe881" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_fdd3a041-a733-299c-016d-efa8e43f811b" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7a3a9730-2927-590e-4e76-6aeb4157256e" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_489b61b6-7c39-240c-7f68-1c1675bca3b7" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7a3a9730-2927-590e-4e76-6aeb4157256e" xlink:type="arc"/>
<link:loc xlink:href="nmih-20190930.xsd#nmih_GainLossonChangeinFairValueofWarrantLiability" xlink:label="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_1a7b86c8-485c-25c0-c26f-df89415dc771" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_7a3a9730-2927-590e-4e76-6aeb4157256e" xlink:to="loc_nmih_GainLossonChangeinFairValueofWarrantLiability_1a7b86c8-485c-25c0-c26f-df89415dc771" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_16e9f6a6-5524-a7b1-7e7c-73ee97610ec6" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherNonoperatingIncomeExpense_7a3a9730-2927-590e-4e76-6aeb4157256e" xlink:to="loc_us-gaap_InterestExpense_16e9f6a6-5524-a7b1-7e7c-73ee97610ec6" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_666ca9f0-28f1-b21a-025e-36222808a6c3" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_e170ce1e-c3a8-e8ee-88b0-37e8dd7b1d11" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_666ca9f0-28f1-b21a-025e-36222808a6c3" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5e0cb0dc-b25c-aaae-62f8-cb90f31a16a1" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_5c8b3520-1ca2-0a91-0912-70d62831826c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5e0cb0dc-b25c-aaae-62f8-cb90f31a16a1" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_e88bd855-1cc4-7d92-7586-c29e344f0391" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5e0cb0dc-b25c-aaae-62f8-cb90f31a16a1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_e88bd855-1cc4-7d92-7586-c29e344f0391" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_dea146b3-6d50-c215-7c85-641051f14bf2" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_5e0cb0dc-b25c-aaae-62f8-cb90f31a16a1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_dea146b3-6d50-c215-7c85-641051f14bf2" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CondensedConsolidatedStatementsOfOperationsAndComprehensiveIncomeLossUnauditedParenthetical" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/CoverPage" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/Debt" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/DebtNarrativeDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/DebtScheduleOfFuturePrincipalPaymentsDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_FD9E378867575A37BA3FA3776760796F" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_0CDF8B492C145C23AFA73851CEC14A56" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_FD9E378867575A37BA3FA3776760796F" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_0CDF8B492C145C23AFA73851CEC14A56" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_89576FC4013B5B84ACFB7405F40F68B7" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_FD9E378867575A37BA3FA3776760796F" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_89576FC4013B5B84ACFB7405F40F68B7" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_E6DE946085ED5ED888B294DA4B6167A8" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_FD9E378867575A37BA3FA3776760796F" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_E6DE946085ED5ED888B294DA4B6167A8" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_0E78A87BA2A25B08B3FEA3D92F461C0B" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_FD9E378867575A37BA3FA3776760796F" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_0E78A87BA2A25B08B3FEA3D92F461C0B" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_80A2C5F80332517C9204F6D034A54931" xlink:type="locator"/>
<link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_FD9E378867575A37BA3FA3776760796F" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_80A2C5F80332517C9204F6D034A54931" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/DebtTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/EarningsPerShareEps" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/EarningsPerShareEpsDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fbdbb03d-8583-701f-d6e2-69f8229c6051" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_fbdbb03d-8583-701f-d6e2-69f8229c6051" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_72ad9ebf-e829-cc37-8382-628e47c585ab" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8c9389ea-1fbb-7e45-ce1f-5a1d89572c0d" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_72ad9ebf-e829-cc37-8382-628e47c585ab" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/EarningsPerShareEpsTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/FairValueOfFinancialInstruments" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsAssetsAndLiabilitiesAtFairValueDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_a0a5801b-c8ce-1793-dd5f-edbcde4cc5a3" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e562c48b-3e99-2c57-8e96-c3b81056b58c" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a0a5801b-c8ce-1793-dd5f-edbcde4cc5a3" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e562c48b-3e99-2c57-8e96-c3b81056b58c" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_554f95d2-cb4f-eb2c-68b3-7e12c8578a72" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_a0a5801b-c8ce-1793-dd5f-edbcde4cc5a3" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_554f95d2-cb4f-eb2c-68b3-7e12c8578a72" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_d2b58163-9b70-93d8-8da6-4d47d94fdd3f" xlink:type="locator"/>
<link:loc xlink:href="nmih-20190930.xsd#nmih_WarrantLiability" xlink:label="loc_nmih_WarrantLiability_d2a81f32-2b4e-e10b-d927-df89414bd000" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_d2b58163-9b70-93d8-8da6-4d47d94fdd3f" xlink:to="loc_nmih_WarrantLiability_d2a81f32-2b4e-e10b-d927-df89414bd000" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsRollforwardOfLevel3LiabilitiesDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/FairValueOfFinancialInstrumentsValuationAssumptionsForWarrantLiabilitiesDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxes" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/IncomeTaxesDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/Investments" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsAgingOfUnrealizedLossesDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_447294e8-f4eb-2b40-51a5-60fa019f8c40" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_44b817b0-a9ec-08a0-e6d5-8738955fbd29" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_447294e8-f4eb-2b40-51a5-60fa019f8c40" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_44b817b0-a9ec-08a0-e6d5-8738955fbd29" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_f50bd4fe-0acd-ab98-c92a-d313822079c5" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_447294e8-f4eb-2b40-51a5-60fa019f8c40" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_f50bd4fe-0acd-ab98-c92a-d313822079c5" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_bd4abe0a-6fe6-2d88-cf98-52c493407bcd" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_7d2f9305-3a51-279b-17e9-0a8bec7eba1b" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_bd4abe0a-6fe6-2d88-cf98-52c493407bcd" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_7d2f9305-3a51-279b-17e9-0a8bec7eba1b" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_fe6fe2fb-1c28-638d-7c2f-bc065610ad60" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_bd4abe0a-6fe6-2d88-cf98-52c493407bcd" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_fe6fe2fb-1c28-638d-7c2f-bc065610ad60" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_cd7cecd0-abe5-e076-ee63-cc97a9f215e0" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_9664c380-acfd-21d6-9c76-e3d5cd21f78d" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_cd7cecd0-abe5-e076-ee63-cc97a9f215e0" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsNumberOfPositions_9664c380-acfd-21d6-9c76-e3d5cd21f78d" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_071eb5dc-108b-e1f6-5081-93e2d81bdbdd" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionNumberOfPositions_cd7cecd0-abe5-e076-ee63-cc97a9f215e0" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerNumberOfPositions_071eb5dc-108b-e1f6-5081-93e2d81bdbdd" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsCorporateDebtSecuritiesByIndustryGroupDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsFairValuesAndGrossUnrealizedGainsAndLossesDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_27940abc-0cb4-eab4-8ef0-df4a4c0bb415" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9fbaf9cb-468f-3b91-9cf2-18d26152173d" xlink:type="locator"/>
<link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_27940abc-0cb4-eab4-8ef0-df4a4c0bb415" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_9fbaf9cb-468f-3b91-9cf2-18d26152173d" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_a23ab896-034e-8e96-1a84-63ffb40e496e" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_27940abc-0cb4-eab4-8ef0-df4a4c0bb415" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_a23ab896-034e-8e96-1a84-63ffb40e496e" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e562c48b-3e99-2c57-8e96-c3b81056b58c" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_27940abc-0cb4-eab4-8ef0-df4a4c0bb415" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_e562c48b-3e99-2c57-8e96-c3b81056b58c" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsNarrativeDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsNetInvestmentIncomeDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeNet" xlink:label="loc_us-gaap_InvestmentIncomeNet_D02A387E05E65851A5BDE5B8769CAB68" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeInterestAndDividend" xlink:label="loc_us-gaap_InvestmentIncomeInterestAndDividend_FA66F77565ED596BA6EB482676C3FA0F" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNet_D02A387E05E65851A5BDE5B8769CAB68" xlink:to="loc_us-gaap_InvestmentIncomeInterestAndDividend_FA66F77565ED596BA6EB482676C3FA0F" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_InvestmentIncomeInvestmentExpense" xlink:label="loc_us-gaap_InvestmentIncomeInvestmentExpense_983E49E956695AC8B965E09B02F96673" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentIncomeNet_D02A387E05E65851A5BDE5B8769CAB68" xlink:to="loc_us-gaap_InvestmentIncomeInvestmentExpense_983E49E956695AC8B965E09B02F96673" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsNetRealizedInvestmentGainsLossesDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_70a92108-04c8-ea13-dcdc-b3b1e3a5458e" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedGain" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_bf959114-1fbc-5fda-8c0b-dc77a3be947c" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_70a92108-04c8-ea13-dcdc-b3b1e3a5458e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGain_bf959114-1fbc-5fda-8c0b-dc77a3be947c" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_ffa1d70b-a245-36db-5216-ebca5e8dfa6d" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedGainLoss_70a92108-04c8-ea13-dcdc-b3b1e3a5458e" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleRealizedLoss_ffa1d70b-a245-36db-5216-ebca5e8dfa6d" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsScheduledMaturitiesDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_21F38956C4E95230A60748141CA7F96C" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_4644276918F85F12BDF15292116F26D0" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_21F38956C4E95230A60748141CA7F96C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_4644276918F85F12BDF15292116F26D0" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_45F6945556F65F96861DE404C0D4C61D" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_21F38956C4E95230A60748141CA7F96C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_45F6945556F65F96861DE404C0D4C61D" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_7D66701E906E523CA6C52CAD889AFD43" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_21F38956C4E95230A60748141CA7F96C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_7D66701E906E523CA6C52CAD889AFD43" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_B0E642ACF5DA55D2AB533AE6488C97F1" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_21F38956C4E95230A60748141CA7F96C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_B0E642ACF5DA55D2AB533AE6488C97F1" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_7995DA3535E6565F872A35EFF6452A32" xlink:type="locator"/>
<link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_21F38956C4E95230A60748141CA7F96C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateFairValue_7995DA3535E6565F872A35EFF6452A32" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_089388A8BFAE56BCB2D8F210853E3EFC" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_7832A6B95A4E5E198A7E67BFB35AE786" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_089388A8BFAE56BCB2D8F210853E3EFC" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_7832A6B95A4E5E198A7E67BFB35AE786" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_912F406E76F45ECA951B827DB47C543C" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_089388A8BFAE56BCB2D8F210853E3EFC" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_912F406E76F45ECA951B827DB47C543C" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_C9BD3B8A6EBE5E359FF8971FF3E0ADDC" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_089388A8BFAE56BCB2D8F210853E3EFC" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_C9BD3B8A6EBE5E359FF8971FF3E0ADDC" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_40F796C9A59C58BF97A2FED63D74FFBF" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_089388A8BFAE56BCB2D8F210853E3EFC" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_40F796C9A59C58BF97A2FED63D74FFBF" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_40DF953C03D5519ABF6BBD3DAC2C25A1" xlink:type="locator"/>
<link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_089388A8BFAE56BCB2D8F210853E3EFC" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_40DF953C03D5519ABF6BBD3DAC2C25A1" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/InvestmentsTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/Leases" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/LeasesFutureMinimumLeasePaymentsAsAccountedForPriorToAdoptionOfAsu201602Details" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_4cf71329-74d6-54f3-cadb-acb7f1063f36" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_4cf71329-74d6-54f3-cadb-acb7f1063f36" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_f2a573e7-27e5-db11-63c6-c460733b5ea3" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_f2a573e7-27e5-db11-63c6-c460733b5ea3" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_398384fb-b756-b11a-1ea4-5a5cd4372c82" xlink:type="locator"/>
<link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_398384fb-b756-b11a-1ea4-5a5cd4372c82" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_832fb73d-9886-a0dd-5905-8e2ec54304d6" xlink:type="locator"/>
<link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_832fb73d-9886-a0dd-5905-8e2ec54304d6" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_1f2c68db-a374-1412-5f1f-4edca1431bbb" xlink:type="locator"/>
<link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_acfb1bbb-4a5b-18c4-ab71-d62ae0aecfa0" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_1f2c68db-a374-1412-5f1f-4edca1431bbb" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/LeasesFuturePaymentDueUnderOperatingLeasesDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_07815ffa-512a-3133-dcbb-38e09d2626b9" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_07815ffa-512a-3133-dcbb-38e09d2626b9" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_1c2cd15f-6a97-015f-b126-1d0a0750698b" xlink:to="loc_us-gaap_OperatingLeaseLiability_b983c2d8-8318-0a7e-1a5c-6ab2933f7be5" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/LeasesNarrativeDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/LeasesRightOfUseAssetAndLeaseLiabilityAssumptionsDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/LeasesTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciples" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesNarrativeDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesPolicies" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/OrganizationBasisOfPresentationAndSummaryOfAccountingPrinciplesRecentAccountingPronouncementsDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformation" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformationScheduleOfStatutorySurplusContingencyReserveAndRtcRatioDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformationStatutoryNetIncomeLossDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/RegulatoryInformationTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/Reinsurance" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceAmountsCededRelatedToQsrTransactionsDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceEffectOfReinsuranceAgreementsOnPremiumsWrittenAndEarnedDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PremiumsWrittenNet" xlink:label="loc_us-gaap_PremiumsWrittenNet_7DD43AB584F855BA9F1A04C79CF3A39E" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DirectPremiumsWritten" xlink:label="loc_us-gaap_DirectPremiumsWritten_55B4D415004255E280FBA965E85C4EEF" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PremiumsWrittenNet_7DD43AB584F855BA9F1A04C79CF3A39E" xlink:to="loc_us-gaap_DirectPremiumsWritten_55B4D415004255E280FBA965E85C4EEF" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CededPremiumsWritten" xlink:label="loc_us-gaap_CededPremiumsWritten_97F72307E7625CFFB888F263974DF0D3" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PremiumsWrittenNet_7DD43AB584F855BA9F1A04C79CF3A39E" xlink:to="loc_us-gaap_CededPremiumsWritten_97F72307E7625CFFB888F263974DF0D3" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PremiumsEarnedNet" xlink:label="loc_us-gaap_PremiumsEarnedNet_C66F0F4D230A5463BE0AAA860A233EAE" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_DirectPremiumsEarned" xlink:label="loc_us-gaap_DirectPremiumsEarned_B1805DE5DAE95EA1BE8FABE22A745FFC" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PremiumsEarnedNet_C66F0F4D230A5463BE0AAA860A233EAE" xlink:to="loc_us-gaap_DirectPremiumsEarned_B1805DE5DAE95EA1BE8FABE22A745FFC" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_CededPremiumsEarned" xlink:label="loc_us-gaap_CededPremiumsEarned_E29164E3498E5118BBD6875A43DB9FB1" xlink:type="locator"/>
<link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PremiumsEarnedNet_C66F0F4D230A5463BE0AAA860A233EAE" xlink:to="loc_us-gaap_CededPremiumsEarned_E29164E3498E5118BBD6875A43DB9FB1" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceIlnTransactionsDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceNarrativeDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReinsuranceTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpenses" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpensesNarrativeDetails" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpensesReconciliationOfReserveBalancesForInsuranceClaimsAndClaimExpenseDetails" xlink:type="extended">
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_d8f63898-4459-5fff-0e7a-e5ce271818ac" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense" xlink:label="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_4de47903-8980-491e-a005-9d6fcf669df1" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_d8f63898-4459-5fff-0e7a-e5ce271818ac" xlink:to="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersCurrentYearClaimsAndClaimsAdjustmentExpense_4de47903-8980-491e-a005-9d6fcf669df1" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense" xlink:label="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_7cd7aeac-daa5-55ab-c126-aed30065b1de" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseIncurredClaims1_d8f63898-4459-5fff-0e7a-e5ce271818ac" xlink:to="loc_us-gaap_SupplementalInformationForPropertyCasualtyInsuranceUnderwritersPriorYearClaimsAndClaimsAdjustmentExpense_7cd7aeac-daa5-55ab-c126-aed30065b1de" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_PaymentsForLossesAndLossAdjustmentExpense" xlink:label="loc_us-gaap_PaymentsForLossesAndLossAdjustmentExpense_4a09b102-4796-3f11-5735-c1e035a996f0" xlink:type="locator"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_04da4ee7-f521-b045-0459-5ddb7480d030" xlink:type="locator"/>
<link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsForLossesAndLossAdjustmentExpense_4a09b102-4796-3f11-5735-c1e035a996f0" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidCurrentYear1_04da4ee7-f521-b045-0459-5ddb7480d030" xlink:type="arc"/>
<link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2019/elts/us-gaap-2019-01-31.xsd#us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1" xlink:label="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_67ba34ec-e3e8-6c46-146a-ddb0928dee95" xlink:type="locator"/>
<link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsForLossesAndLossAdjustmentExpense_4a09b102-4796-3f11-5735-c1e035a996f0" xlink:to="loc_us-gaap_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidPriorYears1_67ba34ec-e3e8-6c46-146a-ddb0928dee95" xlink:type="arc"/>
<link:loc xlink:href="nmih-20190930.xsd#nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidReinsuranceTerminations" xlink:label="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidReinsuranceTerminations_3A2D04989F56974116C7F427A1C9766A" xlink:type="locator"/>
<link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PaymentsForLossesAndLossAdjustmentExpense_4a09b102-4796-3f11-5735-c1e035a996f0" xlink:to="loc_nmih_LiabilityForUnpaidClaimsAndClaimsAdjustmentExpenseClaimsPaidReinsuranceTerminations_3A2D04989F56974116C7F427A1C9766A" xlink:type="arc"/>
</link:calculationLink>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/ReservesForInsuranceClaimsAndClaimExpensesTables" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/Warrants" xlink:type="extended"/>
<link:calculationLink xlink:role="http://www.nationalmi.com/role/WarrantsDetails" xlink:type="extended"/>
</link:linkbase>

Top
Filing Submission 0001547903-19-000131   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Wed., May 8, 8:35:54.1am ET