<?xml version="1.0" encoding="US-ASCII"?>
<!--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://bofiholding.com/role/Acquisitions" xlink:href="bofi-20180630.xsd#Acquisitions" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AcquisitionsFairValueOfAssetsAcquiredDetails" xlink:href="bofi-20180630.xsd#AcquisitionsFairValueOfAssetsAcquiredDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AcquisitionsNarrativeDetails" xlink:href="bofi-20180630.xsd#AcquisitionsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AcquisitionsTables" xlink:href="bofi-20180630.xsd#AcquisitionsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBank" xlink:href="bofi-20180630.xsd#AdvancesFromFederalHomeLoanBank" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBankNarrativeDetails" xlink:href="bofi-20180630.xsd#AdvancesFromFederalHomeLoanBankNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBankScheduledMaturitiesDetails" xlink:href="bofi-20180630.xsd#AdvancesFromFederalHomeLoanBankScheduledMaturitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBankTables" xlink:href="bofi-20180630.xsd#AdvancesFromFederalHomeLoanBankTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/CommitmentsAndContingencies" xlink:href="bofi-20180630.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:href="bofi-20180630.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/CommitmentsAndContingenciesNarrativeDetails" xlink:href="bofi-20180630.xsd#CommitmentsAndContingenciesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/CommitmentsAndContingenciesTables" xlink:href="bofi-20180630.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedBalanceSheets" xlink:href="bofi-20180630.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="bofi-20180630.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="bofi-20180630.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="bofi-20180630.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:href="bofi-20180630.xsd#ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedStatementsOfIncome" xlink:href="bofi-20180630.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="bofi-20180630.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/Deposits" xlink:href="bofi-20180630.xsd#Deposits" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/DepositsScheduledMaturitiesOfTimeDepositsDetails" xlink:href="bofi-20180630.xsd#DepositsScheduledMaturitiesOfTimeDepositsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/DepositsSummaryOfDepositAccountsDetails" xlink:href="bofi-20180630.xsd#DepositsSummaryOfDepositAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/DepositsTables" xlink:href="bofi-20180630.xsd#DepositsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/DocumentAndEntityInformation" xlink:href="bofi-20180630.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/EarningsPerCommonShare" xlink:href="bofi-20180630.xsd#EarningsPerCommonShare" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/EarningsPerCommonShareCalculationOfBasicAndDilutedEpsDetails" xlink:href="bofi-20180630.xsd#EarningsPerCommonShareCalculationOfBasicAndDilutedEpsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/EarningsPerCommonShareTables" xlink:href="bofi-20180630.xsd#EarningsPerCommonShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/EmployeeBenefitPlan" xlink:href="bofi-20180630.xsd#EmployeeBenefitPlan" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/EmployeeBenefitPlanDetails" xlink:href="bofi-20180630.xsd#EmployeeBenefitPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValue" xlink:href="bofi-20180630.xsd#FairValue" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails" xlink:href="bofi-20180630.xsd#FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueAssetsMeasuredNonrecurringBasisDetails" xlink:href="bofi-20180630.xsd#FairValueAssetsMeasuredNonrecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueFairValueByBalanceSheetGroupingDetails" xlink:href="bofi-20180630.xsd#FairValueFairValueByBalanceSheetGroupingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueLevel3AssetsMeasuredOnRecurringBasisDetails" xlink:href="bofi-20180630.xsd#FairValueLevel3AssetsMeasuredOnRecurringBasisDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueLevel3UnrealizedGainLossDetails" xlink:href="bofi-20180630.xsd#FairValueLevel3UnrealizedGainLossDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueLoansHeldForSaleDetails" xlink:href="bofi-20180630.xsd#FairValueLoansHeldForSaleDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueNarrativeDetails" xlink:href="bofi-20180630.xsd#FairValueNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueQuantitativeInformationForLevel3FairValueMeasurmentsNonrecurringDetails" xlink:href="bofi-20180630.xsd#FairValueQuantitativeInformationForLevel3FairValueMeasurmentsNonrecurringDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueQuantitativeInformationForLevel3FairValueMeasurmentsRecurringDetails" xlink:href="bofi-20180630.xsd#FairValueQuantitativeInformationForLevel3FairValueMeasurmentsRecurringDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FairValueTables" xlink:href="bofi-20180630.xsd#FairValueTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FurnitureEquipmentAndSoftware" xlink:href="bofi-20180630.xsd#FurnitureEquipmentAndSoftware" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FurnitureEquipmentAndSoftwareDetails" xlink:href="bofi-20180630.xsd#FurnitureEquipmentAndSoftwareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/FurnitureEquipmentAndSoftwareTables" xlink:href="bofi-20180630.xsd#FurnitureEquipmentAndSoftwareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssets" xlink:href="bofi-20180630.xsd#GoodwillAndOtherIintangibleAssets" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsActivityInGoodwillBalanceDetails" xlink:href="bofi-20180630.xsd#GoodwillAndOtherIintangibleAssetsActivityInGoodwillBalanceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsEstimatedFutureAmortizationExpenseOfAcquiredIntangibleAssetsDetails" xlink:href="bofi-20180630.xsd#GoodwillAndOtherIintangibleAssetsEstimatedFutureAmortizationExpenseOfAcquiredIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsSummaryOfAcquiredIntangibleAssetsDetails" xlink:href="bofi-20180630.xsd#GoodwillAndOtherIintangibleAssetsSummaryOfAcquiredIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsTables" xlink:href="bofi-20180630.xsd#GoodwillAndOtherIintangibleAssetsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsWeightedAverageUsefulLifeOfAcquiredIntangibleAssetsDetails" xlink:href="bofi-20180630.xsd#GoodwillAndOtherIintangibleAssetsWeightedAverageUsefulLifeOfAcquiredIntangibleAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxes" xlink:href="bofi-20180630.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxesComponentsOfIncomeTaxesDetails" xlink:href="bofi-20180630.xsd#IncomeTaxesComponentsOfIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:href="bofi-20180630.xsd#IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxesNarrativeDetails" xlink:href="bofi-20180630.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxesNetDeferredTaxAssetDetails" xlink:href="bofi-20180630.xsd#IncomeTaxesNetDeferredTaxAssetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxesTables" xlink:href="bofi-20180630.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="bofi-20180630.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLosses" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLosses" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesActivityForAllowanceForLoanLossesDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesActivityForAllowanceForLoanLossesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForCreditLossNarrativeDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForCreditLossNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForLoanLossByClassDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForLoanLossByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForLoanLossByPortfolioClassDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForLoanLossByPortfolioClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesCompositionOfLoansDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesCompositionOfLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesImpairedLoansDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesImpairedLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansByClassModifiedAsTdrWithPreAndPostBalancesDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesLoansByClassModifiedAsTdrWithPreAndPostBalancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansByCreditQualityIndicatorDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesLoansByCreditQualityIndicatorDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansIndividuallyEvaluatedForImpairmentDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesLoansIndividuallyEvaluatedForImpairmentDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansModifiedAsTdrByClassDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesLoansModifiedAsTdrByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansNarrativeDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesLoansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesNonaccrualLoansDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesNonaccrualLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesNonaccrualLoansNarrativeDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesNonaccrualLoansNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesPastDueLoansDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesPastDueLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesPerformingAndNonaccrualByClassAndSourceDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesPerformingAndNonaccrualByClassAndSourceDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesTables" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsByClassDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsByClassDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesUnpaidPrincipalBalanceForPerformingAndNonaccrualDetails" xlink:href="bofi-20180630.xsd#LoansLeasesAllowanceForLoanAndLeaseLossesUnpaidPrincipalBalanceForPerformingAndNonaccrualDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/MinimumRegulatoryCapitalRequirements" xlink:href="bofi-20180630.xsd#MinimumRegulatoryCapitalRequirements" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/MinimumRegulatoryCapitalRequirementsDetails" xlink:href="bofi-20180630.xsd#MinimumRegulatoryCapitalRequirementsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/MinimumRegulatoryCapitalRequirementsTables" xlink:href="bofi-20180630.xsd#MinimumRegulatoryCapitalRequirementsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OffBalanceSheetActivities" xlink:href="bofi-20180630.xsd#OffBalanceSheetActivities" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OffBalanceSheetActivitiesDetails" xlink:href="bofi-20180630.xsd#OffBalanceSheetActivitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPolicies" xlink:href="bofi-20180630.xsd#OrganizationsAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:href="bofi-20180630.xsd#OrganizationsAndSummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="bofi-20180630.xsd#OrganizationsAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesRevisionsOfCalculationsOfBasicAndDilutedEarningsPerCommonShareDetails" xlink:href="bofi-20180630.xsd#OrganizationsAndSummaryOfSignificantAccountingPoliciesRevisionsOfCalculationsOfBasicAndDilutedEarningsPerCommonShareDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesRevisionsOfClassificationOfProceedsFromSaleOfLoansDetails" xlink:href="bofi-20180630.xsd#OrganizationsAndSummaryOfSignificantAccountingPoliciesRevisionsOfClassificationOfProceedsFromSaleOfLoansDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesTables" xlink:href="bofi-20180630.xsd#OrganizationsAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformation" xlink:href="bofi-20180630.xsd#ParentOnlyCondensedFinancialInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails" xlink:href="bofi-20180630.xsd#ParentOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationStatementOfCashFlowsDetails" xlink:href="bofi-20180630.xsd#ParentOnlyCondensedFinancialInformationStatementOfCashFlowsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationStatementsOfIncomeDetails" xlink:href="bofi-20180630.xsd#ParentOnlyCondensedFinancialInformationStatementsOfIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationTables" xlink:href="bofi-20180630.xsd#ParentOnlyCondensedFinancialInformationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/QuarterlyFinancialInformationUnaudited" xlink:href="bofi-20180630.xsd#QuarterlyFinancialInformationUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:href="bofi-20180630.xsd#QuarterlyFinancialInformationUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:href="bofi-20180630.xsd#QuarterlyFinancialInformationUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/Securities" xlink:href="bofi-20180630.xsd#Securities" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesCarryingAmountAndFairValueOfSecuritiesDetails" xlink:href="bofi-20180630.xsd#SecuritiesCarryingAmountAndFairValueOfSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesInvestmentsClassifiedByContractualMaturityDateDetails" xlink:href="bofi-20180630.xsd#SecuritiesInvestmentsClassifiedByContractualMaturityDateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesNarrativeDetails" xlink:href="bofi-20180630.xsd#SecuritiesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDetails" xlink:href="bofi-20180630.xsd#SecuritiesOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesRealizedGainLossOnInvestmentsDetails" xlink:href="bofi-20180630.xsd#SecuritiesRealizedGainLossOnInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesScheduleOfUnrealizedLossOnInvestmentsDetails" xlink:href="bofi-20180630.xsd#SecuritiesScheduleOfUnrealizedLossOnInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesTables" xlink:href="bofi-20180630.xsd#SecuritiesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SecuritiesUnrealizedGainLossOnInvestmentsDetails" xlink:href="bofi-20180630.xsd#SecuritiesUnrealizedGainLossOnInvestmentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockBasedCompensation" xlink:href="bofi-20180630.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockBasedCompensationNarrativeDetails" xlink:href="bofi-20180630.xsd#StockBasedCompensationNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockBasedCompensationStatusOfChangeInRestrictedStockGrantsDetails" xlink:href="bofi-20180630.xsd#StockBasedCompensationStatusOfChangeInRestrictedStockGrantsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:href="bofi-20180630.xsd#StockBasedCompensationStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockBasedCompensationTables" xlink:href="bofi-20180630.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockBasedCompensationUnrecognizedCompensationExpenseDetails" xlink:href="bofi-20180630.xsd#StockBasedCompensationUnrecognizedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockholdersEquity" xlink:href="bofi-20180630.xsd#StockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockholdersEquityAtmOfferingDetails" xlink:href="bofi-20180630.xsd#StockholdersEquityAtmOfferingDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockholdersEquityChangesInCommonStockDetails" xlink:href="bofi-20180630.xsd#StockholdersEquityChangesInCommonStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockholdersEquityNarrativeDetails" xlink:href="bofi-20180630.xsd#StockholdersEquityNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/StockholdersEquityTables" xlink:href="bofi-20180630.xsd#StockholdersEquityTables" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SubordinatedNotesAndDebentures" xlink:href="bofi-20180630.xsd#SubordinatedNotesAndDebentures" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SubordinatedNotesAndDebenturesDetails" xlink:href="bofi-20180630.xsd#SubordinatedNotesAndDebenturesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SubsequentEvent" xlink:href="bofi-20180630.xsd#SubsequentEvent" xlink:type="simple" />
  <link:roleRef roleURI="http://bofiholding.com/role/SubsequentEventDetails" xlink:href="bofi-20180630.xsd#SubsequentEventDetails" xlink:type="simple" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/Acquisitions" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/AcquisitionsFairValueOfAssetsAcquiredDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_9e42af13-4663-babb-7e54-876bbc046779" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_78ba68d7-f289-318f-e37f-e4831b34f534" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_9e42af13-4663-babb-7e54-876bbc046779" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_78ba68d7-f289-318f-e37f-e4831b34f534" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1184f71b-eb96-34a8-7c86-c43ab50947af" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_2fb474b5-5859-9678-205e-8aa88ca40daa" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_1184f71b-eb96-34a8-7c86-c43ab50947af" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_2fb474b5-5859-9678-205e-8aa88ca40daa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6558b51b-e5e6-31be-658a-d87768e28cf6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_2fb474b5-5859-9678-205e-8aa88ca40daa" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibles_6558b51b-e5e6-31be-658a-d87768e28cf6" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccountsReceivableandFixedAssets" xlink:label="loc_bofi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccountsReceivableandFixedAssets_D1C961245ABFD80F10955805C7A5F280" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_2fb474b5-5859-9678-205e-8aa88ca40daa" xlink:to="loc_bofi_BusinessCombinationRecognizedIdentifiableAssetsAcquiredandLiabilitiesAssumedAccountsReceivableandFixedAssets_D1C961245ABFD80F10955805C7A5F280" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/AcquisitionsNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/AcquisitionsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBank" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBankNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBankScheduledMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate_e4a55efd-3a15-7543-3ae2-2b3c956d7927" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueWithinOneYearOfBalanceSheetDate_e4a55efd-3a15-7543-3ae2-2b3c956d7927" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate_3b68a0b2-795e-4b18-59cf-63d533f3636d" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromOneToTwoYearsOfBalanceSheetDate_3b68a0b2-795e-4b18-59cf-63d533f3636d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate_2135be32-63ac-bea2-c079-de410701ec7d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromTwoToThreeYearsOfBalanceSheetDate_2135be32-63ac-bea2-c079-de410701ec7d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate_0ce80f43-2c76-ea6e-7982-cb8d31bac175" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromThreeToFourYearsOfBalanceSheetDate_0ce80f43-2c76-ea6e-7982-cb8d31bac175" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromFourToFiveYearsOfBalanceSheetDate" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromFourToFiveYearsOfBalanceSheetDate_42e6815e-027e-feb3-dd4a-db777c3c9914" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueFromFourToFiveYearsOfBalanceSheetDate_42e6815e-027e-feb3-dd4a-db777c3c9914" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueAfterFiveYearsOfBalanceSheetDate" xlink:label="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueAfterFiveYearsOfBalanceSheetDate_291aaf0d-f5b8-b671-5530-815f35c217d8" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:to="loc_us-gaap_FederalHomeLoanBankAdvancesMaturitiesSummaryDueAfterFiveYearsOfBalanceSheetDate_291aaf0d-f5b8-b671-5530-815f35c217d8" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/AdvancesFromFederalHomeLoanBankTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_f67237f3-7c78-8a5c-b7b3-17f1eb0b017a" 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_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_f67237f3-7c78-8a5c-b7b3-17f1eb0b017a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_ccaff3fc-3d87-e58a-0083-69dda0c10f9d" 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_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_ccaff3fc-3d87-e58a-0083-69dda0c10f9d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_39e76369-4fdc-9d5f-860a-45d0795e5fb0" 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_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_39e76369-4fdc-9d5f-860a-45d0795e5fb0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_fe404cae-7fcc-3489-844f-4d90e9776180" 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_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_fe404cae-7fcc-3489-844f-4d90e9776180" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_5b651b24-1278-4eab-c840-7002c6d68546" 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_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_5b651b24-1278-4eab-c840-7002c6d68546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_36c616b1-40de-90d4-3c05-7e224ce1169a" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_30d028f9-2f3a-4a0c-02f8-ea9552d875b6" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_36c616b1-40de-90d4-3c05-7e224ce1169a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/CommitmentsAndContingenciesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsAndFederalFundsSold" xlink:label="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndDueFromBanks" xlink:label="loc_us-gaap_CashAndDueFromBanks_f08f0ea2-f2a1-969a-62a5-610ddb2a9eda" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:to="loc_us-gaap_CashAndDueFromBanks_f08f0ea2-f2a1-969a-62a5-610ddb2a9eda" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalFundsSold" xlink:label="loc_us-gaap_FederalFundsSold_1291b784-01f6-0e28-6a6f-210edc623546" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsAndFederalFundsSold_b79ff679-e121-58b4-e28e-2fdcb6044476" xlink:to="loc_us-gaap_FederalFundsSold_1291b784-01f6-0e28-6a6f-210edc623546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_ef1bb5a1-dc20-9776-a20e-84958101e83f" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_TradingSecurities_ef1bb5a1-dc20-9776-a20e-84958101e83f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FederalHomeLoanBankStock" xlink:label="loc_us-gaap_FederalHomeLoanBankStock_91f6ccf0-462e-33f8-5e55-7954faca296e" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_FederalHomeLoanBankStock_91f6ccf0-462e-33f8-5e55-7954faca296e" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleCarriedAtFairValue" xlink:label="loc_bofi_LoansHeldForSaleCarriedAtFairValue_865827b8-8688-0154-8fa2-21f89c59e6ee" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_bofi_LoansHeldForSaleCarriedAtFairValue_865827b8-8688-0154-8fa2-21f89c59e6ee" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleLowerOfCostOrFairValue" xlink:label="loc_bofi_LoansHeldForSaleLowerOfCostOrFairValue_5ad846b3-f9bb-08ed-630b-21f8a01ce103" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_bofi_LoansHeldForSaleLowerOfCostOrFairValue_5ad846b3-f9bb-08ed-630b-21f8a01ce103" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestReceivable" xlink:label="loc_us-gaap_InterestReceivable_1b69c830-bc0e-9c5b-41c9-e13cffc645fa" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_InterestReceivable_1b69c830-bc0e-9c5b-41c9-e13cffc645fa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsNet" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_476b367a-1ad6-eb34-c01b-595b754b8aa8" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_476b367a-1ad6-eb34-c01b-595b754b8aa8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BankOwnedLifeInsurance" xlink:label="loc_us-gaap_BankOwnedLifeInsurance_caec13f0-9dfe-6964-18c0-bcbea75362ea" xlink:type="locator" />
    <link:calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_BankOwnedLifeInsurance_caec13f0-9dfe-6964-18c0-bcbea75362ea" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ServicingAsset" xlink:label="loc_us-gaap_ServicingAsset_6b907406-6fa3-594e-c4e5-ea2685c5d29d" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_ServicingAsset_6b907406-6fa3-594e-c4e5-ea2685c5d29d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeclosedAssets" xlink:label="loc_us-gaap_ForeclosedAssets_f04ab23a-289e-fb20-1f0d-44b9849c6d83" xlink:type="locator" />
    <link:calculationArc order="13" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_ForeclosedAssets_f04ab23a-289e-fb20-1f0d-44b9849c6d83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_cb59c411-be61-59fa-38c9-6346bc0b7f01" xlink:type="locator" />
    <link:calculationArc order="14" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_cb59c411-be61-59fa-38c9-6346bc0b7f01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="locator" />
    <link:calculationArc order="15" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" 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_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Deposits" xlink:label="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestBearingDepositLiabilities" xlink:label="loc_us-gaap_NoninterestBearingDepositLiabilities_e132c416-fd6b-8a73-3443-4dbb97e7041b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_NoninterestBearingDepositLiabilities_e132c416-fd6b-8a73-3443-4dbb97e7041b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Deposits_bac76255-5267-a5d6-5c3c-ff8e870786ee" xlink:to="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SecuritiesSoldUnderAgreementsToRepurchase" xlink:label="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_744877d9-d92a-da80-57fe-fd23c5ed3d2f" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_SecuritiesSoldUnderAgreementsToRepurchase_744877d9-d92a-da80-57fe-fd23c5ed3d2f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdvancesFromFederalHomeLoanBanks" xlink:label="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_AdvancesFromFederalHomeLoanBanks_321f257b-7432-8d3b-21bd-9be1091575a8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubordinatedDebt" xlink:label="loc_us-gaap_SubordinatedDebt_09dd298a-e4ed-b05e-26af-e75d4775c837" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_SubordinatedDebt_09dd298a-e4ed-b05e-26af-e75d4775c837" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_de577786-1529-5960-9bfe-0d2437bb27f5" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_de577786-1529-5960-9bfe-0d2437bb27f5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_f0c68f4f-7ec1-d447-8ba7-0f2766abbe67" 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_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_CommitmentsAndContingencies_f0c68f4f-7ec1-d447-8ba7-0f2766abbe67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" 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_63817d40-f759-fa9c-45a5-8bbbb36ed5c9" xlink:to="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_ea289a9d-deba-2cde-21e4-3d0ae7a1f011" 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_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_PreferredStockValue_ea289a9d-deba-2cde-21e4-3d0ae7a1f011" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" 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_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_6dca832a-861c-478d-b1a0-396533beb40d" 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_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AdditionalPaidInCapital_6dca832a-861c-478d-b1a0-396533beb40d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" 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_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_70b30340-b55c-aed7-73f5-36d397294f84" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_6765f135-8c69-bebc-a116-d59a52a5b2f2" xlink:to="loc_us-gaap_TreasuryStockValue_70b30340-b55c-aed7-73f5-36d397294f84" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeposits" xlink:label="loc_us-gaap_IncreaseDecreaseInDeposits_e8af2fca-81f7-f33a-8acf-39682ab6a5e9" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_IncreaseDecreaseInDeposits_e8af2fca-81f7-f33a-8acf-39682ab6a5e9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromFederalHomeLoanBankAdvances" xlink:label="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_d00d7e3a-12b9-b4f9-4a03-67a66ffab52a" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromFederalHomeLoanBankAdvances_d00d7e3a-12b9-b4f9-4a03-67a66ffab52a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForFederalHomeLoanBankAdvances" xlink:label="loc_us-gaap_PaymentsForFederalHomeLoanBankAdvances_c6c6cf84-c94a-c6f6-0f2e-da5816366557" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsForFederalHomeLoanBankAdvances_c6c6cf84-c94a-c6f6-0f2e-da5816366557" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_ProceedsFromRepaymentsOfFederalHomeLoanBankOtherAdvances" xlink:label="loc_bofi_ProceedsFromRepaymentsOfFederalHomeLoanBankOtherAdvances_449a9fef-a0fc-b2b7-4f86-21f89c524809" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_bofi_ProceedsFromRepaymentsOfFederalHomeLoanBankOtherAdvances_449a9fef-a0fc-b2b7-4f86-21f89c524809" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_7d42c724-e395-d9cd-4d02-38341e761dae" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_RepaymentsOfDebt_7d42c724-e395-d9cd-4d02-38341e761dae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_43305c85-41ff-3d0f-c464-dc8983363bce" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_43305c85-41ff-3d0f-c464-dc8983363bce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" 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_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_706d3cc5-3df5-1e1a-5067-c02728407eb6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_6ec8bc8e-bcd9-36ad-d8ae-2c2fa1dfd920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_533cef65-f809-b4cc-fbfc-c72da59ce951" xlink:type="locator" />
    <link:calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_533cef65-f809-b4cc-fbfc-c72da59ce951" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock" xlink:label="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_e1f62c75-9e28-2fe9-91b7-4f4d0aee4e0a" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_PaymentsOfDividendsPreferredStockAndPreferenceStock_e1f62c75-9e28-2fe9-91b7-4f4d0aee4e0a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt_707bafb7-8aad-5e29-c15a-0e68edfc9a93" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d8917e24-06dd-060d-a290-e426c7895e54" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSubordinatedLongTermDebt_707bafb7-8aad-5e29-c15a-0e68edfc9a93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_ee3fb709-d548-2ee3-f8d1-e07a929829cb" 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_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_ee3fb709-d548-2ee3-f8d1-e07a929829cb" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_ProceedsfromSaleofAvailableforsaleandTradingSecurities" xlink:label="loc_bofi_ProceedsfromSaleofAvailableforsaleandTradingSecurities_D1C3A71368E866DCC49957B26AE94475" 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_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_bofi_ProceedsfromSaleofAvailableforsaleandTradingSecurities_D1C3A71368E866DCC49957B26AE94475" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_ProceedsFromRepaymentOfSecurities" xlink:label="loc_bofi_ProceedsFromRepaymentOfSecurities_7f8bb0cf-02cb-7f95-6d79-21f89f6b6077" 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_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_bofi_ProceedsFromRepaymentOfSecurities_7f8bb0cf-02cb-7f95-6d79-21f89f6b6077" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireFederalReserveStock" xlink:label="loc_us-gaap_PaymentsToAcquireFederalReserveStock_0cf0160b-0d79-b39e-5818-1e32437fd116" 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_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireFederalReserveStock_0cf0160b-0d79-b39e-5818-1e32437fd116" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfFederalReserveStock" xlink:label="loc_us-gaap_ProceedsFromSaleOfFederalReserveStock_c4df09c2-557a-0adb-f47b-c4507026a0a1" 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_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfFederalReserveStock_c4df09c2-557a-0adb-f47b-c4507026a0a1" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_OriginationOfLoansNet" xlink:label="loc_bofi_OriginationOfLoansNet_f2be4667-306a-20fa-c1d2-21f89cac4ad3" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_bofi_OriginationOfLoansNet_f2be4667-306a-20fa-c1d2-21f89cac4ad3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForInvestment" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForInvestment_d57ab547-2dd8-2000-901e-07837ece9658" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForInvestment_d57ab547-2dd8-2000-901e-07837ece9658" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale" xlink:label="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_577bdd45-f35a-c8f3-52b3-586cf5b560ca" xlink:type="locator" />
    <link:calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsForOriginationOfMortgageLoansHeldForSale_577bdd45-f35a-c8f3-52b3-586cf5b560ca" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_f7a05dd0-d1a9-4315-39bd-0a10a3074473" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_f7a05dd0-d1a9-4315-39bd-0a10a3074473" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_78ba68d7-f289-318f-e37f-e4831b34f534" xlink:type="locator" />
    <link:calculationArc order="10" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_78ba68d7-f289-318f-e37f-e4831b34f534" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_PurchasesOfLoansNetOfDiscountsAndPremiums" xlink:label="loc_bofi_PurchasesOfLoansNetOfDiscountsAndPremiums_4f7b4443-17bd-ec1c-9135-21f89dbd5cce" xlink:type="locator" />
    <link:calculationArc order="11" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_bofi_PurchasesOfLoansNetOfDiscountsAndPremiums_4f7b4443-17bd-ec1c-9135-21f89dbd5cce" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:label="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_bd5ab5f0-a264-b4d5-ddd3-4ced9c0ad473" xlink:type="locator" />
    <link:calculationArc order="12" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_bd5ab5f0-a264-b4d5-ddd3-4ced9c0ad473" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireProductiveAssets" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_8cec699e-eb8f-7a25-49e6-e52d81fe4f5f" xlink:type="locator" />
    <link:calculationArc order="13" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_28655e34-499f-b7bf-c54f-5de0990d0c65" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_8cec699e-eb8f-7a25-49e6-e52d81fe4f5f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_ad8f5587-cd30-97dd-9cf0-81ed4f58516c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_4f3832d5-e2fd-470b-5e04-ece38e7ab02d" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_AmortizationAccretionOfPremiumsDiscountsLoans" xlink:label="loc_bofi_AmortizationAccretionOfPremiumsDiscountsLoans_18b8eb01-04d8-6aad-9089-21f8a2caf300" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_bofi_AmortizationAccretionOfPremiumsDiscountsLoans_18b8eb01-04d8-6aad-9089-21f8a2caf300" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ShareBasedCompensation_90cbc3ab-f555-6407-b3b4-b2bfa84c9f18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInFinancialInstrumentsUsedInOperatingActivities" xlink:label="loc_us-gaap_IncreaseDecreaseInFinancialInstrumentsUsedInOperatingActivities_e0a861eb-28e3-0253-6714-34e4b0f32270" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInFinancialInstrumentsUsedInOperatingActivities_e0a861eb-28e3-0253-6714-34e4b0f32270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfInvestments" xlink:label="loc_us-gaap_GainLossOnSaleOfInvestments_3589939f-ce38-3d4c-b787-38d24b24727b" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_GainLossOnSaleOfInvestments_3589939f-ce38-3d4c-b787-38d24b24727b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsHeldtomaturitySecurities" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsHeldtomaturitySecurities_ede29e23-f74c-3bad-8054-433bb139e800" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsHeldtomaturitySecurities_ede29e23-f74c-3bad-8054-433bb139e800" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_7da432aa-9146-bc00-9e9b-2492aa8b9b02" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_7da432aa-9146-bc00-9e9b-2492aa8b9b02" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_UnrealizedGainLossOnLoansHeldForSale" xlink:label="loc_bofi_UnrealizedGainLossOnLoansHeldForSale_e8965c2c-f681-6c3a-2280-21f89befa15b" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_bofi_UnrealizedGainLossOnLoansHeldForSale_e8965c2c-f681-6c3a-2280-21f89befa15b" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_GainOnSalesOfLoansHeldForSale" xlink:label="loc_bofi_GainOnSalesOfLoansHeldForSale_3b21bd21-b1e9-ed0f-cdc6-21f89eed39f5" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_bofi_GainOnSalesOfLoansHeldForSale_3b21bd21-b1e9-ed0f-cdc6-21f89eed39f5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_15470135-fa44-b789-5789-9bcc9fdb7da5" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_15470135-fa44-b789-5789-9bcc9fdb7da5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MortgageServicingRightsMSRImpairmentRecovery" xlink:label="loc_us-gaap_MortgageServicingRightsMSRImpairmentRecovery_fd98033e-d340-6bd5-df6e-caad23b88f27" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_MortgageServicingRightsMSRImpairmentRecovery_fd98033e-d340-6bd5-df6e-caad23b88f27" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_GainsLossesOnSaleOfOtherRealEstateAndForeclosedAssets" xlink:label="loc_bofi_GainsLossesOnSaleOfOtherRealEstateAndForeclosedAssets_b7e9d1b4-9e96-8eb7-7fec-21f8a1bb4817" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_bofi_GainsLossesOnSaleOfOtherRealEstateAndForeclosedAssets_b7e9d1b4-9e96-8eb7-7fec-21f8a1bb4817" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_b11c1cb0-596b-4c3d-0283-76cef67837c7" 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_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_b11c1cb0-596b-4c3d-0283-76cef67837c7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_21b2374f-ed59-409a-8c93-50623e6a6908" xlink:type="locator" />
    <link:calculationArc order="18" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_21b2374f-ed59-409a-8c93-50623e6a6908" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="locator" />
    <link:calculationArc order="19" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_d54a644c-3d3c-bcc1-da30-2f136651f90f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_2a6d7ce6-936f-6ec3-1606-4ffc7571557c" xlink:type="locator" />
    <link:calculationArc order="20" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_2a6d7ce6-936f-6ec3-1606-4ffc7571557c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_91c354d1-d18f-051e-80cb-f13c01058b9d" xlink:type="locator" />
    <link:calculationArc order="21" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_91c354d1-d18f-051e-80cb-f13c01058b9d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" 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_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" 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_cf605d39-9067-2f07-a6b5-7dfa6481009e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6df44786-4260-4fa4-e123-591abd5e882d" 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_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_6df44786-4260-4fa4-e123-591abd5e882d" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_OtherthanTemporaryImpairmentGainsInvestmentsPortioninOtherComprehensiveLossNetofTaxPortionAttributabletoParent" xlink:label="loc_bofi_OtherthanTemporaryImpairmentGainsInvestmentsPortioninOtherComprehensiveLossNetofTaxPortionAttributabletoParent_874f9202-2a68-cf23-5797-21f8a315e7d7" 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_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_bofi_OtherthanTemporaryImpairmentGainsInvestmentsPortioninOtherComprehensiveLossNetofTaxPortionAttributabletoParent_874f9202-2a68-cf23-5797-21f8a315e7d7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_5018ac42-f22a-8f01-2030-b43a520a4ea1" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_5018ac42-f22a-8f01-2030-b43a520a4ea1" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairmentOfInvestments" xlink:label="loc_us-gaap_ImpairmentOfInvestments_8c4d0b34-c019-b1c4-6cf9-45b362a9f6ef" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_226e066c-6c47-9774-fe08-904661549579" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairmentOfInvestments_8c4d0b34-c019-b1c4-6cf9-45b362a9f6ef" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionInOtherComprehensiveIncomeLossBeforeTaxPortionAttributableToParent_226e066c-6c47-9774-fe08-904661549579" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet" xlink:label="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet_61e98496-05e2-ea9d-4ab3-f393ea070d4c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairmentOfInvestments_8c4d0b34-c019-b1c4-6cf9-45b362a9f6ef" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet_61e98496-05e2-ea9d-4ab3-f393ea070d4c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" 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_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" 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_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_5e280e98-99c6-f098-f4f9-65bce8235b66" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_5e280e98-99c6-f098-f4f9-65bce8235b66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeSecurities" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecurities_6a791a49-811e-f511-9d45-2a5de1111fba" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d819c94a-bab7-8f0d-e002-16185f2a3d8f" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecurities_6a791a49-811e-f511-9d45-2a5de1111fba" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseDeposits" xlink:label="loc_us-gaap_InterestExpenseDeposits_d554fc30-4424-de12-7895-30d935df889b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_us-gaap_InterestExpenseDeposits_d554fc30-4424-de12-7895-30d935df889b" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_InterestExpenseFederalHomeLoanBankAdvances" xlink:label="loc_bofi_InterestExpenseFederalHomeLoanBankAdvances_1c0475e9-b07a-1c2f-e8c1-21f8a4172890" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_bofi_InterestExpenseFederalHomeLoanBankAdvances_1c0475e9-b07a-1c2f-e8c1-21f8a4172890" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpenseOther" xlink:label="loc_us-gaap_InterestExpenseOther_5cb30cf2-01d9-f53b-2e31-3094b4bf2063" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:to="loc_us-gaap_InterestExpenseOther_5cb30cf2-01d9-f53b-2e31-3094b4bf2063" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForLoanAndLeaseLosses" xlink:label="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:to="loc_us-gaap_ProvisionForLoanAndLeaseLosses_9f6db274-5164-b640-b84e-10baf2f4757e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" 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_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_PrepaymentPenaltyFeeIncome" xlink:label="loc_bofi_PrepaymentPenaltyFeeIncome_9d62fd23-f9ef-990e-8ebc-21f89f04dbcc" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_bofi_PrepaymentPenaltyFeeIncome_9d62fd23-f9ef-990e-8ebc-21f89f04dbcc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfOtherAssets" xlink:label="loc_us-gaap_GainLossOnSaleOfOtherAssets_7485a4dd-71de-57f9-5696-a3f1a359629b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_GainLossOnSaleOfOtherAssets_7485a4dd-71de-57f9-5696-a3f1a359629b" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_TotalUnrealizedGainLossOnSecurities" xlink:label="loc_bofi_TotalUnrealizedGainLossOnSecurities_439760be-023d-ce4f-e621-21f89b9cc1da" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_bofi_TotalUnrealizedGainLossOnSecurities_439760be-023d-ce4f-e621-21f89b9cc1da" xlink:type="arc" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TotalUnrealizedGainLossOnSecurities_439760be-023d-ce4f-e621-21f89b9cc1da" xlink:to="loc_us-gaap_OtherThanTemporaryImpairmentLossesInvestmentsPortionRecognizedInEarningsNet_61e98496-05e2-ea9d-4ab3-f393ea070d4c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss_388a5899-41e9-8bc0-bcf2-272dfd3ae157" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TotalUnrealizedGainLossOnSecurities_439760be-023d-ce4f-e621-21f89b9cc1da" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss_388a5899-41e9-8bc0-bcf2-272dfd3ae157" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSalesOfMortgageBackedSecuritiesMBS" xlink:label="loc_us-gaap_GainLossOnSalesOfMortgageBackedSecuritiesMBS_8440c88a-433e-43a6-e3a6-98b39b56f07c" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_us-gaap_GainLossOnSalesOfMortgageBackedSecuritiesMBS_8440c88a-433e-43a6-e3a6-98b39b56f07c" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_MortgageServiceBankingIncome" xlink:label="loc_bofi_MortgageServiceBankingIncome_0462191077716234700C622C21FAE1F5" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_bofi_MortgageServiceBankingIncome_0462191077716234700C622C21FAE1F5" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_BankingandServicesFees" xlink:label="loc_bofi_BankingandServicesFees_AD8C234AAAF1F999BDB6622CB4669BDB" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:to="loc_bofi_BankingandServicesFees_AD8C234AAAF1F999BDB6622CB4669BDB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" 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_4d8b6d19-6a54-06aa-2077-c10380bd20d1" xlink:to="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LaborAndRelatedExpense" xlink:label="loc_us-gaap_LaborAndRelatedExpense_1283cb92-0ae2-bdeb-f803-6d5e502ce8d9" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_LaborAndRelatedExpense_1283cb92-0ae2-bdeb-f803-6d5e502ce8d9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProfessionalFees" xlink:label="loc_us-gaap_ProfessionalFees_d3803021-4a6b-ba50-bb5d-805045e6e3a3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_ProfessionalFees_d3803021-4a6b-ba50-bb5d-805045e6e3a3" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_OccupancyAndEquipmentExpense" xlink:label="loc_bofi_OccupancyAndEquipmentExpense_7d9bb215-f9e2-54dc-841b-21f8a287fea3" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_bofi_OccupancyAndEquipmentExpense_7d9bb215-f9e2-54dc-841b-21f8a287fea3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InformationTechnologyAndDataProcessing" xlink:label="loc_us-gaap_InformationTechnologyAndDataProcessing_5bcc67bc-823c-46c9-0c06-672818b9d746" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_InformationTechnologyAndDataProcessing_5bcc67bc-823c-46c9-0c06-672818b9d746" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketingAndAdvertisingExpense" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpense_8acabc0b-aa01-1284-67e4-6d695c5d08fb" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpense_8acabc0b-aa01-1284-67e4-6d695c5d08fb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_b11c1cb0-596b-4c3d-0283-76cef67837c7" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_b11c1cb0-596b-4c3d-0283-76cef67837c7" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_RealEstateOwnedAndRepossessedVehiclesExpenseRecovery" xlink:label="loc_bofi_RealEstateOwnedAndRepossessedVehiclesExpenseRecovery_64988513-ae92-f890-2bd3-21f8a4191b3e" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_bofi_RealEstateOwnedAndRepossessedVehiclesExpenseRecovery_64988513-ae92-f890-2bd3-21f8a4191b3e" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_FdicAndPrimaryFederalRegulatorFees" xlink:label="loc_bofi_FdicAndPrimaryFederalRegulatorFees_094a802b-8d89-9bfc-5163-21f89f0b06b8" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_bofi_FdicAndPrimaryFederalRegulatorFees_094a802b-8d89-9bfc-5163-21f89f0b06b8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_OtherGeneralAndAdministrativeExpense_b0900f4c-cf87-dac5-5867-06d700305f08" xlink:type="locator" />
    <link:calculationArc order="9" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NoninterestExpense_68895663-2767-ffef-d399-cc645119e65a" xlink:to="loc_us-gaap_OtherGeneralAndAdministrativeExpense_b0900f4c-cf87-dac5-5867-06d700305f08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" 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_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/Deposits" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/DepositsScheduledMaturitiesOfTimeDepositsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDeposits" xlink:label="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearOne" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearOne_aa3d8d7f-2a30-4f8f-6e15-b635d8f141c7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearOne_aa3d8d7f-2a30-4f8f-6e15-b635d8f141c7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearTwo" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearTwo_d755ca06-324d-2dc5-a101-218d6d056104" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearTwo_d755ca06-324d-2dc5-a101-218d6d056104" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearThree" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearThree_c5cc17e8-c6d3-6219-dc74-bb6939a1c091" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearThree_c5cc17e8-c6d3-6219-dc74-bb6939a1c091" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFour" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFour_6fd51059-f6ee-377b-3bf9-a1e3bce331a2" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFour_6fd51059-f6ee-377b-3bf9-a1e3bce331a2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesYearFive" xlink:label="loc_us-gaap_TimeDepositMaturitiesYearFive_65b7609c-eff3-1669-0dd5-240df6ba56ed" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesYearFive_65b7609c-eff3-1669-0dd5-240df6ba56ed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositMaturitiesAfterYearFive" xlink:label="loc_us-gaap_TimeDepositMaturitiesAfterYearFive_8dd55d14-b4d8-5898-a417-b808be06a680" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositMaturitiesAfterYearFive_8dd55d14-b4d8-5898-a417-b808be06a680" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/DepositsSummaryOfDepositAccountsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestBearingDepositLiabilities" xlink:label="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_DepositsDemandAndSavingsDeposits" xlink:label="loc_bofi_DepositsDemandAndSavingsDeposits_b10a7830-7f1b-4bf8-e63b-21f89e101fd7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_bofi_DepositsDemandAndSavingsDeposits_b10a7830-7f1b-4bf8-e63b-21f89e101fd7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DemandDepositAccounts" xlink:label="loc_us-gaap_DemandDepositAccounts_82ce20ae-dfdf-d271-6516-2ed2bdf960d4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_DepositsDemandAndSavingsDeposits_b10a7830-7f1b-4bf8-e63b-21f89e101fd7" xlink:to="loc_us-gaap_DemandDepositAccounts_82ce20ae-dfdf-d271-6516-2ed2bdf960d4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepositsSavingsDeposits" xlink:label="loc_us-gaap_DepositsSavingsDeposits_3a2d9e56-b53d-135f-e591-681784530216" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_DepositsDemandAndSavingsDeposits_b10a7830-7f1b-4bf8-e63b-21f89e101fd7" xlink:to="loc_us-gaap_DepositsSavingsDeposits_3a2d9e56-b53d-135f-e591-681784530216" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDeposits" xlink:label="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestBearingDepositLiabilities_7f498e09-98c5-4874-d1e5-9887b8971fb9" xlink:to="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_TimeDepositsLessThanFDICInsuranceLimit" xlink:label="loc_bofi_TimeDepositsLessThanFDICInsuranceLimit_39116A976B626C7EE620633F4279C3A2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_bofi_TimeDepositsLessThanFDICInsuranceLimit_39116A976B626C7EE620633F4279C3A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit" xlink:label="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_bc77680e-9ff2-a6a8-2271-dd951fa6a4bb" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_TimeDeposits_427747a9-a7a6-1021-309a-ad5081134062" xlink:to="loc_us-gaap_TimeDepositsAtOrAboveFDICInsuranceLimit_bc77680e-9ff2-a6a8-2271-dd951fa6a4bb" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/DepositsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/EarningsPerCommonShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/EarningsPerCommonShareCalculationOfBasicAndDilutedEpsDetails" xlink:type="extended">
    <link:loc xlink:href="bofi-20180630.xsd#bofi_TotalQualifyingSharesBasic" xlink:label="loc_bofi_TotalQualifyingSharesBasic_6093964f-a1e6-83e6-4dc5-21f8a2b51ddd" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2dd9a981-e559-d141-f1c2-4db79f71a7ef" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TotalQualifyingSharesBasic_6093964f-a1e6-83e6-4dc5-21f8a2b51ddd" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_2dd9a981-e559-d141-f1c2-4db79f71a7ef" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_WeightedAverageUnvestedRestrictedStockGrantAndRsuSharesBasic" xlink:label="loc_bofi_WeightedAverageUnvestedRestrictedStockGrantAndRsuSharesBasic_1f83529f-1e45-43a7-a1cb-21f8a00d8e6e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TotalQualifyingSharesBasic_6093964f-a1e6-83e6-4dc5-21f8a2b51ddd" xlink:to="loc_bofi_WeightedAverageUnvestedRestrictedStockGrantAndRsuSharesBasic_1f83529f-1e45-43a7-a1cb-21f8a00d8e6e" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_TotalDilutiveCommonSharesIssuedAndOutstanding" xlink:label="loc_bofi_TotalDilutiveCommonSharesIssuedAndOutstanding_f2b2021e-2324-9695-7a3e-21f8a181eb54" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_21ce4f2f-397c-6c02-8635-7c94146a06a0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TotalDilutiveCommonSharesIssuedAndOutstanding_f2b2021e-2324-9695-7a3e-21f8a181eb54" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_21ce4f2f-397c-6c02-8635-7c94146a06a0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e52bef3f-d63a-d129-8b6a-48192f5d97b3" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TotalDilutiveCommonSharesIssuedAndOutstanding_f2b2021e-2324-9695-7a3e-21f8a181eb54" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_e52bef3f-d63a-d129-8b6a-48192f5d97b3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_f27e61aa-de51-6911-da01-3636b1aa7e02" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d7615b5-9ab5-8e33-2d33-f406eee209fc" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_f27e61aa-de51-6911-da01-3636b1aa7e02" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d7615b5-9ab5-8e33-2d33-f406eee209fc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DividendsPreferredStock" xlink:label="loc_us-gaap_DividendsPreferredStock_b3933626-099c-3ade-9aab-a26caed1f615" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d7615b5-9ab5-8e33-2d33-f406eee209fc" xlink:to="loc_us-gaap_DividendsPreferredStock_b3933626-099c-3ade-9aab-a26caed1f615" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4d7615b5-9ab5-8e33-2d33-f406eee209fc" xlink:to="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/EarningsPerCommonShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/EmployeeBenefitPlan" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/EmployeeBenefitPlanDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValue" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueAssetsMeasuredNonrecurringBasisDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueFairValueByBalanceSheetGroupingDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueLevel3AssetsMeasuredOnRecurringBasisDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueLevel3UnrealizedGainLossDetails" xlink:type="extended">
    <link:loc xlink:href="bofi-20180630.xsd#bofi_TradingSecuritiesChangeInUnrealizedGainAndLossAndInterestIncomeRecordedInEarnings" xlink:label="loc_bofi_TradingSecuritiesChangeInUnrealizedGainAndLossAndInterestIncomeRecordedInEarnings_0049fc53-1b17-e3f4-3b92-21f8a0ae1d47" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestAndDividendIncomeSecuritiesTradingOrMeasuredAtFairValue" xlink:label="loc_us-gaap_InterestAndDividendIncomeSecuritiesTradingOrMeasuredAtFairValue_e3770e58-65d0-8a12-f510-6d53db58b07f" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TradingSecuritiesChangeInUnrealizedGainAndLossAndInterestIncomeRecordedInEarnings_0049fc53-1b17-e3f4-3b92-21f8a0ae1d47" xlink:to="loc_us-gaap_InterestAndDividendIncomeSecuritiesTradingOrMeasuredAtFairValue_e3770e58-65d0-8a12-f510-6d53db58b07f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss_388a5899-41e9-8bc0-bcf2-272dfd3ae157" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_TradingSecuritiesChangeInUnrealizedGainAndLossAndInterestIncomeRecordedInEarnings_0049fc53-1b17-e3f4-3b92-21f8a0ae1d47" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGainLoss_388a5899-41e9-8bc0-bcf2-272dfd3ae157" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueLoansHeldForSaleDetails" xlink:type="extended">
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleChangeInFairValueTotal" xlink:label="loc_bofi_LoansHeldForSaleChangeInFairValueTotal_1d510ecc-849b-3f01-75f5-21f8a138eb6c" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleInterestIncome" xlink:label="loc_bofi_LoansHeldForSaleInterestIncome_8afc0672-cb3c-67f7-7e30-21f8a4017b71" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_LoansHeldForSaleChangeInFairValueTotal_1d510ecc-849b-3f01-75f5-21f8a138eb6c" xlink:to="loc_bofi_LoansHeldForSaleInterestIncome_8afc0672-cb3c-67f7-7e30-21f8a4017b71" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleChangeInFairValue" xlink:label="loc_bofi_LoansHeldForSaleChangeInFairValue_3bf6ac6d-bebe-bdd8-6046-21f89e35c241" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_LoansHeldForSaleChangeInFairValueTotal_1d510ecc-849b-3f01-75f5-21f8a138eb6c" xlink:to="loc_bofi_LoansHeldForSaleChangeInFairValue_3bf6ac6d-bebe-bdd8-6046-21f89e35c241" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansHeldForSaleFairValueDisclosure" xlink:label="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_03d7f468-962d-fc47-a198-ea111f24be68" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleContractualBalanceIncludingAccruedInterest" xlink:label="loc_bofi_LoansHeldForSaleContractualBalanceIncludingAccruedInterest_48480603-d16c-9c8e-f8c7-21f8a17ad2c3" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_03d7f468-962d-fc47-a198-ea111f24be68" xlink:to="loc_bofi_LoansHeldForSaleContractualBalanceIncludingAccruedInterest_48480603-d16c-9c8e-f8c7-21f8a17ad2c3" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_LoansHeldForSaleFairValueAdjustment" xlink:label="loc_bofi_LoansHeldForSaleFairValueAdjustment_8ba5e0ed-a019-25b9-0d61-21f89ef46ed4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansHeldForSaleFairValueDisclosure_03d7f468-962d-fc47-a198-ea111f24be68" xlink:to="loc_bofi_LoansHeldForSaleFairValueAdjustment_8ba5e0ed-a019-25b9-0d61-21f89ef46ed4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueQuantitativeInformationForLevel3FairValueMeasurmentsNonrecurringDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueQuantitativeInformationForLevel3FairValueMeasurmentsRecurringDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FairValueTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FurnitureEquipmentAndSoftware" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/FurnitureEquipmentAndSoftwareDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_78662f7f-2a6a-5d68-ba8a-7947ed287be5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_78662f7f-2a6a-5d68-ba8a-7947ed287be5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0a08cda9-11b3-e7ac-3fc9-3a23c67d9b96" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_f37ad080-c77a-efc5-c936-389b16abc420" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_0a08cda9-11b3-e7ac-3fc9-3a23c67d9b96" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/FurnitureEquipmentAndSoftwareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssets" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsActivityInGoodwillBalanceDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsEstimatedFutureAmortizationExpenseOfAcquiredIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_423e6bba-f43d-931c-5711-51d5522b2aaa" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_423e6bba-f43d-931c-5711-51d5522b2aaa" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_28c91f3b-370e-e76f-4199-69e4166aabc6" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_28c91f3b-370e-e76f-4199-69e4166aabc6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_f7796428-4176-97fe-5145-79a026d8547a" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_f7796428-4176-97fe-5145-79a026d8547a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_71fd8e03-8eaf-f20c-786b-5e0492fb281b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_71fd8e03-8eaf-f20c-786b-5e0492fb281b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_8d652bfd-fc92-51b1-30d6-b90c4a94f960" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_8d652bfd-fc92-51b1-30d6-b90c4a94f960" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_0e7343bd-e798-afc0-7fcc-ed296ae9f91c" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_0e7343bd-e798-afc0-7fcc-ed296ae9f91c" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsSummaryOfAcquiredIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7a49df76-38f6-6baa-87dd-2e9a7efd8303" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_7a49df76-38f6-6baa-87dd-2e9a7efd8303" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c9279b6a-f262-f140-7696-5ec40778343f" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_d3bdc20c-5c58-6be6-d756-0ace6a97f212" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_c9279b6a-f262-f140-7696-5ec40778343f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/GoodwillAndOtherIintangibleAssetsWeightedAverageUsefulLifeOfAcquiredIntangibleAssetsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxesComponentsOfIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_650e6c8f-1409-4de1-126f-784909f82e64" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_650e6c8f-1409-4de1-126f-784909f82e64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_10aa09ac-60b4-bd88-6c3b-c85b3f0fbf0a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_e8a9abf2-38d3-77d1-fb6b-693fef632294" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_10aa09ac-60b4-bd88-6c3b-c85b3f0fbf0a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_816edbc5-9d4b-113c-7ce2-6c08dd555314" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_97bbae57-7f84-4da9-acab-610e56204929" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_816edbc5-9d4b-113c-7ce2-6c08dd555314" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentFederalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_b975ff9b-a11f-f2b5-e104-e0266dbbbfc6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_816edbc5-9d4b-113c-7ce2-6c08dd555314" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_b975ff9b-a11f-f2b5-e104-e0266dbbbfc6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_4d365c95-da3d-c3cb-6f6b-7945d285af9f" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_816edbc5-9d4b-113c-7ce2-6c08dd555314" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_4d365c95-da3d-c3cb-6f6b-7945d285af9f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxesEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_51d18bf0-0823-2940-9470-e9bbca486da6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_51d18bf0-0823-2940-9470-e9bbca486da6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_d23dd313-f50b-59fa-fd80-0dbe24277535" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_d23dd313-f50b-59fa-fd80-0dbe24277535" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_7ffe16d1-cedd-985f-c95d-65ae6fa8d756" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_7ffe16d1-cedd-985f-c95d-65ae6fa8d756" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EffectiveIncomeTaxRateReconciliationCashSurrenderValue" xlink:label="loc_bofi_EffectiveIncomeTaxRateReconciliationCashSurrenderValue_8f9b2223-266c-e792-2e3b-21f89c969b00" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_bofi_EffectiveIncomeTaxRateReconciliationCashSurrenderValue_8f9b2223-266c-e792-2e3b-21f89c969b00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_928f8c54-624a-8542-b4e3-59da2a4e6af6" xlink:type="locator" />
    <link:calculationArc order="5" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCredits_928f8c54-624a-8542-b4e3-59da2a4e6af6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_eb2d6db2-ac3f-7d42-8670-da80b9d63618" xlink:type="locator" />
    <link:calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxExemptIncome_eb2d6db2-ac3f-7d42-8670-da80b9d63618" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_78f646b8-a94f-444d-269f-fdaba548120f" xlink:type="locator" />
    <link:calculationArc order="7" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_78f646b8-a94f-444d-269f-fdaba548120f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_00f37689-1982-1c68-c80b-43003f810247" xlink:type="locator" />
    <link:calculationArc order="8" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_f1b8c80c-fe31-3624-3b0a-70273297561e" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_00f37689-1982-1c68-c80b-43003f810247" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxesNetDeferredTaxAssetDetails" xlink:type="extended">
    <link:loc xlink:href="bofi-20180630.xsd#bofi_DeferredTaxAssetLiabilityNet" xlink:label="loc_bofi_DeferredTaxAssetLiabilityNet_cab4094a-5cd9-a8bf-e95f-21f89ba1d611" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_DeferredTaxAssetLiabilityNet_cab4094a-5cd9-a8bf-e95f-21f89ba1d611" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_9d9b731c-937f-002e-2782-f4162b155cff" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_9d9b731c-937f-002e-2782-f4162b155cff" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsStateTaxes" xlink:label="loc_us-gaap_DeferredTaxAssetsStateTaxes_10977e47-8514-ec04-07fa-386f6d649acd" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsStateTaxes_10977e47-8514-ec04-07fa-386f6d649acd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_187bb760-9cde-c4af-d9e1-306e7a6330eb" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_187bb760-9cde-c4af-d9e1-306e7a6330eb" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_DeferredTaxAssetsUnrealizedGainsLossesonAvailableforSaleSecuritiesNet" xlink:label="loc_bofi_DeferredTaxAssetsUnrealizedGainsLossesonAvailableforSaleSecuritiesNet_de1d6609-0727-9f28-1101-21f8a240659e" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_bofi_DeferredTaxAssetsUnrealizedGainsLossesonAvailableforSaleSecuritiesNet_de1d6609-0727-9f28-1101-21f8a240659e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBonuses" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBonuses_4dc24139-a891-c159-5920-ca15052112e1" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsEmployeeBonuses_4dc24139-a891-c159-5920-ca15052112e1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_0cc13c2f-6b23-b741-4f28-07325c7e7169" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_0cc13c2f-6b23-b741-4f28-07325c7e7169" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_DeferredTaxAssetsDeferredExpenseDeferredFinancingCosts" xlink:label="loc_bofi_DeferredTaxAssetsDeferredExpenseDeferredFinancingCosts_52f206b2-9eeb-e373-d639-21f89d1b3603" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_c003e837-c7c9-cd10-ae74-916131fdc333" xlink:to="loc_bofi_DeferredTaxAssetsDeferredExpenseDeferredFinancingCosts_52f206b2-9eeb-e373-d639-21f89d1b3603" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_cee36967-7b64-56b0-03ea-66fbd4d14899" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_DeferredTaxAssetLiabilityNet_cab4094a-5cd9-a8bf-e95f-21f89ba1d611" xlink:to="loc_us-gaap_DeferredTaxLiabilities_cee36967-7b64-56b0-03ea-66fbd4d14899" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_DeferredTaxLiabilitiesFederalHomeLoanBankStockDividend" xlink:label="loc_bofi_DeferredTaxLiabilitiesFederalHomeLoanBankStockDividend_81046edd-7b3d-da24-e1e3-21f8a03710c6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_cee36967-7b64-56b0-03ea-66fbd4d14899" xlink:to="loc_bofi_DeferredTaxLiabilitiesFederalHomeLoanBankStockDividend_81046edd-7b3d-da24-e1e3-21f8a03710c6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPrepaidExpenses" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_bf91fc79-ffa7-5391-a432-8fad97ca53a5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_cee36967-7b64-56b0-03ea-66fbd4d14899" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPrepaidExpenses_bf91fc79-ffa7-5391-a432-8fad97ca53a5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4ed01819-014a-ce74-957e-ddc9b0c1d62e" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxLiabilities_cee36967-7b64-56b0-03ea-66fbd4d14899" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_4ed01819-014a-ce74-957e-ddc9b0c1d62e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLosses" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesActivityForAllowanceForLoanLossesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForCreditLossNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForLoanLossByClassDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesAllowanceForLoanLossByPortfolioClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_945bf2b4-e61e-9832-4e5a-ef22b1b272c6" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_FinancingReceivableAllowanceforCreditLossesIndividuallyEvaluatedforImpairmentGeneralAllowance" xlink:label="loc_bofi_FinancingReceivableAllowanceforCreditLossesIndividuallyEvaluatedforImpairmentGeneralAllowance_556c83b9-24fd-d3d3-f88f-21f89ba7799a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_945bf2b4-e61e-9832-4e5a-ef22b1b272c6" xlink:to="loc_bofi_FinancingReceivableAllowanceforCreditLossesIndividuallyEvaluatedforImpairmentGeneralAllowance_556c83b9-24fd-d3d3-f88f-21f89ba7799a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_c0073149-9d4e-7663-7f76-fffbfeb1ff51" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_945bf2b4-e61e-9832-4e5a-ef22b1b272c6" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_c0073149-9d4e-7663-7f76-fffbfeb1ff51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_7fc12937-eaa2-55a7-e865-f85ce1360766" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_7fc12937-eaa2-55a7-e865-f85ce1360766" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_67d184fe-5d25-860b-7c00-2caf210e10b0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_67d184fe-5d25-860b-7c00-2caf210e10b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_fdda4884-a15d-3311-52f9-6149947dcf70" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_fdda4884-a15d-3311-52f9-6149947dcf70" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums" xlink:label="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_f3e8cd58-3d3d-6bc2-7a91-19e6a74dce1b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetOfDeferredIncome_7fc12937-eaa2-55a7-e865-f85ce1360766" xlink:to="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_f3e8cd58-3d3d-6bc2-7a91-19e6a74dce1b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesCompositionOfLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_4cbb843e-5652-0c37-ca7e-5d0dafc6ebdb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableAllowance" xlink:label="loc_us-gaap_LoansAndLeasesReceivableAllowance_5354ee7f-4abe-680e-b0f4-37e4ed632b64" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_LoansAndLeasesReceivableAllowance_5354ee7f-4abe-680e-b0f4-37e4ed632b64" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums" xlink:label="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_f3e8cd58-3d3d-6bc2-7a91-19e6a74dce1b" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:to="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_f3e8cd58-3d3d-6bc2-7a91-19e6a74dce1b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesImpairedLoansDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDuePlusOtherNonaccrualLoans" xlink:label="loc_bofi_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDuePlusOtherNonaccrualLoans_7fa62231-0cf8-be15-e28f-21f8a31c0ca2" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:to="loc_bofi_FinancingReceivableRecordedInvestmentEqualToGreaterThan90DaysPastDuePlusOtherNonaccrualLoans_7fa62231-0cf8-be15-e28f-21f8a31c0ca2" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_FinancingReceivableModificationsRecordedInvestmentNonaccrualStatus" xlink:label="loc_bofi_FinancingReceivableModificationsRecordedInvestmentNonaccrualStatus_859b7dd1-90d7-d8a6-3d7b-21f89e77f0bd" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:to="loc_bofi_FinancingReceivableModificationsRecordedInvestmentNonaccrualStatus_859b7dd1-90d7-d8a6-3d7b-21f89e77f0bd" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_FinancingReceivableModificationsRecordedInvestmentAccruing" xlink:label="loc_bofi_FinancingReceivableModificationsRecordedInvestmentAccruing_ae3950c1-9b5a-c4a2-ec7e-21f8a1e6ae00" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:to="loc_bofi_FinancingReceivableModificationsRecordedInvestmentAccruing_ae3950c1-9b5a-c4a2-ec7e-21f8a1e6ae00" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansByClassModifiedAsTdrWithPreAndPostBalancesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansByCreditQualityIndicatorDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansIndividuallyEvaluatedForImpairmentDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansModifiedAsTdrByClassDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesLoansNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesNonaccrualLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesNonaccrualLoansNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesPastDueLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesPerformingAndNonaccrualByClassAndSourceDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesTroubledDebtRestructuringsByClassDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_FinancingReceivablePerformingLoansTemporarilyModifiedasTDR" xlink:label="loc_bofi_FinancingReceivablePerformingLoansTemporarilyModifiedasTDR_4176ab8f-2dd7-1a9f-2808-21f89c1c56b0" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:to="loc_bofi_FinancingReceivablePerformingLoansTemporarilyModifiedasTDR_4176ab8f-2dd7-1a9f-2808-21f89c1c56b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest" xlink:label="loc_us-gaap_LoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest_de28f059-7ce8-c6b2-a3fb-9a9998166aa2" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_7fe2fb9a-d4a5-c40c-5fda-872a4762476e" xlink:to="loc_us-gaap_LoansAndLeasesReceivableImpairedNonperformingNonaccrualOfInterest_de28f059-7ce8-c6b2-a3fb-9a9998166aa2" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/LoansLeasesAllowanceForLoanAndLeaseLossesUnpaidPrincipalBalanceForPerformingAndNonaccrualDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/MinimumRegulatoryCapitalRequirements" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/MinimumRegulatoryCapitalRequirementsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/MinimumRegulatoryCapitalRequirementsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OffBalanceSheetActivities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OffBalanceSheetActivitiesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesRevisionsOfCalculationsOfBasicAndDilutedEarningsPerCommonShareDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesRevisionsOfClassificationOfProceedsFromSaleOfLoansDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/OrganizationsAndSummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationCondensedBalanceSheetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_96dd7052-744e-d270-4e77-67944ec39152" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_32f41ea9-05c6-e713-464b-586a571d1c1f" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_32f41ea9-05c6-e713-464b-586a571d1c1f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2a11aa60-b7c3-7612-8143-92c8a1cafefc" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketableSecurities" xlink:label="loc_us-gaap_MarketableSecurities_b0d2564e-70dc-1aa5-5410-b2c63a94f027" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_MarketableSecurities_b0d2564e-70dc-1aa5-5410-b2c63a94f027" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssets" xlink:label="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_OtherAssets_806083e9-63fa-5acf-a0c8-803a67715508" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures" xlink:label="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_b07dd0b5-2d5b-0f23-dac6-48a6c9c4168f" 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_96dd7052-744e-d270-4e77-67944ec39152" xlink:to="loc_us-gaap_InvestmentsInAffiliatesSubsidiariesAssociatesAndJointVentures_b07dd0b5-2d5b-0f23-dac6-48a6c9c4168f" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_066608da-f041-4af6-3da0-95354b640e11" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust" xlink:label="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_7830590b-5564-d893-58c3-98d75c87dbae" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_JuniorSubordinatedDebentureOwedToUnconsolidatedSubsidiaryTrust_7830590b-5564-d893-58c3-98d75c87dbae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_6c99b575-18e1-e272-0304-f63a5e5a998b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_de577786-1529-5960-9bfe-0d2437bb27f5" 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_066608da-f041-4af6-3da0-95354b640e11" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_de577786-1529-5960-9bfe-0d2437bb27f5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationStatementOfCashFlowsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationStatementsOfIncomeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeOperating" xlink:label="loc_us-gaap_InterestIncomeOperating_49a20539-5304-2297-96e1-4142f54e0b45" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestIncomeOperating_49a20539-5304-2297-96e1-4142f54e0b45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestIncomeExpenseNet_80036452-8f22-8b77-cf8f-49eda674198d" xlink:to="loc_us-gaap_InterestExpense_a56b34b7-57ab-a07c-7f03-8366849a14f0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_IncomeLossBeforeDividendsFromSubsidiaryAndEquityInUndistributedIncomeOfSubsidiary" xlink:label="loc_bofi_IncomeLossBeforeDividendsFromSubsidiaryAndEquityInUndistributedIncomeOfSubsidiary_85c47bbc-9de5-ec14-e97f-21f8a16a55d1" 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_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_bofi_IncomeLossBeforeDividendsFromSubsidiaryAndEquityInUndistributedIncomeOfSubsidiary_85c47bbc-9de5-ec14-e97f-21f8a16a55d1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss" xlink:label="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_IncomeLossBeforeDividendsFromSubsidiaryAndEquityInUndistributedIncomeOfSubsidiary_85c47bbc-9de5-ec14-e97f-21f8a16a55d1" xlink:to="loc_us-gaap_InterestIncomeExpenseAfterProvisionForLoanLoss_43276f52-64d7-633b-1383-000dbf34adbf" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_IncomeLossBeforeDividendsFromSubsidiaryAndEquityInUndistributedIncomeOfSubsidiary_85c47bbc-9de5-ec14-e97f-21f8a16a55d1" xlink:to="loc_us-gaap_NoninterestIncome_22401c90-c31e-a4d9-a9f7-66b85e994eae" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_NoninterestExpenseandIncomeTaxBenefit" xlink:label="loc_bofi_NoninterestExpenseandIncomeTaxBenefit_F9509F7DA5148806E6F8586269EA7096" xlink:type="locator" />
    <link:calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_IncomeLossBeforeDividendsFromSubsidiaryAndEquityInUndistributedIncomeOfSubsidiary_85c47bbc-9de5-ec14-e97f-21f8a16a55d1" xlink:to="loc_bofi_NoninterestExpenseandIncomeTaxBenefit_F9509F7DA5148806E6F8586269EA7096" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_DividendsFromSubsidiary" xlink:label="loc_bofi_DividendsFromSubsidiary_08614944-6625-9c0c-05a2-21f89eb2e409" 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_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_bofi_DividendsFromSubsidiary_08614944-6625-9c0c-05a2-21f89eb2e409" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EquityInUndistributedEarningsOfSubsidiary" xlink:label="loc_bofi_EquityInUndistributedEarningsOfSubsidiary_8580a6e7-f891-277f-29ab-21f89eb9213f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_a10eea14-f4db-3125-d183-77bb54500e95" xlink:to="loc_bofi_EquityInUndistributedEarningsOfSubsidiary_8580a6e7-f891-277f-29ab-21f89eb9213f" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/ParentOnlyCondensedFinancialInformationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/QuarterlyFinancialInformationUnaudited" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/Securities" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesCarryingAmountAndFairValueOfSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="locator" />
    <link:calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_5d23fa7e-7f76-6507-b72f-382f81b88e34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e0f935d0-20e2-15fc-55a1-79c116fbc07c" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_0c37b992-ed63-c343-3bce-40db48c88fa6" xlink:to="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesInvestmentsClassifiedByContractualMaturityDateDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_329a232f-6b5a-4dfb-de74-33d6f53aa8f1" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_329a232f-6b5a-4dfb-de74-33d6f53aa8f1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_1f4f4376-806c-dd72-8312-c94d523600df" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_1f4f4376-806c-dd72-8312-c94d523600df" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_d316f11c-0e79-8624-0aa3-665874b29cb1" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecurities_097e1b01-70b4-1050-9921-ba329e565fb9" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_d316f11c-0e79-8624-0aa3-665874b29cb1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_152a2ce4-8a79-ff5d-50f5-18c3f26ceb17" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_a97722c4-c88e-0258-6d8c-8f5c45929660" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_152a2ce4-8a79-ff5d-50f5-18c3f26ceb17" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_a97722c4-c88e-0258-6d8c-8f5c45929660" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_ad47d869-5bf7-62ba-8427-e58f9319b050" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_152a2ce4-8a79-ff5d-50f5-18c3f26ceb17" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_ad47d869-5bf7-62ba-8427-e58f9319b050" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e50aac2c-ef64-4942-acff-fb35c69b9a7d" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_152a2ce4-8a79-ff5d-50f5-18c3f26ceb17" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_e50aac2c-ef64-4942-acff-fb35c69b9a7d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_74070219-b8a4-ccaf-5a43-c0049bc918af" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithoutSingleMaturityDateAmortizedCost_152a2ce4-8a79-ff5d-50f5-18c3f26ceb17" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_74070219-b8a4-ccaf-5a43-c0049bc918af" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesOtherThanTemporaryImpairmentCreditLossesRecognizedInEarningsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesRealizedGainLossOnInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet_cc375e4a-6ea9-88d2-fc32-ebeb7eadc353" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedGains" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_8e746cfd-0d97-61ce-0cb4-7a5db84f3b4a" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet_cc375e4a-6ea9-88d2-fc32-ebeb7eadc353" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_8e746cfd-0d97-61ce-0cb4-7a5db84f3b4a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses_b31b816c-4dd6-0e28-3b0e-49bc16b21bf5" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGainLossNet_cc375e4a-6ea9-88d2-fc32-ebeb7eadc353" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses_b31b816c-4dd6-0e28-3b0e-49bc16b21bf5" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesScheduleOfUnrealizedLossOnInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_21dbd9b5-9402-9b48-c80f-55c05859049a" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_e991d53f-4f66-a242-d5d9-e6c95927fda6" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_21dbd9b5-9402-9b48-c80f-55c05859049a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_e991d53f-4f66-a242-d5d9-e6c95927fda6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_2ec346ac-a553-2cef-6e17-f2c22a07e160" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue_21dbd9b5-9402-9b48-c80f-55c05859049a" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_2ec346ac-a553-2cef-6e17-f2c22a07e160" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_fae49264-8cd8-cd75-24c8-5deb13fb3298" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_a2b26c5c-64f3-c94e-2a89-4348115e8a52" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_fae49264-8cd8-cd75-24c8-5deb13fb3298" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_a2b26c5c-64f3-c94e-2a89-4348115e8a52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_fdcdc5e9-d791-824c-e870-84106782383a" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLoss_fae49264-8cd8-cd75-24c8-5deb13fb3298" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_fdcdc5e9-d791-824c-e870-84106782383a" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SecuritiesUnrealizedGainLossOnInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:href="bofi-20180630.xsd#bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesNetOfTax" xlink:label="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesNetOfTax_716b601b-09aa-24bd-1af1-21f89f73b655" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesBeforeTax" xlink:label="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesBeforeTax_17688c77-beff-b921-b1fd-21f8a02b62db" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesNetOfTax_716b601b-09aa-24bd-1af1-21f89f73b655" xlink:to="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesBeforeTax_17688c77-beff-b921-b1fd-21f8a02b62db" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentAvailableForSaleDebtSecuritiesNetUnrealizedGains" xlink:label="loc_bofi_AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentAvailableForSaleDebtSecuritiesNetUnrealizedGains_74d20cc8-8682-c34d-922a-21f89ea3f087" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesBeforeTax_17688c77-beff-b921-b1fd-21f8a02b62db" xlink:to="loc_bofi_AccumulatedOtherComprehensiveIncomeLossOtherThanTemporaryImpairmentAvailableForSaleDebtSecuritiesNetUnrealizedGains_74d20cc8-8682-c34d-922a-21f89ea3f087" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_AccumulatedOtherComprehensiveIncomeLossOtherthanTemporaryImpairmentNotCreditLossBeforeTaxAvailableforSaleDebtSecurities" xlink:label="loc_bofi_AccumulatedOtherComprehensiveIncomeLossOtherthanTemporaryImpairmentNotCreditLossBeforeTaxAvailableforSaleDebtSecurities_63d2513b-4975-3b9f-4620-21f8a2e9f82f" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesBeforeTax_17688c77-beff-b921-b1fd-21f8a02b62db" xlink:to="loc_bofi_AccumulatedOtherComprehensiveIncomeLossOtherthanTemporaryImpairmentNotCreditLossBeforeTaxAvailableforSaleDebtSecurities_63d2513b-4975-3b9f-4620-21f8a2e9f82f" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesTaxExpenseBenefit" xlink:label="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesTaxExpenseBenefit_6f7c3e0d-bfef-780d-eb0d-21f89e4bdc1d" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesNetOfTax_716b601b-09aa-24bd-1af1-21f89f73b655" xlink:to="loc_bofi_AccumulatedOtherComprehensiveIncomeLossInvestmentSecuritiesTaxExpenseBenefit_6f7c3e0d-bfef-780d-eb0d-21f89e4bdc1d" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockBasedCompensationNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockBasedCompensationStatusOfChangeInRestrictedStockGrantsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockBasedCompensationStockOptionActivityDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockBasedCompensationUnrecognizedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:type="locator" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearOne" xlink:label="loc_bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearOne_525c92e8-c8e8-d010-cd7a-21f89b9894d4" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:to="loc_bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearOne_525c92e8-c8e8-d010-cd7a-21f89b9894d4" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearTwo" xlink:label="loc_bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearTwo_815f0402-ae17-7106-aa51-21f8a0b548af" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:to="loc_bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearTwo_815f0402-ae17-7106-aa51-21f8a0b548af" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearThree" xlink:label="loc_bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearThree_4011b5e8-ce89-a50e-1fdf-21f8a230facb" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:to="loc_bofi_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedYearThree_4011b5e8-ce89-a50e-1fdf-21f8a230facb" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedYearFour" xlink:label="loc_bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedYearFour_26523891A5FF17D6A52F4327F95474BA" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:to="loc_bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedYearFour_26523891A5FF17D6A52F4327F95474BA" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedYearFive" xlink:label="loc_bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedYearFive_D275DBC670AADEE3D8D3432866AD3E56" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:to="loc_bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedYearFive_D275DBC670AADEE3D8D3432866AD3E56" xlink:type="arc" />
    <link:loc xlink:href="bofi-20180630.xsd#bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedAfterYearFive" xlink:label="loc_bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedAfterYearFive_183410361100144EBB2C4328D1A84CCF" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_4c8fb6f9-235b-6804-5343-862fcec2ab5e" xlink:to="loc_bofi_EmployeeServiceSharebasedCompensationNonvestedAwardsTotalCompensationCostNotyetRecognizedAfterYearFive_183410361100144EBB2C4328D1A84CCF" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockholdersEquity" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockholdersEquityAtmOfferingDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockholdersEquityChangesInCommonStockDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockholdersEquityNarrativeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/StockholdersEquityTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SubordinatedNotesAndDebentures" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SubordinatedNotesAndDebenturesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SubsequentEvent" xlink:type="extended" />
  <link:calculationLink xlink:role="http://bofiholding.com/role/SubsequentEventDetails" xlink:type="extended" />
</link:linkbase>
