<?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://www.ubnt.com/role/AccruedWarranty" xlink:href="ubnt-20180930.xsd#AccruedWarranty" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/AccruedWarrantyAdditionalInformationDetail" xlink:href="ubnt-20180930.xsd#AccruedWarrantyAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/AccruedWarrantyTables" xlink:href="ubnt-20180930.xsd#AccruedWarrantyTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/AccruedWarrantyWarrantyObligationsDetail" xlink:href="ubnt-20180930.xsd#AccruedWarrantyWarrantyObligationsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/AccumulatedOtherComprehensiveIncome" xlink:href="ubnt-20180930.xsd#AccumulatedOtherComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/AccumulatedOtherComprehensiveIncomeDetails" xlink:href="ubnt-20180930.xsd#AccumulatedOtherComprehensiveIncomeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponents" xlink:href="ubnt-20180930.xsd#BalanceSheetComponents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponentsInventoryDetail" xlink:href="ubnt-20180930.xsd#BalanceSheetComponentsInventoryDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponentsOtherCurrentLiabilitiesDetail" xlink:href="ubnt-20180930.xsd#BalanceSheetComponentsOtherCurrentLiabilitiesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:href="ubnt-20180930.xsd#BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponentsOtherLongTermLiabilitiesDetails" xlink:href="ubnt-20180930.xsd#BalanceSheetComponentsOtherLongTermLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponentsPropertyAndEquipmentNetDetail" xlink:href="ubnt-20180930.xsd#BalanceSheetComponentsPropertyAndEquipmentNetDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BalanceSheetComponentsTables" xlink:href="ubnt-20180930.xsd#BalanceSheetComponentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/BusinessAndBasisOfPresentation" xlink:href="ubnt-20180930.xsd#BusinessAndBasisOfPresentation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/CommitmentsAndContingencies" xlink:href="ubnt-20180930.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:href="ubnt-20180930.xsd#CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/CommitmentsAndContingenciesFutureMinimumAnnualPaymentsUnderOperatingLeasesDetail" xlink:href="ubnt-20180930.xsd#CommitmentsAndContingenciesFutureMinimumAnnualPaymentsUnderOperatingLeasesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/CommitmentsAndContingenciesTables" xlink:href="ubnt-20180930.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/CommonStockAndTreasuryStock" xlink:href="ubnt-20180930.xsd#CommonStockAndTreasuryStock" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/CommonStockAndTreasuryStockDetail" xlink:href="ubnt-20180930.xsd#CommonStockAndTreasuryStockDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:href="ubnt-20180930.xsd#ConsolidatedBalanceSheetsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:href="ubnt-20180930.xsd#ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" xlink:href="ubnt-20180930.xsd#ConsolidatedStatementsOfCashFlowsUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/ConsolidatedStatementsOfOperationsAndComprehensiveIncomeUnaudited" xlink:href="ubnt-20180930.xsd#ConsolidatedStatementsOfOperationsAndComprehensiveIncomeUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/Debt" xlink:href="ubnt-20180930.xsd#Debt" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/DebtAdditionalInformationDetail" xlink:href="ubnt-20180930.xsd#DebtAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/DebtSummaryOfDebtAndInterestPaymentObligationsDetail" xlink:href="ubnt-20180930.xsd#DebtSummaryOfDebtAndInterestPaymentObligationsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/DebtSummaryOfDebtAndInterestPaymentObligationsDetailCalc2" xlink:href="ubnt-20180930.xsd#DebtSummaryOfDebtAndInterestPaymentObligationsDetailCalc2" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/DebtSummaryOfDebtDetails" xlink:href="ubnt-20180930.xsd#DebtSummaryOfDebtDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/DebtTables" xlink:href="ubnt-20180930.xsd#DebtTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/DocumentAndEntityInformation" xlink:href="ubnt-20180930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/EarningsPerShare" xlink:href="ubnt-20180930.xsd#EarningsPerShare" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/EarningsPerShareAntiDilutiveSecuritiesDetail" xlink:href="ubnt-20180930.xsd#EarningsPerShareAntiDilutiveSecuritiesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/EarningsPerShareComputationOfBasicAndDilutedEarningsPerShareDetail" xlink:href="ubnt-20180930.xsd#EarningsPerShareComputationOfBasicAndDilutedEarningsPerShareDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/EarningsPerShareTables" xlink:href="ubnt-20180930.xsd#EarningsPerShareTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/FairValueOfFinancialInstruments" xlink:href="ubnt-20180930.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsContinuousLossPositionDetails" xlink:href="ubnt-20180930.xsd#FairValueOfFinancialInstrumentsContinuousLossPositionDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsDetail" xlink:href="ubnt-20180930.xsd#FairValueOfFinancialInstrumentsDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsScheduleOfFinancialInstrumentsDetails" xlink:href="ubnt-20180930.xsd#FairValueOfFinancialInstrumentsScheduleOfFinancialInstrumentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsScheduleOfInvestmentSecurityByContractMaturityDetails" xlink:href="ubnt-20180930.xsd#FairValueOfFinancialInstrumentsScheduleOfInvestmentSecurityByContractMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="ubnt-20180930.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/IncomeTaxes" xlink:href="ubnt-20180930.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/IncomeTaxesDetail" xlink:href="ubnt-20180930.xsd#IncomeTaxesDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/RelatedPartyTransactionsAndCertainOtherTransactions" xlink:href="ubnt-20180930.xsd#RelatedPartyTransactionsAndCertainOtherTransactions" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/RelatedPartyTransactionsAndCertainOtherTransactionsDetails" xlink:href="ubnt-20180930.xsd#RelatedPartyTransactionsAndCertainOtherTransactionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/Revenues" xlink:href="ubnt-20180930.xsd#Revenues" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/RevenuesDetails" xlink:href="ubnt-20180930.xsd#RevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomers" xlink:href="ubnt-20180930.xsd#SegmentInformationRevenuesByGeographyAndSignificantCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersAdditionalInformationDetail" xlink:href="ubnt-20180930.xsd#SegmentInformationRevenuesByGeographyAndSignificantCustomersAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersPercentageOfRevenuesAccountsReceivableDetail" xlink:href="ubnt-20180930.xsd#SegmentInformationRevenuesByGeographyAndSignificantCustomersPercentageOfRevenuesAccountsReceivableDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersRevenuesByGeographyDetail" xlink:href="ubnt-20180930.xsd#SegmentInformationRevenuesByGeographyAndSignificantCustomersRevenuesByGeographyDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersRevenuesByProductDetail" xlink:href="ubnt-20180930.xsd#SegmentInformationRevenuesByGeographyAndSignificantCustomersRevenuesByProductDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersTables" xlink:href="ubnt-20180930.xsd#SegmentInformationRevenuesByGeographyAndSignificantCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/StockBasedCompensation" xlink:href="ubnt-20180930.xsd#StockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/StockBasedCompensationAdditionalInformationDetail" xlink:href="ubnt-20180930.xsd#StockBasedCompensationAdditionalInformationDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/StockBasedCompensationOptionActivityForCompanysStockIncentivePlansDetail" xlink:href="ubnt-20180930.xsd#StockBasedCompensationOptionActivityForCompanysStockIncentivePlansDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/StockBasedCompensationStockBasedCompensationExpenseDetail" xlink:href="ubnt-20180930.xsd#StockBasedCompensationStockBasedCompensationExpenseDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/StockBasedCompensationSummaryOfRsuActivityDetail" xlink:href="ubnt-20180930.xsd#StockBasedCompensationSummaryOfRsuActivityDetail" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/StockBasedCompensationTables" xlink:href="ubnt-20180930.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SubsequentEvents" xlink:href="ubnt-20180930.xsd#SubsequentEvents" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SubsequentEventsDetails" xlink:href="ubnt-20180930.xsd#SubsequentEventsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="ubnt-20180930.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.ubnt.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="ubnt-20180930.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/AccruedWarranty" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/AccruedWarrantyAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/AccruedWarrantyTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/AccruedWarrantyWarrantyObligationsDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/AccumulatedOtherComprehensiveIncome" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/AccumulatedOtherComprehensiveIncomeDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BalanceSheetComponents" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BalanceSheetComponentsInventoryDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_66bcd79a-a1c3-c24d-b8b4-7a0ce373714b" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_c2dd0840-de07-383b-bde9-fb229532490d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_66bcd79a-a1c3-c24d-b8b4-7a0ce373714b" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_c2dd0840-de07-383b-bde9-fb229532490d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryRawMaterialsNetOfReserves" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_a979ceab-3c76-a4d5-9d1d-ca902d5e8595" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_66bcd79a-a1c3-c24d-b8b4-7a0ce373714b" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_a979ceab-3c76-a4d5-9d1d-ca902d5e8595" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BalanceSheetComponentsOtherCurrentLiabilitiesDetail" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_8422f2c5-408e-d123-b935-f3115e023941" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_8422f2c5-408e-d123-b935-f3115e023941" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedEmployeeBenefitsCurrent" xlink:label="loc_us-gaap_AccruedEmployeeBenefitsCurrent_0ecff572-4427-028e-de1a-032fc8792eed" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_us-gaap_AccruedEmployeeBenefitsCurrent_0ecff572-4427-028e-de1a-032fc8792eed" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StandardProductWarrantyAccrual" xlink:label="loc_us-gaap_StandardProductWarrantyAccrual_6c682ef5-da8e-6ebc-b7cf-40639e40ae59" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_us-gaap_StandardProductWarrantyAccrual_6c682ef5-da8e-6ebc-b7cf-40639e40ae59" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityCurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1beea529-7ff9-f264-77a3-b82530469f83" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_1beea529-7ff9-f264-77a3-b82530469f83" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaap_CustomerDepositsCurrent_525eaaa4-1e5a-7288-6b91-5882a9305b35" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_us-gaap_CustomerDepositsCurrent_525eaaa4-1e5a-7288-6b91-5882a9305b35" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ReserveforSalesReturnsCurrent" xlink:label="loc_ubnt_ReserveforSalesReturnsCurrent_6a4394cb-5c6c-3ab6-4bd1-3a18f4365e46" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_ubnt_ReserveforSalesReturnsCurrent_6a4394cb-5c6c-3ab6-4bd1-3a18f4365e46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableOtherCurrent" xlink:label="loc_us-gaap_AccountsPayableOtherCurrent_70a9415f-2c30-54d8-8685-64f6dc079646" xlink:type="locator" />
    <link:calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:to="loc_us-gaap_AccountsPayableOtherCurrent_70a9415f-2c30-54d8-8685-64f6dc079646" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BalanceSheetComponentsOtherLongTermAssetsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_af012273-e8ee-655c-daa2-86b96989d377" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_af012273-e8ee-655c-daa2-86b96989d377" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_6e6e9eef-7cb9-68f9-7118-146b9eedc79b" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_6e6e9eef-7cb9-68f9-7118-146b9eedc79b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BalanceSheetComponentsOtherLongTermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerLiabilityNoncurrent" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_c575cd94-2e5c-db53-1e93-d54553800310" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityNoncurrent_c575cd94-2e5c-db53-1e93-d54553800310" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherSundryLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_e1184dd8-3f0f-e0ca-37c5-1e76da528552" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" xlink:to="loc_us-gaap_OtherSundryLiabilitiesNoncurrent_e1184dd8-3f0f-e0ca-37c5-1e76da528552" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BalanceSheetComponentsPropertyAndEquipmentNetDetail" 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://www.ubnt.com/role/BalanceSheetComponentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/BusinessAndBasisOfPresentation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/CommitmentsAndContingenciesAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/CommitmentsAndContingenciesFutureMinimumAnnualPaymentsUnderOperatingLeasesDetail" 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_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_f3d34f3b-9a0c-658e-29c2-4e3a93f2cd51" 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_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear_f3d34f3b-9a0c-658e-29c2-4e3a93f2cd51" 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://www.ubnt.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/CommonStockAndTreasuryStock" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/CommonStockAndTreasuryStockDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/ConsolidatedBalanceSheetsUnaudited" xlink:type="extended">
    <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_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" 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_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_c2c48170-d0ff-2c37-effc-ff5f53e30dcb" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_AccountsPayableCurrent_c2c48170-d0ff-2c37-effc-ff5f53e30dcb" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxesPayableCurrent" xlink:label="loc_us-gaap_TaxesPayableCurrent_e11f4ed8-bba4-2471-6835-a5baa4d63b38" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_TaxesPayableCurrent_e11f4ed8-bba4-2471-6835-a5baa4d63b38" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_422d7c41-753d-7765-5880-50978d071d31" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_ShortTermBorrowings_422d7c41-753d-7765-5880-50978d071d31" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_2dcbbde2-9146-a0ba-7f6c-c71b481e0841" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_4bcdb937-432e-7a7e-23c2-a441d7b89da5" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable" xlink:label="loc_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_f3c8c49c-1a3f-cb54-dfd8-3a18f3e1218d" 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_ubnt_UnrecognizedTaxBenefitsInLongTermIncomeTaxesPayable_f3c8c49c-1a3f-cb54-dfd8-3a18f3e1218d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_fcfc6b17-bfc5-2ebc-3fc1-751aa446a572" 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_LongTermDebtNoncurrent_fcfc6b17-bfc5-2ebc-3fc1-751aa446a572" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" 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_OtherLiabilitiesNoncurrent_bba08e5f-78e8-6c25-01a4-6720051135cc" 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="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_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_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_aefe3f0c-abe4-5b83-9a64-da77d8e253dd" 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_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="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_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_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_a59bc5ae-63a0-c9bc-32f7-e2bd9f32bd26" 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_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_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_ea289a9d-deba-2cde-21e4-3d0ae7a1f011" 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_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_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_798442bf-12e1-d944-3fa1-8b797b67482e" 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_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_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_f0c68f4f-7ec1-d447-8ba7-0f2766abbe67" 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_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_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_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" 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_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:type="arc" />
    <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_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" 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_ShortTermInvestments" xlink:label="loc_us-gaap_ShortTermInvestments_4f46bf2c-e8aa-a88a-d064-0418c3eb39b0" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_ShortTermInvestments_4f46bf2c-e8aa-a88a-d064-0418c3eb39b0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_928a1618-af56-709a-989c-a303706b8ca2" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_928a1618-af56-709a-989c-a303706b8ca2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_66bcd79a-a1c3-c24d-b8b4-7a0ce373714b" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_InventoryNet_66bcd79a-a1c3-c24d-b8b4-7a0ce373714b" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_VendorDepositsCurrent" xlink:label="loc_ubnt_VendorDepositsCurrent_ffb61657-3124-287b-5c00-3a18f3e52d91" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_ubnt_VendorDepositsCurrent_ffb61657-3124-287b-5c00-3a18f3e52d91" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ce9014ac-0ac4-6ed2-b53f-a0edc046d6b4" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_d79dcc1c-93de-0ecd-2bd5-7c1f224c9b98" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_ce9014ac-0ac4-6ed2-b53f-a0edc046d6b4" 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="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_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_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" 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_OtherAssetsNoncurrent_ddb0d184-2205-2a10-5b0e-faf2ccd717ae" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_5ee94de1-09b5-a281-d50f-420352002a69" 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_DeferredTaxAssetsLiabilitiesNetNoncurrent_5ee94de1-09b5-a281-d50f-420352002a69" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_82393af8-00cf-c878-caac-887e4fcb1248" 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_LongTermInvestments_82393af8-00cf-c878-caac-887e4fcb1248" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/ConsolidatedBalanceSheetsUnauditedParenthetical" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/ConsolidatedStatementsOfCashFlowsUnaudited" 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_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1bd0bd4e-4a6f-b052-029c-0ecb0c520251" 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_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_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_b11c1cb0-596b-4c3d-0283-76cef67837c7" 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_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_AmortizationOfFinancingCosts" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_b412c390-dfec-d4c8-f13e-036e3b49278c" 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_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_InventoryWriteDown" xlink:label="loc_us-gaap_InventoryWriteDown_ef2593d2-c1e2-76d0-b0c8-df71b88607ef" 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_us-gaap_InventoryWriteDown_ef2593d2-c1e2-76d0-b0c8-df71b88607ef" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_ProvisionforGainLossonVendorDeposit" xlink:label="loc_ubnt_ProvisionforGainLossonVendorDeposit_c805329e-fb10-95f8-8dc2-3a18f3897e3f" 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_ubnt_ProvisionforGainLossonVendorDeposit_c805329e-fb10-95f8-8dc2-3a18f3897e3f" 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_OtherNoncashIncomeExpense" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_29b0a481-c653-23c1-27cf-114dadcce1af" 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_OtherNoncashIncomeExpense_29b0a481-c653-23c1-27cf-114dadcce1af" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_5f96c19e-85fe-99f6-cec0-c2c9d7470ed4" 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_IncreaseDecreaseInAccountsReceivable_5f96c19e-85fe-99f6-cec0-c2c9d7470ed4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_334f1d33-7cae-7fd2-9d83-bb387fc2f3dd" 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_IncreaseDecreaseInInventories_334f1d33-7cae-7fd2-9d83-bb387fc2f3dd" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_IncreaseDecreaseinVendorDeposits" xlink:label="loc_ubnt_IncreaseDecreaseinVendorDeposits_a6793fa4-d5fd-ad89-01fd-3a18f2b1e7ac" 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_ubnt_IncreaseDecreaseinVendorDeposits_a6793fa4-d5fd-ad89-01fd-3a18f2b1e7ac" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidTaxes" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidTaxes_b68c9658-85e3-d0b2-4f5a-f78300bea3c1" 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_IncreaseDecreaseInPrepaidTaxes_b68c9658-85e3-d0b2-4f5a-f78300bea3c1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_0e4168a9-901d-abb5-15c0-3622e9e2c070" 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_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_0e4168a9-901d-abb5-15c0-3622e9e2c070" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_0a39d2ee-656d-ead5-a676-41794b4da8f4" 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_us-gaap_IncreaseDecreaseInAccountsPayable_0a39d2ee-656d-ead5-a676-41794b4da8f4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_e69a15cf-ab4b-cbea-dc70-0b76971b08a1" 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_us-gaap_IncreaseDecreaseInAccruedIncomeTaxesPayable_e69a15cf-ab4b-cbea-dc70-0b76971b08a1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_7d3f88de-7d0f-fe63-f176-2a8af9ecbcbd" 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_IncreaseDecreaseInContractWithCustomerLiability_7d3f88de-7d0f-fe63-f176-2a8af9ecbcbd" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_a7e5a9b0-da37-f993-db8e-55e01b78deb4" 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_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_a7e5a9b0-da37-f993-db8e-55e01b78deb4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfDebtDiscountPremium" xlink:label="loc_us-gaap_AmortizationOfDebtDiscountPremium_d883e212-a0a2-0f3a-80cd-5a5472a7f783" 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_us-gaap_AmortizationOfDebtDiscountPremium_d883e212-a0a2-0f3a-80cd-5a5472a7f783" 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="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_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_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_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_6d89f221-3ede-36b2-fcad-4a4ce1606f6a" 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_PaymentsToAcquirePropertyPlantAndEquipment_6d89f221-3ede-36b2-fcad-4a4ce1606f6a" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_94ef4f28-36c0-ebcc-c252-3b37968b424e" 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_us-gaap_PaymentsToAcquireInvestments_94ef4f28-36c0-ebcc-c252-3b37968b424e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" 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_us-gaap_ProceedsFromSaleOfAvailableForSaleSecuritiesDebt_33cd5d62-efc5-7725-6424-7800a10af341" xlink:type="arc" />
    <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="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_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_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_d4a92697-d008-996b-823a-bd9a56a04b3a" 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_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="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_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_PaymentsOfDividends" xlink:label="loc_us-gaap_PaymentsOfDividends_13cc8818-e792-6246-5e41-c56e1150a319" 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_PaymentsOfDividends_13cc8818-e792-6246-5e41-c56e1150a319" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_632129be-5229-a7d0-e53b-c34bdd2c2b9a" 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_us-gaap_ProceedsFromLongTermLinesOfCredit_632129be-5229-a7d0-e53b-c34bdd2c2b9a" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_RepaymentofLongTermLinesofCreditPrincipal" xlink:label="loc_ubnt_RepaymentofLongTermLinesofCreditPrincipal_d000b1d9-c75b-a423-64dd-3a18f328aa5b" 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_ubnt_RepaymentofLongTermLinesofCreditPrincipal_d000b1d9-c75b-a423-64dd-3a18f328aa5b" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/ConsolidatedStatementsOfOperationsAndComprehensiveIncomeUnaudited" 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_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_59645a08-ce25-9000-2f65-e4bfddb1182e" 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_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_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" 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_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_c7333cca-378d-a6fc-ae13-b512babfcdeb" 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_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_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_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" 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_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_df00e688-c7aa-f044-9cba-c48e7c14e35b" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:to="loc_us-gaap_GrossProfit_df00e688-c7aa-f044-9cba-c48e7c14e35b" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_df00e688-c7aa-f044-9cba-c48e7c14e35b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_1c604cfe-da19-5194-72b6-98be0130cfb7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_1c65a201-fd8e-32d7-dad9-c6d1d5719594" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_df00e688-c7aa-f044-9cba-c48e7c14e35b" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_1c65a201-fd8e-32d7-dad9-c6d1d5719594" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:type="locator" />
    <link:calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_5c890570-5904-7978-36d8-35b96dcf45ab" xlink:to="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_11c9d7e5-c56e-e78a-ae7b-17989a817204" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_11c9d7e5-c56e-e78a-ae7b-17989a817204" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_693c47dd-e6fa-9c85-6a65-7baa26f76b5e" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_a2f4cf19-54a3-c9c5-9b4d-23b76125e270" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_693c47dd-e6fa-9c85-6a65-7baa26f76b5e" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_41e96f8d-e499-8de8-69a8-27f1c7d4df6e" 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_OtherNonoperatingIncomeExpense_41e96f8d-e499-8de8-69a8-27f1c7d4df6e" 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://www.ubnt.com/role/Debt" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/DebtAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/DebtSummaryOfDebtAndInterestPaymentObligationsDetail" xlink:type="extended">
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_65e86c62-03e3-2fa9-5ebf-1cbf664afdb8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3b793654-c1ac-69c9-9cf3-81e6dfe102d7" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_65e86c62-03e3-2fa9-5ebf-1cbf664afdb8" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3b793654-c1ac-69c9-9cf3-81e6dfe102d7" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_063d17e1-2fa5-be85-25db-1cbf662fbf64" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_65e86c62-03e3-2fa9-5ebf-1cbf664afdb8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_063d17e1-2fa5-be85-25db-1cbf662fbf64" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_e549c619-44ae-23f3-505c-1cbf66574545" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e00da32d-ed06-bb21-8b28-7e7ede769972" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_e549c619-44ae-23f3-505c-1cbf66574545" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e00da32d-ed06-bb21-8b28-7e7ede769972" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_8c29b706-91de-05e0-8e07-1cbf66276e64" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_e549c619-44ae-23f3-505c-1cbf66574545" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_8c29b706-91de-05e0-8e07-1cbf66276e64" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_e46af42d-23ea-a83b-9ce7-b8a6424fb942" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_e46af42d-23ea-a83b-9ce7-b8a6424fb942" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_53634569-cdf7-3d1b-42b0-596cb4175c67" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_53634569-cdf7-3d1b-42b0-596cb4175c67" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c4573bf7-1f66-8dfe-59b9-b6903f55406f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c4573bf7-1f66-8dfe-59b9-b6903f55406f" xlink:type="arc" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e00da32d-ed06-bb21-8b28-7e7ede769972" xlink:type="arc" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3b793654-c1ac-69c9-9cf3-81e6dfe102d7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_89018c92-f86f-28e7-853c-438f4a34e1f6" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_80dca0ba-44dc-8565-fb9b-c2edfc8c357d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_89018c92-f86f-28e7-853c-438f4a34e1f6" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_3041bf60-fe5e-3859-e53e-1cbf66586b4e" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_3041bf60-fe5e-3859-e53e-1cbf66586b4e" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_0f89fe6f-a331-3174-e303-1cbf6650db98" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_0f89fe6f-a331-3174-e303-1cbf6650db98" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_b57c7ce3-556b-59b4-e75f-1cbf66631c8f" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_b57c7ce3-556b-59b4-e75f-1cbf66631c8f" xlink:type="arc" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFour_8c29b706-91de-05e0-8e07-1cbf66276e64" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_0a8407d9-370b-7b9d-aa8b-1cbf663f0038" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_0a8407d9-370b-7b9d-aa8b-1cbf663f0038" xlink:type="arc" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPayments_04041151-02ed-84e5-5935-1cbf6656bb69" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsAfterYearFive_063d17e1-2fa5-be85-25db-1cbf662fbf64" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_f1bcd079-90ef-6ba8-8f73-1cbf66250eff" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_f1bcd079-90ef-6ba8-8f73-1cbf66250eff" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_89018c92-f86f-28e7-853c-438f4a34e1f6" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_f1bcd079-90ef-6ba8-8f73-1cbf66250eff" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearFive_0a8407d9-370b-7b9d-aa8b-1cbf663f0038" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_92c7b418-94e6-782c-c3c5-1cbf66373dc5" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_92c7b418-94e6-782c-c3c5-1cbf66373dc5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_53634569-cdf7-3d1b-42b0-596cb4175c67" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_92c7b418-94e6-782c-c3c5-1cbf66373dc5" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearTwo_0f89fe6f-a331-3174-e303-1cbf6650db98" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_014dabcd-8e33-708f-6ac7-1cbf66707337" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_014dabcd-8e33-708f-6ac7-1cbf66707337" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c4573bf7-1f66-8dfe-59b9-b6903f55406f" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_014dabcd-8e33-708f-6ac7-1cbf66707337" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsInYearThree_b57c7ce3-556b-59b4-e75f-1cbf66631c8f" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_3cf7a874-b15e-5dd6-a712-1cbf6662b367" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_3cf7a874-b15e-5dd6-a712-1cbf6662b367" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_e46af42d-23ea-a83b-9ce7-b8a6424fb942" xlink:type="arc" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_3cf7a874-b15e-5dd6-a712-1cbf6662b367" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfInterestAndOtherPaymentsRemainderOfFiscalYear_3041bf60-fe5e-3859-e53e-1cbf66586b4e" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/DebtSummaryOfDebtAndInterestPaymentObligationsDetailCalc2" xlink:type="extended">
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:type="locator" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_C901FBFCAF5F2B589B9782A2D4778756_3cf7a874-b15e-5dd6-a712-1cbf6662b367" xlink:type="locator" />
    <link:calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsRemainderOfFiscalYear_C901FBFCAF5F2B589B9782A2D4778756_3cf7a874-b15e-5dd6-a712-1cbf6662b367" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_C901FBFCAF5F2B589B9782A2D4778756_92c7b418-94e6-782c-c3c5-1cbf66373dc5" xlink:type="locator" />
    <link:calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearTwo_C901FBFCAF5F2B589B9782A2D4778756_92c7b418-94e6-782c-c3c5-1cbf66373dc5" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_C901FBFCAF5F2B589B9782A2D4778756_014dabcd-8e33-708f-6ac7-1cbf66707337" xlink:type="locator" />
    <link:calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearThree_C901FBFCAF5F2B589B9782A2D4778756_014dabcd-8e33-708f-6ac7-1cbf66707337" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_C901FBFCAF5F2B589B9782A2D4778756_e549c619-44ae-23f3-505c-1cbf66574545" xlink:type="locator" />
    <link:calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFour_C901FBFCAF5F2B589B9782A2D4778756_e549c619-44ae-23f3-505c-1cbf66574545" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_C901FBFCAF5F2B589B9782A2D4778756_65e86c62-03e3-2fa9-5ebf-1cbf664afdb8" xlink:type="locator" />
    <link:calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsAfterYearFive_C901FBFCAF5F2B589B9782A2D4778756_65e86c62-03e3-2fa9-5ebf-1cbf664afdb8" xlink:type="arc" />
    <link:loc xlink:href="ubnt-20180930.xsd#ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive" xlink:label="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_C901FBFCAF5F2B589B9782A2D4778756_f1bcd079-90ef-6ba8-8f73-1cbf66250eff" xlink:type="locator" />
    <link:calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPayments_C901FBFCAF5F2B589B9782A2D4778756_4b7f4abf-bd3b-f627-47d1-1cbf6629e9a8" xlink:to="loc_ubnt_LongTermDebtMaturitiesRepaymentsOfPrincipalAndInterestAndOtherPaymentsInYearFive_C901FBFCAF5F2B589B9782A2D4778756_f1bcd079-90ef-6ba8-8f73-1cbf66250eff" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/DebtSummaryOfDebtDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/DebtTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/EarningsPerShare" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/EarningsPerShareAntiDilutiveSecuritiesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/EarningsPerShareComputationOfBasicAndDilutedEarningsPerShareDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/EarningsPerShareTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/FairValueOfFinancialInstruments" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsContinuousLossPositionDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsScheduleOfFinancialInstrumentsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsScheduleOfInvestmentSecurityByContractMaturityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" 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_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" 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_AvailableForSaleDebtSecuritiesAmortizedCostBasis_f0bf2241-14f8-6ef1-e8d7-f724d52ad9c1" 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_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" 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_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" 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_AvailableForSaleSecuritiesDebtSecurities_5ab305fa-195a-59cf-c0de-4b5d05fc9de4" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_bb6f3730-d49d-30bc-8e52-6eba94f7dba4" xlink:type="arc" />
  </link:calculationLink>
  <link:calculationLink xlink:role="http://www.ubnt.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/IncomeTaxes" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/IncomeTaxesDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/RelatedPartyTransactionsAndCertainOtherTransactions" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/RelatedPartyTransactionsAndCertainOtherTransactionsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/Revenues" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/RevenuesDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomers" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersPercentageOfRevenuesAccountsReceivableDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersRevenuesByGeographyDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersRevenuesByProductDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SegmentInformationRevenuesByGeographyAndSignificantCustomersTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/StockBasedCompensation" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/StockBasedCompensationAdditionalInformationDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/StockBasedCompensationOptionActivityForCompanysStockIncentivePlansDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/StockBasedCompensationStockBasedCompensationExpenseDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/StockBasedCompensationSummaryOfRsuActivityDetail" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SubsequentEvents" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SubsequentEventsDetails" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:calculationLink xlink:role="http://www.ubnt.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
</link:linkbase>
