<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2021 Workiva-->
<!--r:8376ff1c-2078-4bea-b052-61a801649625,g:16e0c0c6-7fff-410a-85cc-fb6fc74e1046-->
<link:linkbase 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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="afrm-20210331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_aea6c567-c188-4fd1-8072-bd3d19598c62" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_15337fb1-d9db-4008-aae9-c4fc10b0cfe1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_aea6c567-c188-4fd1-8072-bd3d19598c62" xlink:to="loc_us-gaap_Liabilities_15337fb1-d9db-4008-aae9-c4fc10b0cfe1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_190c0b85-3e57-4433-ad9e-eaf8dadee1ab" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_aea6c567-c188-4fd1-8072-bd3d19598c62" xlink:to="loc_us-gaap_CommitmentsAndContingencies_190c0b85-3e57-4433-ad9e-eaf8dadee1ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_fa3dc709-5a34-4060-b17c-3530b72e7e4f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_TemporaryEquityCarryingAmountAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_aea6c567-c188-4fd1-8072-bd3d19598c62" xlink:to="loc_us-gaap_TemporaryEquityCarryingAmountAttributableToParent_fa3dc709-5a34-4060-b17c-3530b72e7e4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_0275275c-0688-469d-83a8-2695ca4f3cd1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_aea6c567-c188-4fd1-8072-bd3d19598c62" xlink:to="loc_us-gaap_StockholdersEquity_0275275c-0688-469d-83a8-2695ca4f3cd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e3742639-7374-4b49-b6a6-4ff5f8ea6ccd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e3742639-7374-4b49-b6a6-4ff5f8ea6ccd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_8b201ac0-bf41-4313-b714-02c5effbdc08" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_RestrictedCash_8b201ac0-bf41-4313-b714-02c5effbdc08" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleAmount_67c60cf1-e224-48b8-b0f2-0a640c2a1e6c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansReceivableHeldForSaleAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleAmount_67c60cf1-e224-48b8-b0f2-0a640c2a1e6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_8a48dc4f-1658-49e1-81e8-079f35bfd946" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_NotesReceivableNet_8a48dc4f-1658-49e1-81e8-079f35bfd946" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_e7feb6b9-14dc-45b1-b713-228c68d3563a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_AccountsReceivableNet_e7feb6b9-14dc-45b1-b713-228c68d3563a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0b56ce99-7e0c-413d-a48b-48cb91962b92" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0b56ce99-7e0c-413d-a48b-48cb91962b92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_7ed86298-a034-446a-90cf-1367a6ac70f6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntangibleAssetsNetIncludingGoodwill"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_IntangibleAssetsNetIncludingGoodwill_7ed86298-a034-446a-90cf-1367a6ac70f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementAssetNet_453cb1b0-a473-475b-ad82-7b12ace235b1" xlink:href="afrm-20210331.xsd#afrm_CommercialAgreementAssetNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_afrm_CommercialAgreementAssetNet_453cb1b0-a473-475b-ad82-7b12ace235b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_94463f22-2178-4964-af73-b422d326f260" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_79411a57-b19a-4bca-908b-e8072e2744f0" xlink:to="loc_us-gaap_OtherAssets_94463f22-2178-4964-af73-b422d326f260" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_7ce66792-8d0b-4e6c-8636-83749c0a6582" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_cfe829f6-8246-4fd9-b497-1a5171a66e40" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7ce66792-8d0b-4e6c-8636-83749c0a6582" xlink:to="loc_us-gaap_CommonStockValue_cfe829f6-8246-4fd9-b497-1a5171a66e40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_aa5dbea9-d4fe-4939-a93c-375eebce18c6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7ce66792-8d0b-4e6c-8636-83749c0a6582" xlink:to="loc_us-gaap_AdditionalPaidInCapital_aa5dbea9-d4fe-4939-a93c-375eebce18c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b5a01075-b018-4311-a945-796c886ad41f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7ce66792-8d0b-4e6c-8636-83749c0a6582" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_b5a01075-b018-4311-a945-796c886ad41f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_951511f9-851e-4960-8cf2-3a08213ce6fb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_7ce66792-8d0b-4e6c-8636-83749c0a6582" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_951511f9-851e-4960-8cf2-3a08213ce6fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_c1162856-4a8c-4c58-a982-620cc5283b10" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_c1162856-4a8c-4c58-a982-620cc5283b10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ThirdPartyLoanOwnerPayable_f3865a28-5000-4de5-9259-1775b05f7ae6" xlink:href="afrm-20210331.xsd#afrm_ThirdPartyLoanOwnerPayable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_afrm_ThirdPartyLoanOwnerPayable_f3865a28-5000-4de5-9259-1775b05f7ae6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_de2b4e09-958a-4a6e-b224-4f046bd8f8e8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_de2b4e09-958a-4a6e-b224-4f046bd8f8e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_3f0ee371-8d24-4b64-b77f-590b14962956" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_3f0ee371-8d24-4b64-b77f-590b14962956" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebt_77be8f99-b303-4aa9-86db-83ebfed8435e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConvertibleDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_us-gaap_ConvertibleDebt_77be8f99-b303-4aa9-86db-83ebfed8435e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_31988d89-7273-4dfe-bad8-4ca989e5dcda" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SecuredDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_us-gaap_SecuredDebt_31988d89-7273-4dfe-bad8-4ca989e5dcda" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_32aeee25-40c3-4b63-bf9c-32ac63dccc32" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_73869dd8-c4e7-4b26-bc20-c4b516d9469c" xlink:to="loc_us-gaap_LineOfCredit_32aeee25-40c3-4b63-bf9c-32ac63dccc32" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_401554dd-35ff-4ee7-a9ec-f0114b921b86" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_c25191c1-8546-4d6a-b4e8-38274fa86e5e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_401554dd-35ff-4ee7-a9ec-f0114b921b86" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_c25191c1-8546-4d6a-b4e8-38274fa86e5e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_1b08b561-9f2b-4ea0-8722-77aae3e25f0b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_401554dd-35ff-4ee7-a9ec-f0114b921b86" xlink:to="loc_us-gaap_NotesReceivableGross_1b08b561-9f2b-4ea0-8722-77aae3e25f0b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="simple" xlink:href="afrm-20210331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNet_fb85dcd8-2561-4eff-bce2-af9156860c53" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_82629291-ee9e-4bb2-9183-3f8a56ea605d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_fb85dcd8-2561-4eff-bce2-af9156860c53" xlink:to="loc_us-gaap_Liabilities_82629291-ee9e-4bb2-9183-3f8a56ea605d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_695040e8-1f68-4709-b3ae-5d88aa1219c1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Assets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_fb85dcd8-2561-4eff-bce2-af9156860c53" xlink:to="loc_us-gaap_Assets_695040e8-1f68-4709-b3ae-5d88aa1219c1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="afrm-20210331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_ac294dd3-45e7-456f-bf1e-d37e6e78c9c4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_297d293a-e50b-4cdc-8b8f-0d81e69c8ae2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ac294dd3-45e7-456f-bf1e-d37e6e78c9c4" xlink:to="loc_us-gaap_NetIncomeLoss_297d293a-e50b-4cdc-8b8f-0d81e69c8ae2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_417a69d9-d2bb-45f8-966f-cb83f4764539" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_ac294dd3-45e7-456f-bf1e-d37e6e78c9c4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_417a69d9-d2bb-45f8-966f-cb83f4764539" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_685ec082-da13-4d8b-a5ca-76cbf65c8120" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_e4e819b8-63d6-4052-8b0d-29bee076de6f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_685ec082-da13-4d8b-a5ca-76cbf65c8120" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_e4e819b8-63d6-4052-8b0d-29bee076de6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_57087072-16fd-455f-a9c2-6cb8d51440e3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_685ec082-da13-4d8b-a5ca-76cbf65c8120" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_57087072-16fd-455f-a9c2-6cb8d51440e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_8f2019c0-f640-419b-a9fb-5f06bb250d28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_685ec082-da13-4d8b-a5ca-76cbf65c8120" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_8f2019c0-f640-419b-a9fb-5f06bb250d28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_0191c22d-60f0-4c2c-a188-fb0ab89d24ac" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_685ec082-da13-4d8b-a5ca-76cbf65c8120" xlink:to="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_0191c22d-60f0-4c2c-a188-fb0ab89d24ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0375fd91-1fd3-4d07-a62d-91638e49bfc8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_e188bcb5-ce84-4c5b-9a1f-26cbdadd1f1f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_0375fd91-1fd3-4d07-a62d-91638e49bfc8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_e188bcb5-ce84-4c5b-9a1f-26cbdadd1f1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_bc9b5530-c794-450e-bbc9-4fb53640abaf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2fb15cc4-ccfe-43af-8c6e-164689daeff4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_bc9b5530-c794-450e-bbc9-4fb53640abaf" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2fb15cc4-ccfe-43af-8c6e-164689daeff4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_2cdc3f12-084a-4eb3-b880-4439e7e3a307" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_bc9b5530-c794-450e-bbc9-4fb53640abaf" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_2cdc3f12-084a-4eb3-b880-4439e7e3a307" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b7347711-ac05-4194-b276-0645e15138af" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_34095df3-6811-4c39-a1a4-da398bcd4419" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b7347711-ac05-4194-b276-0645e15138af" xlink:to="loc_us-gaap_OperatingIncomeLoss_34095df3-6811-4c39-a1a4-da398bcd4419" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_483d5d18-f3d1-46ee-ba74-6013554e7c96" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_b7347711-ac05-4194-b276-0645e15138af" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_483d5d18-f3d1-46ee-ba74-6013554e7c96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_fab3afc4-cb8c-4b54-8c90-68bb302399a5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_61e2f31a-dec6-4168-ba93-71fd63ea6355" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_fab3afc4-cb8c-4b54-8c90-68bb302399a5" xlink:to="loc_us-gaap_Revenues_61e2f31a-dec6-4168-ba93-71fd63ea6355" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_6fa1566b-fb5f-499d-bca3-4d4d07de238b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_fab3afc4-cb8c-4b54-8c90-68bb302399a5" xlink:to="loc_us-gaap_CostsAndExpenses_6fa1566b-fb5f-499d-bca3-4d4d07de238b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a7ef5395-303f-4960-bd0e-86a8c20b2239" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_fd38d448-dbe9-468c-8ff1-ee74467170ba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a7ef5395-303f-4960-bd0e-86a8c20b2239" xlink:to="loc_us-gaap_NetIncomeLoss_fd38d448-dbe9-468c-8ff1-ee74467170ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments_a98f3ae5-6236-426b-8d19-83665e478af8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockDividendsAndOtherAdjustments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_a7ef5395-303f-4960-bd0e-86a8c20b2239" xlink:to="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments_a98f3ae5-6236-426b-8d19-83665e478af8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_LossOnFinancingReceivableCommitmentsToPurchase_e88c1455-3d22-47e1-ab73-43012d767b30" xlink:href="afrm-20210331.xsd#afrm_LossOnFinancingReceivableCommitmentsToPurchase"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_afrm_LossOnFinancingReceivableCommitmentsToPurchase_e88c1455-3d22-47e1-ab73-43012d767b30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_fa2c7853-173d-42e5-a616-13583f5e820b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_fa2c7853-173d-42e5-a616-13583f5e820b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_0ecead35-6331-44f2-93c4-0f693acac386" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestExpenseDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_us-gaap_InterestExpenseDebt_0ecead35-6331-44f2-93c4-0f693acac386" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProcessingAndServicingExpense_c6e9bbf3-2aa3-4087-a561-2d362b6407f7" xlink:href="afrm-20210331.xsd#afrm_ProcessingAndServicingExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_afrm_ProcessingAndServicingExpense_c6e9bbf3-2aa3-4087-a561-2d362b6407f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_TechnologyAndDataAnalyticsExpense_be052065-6630-4ca4-90a5-b55c159dce9a" xlink:href="afrm-20210331.xsd#afrm_TechnologyAndDataAnalyticsExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_afrm_TechnologyAndDataAnalyticsExpense_be052065-6630-4ca4-90a5-b55c159dce9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_f5a6f1b6-abb0-4a73-9eba-2f9c0b1f5126" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_us-gaap_SellingAndMarketingExpense_f5a6f1b6-abb0-4a73-9eba-2f9c0b1f5126" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_4328a514-30b2-47ef-a66e-d4d4844689d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_3a529862-33c9-47cc-89ca-7b89d7041c47" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_4328a514-30b2-47ef-a66e-d4d4844689d7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="afrm-20210331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_944ca913-e76c-44e8-9219-4d452bd58ca7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3a2e36ef-1358-48be-aea1-ec240c2908eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_944ca913-e76c-44e8-9219-4d452bd58ca7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3a2e36ef-1358-48be-aea1-ec240c2908eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa11a7e2-60f2-47f3-bb13-40e0bdcb2dfe" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_944ca913-e76c-44e8-9219-4d452bd58ca7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_aa11a7e2-60f2-47f3-bb13-40e0bdcb2dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_59c1c010-fd5d-48d7-a3aa-ccbd437d167d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_944ca913-e76c-44e8-9219-4d452bd58ca7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_59c1c010-fd5d-48d7-a3aa-ccbd437d167d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_acd0c61a-d793-4695-9e4e-604e7e2231cd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_944ca913-e76c-44e8-9219-4d452bd58ca7" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_acd0c61a-d793-4695-9e4e-604e7e2231cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireFinanceReceivables_0531397f-8b32-47a7-a101-58bff0d7e2be" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireFinanceReceivables"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_us-gaap_PaymentsToAcquireFinanceReceivables_0531397f-8b32-47a7-a101-58bff0d7e2be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_OriginationOfLoans_958bad62-3315-4b41-ae92-4f83f1678c51" xlink:href="afrm-20210331.xsd#afrm_OriginationOfLoans"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_afrm_OriginationOfLoans_958bad62-3315-4b41-ae92-4f83f1678c51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_1eebe2c1-3478-4827-826c-8f18860caca8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfFinanceReceivables"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_1eebe2c1-3478-4827-826c-8f18860caca8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_b7964ffc-0f4d-44da-b19d-c9ca4420db8d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromCollectionOfFinanceReceivables"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_b7964ffc-0f4d-44da-b19d-c9ca4420db8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6fe5b21b-2028-40b3-870a-9608fde21330" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_6fe5b21b-2028-40b3-870a-9608fde21330" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PaymentsToAcquireCommercialAgreementAssets_f11e39a1-4ba4-4882-9e15-437c3a2f17b7" xlink:href="afrm-20210331.xsd#afrm_PaymentsToAcquireCommercialAgreementAssets"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_afrm_PaymentsToAcquireCommercialAgreementAssets_f11e39a1-4ba4-4882-9e15-437c3a2f17b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_7dff20a8-3aab-43cf-9f96-44518c206daf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_375e7cc1-b6b7-405c-a424-05197bd65ac7" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_7dff20a8-3aab-43cf-9f96-44518c206daf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_9b3da710-399f-4a75-a719-bda98f0b26e5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_NetIncomeLoss_9b3da710-399f-4a75-a719-bda98f0b26e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_8a729df9-9625-4a48-9279-229f6a788c2b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_8a729df9-9625-4a48-9279-229f6a788c2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables_925e35f4-bd7e-43f6-9d1c-adec8200f2bb" xlink:href="afrm-20210331.xsd#afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables_925e35f4-bd7e-43f6-9d1c-adec8200f2bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_c88a8822-532e-43bc-9fd9-290c48de1d0a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_c88a8822-532e-43bc-9fd9-290c48de1d0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_GainLossOnServicingAssetsAndLiabilities_3d3c3f18-63dd-4587-92ee-b761060da0f4" xlink:href="afrm-20210331.xsd#afrm_GainLossOnServicingAssetsAndLiabilities"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_afrm_GainLossOnServicingAssetsAndLiabilities_3d3c3f18-63dd-4587-92ee-b761060da0f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet_3d2ca295-f7ec-46c1-867e-e7c27db17daf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet_3d2ca295-f7ec-46c1-867e-e7c27db17daf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_GainLossOnResidualTrustCertificates_e0c3a64b-8242-4d5e-93be-3d2bfaeed9eb" xlink:href="afrm-20210331.xsd#afrm_GainLossOnResidualTrustCertificates"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_afrm_GainLossOnResidualTrustCertificates_e0c3a64b-8242-4d5e-93be-3d2bfaeed9eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_fa7710e0-60ca-4270-a985-de8039d7800a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_fa7710e0-60ca-4270-a985-de8039d7800a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AmortizationOfCommercialAgreementAssets_78d7dc3a-79eb-4226-b49d-8a46a4b40ccc" xlink:href="afrm-20210331.xsd#afrm_AmortizationOfCommercialAgreementAssets"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_afrm_AmortizationOfCommercialAgreementAssets_78d7dc3a-79eb-4226-b49d-8a46a4b40ccc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_c1e72e24-68cd-4470-8bbf-5d66b13b448d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_c1e72e24-68cd-4470-8bbf-5d66b13b448d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_2f7033e7-a0a0-4b98-9661-ae5978b39065" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_ShareBasedCompensation_2f7033e7-a0a0-4b98-9661-ae5978b39065" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_3d745015-0123-433d-9fec-12243c3507a6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_3d745015-0123-433d-9fec-12243c3507a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_47ae5785-ad65-4b75-b97b-67ae64ccb102" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_47ae5785-ad65-4b75-b97b-67ae64ccb102" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseImpairmentLoss_0d86ecde-3492-4c71-aa4c-ca884fbe5b2f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseImpairmentLoss"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_OperatingLeaseImpairmentLoss_0d86ecde-3492-4c71-aa4c-ca884fbe5b2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_7f59ef83-1082-4a54-8d62-58be2e230cea" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_7f59ef83-1082-4a54-8d62-58be2e230cea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_d11fc82d-dfd1-46ab-841e-d4be0034248d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_d11fc82d-dfd1-46ab-841e-d4be0034248d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToPurchaseLoansHeldForSale_6f077659-b0da-4f91-8463-47a19cd33574" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToPurchaseLoansHeldForSale"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_PaymentsToPurchaseLoansHeldForSale_6f077659-b0da-4f91-8463-47a19cd33574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_d69a5d03-6ac5-478d-96ce-27c4fab74180" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_d69a5d03-6ac5-478d-96ce-27c4fab74180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_5c02dea2-dff2-493f-9662-3c01f51e52ef" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_5c02dea2-dff2-493f-9662-3c01f51e52ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_48f1b94e-9e59-4869-8716-680630b66f7d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_48f1b94e-9e59-4869-8716-680630b66f7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_66c815d8-6a4b-40f4-bac9-eb1f1f5fb3cb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_66c815d8-6a4b-40f4-bac9-eb1f1f5fb3cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_9d09a743-93a8-4e31-8b45-e83c2aaa9ee1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="22" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_9d09a743-93a8-4e31-8b45-e83c2aaa9ee1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_3c2271d7-eaff-4354-8909-894837c090d6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="23" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_3c2271d7-eaff-4354-8909-894837c090d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable_70b10f8c-cdab-419a-a5db-3e3cd2a80586" xlink:href="afrm-20210331.xsd#afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable"/>
    <link:calculationArc order="24" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b435895f-24d9-46df-816a-dfdaa4fff2a4" xlink:to="loc_afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable_70b10f8c-cdab-419a-a5db-3e3cd2a80586" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_433f16e7-9e2a-48bb-a3a6-ce47f08c1526" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_433f16e7-9e2a-48bb-a3a6-ce47f08c1526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_227a112e-fe5c-4509-be4a-eca6f7f6a834" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_227a112e-fe5c-4509-be4a-eca6f7f6a834" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_9a78a463-2a82-4ccc-ac19-b78c707b5261" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_9a78a463-2a82-4ccc-ac19-b78c707b5261" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_adc3fa54-3afa-4fa4-a981-fcae89f9230a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_adc3fa54-3afa-4fa4-a981-fcae89f9230a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_e27ef96d-5264-45b3-b1c8-637cb61ecdd3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_e27ef96d-5264-45b3-b1c8-637cb61ecdd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock_2b477063-914d-4b6a-8de8-a4fa7d0779d7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock_2b477063-914d-4b6a-8de8-a4fa7d0779d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock_8a4858a3-5dce-4434-8c95-e238db2e9146" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock_8a4858a3-5dce-4434-8c95-e238db2e9146" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PaymentsForConversionOfRedeemableConvertiblePreferredStock_51bc2063-6df7-4df4-9fdb-2bf4c61218e0" xlink:href="afrm-20210331.xsd#afrm_PaymentsForConversionOfRedeemableConvertiblePreferredStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_afrm_PaymentsForConversionOfRedeemableConvertiblePreferredStock_51bc2063-6df7-4df4-9fdb-2bf4c61218e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_d45b0356-1714-4bf0-b739-4d5587d86810" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_d45b0356-1714-4bf0-b739-4d5587d86810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProceedsFromStockOptionsAndWarrantsExercised_54ed9c1a-cbaf-45a3-9ec4-8a1e3037a5ea" xlink:href="afrm-20210331.xsd#afrm_ProceedsFromStockOptionsAndWarrantsExercised"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_afrm_ProceedsFromStockOptionsAndWarrantsExercised_54ed9c1a-cbaf-45a3-9ec4-8a1e3037a5ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_310e3a67-20be-4a40-86d3-bced043d2d8f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_310e3a67-20be-4a40-86d3-bced043d2d8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_9a929496-f929-4521-8818-1c7760e8adba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_84689fbe-10d0-4626-bb4b-c1e3cb9505bc" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_9a929496-f929-4521-8818-1c7760e8adba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/InterestIncomeDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#InterestIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/InterestIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_d942befe-3e73-439a-b508-410e9635f53f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_7eaf2428-5483-4e46-a659-1eb3eb515e65" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d942befe-3e73-439a-b508-410e9635f53f" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_7eaf2428-5483-4e46-a659-1eb3eb515e65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccretionOfDiscountsFinancingReceivables_e5c4c8ea-1879-415f-96da-476f07ca02c2" xlink:href="afrm-20210331.xsd#afrm_AccretionOfDiscountsFinancingReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d942befe-3e73-439a-b508-410e9635f53f" xlink:to="loc_afrm_AccretionOfDiscountsFinancingReceivables_e5c4c8ea-1879-415f-96da-476f07ca02c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AmortizationOfPremiumsFinancingReceivables_1f8e2b43-100d-4e4d-aabf-eac819e2df59" xlink:href="afrm-20210331.xsd#afrm_AmortizationOfPremiumsFinancingReceivables"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d942befe-3e73-439a-b508-410e9635f53f" xlink:to="loc_afrm_AmortizationOfPremiumsFinancingReceivables_1f8e2b43-100d-4e4d-aabf-eac819e2df59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_7bd07bab-eb56-4cd5-8dfe-a5141c104e67" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableAccruedInterestWriteoff"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_d942befe-3e73-439a-b508-410e9635f53f" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_7bd07bab-eb56-4cd5-8dfe-a5141c104e67" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableRecoveries"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_c51faf54-e0b6-4483-90c3-18fc2d3aaffd" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:to="loc_afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_c51faf54-e0b6-4483-90c3-18fc2d3aaffd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_dd60f2b5-d372-44c6-b4a6-e015a6157997" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:to="loc_afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_dd60f2b5-d372-44c6-b4a6-e015a6157997" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_1a558a61-6082-42f7-9bc9-aeb5087b7226" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:to="loc_afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_1a558a61-6082-42f7-9bc9-aeb5087b7226" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_8885ba9a-d213-416e-82ad-5df7fae203b4" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:to="loc_afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_8885ba9a-d213-416e-82ad-5df7fae203b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearRecoveries_93471ce5-b45a-4715-a414-b616b53aed44" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:to="loc_afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearRecoveries_93471ce5-b45a-4715-a414-b616b53aed44" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_4ff215ae-f61a-4002-b584-09ca5394f16c" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableRecoveries_b24864e3-2b76-4435-8282-0aefc46b9092" xlink:to="loc_afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_4ff215ae-f61a-4002-b584-09ca5394f16c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivablesWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_6f739914-8c3a-4b8c-bace-1f44b54f44e6" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:to="loc_afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_6f739914-8c3a-4b8c-bace-1f44b54f44e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_eb3a920c-5c80-4e75-954d-f7223cb80c54" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:to="loc_afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_eb3a920c-5c80-4e75-954d-f7223cb80c54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_41570ef9-fd4e-4b47-85a3-1665fc1cae8f" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:to="loc_afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_41570ef9-fd4e-4b47-85a3-1665fc1cae8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet_6aa7501e-c54f-454a-b28a-18965f006585" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:to="loc_afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet_6aa7501e-c54f-454a-b28a-18965f006585" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_52117ffc-3593-4816-bc54-15aece3bb6f5" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:to="loc_afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_52117ffc-3593-4816-bc54-15aece3bb6f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_06c9bba3-9037-4cc3-900d-3b9545642695" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_980f2961-e5ff-4253-9177-c790701e724e" xlink:to="loc_afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_06c9bba3-9037-4cc3-900d-3b9545642695" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_ca560999-f05d-4c5b-8a62-73a615f45558" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_ca560999-f05d-4c5b-8a62-73a615f45558" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_0fb1934c-5b28-45a2-a9e9-6f29366e3c42" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_0fb1934c-5b28-45a2-a9e9-6f29366e3c42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_3b59eb0a-2c23-49a2-b9e5-0850cff46298" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_3b59eb0a-2c23-49a2-b9e5-0850cff46298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_5885c7b1-38d8-4779-acbd-1ef62e1e5992" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_5885c7b1-38d8-4779-acbd-1ef62e1e5992" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_9c9f8812-f1d3-4af1-bc30-b9b75b8f1691" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_9c9f8812-f1d3-4af1-bc30-b9b75b8f1691" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_a6ab4060-3dc9-48d9-9bcb-2025cdb2b89b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_754b5e72-0a4c-4e6b-9f5b-2f5a82fbedf5" xlink:to="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_a6ab4060-3dc9-48d9-9bcb-2025cdb2b89b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableWriteOff"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOff_c25b46b7-a93b-44ba-b5ac-86198fc3f87f" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:to="loc_afrm_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOff_c25b46b7-a93b-44ba-b5ac-86198fc3f87f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOff_b1b897e6-2ba1-4674-bc9f-4ad9c54ef2c5" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:to="loc_afrm_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOff_b1b897e6-2ba1-4674-bc9f-4ad9c54ef2c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteOff_1a696eb5-d5bc-4aac-bb6c-def4036d0b7c" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteOff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:to="loc_afrm_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteOff_1a696eb5-d5bc-4aac-bb6c-def4036d0b7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOff_fdc9b58c-e19b-4804-bc75-2ea1bf07c404" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:to="loc_afrm_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOff_fdc9b58c-e19b-4804-bc75-2ea1bf07c404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOff_e772c10a-8ac2-472d-8ae7-368e16b08dbc" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:to="loc_afrm_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOff_e772c10a-8ac2-472d-8ae7-368e16b08dbc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOff_bdc1bd02-b0f2-4308-98eb-a2e9fe445f53" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableWriteOff_98ce354d-1cc3-4df4-8b1b-243c3b42adff" xlink:to="loc_afrm_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOff_bdc1bd02-b0f2-4308-98eb-a2e9fe445f53" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails_1" xlink:type="simple" xlink:href="afrm-20210331.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_361d99d2-c084-4a3b-b505-a6bfd6b2d27f" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivablesWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableRecoveries_71313e30-137b-4a47-ba60-13225faa25f7" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableRecoveries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_361d99d2-c084-4a3b-b505-a6bfd6b2d27f" xlink:to="loc_afrm_FinancingReceivableRecoveries_71313e30-137b-4a47-ba60-13225faa25f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableWriteOff_95e3fe0c-2211-44ea-a4e8-c8649a9b97e6" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableWriteOff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivablesWriteOffRecoveriesNet_361d99d2-c084-4a3b-b505-a6bfd6b2d27f" xlink:to="loc_afrm_FinancingReceivableWriteOff_95e3fe0c-2211-44ea-a4e8-c8649a9b97e6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_6e1cf29c-277b-4520-8f83-30e66edad784" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_97be4b56-8e26-42e2-b63a-df578216fd5b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_6e1cf29c-277b-4520-8f83-30e66edad784" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentCurrent_97be4b56-8e26-42e2-b63a-df578216fd5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_86bd87d1-0837-4ca0-9c7e-7293e478000a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAmortizedCostBeforeAllowanceForCreditLoss_6e1cf29c-277b-4520-8f83-30e66edad784" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_86bd87d1-0837-4ca0-9c7e-7293e478000a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BusinessCombinationFairValueofConsiderationTransferredDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#BusinessCombinationFairValueofConsiderationTransferredDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BusinessCombinationFairValueofConsiderationTransferredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_f11317d7-e42c-4238-a6e4-4ac37617d2a7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_55988269-370e-4f1e-8eab-460bf6edd525" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_f11317d7-e42c-4238-a6e4-4ac37617d2a7" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_55988269-370e-4f1e-8eab-460bf6edd525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c8521279-d781-40a6-8a8d-03ee5d32270b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_f11317d7-e42c-4238-a6e4-4ac37617d2a7" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredEquityInterestsIssuedAndIssuable_c8521279-d781-40a6-8a8d-03ee5d32270b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_1334292b-6ead-4694-8de1-a917632578c7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_f11317d7-e42c-4238-a6e4-4ac37617d2a7" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_1334292b-6ead-4694-8de1-a917632578c7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BusinessCombinationAllocationofConsiderationPaidtoFairValuesofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#BusinessCombinationAllocationofConsiderationPaidtoFairValuesofAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BusinessCombinationAllocationofConsiderationPaidtoFairValuesofAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ec53cfc4-7695-489c-b03f-8eefeca05e0a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsPayable_c5f6a86f-d20e-4187-ad6e-0a49f6b5b3cd" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsPayable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ec53cfc4-7695-489c-b03f-8eefeca05e0a" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsPayable_c5f6a86f-d20e-4187-ad6e-0a49f6b5b3cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedInterest_ea790dcd-6cdb-4c3a-95c3-b6bca2aa7ee3" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ec53cfc4-7695-489c-b03f-8eefeca05e0a" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedInterest_ea790dcd-6cdb-4c3a-95c3-b6bca2aa7ee3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilitiesAndOtherLiabilities_99b1a16b-c62a-46f6-bbf3-bbcdbbc6e1c2" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilitiesAndOtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ec53cfc4-7695-489c-b03f-8eefeca05e0a" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedLiabilitiesAndOtherLiabilities_99b1a16b-c62a-46f6-bbf3-bbcdbbc6e1c2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuredDebt_4fd32036-8c76-4eb1-89e0-82416dbdf02b" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuredDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_ec53cfc4-7695-489c-b03f-8eefeca05e0a" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedSecuredDebt_4fd32036-8c76-4eb1-89e0-82416dbdf02b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_9215988e-532d-4b20-b101-c766dd98c32c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5f9dd9d5-a455-4e1b-b400-922556c6142a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_9215988e-532d-4b20-b101-c766dd98c32c" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_5f9dd9d5-a455-4e1b-b400-922556c6142a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_bce8a2d0-5d90-487a-b85d-0d7462d10678" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_9215988e-532d-4b20-b101-c766dd98c32c" xlink:to="loc_us-gaap_Goodwill_bce8a2d0-5d90-487a-b85d-0d7462d10678" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_c16fad88-971f-4bc5-997f-00738c479ded" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_c16fad88-971f-4bc5-997f-00738c479ded" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash_e80c657d-1288-4631-9b66-9fdd81320959" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedRestrictedCash_e80c657d-1288-4631-9b66-9fdd81320959" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancingReceivableBeforeAllowanceForCreditLoss_796a67ea-9955-4977-80fe-fc89adb8b83a" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancingReceivableBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedFinancingReceivableBeforeAllowanceForCreditLoss_796a67ea-9955-4977-80fe-fc89adb8b83a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivables_9c1c9e45-feec-4f94-8a6a-272ffee0a2ea" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivables"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccountsReceivables_9c1c9e45-feec-4f94-8a6a-272ffee0a2ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_3874227f-f309-4f1c-bf6a-404d19416b59" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_3874227f-f309-4f1c-bf6a-404d19416b59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_8ba212ed-7133-493e-8f8e-462af398a37d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_8ba212ed-7133-493e-8f8e-462af398a37d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_3b023116-8963-45cf-96d4-abc6ea5172ea" xlink:href="afrm-20210331.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_64bcec3c-5df1-4157-90f3-44910c8f8c13" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_3b023116-8963-45cf-96d4-abc6ea5172ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_79937a22-ad2a-44e3-9e0b-b53d33933d2f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_6a931326-2996-4ac0-a52f-2a83d391a03b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_79937a22-ad2a-44e3-9e0b-b53d33933d2f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_6a931326-2996-4ac0-a52f-2a83d391a03b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_30a4002f-90b0-4064-80bf-37082961f02b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_79937a22-ad2a-44e3-9e0b-b53d33933d2f" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_30a4002f-90b0-4064-80bf-37082961f02b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsIntangibleAssetsDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#BalanceSheetComponentsIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d0f8d37a-c8b6-4c67-9dba-4c3513eeeb22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9e1822fb-8ef4-4665-8123-6d9c1cb89f06" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d0f8d37a-c8b6-4c67-9dba-4c3513eeeb22" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_9e1822fb-8ef4-4665-8123-6d9c1cb89f06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_35d8669e-6c66-4fd4-bece-b87fa4daacf8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d0f8d37a-c8b6-4c67-9dba-4c3513eeeb22" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_35d8669e-6c66-4fd4-bece-b87fa4daacf8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2aadfe6f-0983-4636-9173-1a6ce7e9fbad" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_16e0fe7f-d41e-4a8e-b18f-097868650a28" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2aadfe6f-0983-4636-9173-1a6ce7e9fbad" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_16e0fe7f-d41e-4a8e-b18f-097868650a28" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_bb9ab7b0-8ff1-4834-979a-f54be9144f22" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2aadfe6f-0983-4636-9173-1a6ce7e9fbad" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_bb9ab7b0-8ff1-4834-979a-f54be9144f22" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_f2289170-2b6a-4a44-9d45-5cff534442db" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a63df740-3756-4e86-a920-90f23d5b8afa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_f2289170-2b6a-4a44-9d45-5cff534442db" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_a63df740-3756-4e86-a920-90f23d5b8afa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_dc861ceb-76a2-4adb-b6c1-cfd76b18ede7" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_f2289170-2b6a-4a44-9d45-5cff534442db" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_dc861ceb-76a2-4adb-b6c1-cfd76b18ede7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="afrm-20210331.xsd#BalanceSheetComponentsIntangibleAssetsDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsIntangibleAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a6719592-65c2-40bc-8326-df9a2d41ffdd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_d38b8ed5-df06-413f-a320-0a0e06ff71eb" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a6719592-65c2-40bc-8326-df9a2d41ffdd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_d38b8ed5-df06-413f-a320-0a0e06ff71eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5b4aa5a8-f25d-4094-b4f7-f9d7a62a6b99" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_a6719592-65c2-40bc-8326-df9a2d41ffdd" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_5b4aa5a8-f25d-4094-b4f7-f9d7a62a6b99" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsExpectedFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#BalanceSheetComponentsExpectedFutureAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsExpectedFutureAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_857bc847-09bc-41f6-a3f1-7408500cd1dd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_857bc847-09bc-41f6-a3f1-7408500cd1dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_9d15661a-b20b-4009-8fac-b9ae60360a8a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_9d15661a-b20b-4009-8fac-b9ae60360a8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7ce71564-1ed7-4182-b897-4eedab1a7106" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_7ce71564-1ed7-4182-b897-4eedab1a7106" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_97691c8a-d966-4b22-8489-ce0c4d3b1da1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_97691c8a-d966-4b22-8489-ce0c4d3b1da1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_14f8163a-0030-497f-8b2c-79d1f694e2fd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_14f8163a-0030-497f-8b2c-79d1f694e2fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_50e0baa6-9b26-4810-ab28-da10ac1f157a" xlink:href="afrm-20210331.xsd#afrm_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_f1a30c90-e019-425a-8d35-7a3fd6982219" xlink:to="loc_afrm_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_50e0baa6-9b26-4810-ab28-da10ac1f157a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsOtherAssetsDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#BalanceSheetComponentsOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_8f2bf2c1-da2f-483b-85db-e047bbfdb169" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_8f2bf2c1-da2f-483b-85db-e047bbfdb169" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidTaxes_b4ae8edb-802f-4a57-8556-26b8fec4a172" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:to="loc_us-gaap_PrepaidTaxes_b4ae8edb-802f-4a57-8556-26b8fec4a172" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_341838f0-27ea-4c26-b83a-0a78756cbac1" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PrepaidExpenseCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:to="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_341838f0-27ea-4c26-b83a-0a78756cbac1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CashDepositsProcessingReserves_f6781f1b-cefc-488e-9e94-8661505df86f" xlink:href="afrm-20210331.xsd#afrm_CashDepositsProcessingReserves"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:to="loc_afrm_CashDepositsProcessingReserves_f6781f1b-cefc-488e-9e94-8661505df86f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_ac484c8b-61ba-449d-8df1-a4e1d728961c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherReceivables"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:to="loc_us-gaap_OtherReceivables_ac484c8b-61ba-449d-8df1-a4e1d728961c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneous_63aa8f1b-1e3c-42c5-84ee-15886135bb88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsMiscellaneous"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_e16471d4-faea-4f6e-beb7-7e191f4e3fbd" xlink:to="loc_us-gaap_OtherAssetsMiscellaneous_63aa8f1b-1e3c-42c5-84ee-15886135bb88" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#BalanceSheetComponentsAccruedExpensesandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsAccruedExpensesandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_40b7ccaf-28ba-4356-a70a-c75349785891" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_40b7ccaf-28ba-4356-a70a-c75349785891" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_cb88cb9b-626a-4eed-a058-12e4eb3b5927" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:to="loc_us-gaap_OperatingLeaseLiability_cb88cb9b-626a-4eed-a058-12e4eb3b5927" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRentCredit_19f9f7d6-21de-4eea-8889-d2b2a0463dba" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredRentCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:to="loc_us-gaap_DeferredRentCredit_19f9f7d6-21de-4eea-8889-d2b2a0463dba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_25fbefbc-8780-4d91-a7dd-f2a5fdf11c87" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_25fbefbc-8780-4d91-a7dd-f2a5fdf11c87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementLiability_f5d70b59-d7ae-48da-b097-26a548f12a54" xlink:href="afrm-20210331.xsd#afrm_CommercialAgreementLiability"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:to="loc_afrm_CommercialAgreementLiability_f5d70b59-d7ae-48da-b097-26a548f12a54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_b7a78e8b-bf7f-407b-a5da-0a5717e0e52f" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_84c6a549-818e-4ea3-8ae8-dbac199a0ef3" xlink:to="loc_us-gaap_OtherLiabilities_b7a78e8b-bf7f-407b-a5da-0a5717e0e52f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#LeasesMaturitiesofLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_51dbeaae-6a19-4818-b6c8-ea724d244cb5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_26abbd1f-6452-46f9-a609-7c5749a6390c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_51dbeaae-6a19-4818-b6c8-ea724d244cb5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_26abbd1f-6452-46f9-a609-7c5749a6390c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_39a892e9-4e24-4745-acb7-726c6983fe8d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_51dbeaae-6a19-4818-b6c8-ea724d244cb5" xlink:to="loc_us-gaap_OperatingLeaseLiability_39a892e9-4e24-4745-acb7-726c6983fe8d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="afrm-20210331.xsd#LeasesMaturitiesofLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_68ede6af-9c97-4c14-b40c-3b63736aacdc" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_68ede6af-9c97-4c14-b40c-3b63736aacdc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9f22aa05-5821-4ba5-a7db-653741d33968" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_9f22aa05-5821-4ba5-a7db-653741d33968" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_37d28a8d-9c91-4c29-8156-f72aeea37209" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_37d28a8d-9c91-4c29-8156-f72aeea37209" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f64acfb6-ea05-44e5-abc1-38faefdbcd88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_f64acfb6-ea05-44e5-abc1-38faefdbcd88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_8526f67d-12e8-470d-8f6c-0c32f75964ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_8526f67d-12e8-470d-8f6c-0c32f75964ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_135576de-c5b5-4023-a2ff-35da31e5f076" xlink:href="afrm-20210331.xsd#afrm_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_9cc87699-c1ce-426d-8d15-eb98b51153fa" xlink:to="loc_afrm_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_135576de-c5b5-4023-a2ff-35da31e5f076" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebt2020Details" xlink:type="simple" xlink:href="afrm-20210331.xsd#FundingDebtAggregateFutureMaturitiesofFundingDebt2020Details"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebt2020Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_805c9e34-284b-4bce-aaef-e154a1b56f16" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_86cd81d3-4aea-49e6-b76c-e04e67356c41" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_805c9e34-284b-4bce-aaef-e154a1b56f16" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_86cd81d3-4aea-49e6-b76c-e04e67356c41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_5503267b-8f49-4e53-b5c6-9a087d9a6b7e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DeferredFinanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_805c9e34-284b-4bce-aaef-e154a1b56f16" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_5503267b-8f49-4e53-b5c6-9a087d9a6b7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_130868a4-fafa-482c-9ce9-1ca5ca533612" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_130868a4-fafa-482c-9ce9-1ca5ca533612" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_75f3761b-ccac-47cd-8da4-09879124932e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_75f3761b-ccac-47cd-8da4-09879124932e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_f38d6bdd-5f8d-4738-a32d-9e21808a46b5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_f38d6bdd-5f8d-4738-a32d-9e21808a46b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e288effd-fae2-40ad-ac75-3cd9221a41cf" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_e288effd-fae2-40ad-ac75-3cd9221a41cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_066612c8-5bf6-4488-9b36-518be486f874" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_066612c8-5bf6-4488-9b36-518be486f874" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_e31ce51f-7b3a-4d23-aef2-fe9ebce93c9e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_a2b60491-fe9b-4c5e-9932-22c193cee4a5" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_e31ce51f-7b3a-4d23-aef2-fe9ebce93c9e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebt2021Details" xlink:type="simple" xlink:href="afrm-20210331.xsd#FundingDebtAggregateFutureMaturitiesofFundingDebt2021Details"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebt2021Details" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_73cc133f-b50b-4a3a-9626-606ca924bd8a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_73cc133f-b50b-4a3a-9626-606ca924bd8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_48d83870-e88b-42f9-b026-dcfa9ac83649" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_48d83870-e88b-42f9-b026-dcfa9ac83649" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_c19cbc1a-8aa5-4ee1-ac3b-2742c89dae30" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_c19cbc1a-8aa5-4ee1-ac3b-2742c89dae30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_aab227d8-7d7c-4b06-a810-699eefa53b69" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_aab227d8-7d7c-4b06-a810-699eefa53b69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a449351d-68fc-4515-b75e-8a3a745e1347" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_a449351d-68fc-4515-b75e-8a3a745e1347" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_LongTermDebtMaturityAfterYearFour_637cce94-7dcc-4737-bc9b-08b882213455" xlink:href="afrm-20210331.xsd#afrm_LongTermDebtMaturityAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_067f8869-e607-452d-9436-2f95ddc5740d" xlink:to="loc_afrm_LongTermDebtMaturityAfterYearFour_637cce94-7dcc-4737-bc9b-08b882213455" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#FairValueofFinancialAssetsandLiabilitiesAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_df73662d-ef26-4cde-bf19-8fb81a6745f0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_c72d3e94-467c-4387-91e0-96a2e07be3b8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_df73662d-ef26-4cde-bf19-8fb81a6745f0" xlink:to="loc_us-gaap_DerivativeLiabilities_c72d3e94-467c-4387-91e0-96a2e07be3b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingLiabilityAtFairValueAmount_682f8188-0fdf-497a-82be-b42f0b74d730" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ServicingLiabilityAtFairValueAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_df73662d-ef26-4cde-bf19-8fb81a6745f0" xlink:to="loc_us-gaap_ServicingLiabilityAtFairValueAmount_682f8188-0fdf-497a-82be-b42f0b74d730" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_f7cc2d71-218f-425a-a005-c9eba9e3cec6" xlink:href="afrm-20210331.xsd#afrm_PerformanceFeeLiabilityFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_df73662d-ef26-4cde-bf19-8fb81a6745f0" xlink:to="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_f7cc2d71-218f-425a-a005-c9eba9e3cec6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability_be9b85d3-a3b9-48e3-b256-f9917b5673e2" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_df73662d-ef26-4cde-bf19-8fb81a6745f0" xlink:to="loc_us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability_be9b85d3-a3b9-48e3-b256-f9917b5673e2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_7a1f0aec-48ec-4b0a-8e6a-38ce8487da89" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_1657ae25-4473-41d7-b610-5fa3dd966046" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_7a1f0aec-48ec-4b0a-8e6a-38ce8487da89" xlink:to="loc_us-gaap_ServicingAsset_1657ae25-4473-41d7-b610-5fa3dd966046" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_48e3f7b3-bd1d-4b31-ab3f-953e45aeab9a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_7a1f0aec-48ec-4b0a-8e6a-38ce8487da89" xlink:to="loc_us-gaap_DerivativeAssets_48e3f7b3-bd1d-4b31-ab3f-953e45aeab9a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails_1" xlink:type="simple" xlink:href="afrm-20210331.xsd#FairValueofFinancialAssetsandLiabilitiesAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_d8e433b8-fc19-4f56-ab82-f37baddd2e1e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:to="loc_us-gaap_DerivativeLiabilities_d8e433b8-fc19-4f56-ab82-f37baddd2e1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingLiabilityAtFairValueAmount_3ad63d11-03ac-4cd3-b87a-41c39308cb78" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ServicingLiabilityAtFairValueAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:to="loc_us-gaap_ServicingLiabilityAtFairValueAmount_3ad63d11-03ac-4cd3-b87a-41c39308cb78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_0977fb31-425f-4f72-b498-a192a0457bc3" xlink:href="afrm-20210331.xsd#afrm_PerformanceFeeLiabilityFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:to="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_0977fb31-425f-4f72-b498-a192a0457bc3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ResidualTrustCertificatesFairValueDisclosure_efef1e9f-0062-4d05-8bd5-015f878f679a" xlink:href="afrm-20210331.xsd#afrm_ResidualTrustCertificatesFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:to="loc_afrm_ResidualTrustCertificatesFairValueDisclosure_efef1e9f-0062-4d05-8bd5-015f878f679a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_a4ec49f4-a5e3-4a66-9be3-0488b3e67e70" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_a4ec49f4-a5e3-4a66-9be3-0488b3e67e70" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure_d85fb95b-75ee-47f2-9383-1c96bd76f95d" xlink:href="afrm-20210331.xsd#afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_85cfee8c-102d-46d1-8887-2c76fe36099c" xlink:to="loc_afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure_d85fb95b-75ee-47f2-9383-1c96bd76f95d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_857ef78a-6da6-4980-a8dc-f08837f21c6b" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_857ef78a-6da6-4980-a8dc-f08837f21c6b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RestrictedCashFairValueDisclosure_51eb0ab6-17c3-4aa1-8b5d-0af274182cf5" xlink:href="afrm-20210331.xsd#afrm_RestrictedCashFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:to="loc_afrm_RestrictedCashFairValueDisclosure_51eb0ab6-17c3-4aa1-8b5d-0af274182cf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableHeldForSaleFairValueDisclosure_07a17663-b0a5-463f-bb3b-485654b64a01" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:to="loc_afrm_FinancingReceivableHeldForSaleFairValueDisclosure_07a17663-b0a5-463f-bb3b-485654b64a01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableFairValueDisclosure_dbbd6e2c-6872-47d9-81a9-f0890e7301ab" xlink:href="afrm-20210331.xsd#afrm_FinancingReceivableFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:to="loc_afrm_FinancingReceivableFairValueDisclosure_dbbd6e2c-6872-47d9-81a9-f0890e7301ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableFairValueDisclosure_4fdbbe3d-4a41-41d8-aa1b-60f3ca410c88" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsReceivableFairValueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:to="loc_us-gaap_AccountsReceivableFairValueDisclosure_4fdbbe3d-4a41-41d8-aa1b-60f3ca410c88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_f5526e04-82d1-474d-af5b-332cb4770668" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_e0308b24-a43f-4f55-96b2-a22ce00d68c8" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_f5526e04-82d1-474d-af5b-332cb4770668" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableFairValueDisclosure_fe2a1e7f-d8ad-453e-83aa-ed9b59a27a4a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:to="loc_us-gaap_AccountsPayableFairValueDisclosure_fe2a1e7f-d8ad-453e-83aa-ed9b59a27a4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableFairValueDisclosure_41cd63b7-69e2-4569-b12a-1fce944ee38c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansPayableFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:to="loc_us-gaap_LoansPayableFairValueDisclosure_41cd63b7-69e2-4569-b12a-1fce944ee38c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_InterestPayableFairValueDisclosure_7692609a-b996-44d6-a685-8bb48a2708a4" xlink:href="afrm-20210331.xsd#afrm_InterestPayableFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:to="loc_afrm_InterestPayableFairValueDisclosure_7692609a-b996-44d6-a685-8bb48a2708a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure_c69a759a-87a2-4811-874b-7ac82e32f778" xlink:href="afrm-20210331.xsd#afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:to="loc_afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure_c69a759a-87a2-4811-874b-7ac82e32f778" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_66b5fc18-822d-43ca-80ee-053b78e72b61" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_ConvertibleDebtFairValueDisclosures"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_66b5fc18-822d-43ca-80ee-053b78e72b61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditFairValueDisclosure_18d9777e-724d-49f0-9eb5-c1a0e7e238d6" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LinesOfCreditFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_774ba695-c6de-479b-a173-fa27508f171e" xlink:to="loc_us-gaap_LinesOfCreditFairValueDisclosure_18d9777e-724d-49f0-9eb5-c1a0e7e238d6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1" xlink:type="simple" xlink:href="afrm-20210331.xsd#FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableFairValueDisclosure_5c55d86c-57d5-4e35-af10-16c56d4d3747" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AccountsPayableFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:to="loc_us-gaap_AccountsPayableFairValueDisclosure_5c55d86c-57d5-4e35-af10-16c56d4d3747" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansPayableFairValueDisclosure_2062528b-f587-4543-9ded-989a2fe18a2c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LoansPayableFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:to="loc_us-gaap_LoansPayableFairValueDisclosure_2062528b-f587-4543-9ded-989a2fe18a2c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_InterestPayableFairValueDisclosure_5866fd85-b00c-49d3-aa3a-7e12603959eb" xlink:href="afrm-20210331.xsd#afrm_InterestPayableFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:to="loc_afrm_InterestPayableFairValueDisclosure_5866fd85-b00c-49d3-aa3a-7e12603959eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure_57b062f1-dc91-4aec-a788-1278c5bdff72" xlink:href="afrm-20210331.xsd#afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:to="loc_afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure_57b062f1-dc91-4aec-a788-1278c5bdff72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_be06bd1b-ae5f-4b37-9f88-4985853036e8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NotesPayableFairValueDisclosure"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_be06bd1b-ae5f-4b37-9f88-4985853036e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditFairValueDisclosure_e6a2116b-68f6-4451-a5a2-cb9d987e72b8" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_LinesOfCreditFairValueDisclosure"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_c41084fb-4506-480d-bd70-011e5e5e1ec5" xlink:to="loc_us-gaap_LinesOfCreditFairValueDisclosure_e6a2116b-68f6-4451-a5a2-cb9d987e72b8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/EquityandCashIncentivePlansComponentsandClassificationofStockbasedCompensationDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#EquityandCashIncentivePlansComponentsandClassificationofStockbasedCompensationDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/EquityandCashIncentivePlansComponentsandClassificationofStockbasedCompensationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_b3dd2b9a-22fb-4d21-b5b7-d7da9d518e10" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_c46cc88d-e51f-4e40-8219-c53da88a569d" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_b3dd2b9a-22fb-4d21-b5b7-d7da9d518e10" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_c46cc88d-e51f-4e40-8219-c53da88a569d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_943d5892-bb13-4260-a469-0f2092ba6731" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_b3dd2b9a-22fb-4d21-b5b7-d7da9d518e10" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_943d5892-bb13-4260-a469-0f2092ba6731" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails" xlink:type="simple" xlink:href="afrm-20210331.xsd#NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8f852c73-ccdf-4729-bbfe-5a4644e5865a" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_dad03dfa-583e-4959-9981-2389be634183" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8f852c73-ccdf-4729-bbfe-5a4644e5865a" xlink:to="loc_us-gaap_NetIncomeLoss_dad03dfa-583e-4959-9981-2389be634183" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments_399c4473-f0a3-4425-955b-3aee5e2d7b79" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_PreferredStockDividendsAndOtherAdjustments"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8f852c73-ccdf-4729-bbfe-5a4644e5865a" xlink:to="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments_399c4473-f0a3-4425-955b-3aee5e2d7b79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_623149a3-1e46-4e87-a98d-5f6297304703" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8f852c73-ccdf-4729-bbfe-5a4644e5865a" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_623149a3-1e46-4e87-a98d-5f6297304703" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_10a8fa2a-0418-4312-8fd9-507e6115c3ca" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_InterestOnConvertibleDebtNetOfTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_8f852c73-ccdf-4729-bbfe-5a4644e5865a" xlink:to="loc_us-gaap_InterestOnConvertibleDebtNetOfTax_10a8fa2a-0418-4312-8fd9-507e6115c3ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b45320f1-abc0-4df4-bb6b-f20822482d3c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1536a81b-0cf6-4e3f-befd-c3355923b27c" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b45320f1-abc0-4df4-bb6b-f20822482d3c" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_1536a81b-0cf6-4e3f-befd-c3355923b27c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_1ef6a2ac-0815-4845-a7d2-b48c3066e9c0" xlink:href="http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_b45320f1-abc0-4df4-bb6b-f20822482d3c" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_1ef6a2ac-0815-4845-a7d2-b48c3066e9c0" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
