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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2025 Workiva-->
<!--r:df16f3db-4813-412f-bc8e-ca4e55d5ea28,g:f524b7bc-5ec7-4e11-8f90-fb2876d85f05-->
<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/CONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="afrm-20250630.xsd#CONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_fe255182-e3af-426a-a1b7-22e137eed653" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_fe255182-e3af-426a-a1b7-22e137eed653" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ThirdPartyLoanOwnerPayable_bae7a20e-535d-4d03-a8f9-31ef567ce67e" xlink:href="afrm-20250630.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_afrm_ThirdPartyLoanOwnerPayable_bae7a20e-535d-4d03-a8f9-31ef567ce67e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_e16a2e45-8888-4403-8887-4f9d2295119b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_e16a2e45-8888-4403-8887-4f9d2295119b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_048fcd5d-00ba-4576-af32-65d2392aeb9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_048fcd5d-00ba-4576-af32-65d2392aeb9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebt_affecf7a-1b3d-44f6-8c79-db3e7d82b4a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_us-gaap_ConvertibleDebt_affecf7a-1b3d-44f6-8c79-db3e7d82b4a9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_c31ce972-f108-4858-8623-4c29c2c4271a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_us-gaap_SecuredDebt_c31ce972-f108-4858-8623-4c29c2c4271a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_be184400-a022-4b58-a62b-be7fc965e6dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e592362-ff5b-49cb-bb20-6aa9077672e2" xlink:to="loc_us-gaap_LineOfCredit_be184400-a022-4b58-a62b-be7fc965e6dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_71dd83a1-8065-4d70-8045-bacc8ecaedfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_36871476-63d8-4e6d-a536-8c2b61fc0d09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_71dd83a1-8065-4d70-8045-bacc8ecaedfa" xlink:to="loc_us-gaap_Liabilities_36871476-63d8-4e6d-a536-8c2b61fc0d09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_eac9edb8-0ba2-4a15-b041-9e310c8f774b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_71dd83a1-8065-4d70-8045-bacc8ecaedfa" xlink:to="loc_us-gaap_CommitmentsAndContingencies_eac9edb8-0ba2-4a15-b041-9e310c8f774b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_988c26a3-c806-41dc-be16-2c4f0f4606ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_71dd83a1-8065-4d70-8045-bacc8ecaedfa" xlink:to="loc_us-gaap_StockholdersEquity_988c26a3-c806-41dc-be16-2c4f0f4606ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_d0ca06f5-1089-4b14-94bf-24793c925a46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_3f6953c7-a9e5-4415-9ea4-a28526aadb19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0ca06f5-1089-4b14-94bf-24793c925a46" xlink:to="loc_us-gaap_CommonStockValue_3f6953c7-a9e5-4415-9ea4-a28526aadb19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_75aa0376-0863-4acf-b5fd-b3eec7c04979" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0ca06f5-1089-4b14-94bf-24793c925a46" xlink:to="loc_us-gaap_AdditionalPaidInCapital_75aa0376-0863-4acf-b5fd-b3eec7c04979" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_96f5de7e-7a13-4f2b-bcb4-e55672f57051" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0ca06f5-1089-4b14-94bf-24793c925a46" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_96f5de7e-7a13-4f2b-bcb4-e55672f57051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_b92aff6b-48e4-4070-ab17-9238f4a33577" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_d0ca06f5-1089-4b14-94bf-24793c925a46" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_b92aff6b-48e4-4070-ab17-9238f4a33577" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNet_408ef099-6e35-4281-aea6-e374c3b4e66c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_2948c3e7-b733-41e2-9f08-f4bc94128a54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_408ef099-6e35-4281-aea6-e374c3b4e66c" xlink:to="loc_us-gaap_Liabilities_2948c3e7-b733-41e2-9f08-f4bc94128a54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_d1037356-fa53-41d8-9543-d6f76dd132b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_408ef099-6e35-4281-aea6-e374c3b4e66c" xlink:to="loc_us-gaap_Assets_d1037356-fa53-41d8-9543-d6f76dd132b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_af365529-d9ab-4d36-aba5-bca85ec1b46b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_af365529-d9ab-4d36-aba5-bca85ec1b46b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_21bac557-6f32-4cc6-b13b-b40163e230e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_RestrictedCash_21bac557-6f32-4cc6-b13b-b40163e230e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_46372e71-4eb3-4648-a06a-69935ac68bd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_OtherInvestments_46372e71-4eb3-4648-a06a-69935ac68bd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleAmount_e1a21c4c-af1c-4257-958e-92d22a8b2b80" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableHeldForSaleAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleAmount_e1a21c4c-af1c-4257-958e-92d22a8b2b80" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_134cd255-19fd-492b-b87b-5ef0f41ba730" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_NotesReceivableNet_134cd255-19fd-492b-b87b-5ef0f41ba730" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNet_1742514a-d3f2-4907-97c2-0efe09c912ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_AccountsReceivableNet_1742514a-d3f2-4907-97c2-0efe09c912ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4bf3a1c0-7ce3-45bd-949c-f7dda99d564a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_4bf3a1c0-7ce3-45bd-949c-f7dda99d564a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_7c31ec57-4daa-46be-97f3-fbc1a124dfcc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_Goodwill_7c31ec57-4daa-46be-97f3-fbc1a124dfcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_fb865175-b488-44cc-b786-8a22b399bf6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_fb865175-b488-44cc-b786-8a22b399bf6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementAssetNet_6eb88cd7-7a61-464a-9a69-74e642cf1bd5" xlink:href="afrm-20250630.xsd#afrm_CommercialAgreementAssetNet"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_afrm_CommercialAgreementAssetNet_6eb88cd7-7a61-464a-9a69-74e642cf1bd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_847ca13f-0b47-48f3-afbb-aaec5e412c1b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_199162e7-699c-4f2f-8b4c-148204dec0ca" xlink:to="loc_us-gaap_OtherAssets_847ca13f-0b47-48f3-afbb-aaec5e412c1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_08eaf328-b0a1-4925-be35-bcee30a2f795" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_25043f27-b852-43cc-a8e6-217a74a428e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_08eaf328-b0a1-4925-be35-bcee30a2f795" xlink:to="loc_us-gaap_NotesReceivableGross_25043f27-b852-43cc-a8e6-217a74a428e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_82182f02-2f34-4817-8693-96822ef71c27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_08eaf328-b0a1-4925-be35-bcee30a2f795" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_82182f02-2f34-4817-8693-96822ef71c27" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="afrm-20250630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_1e22349f-4c0f-43db-be86-84d053c4b92d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d38607d1-a6e4-4e7e-90b2-a340ef91eca5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e22349f-4c0f-43db-be86-84d053c4b92d" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_d38607d1-a6e4-4e7e-90b2-a340ef91eca5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_4a6e80c7-c8e9-4cb8-884b-c8dd3ff43465" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_1e22349f-4c0f-43db-be86-84d053c4b92d" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_4a6e80c7-c8e9-4cb8-884b-c8dd3ff43465" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_73d663f6-b81f-4b5b-bcfd-aa2707a433c6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_a82237a6-3fce-465d-80b9-c4c9e686095b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_73d663f6-b81f-4b5b-bcfd-aa2707a433c6" xlink:to="loc_us-gaap_Revenues_a82237a6-3fce-465d-80b9-c4c9e686095b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_5aea652a-d917-48a1-b476-3d4c1773c1ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_73d663f6-b81f-4b5b-bcfd-aa2707a433c6" xlink:to="loc_us-gaap_CostsAndExpenses_5aea652a-d917-48a1-b476-3d4c1773c1ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_c0b189bf-af6a-4045-95df-7912c186e81b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_08954c6f-0205-4cf2-a936-cad74ece2645" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c0b189bf-af6a-4045-95df-7912c186e81b" xlink:to="loc_us-gaap_OperatingIncomeLoss_08954c6f-0205-4cf2-a936-cad74ece2645" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_650375a3-2ef5-48b1-a65e-eb18028decf7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_c0b189bf-af6a-4045-95df-7912c186e81b" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_650375a3-2ef5-48b1-a65e-eb18028decf7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_4d3d3fd6-d228-4f7c-8536-4f5e6febfaf8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f7474962-14c6-4a34-ad42-9949f70f9b37" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4d3d3fd6-d228-4f7c-8536-4f5e6febfaf8" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_f7474962-14c6-4a34-ad42-9949f70f9b37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_4ee994e6-c3af-4ead-baf2-40c6b7ecdc01" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4d3d3fd6-d228-4f7c-8536-4f5e6febfaf8" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_4ee994e6-c3af-4ead-baf2-40c6b7ecdc01" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_5e90c7a8-22ef-4a0f-ad78-921946e49bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4d3d3fd6-d228-4f7c-8536-4f5e6febfaf8" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_5e90c7a8-22ef-4a0f-ad78-921946e49bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_c8e71022-ae66-4183-b985-650fde336c8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4d3d3fd6-d228-4f7c-8536-4f5e6febfaf8" xlink:to="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_c8e71022-ae66-4183-b985-650fde336c8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostsAndExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_LossOnFinancingReceivableCommitmentsToPurchase_93443ecb-0a50-4e62-b0cd-603e1fd5c3cc" xlink:href="afrm-20250630.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_afrm_LossOnFinancingReceivableCommitmentsToPurchase_93443ecb-0a50-4e62-b0cd-603e1fd5c3cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_f39299f8-e683-4fd5-a5f5-22a3d2cf8cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_f39299f8-e683-4fd5-a5f5-22a3d2cf8cb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_65fd6867-25c2-46cc-910f-c0d28ba09d05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_us-gaap_InterestExpenseDebt_65fd6867-25c2-46cc-910f-c0d28ba09d05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProcessingAndServicingExpense_215b4ca6-e8ab-4cfc-868d-3a1328f2a76d" xlink:href="afrm-20250630.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_afrm_ProcessingAndServicingExpense_215b4ca6-e8ab-4cfc-868d-3a1328f2a76d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_TechnologyAndDataAnalyticsExpense_674b87ae-a5fe-4f38-b683-3559195ef986" xlink:href="afrm-20250630.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_afrm_TechnologyAndDataAnalyticsExpense_674b87ae-a5fe-4f38-b683-3559195ef986" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_6871729d-3ddc-4575-b112-140fb645af8f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_us-gaap_SellingAndMarketingExpense_6871729d-3ddc-4575-b112-140fb645af8f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_91ebba79-5766-4515-a60f-af4d6d90d614" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_91ebba79-5766-4515-a60f-af4d6d90d614" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RestructuringChargesReversalsAndOtherExpense_26393dfc-7c00-4bbd-90b3-ffa2ebd337c0" xlink:href="afrm-20250630.xsd#afrm_RestructuringChargesReversalsAndOtherExpense"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_2b32dc1f-8973-4797-8760-70f68d9b3ad5" xlink:to="loc_afrm_RestructuringChargesReversalsAndOtherExpense_26393dfc-7c00-4bbd-90b3-ffa2ebd337c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_cc5f8361-4043-4ee0-aeae-aa10323b888c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_157c3650-2cc4-482a-9893-6ae9d5657ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cc5f8361-4043-4ee0-aeae-aa10323b888c" xlink:to="loc_us-gaap_NetIncomeLoss_157c3650-2cc4-482a-9893-6ae9d5657ee2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f8100d34-be21-4b30-b86c-2809e1cea457" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cc5f8361-4043-4ee0-aeae-aa10323b888c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_f8100d34-be21-4b30-b86c-2809e1cea457" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7bfaefac-4efa-424b-985c-30cfbdc70edb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_126dfc52-db55-4dce-a2fe-ac42946fbaa6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7bfaefac-4efa-424b-985c-30cfbdc70edb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_126dfc52-db55-4dce-a2fe-ac42946fbaa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_bd5e2b2c-54d1-4ec4-ac82-9cb0d45bad5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7bfaefac-4efa-424b-985c-30cfbdc70edb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_bd5e2b2c-54d1-4ec4-ac82-9cb0d45bad5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_af33cb29-8d17-4971-9e5e-693df13714c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_7bfaefac-4efa-424b-985c-30cfbdc70edb" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_af33cb29-8d17-4971-9e5e-693df13714c0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="afrm-20250630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireFinanceReceivables_a7e6da37-9caf-4f6f-bfee-609ed216b5ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_PaymentsToAcquireFinanceReceivables_a7e6da37-9caf-4f6f-bfee-609ed216b5ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_460af35c-8a1c-4a4a-9b2b-9abe723b4a1a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfFinanceReceivables"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_460af35c-8a1c-4a4a-9b2b-9abe723b4a1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_893cd400-7365-4a16-9804-91ab59ac4659" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromCollectionOfFinanceReceivables"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_893cd400-7365-4a16-9804-91ab59ac4659" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_966f505a-fcb2-41fc-a5f9-9ed4e0e3fcc9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_966f505a-fcb2-41fc-a5f9-9ed4e0e3fcc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_8d87ac6a-baf3-4dea-abac-1817c09ec59a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_8d87ac6a-baf3-4dea-abac-1817c09ec59a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_e7cca8c5-cdf5-4b9b-b39c-7f4f90f33c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_e7cca8c5-cdf5-4b9b-b39c-7f4f90f33c8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_4f462947-a7de-4f89-a2d9-c405a69040c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_4f462947-a7de-4f89-a2d9-c405a69040c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProceedsFromOtherInvestingActivities_f83248b5-1dc1-457b-b550-5e85adf36810" xlink:href="afrm-20250630.xsd#afrm_ProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_afrm_ProceedsFromOtherInvestingActivities_f83248b5-1dc1-457b-b550-5e85adf36810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PaymentForOtherInvestingActivity_afb1efca-cd81-41a3-8294-4f4d887b7366" xlink:href="afrm-20250630.xsd#afrm_PaymentForOtherInvestingActivity"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_619ff463-a45d-4838-b38d-a93bbad4c4b3" xlink:to="loc_afrm_PaymentForOtherInvestingActivity_afb1efca-cd81-41a3-8294-4f4d887b7366" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_e1acb958-f1ab-4ecc-a2ed-0bcef38965fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5a3be9c4-8230-4c74-b86c-d7bc2ef8e03b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e1acb958-f1ab-4ecc-a2ed-0bcef38965fa" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5a3be9c4-8230-4c74-b86c-d7bc2ef8e03b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2dea337d-56f0-45e9-9b9b-947cd3d2e7e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e1acb958-f1ab-4ecc-a2ed-0bcef38965fa" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2dea337d-56f0-45e9-9b9b-947cd3d2e7e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0e49dd94-d9b7-48a9-b6b4-152404f50462" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e1acb958-f1ab-4ecc-a2ed-0bcef38965fa" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_0e49dd94-d9b7-48a9-b6b4-152404f50462" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_cbe6133b-1a30-43ee-af40-3a8657bb7e85" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e1acb958-f1ab-4ecc-a2ed-0bcef38965fa" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_cbe6133b-1a30-43ee-af40-3a8657bb7e85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_2c34637d-b5f4-49fd-ae95-7d68c966efa2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e1075605-b767-4892-8ca8-abec4a6c271e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_2c34637d-b5f4-49fd-ae95-7d68c966efa2" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e1075605-b767-4892-8ca8-abec4a6c271e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_cc388bd8-c65c-408e-9661-9b7360b0027c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_2c34637d-b5f4-49fd-ae95-7d68c966efa2" xlink:to="loc_us-gaap_RestrictedCash_cc388bd8-c65c-408e-9661-9b7360b0027c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseImpairmentLoss_2c0eaa53-4add-4a63-ac74-b17cebf4debc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseImpairmentLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_OperatingLeaseImpairmentLoss_2c0eaa53-4add-4a63-ac74-b17cebf4debc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IncreaseDecreaseInCommercialAgreementAssets_8b9c639c-2149-4037-ae16-310604bae0d8" xlink:href="afrm-20250630.xsd#afrm_IncreaseDecreaseInCommercialAgreementAssets"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_afrm_IncreaseDecreaseInCommercialAgreementAssets_8b9c639c-2149-4037-ae16-310604bae0d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_0e255eb3-f433-4a9d-ad5d-1ff3a9f31f54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_0e255eb3-f433-4a9d-ad5d-1ff3a9f31f54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_GainLossOnChangesInFairValueOfAssetsAndLiabilities_cdc6de7a-fd1b-4fb7-9812-e8b4e99f70a5" xlink:href="afrm-20250630.xsd#afrm_GainLossOnChangesInFairValueOfAssetsAndLiabilities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_afrm_GainLossOnChangesInFairValueOfAssetsAndLiabilities_cdc6de7a-fd1b-4fb7-9812-e8b4e99f70a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables_59180ffc-1c01-4e1b-901d-05ad8c144db7" xlink:href="afrm-20250630.xsd#afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables_59180ffc-1c01-4e1b-901d-05ad8c144db7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_0ff1b153-ab68-435f-a290-7a6cd89ef5b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_0ff1b153-ab68-435f-a290-7a6cd89ef5b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_b3de49ea-9036-41c7-b56f-15181d5eeda6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForLoanLossesExpensed"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_b3de49ea-9036-41c7-b56f-15181d5eeda6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_e29d8966-9b7d-41cf-b5c8-6f815bcf5a09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_e29d8966-9b7d-41cf-b5c8-6f815bcf5a09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_2f6b644b-777c-4f0a-a7cf-e3ce3f0ae3cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_2f6b644b-777c-4f0a-a7cf-e3ce3f0ae3cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_906b8ce2-d349-4b73-8ed0-2bba9bd80df7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_906b8ce2-d349-4b73-8ed0-2bba9bd80df7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_531b67c2-4d3e-42cd-af36-09c45fcb48cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_ShareBasedCompensation_531b67c2-4d3e-42cd-af36-09c45fcb48cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4869b0ff-6841-4684-b6a2-eaf1e3dc5d20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_4869b0ff-6841-4684-b6a2-eaf1e3dc5d20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable_5f1bc391-1853-4110-b8bd-65e5c27458da" xlink:href="afrm-20250630.xsd#afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable_5f1bc391-1853-4110-b8bd-65e5c27458da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_ba0e0802-57f1-4017-a50e-5d3def8daeed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_NetIncomeLoss_ba0e0802-57f1-4017-a50e-5d3def8daeed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e92c31a7-192d-462d-8406-4194cca503f6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_e92c31a7-192d-462d-8406-4194cca503f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AmortizationOfDiscountOnAvailableForSaleSecurities_236ae4d8-f3c8-4d90-9fbb-2cfaf96c502c" xlink:href="afrm-20250630.xsd#afrm_AmortizationOfDiscountOnAvailableForSaleSecurities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_afrm_AmortizationOfDiscountOnAvailableForSaleSecurities_236ae4d8-f3c8-4d90-9fbb-2cfaf96c502c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementAssetAmortizationExpense_65fe72a7-a3c0-43ee-bfc0-2688a845ae2a" xlink:href="afrm-20250630.xsd#afrm_CommercialAgreementAssetAmortizationExpense"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_afrm_CommercialAgreementAssetAmortizationExpense_65fe72a7-a3c0-43ee-bfc0-2688a845ae2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_bbbe94d1-97b6-43f3-9a6e-bcd8019f0603" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_bbbe94d1-97b6-43f3-9a6e-bcd8019f0603" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_588f3c76-5063-47cd-be0c-8e4d6c576e10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_588f3c76-5063-47cd-be0c-8e4d6c576e10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_4038d41f-379c-45dc-ac1e-a53b35243961" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_4038d41f-379c-45dc-ac1e-a53b35243961" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_77800b00-d174-493b-af48-12cf47792bc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="21" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_77800b00-d174-493b-af48-12cf47792bc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_8a69a99c-10fa-4842-af59-7f9926a97851" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_cf6be7e6-56fb-419d-ad36-d28e582486af" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_8a69a99c-10fa-4842-af59-7f9926a97851" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_4f5f2916-352c-4dc9-bc67-09109c3230d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_4f5f2916-352c-4dc9-bc67-09109c3230d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_c23862ab-1e8f-4d5f-9921-0d4bd64a1680" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_c23862ab-1e8f-4d5f-9921-0d4bd64a1680" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_bd6323d6-5d8e-4776-b6d2-93b0b4278372" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_bd6323d6-5d8e-4776-b6d2-93b0b4278372" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_d60882f4-b74b-43fd-9a92-e85dfeb55ec9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_d60882f4-b74b-43fd-9a92-e85dfeb55ec9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_151e7deb-38d4-43c7-8853-82bae44e4c4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_151e7deb-38d4-43c7-8853-82bae44e4c4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_ddd62c85-5688-4434-85cf-f47256866f4b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtExtinguishmentCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_ddd62c85-5688-4434-85cf-f47256866f4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_2eeff412-ea77-4b71-be05-683825377330" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_2eeff412-ea77-4b71-be05-683825377330" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_4d86cd38-b611-42f4-9094-c92a49f6761d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_4d86cd38-b611-42f4-9094-c92a49f6761d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_dacbe5cf-436c-4c5e-b615-3f3b3a221545" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_dacbe5cf-436c-4c5e-b615-3f3b3a221545" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProceedsFromStockOptionsAndWarrantsExercised_1e89e0d7-915f-44a9-9efd-d658d5f27254" xlink:href="afrm-20250630.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_e96681c2-328b-4f90-a005-94e32e7a0ab8" xlink:to="loc_afrm_ProceedsFromStockOptionsAndWarrantsExercised_1e89e0d7-915f-44a9-9efd-d658d5f27254" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/RevenueScheduleofInterestIncomeDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#RevenueScheduleofInterestIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/RevenueScheduleofInterestIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_9610d814-f51c-4f22-865d-a5f799ff04ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_33e50a1c-8437-4f6e-9ed8-54fe48c733fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9610d814-f51c-4f22-865d-a5f799ff04ed" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_33e50a1c-8437-4f6e-9ed8-54fe48c733fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccretionOfDiscountsFinancingReceivables_23c32880-2648-40cb-94d6-6fde6803fd88" xlink:href="afrm-20250630.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_9610d814-f51c-4f22-865d-a5f799ff04ed" xlink:to="loc_afrm_AccretionOfDiscountsFinancingReceivables_23c32880-2648-40cb-94d6-6fde6803fd88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AmortizationOfPremiumsFinancingReceivables_4273a041-5f6d-4340-9762-1381767ffd5f" xlink:href="afrm-20250630.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_9610d814-f51c-4f22-865d-a5f799ff04ed" xlink:to="loc_afrm_AmortizationOfPremiumsFinancingReceivables_4273a041-5f6d-4340-9762-1381767ffd5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_fb71465b-7e13-4b78-b07f-54e9462d235a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9610d814-f51c-4f22-865d-a5f799ff04ed" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_fb71465b-7e13-4b78-b07f-54e9462d235a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentandAllowanceforCreditLossDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentandAllowanceforCreditLossDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentandAllowanceforCreditLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss_46bebe84-ee64-4b4f-aa0a-1e43dba9921f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss_46bebe84-ee64-4b4f-aa0a-1e43dba9921f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableLossOnSelfOrganizingLoans_489c7810-c615-4f5b-b01a-1955199bbc14" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableLossOnSelfOrganizingLoans"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:to="loc_afrm_FinancingReceivableLossOnSelfOrganizingLoans_489c7810-c615-4f5b-b01a-1955199bbc14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableUnamortizedPurchasePremium_54c8fd90-04b7-4eda-8fd7-339d0b07d32c" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableUnamortizedPurchasePremium"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:to="loc_afrm_FinancingReceivableUnamortizedPurchasePremium_54c8fd90-04b7-4eda-8fd7-339d0b07d32c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableAcquiredInBusinessCombinationFairValueAdjustment_6808b73a-7ea7-4ef9-83dc-74f55b2c2525" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableAcquiredInBusinessCombinationFairValueAdjustment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:to="loc_afrm_FinancingReceivableAcquiredInBusinessCombinationFairValueAdjustment_6808b73a-7ea7-4ef9-83dc-74f55b2c2525" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableUnamortizedPurchaseDiscount_d03b0710-ea7f-4fd3-9d5d-f12614b79a5d" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableUnamortizedPurchaseDiscount"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:to="loc_afrm_FinancingReceivableUnamortizedPurchaseDiscount_d03b0710-ea7f-4fd3-9d5d-f12614b79a5d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_9885852f-c850-4297-ab18-95153d17724f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_2e198a22-0556-4879-8dae-752aac373c8b" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_9885852f-c850-4297-ab18-95153d17724f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofCreditQualitybyITACsScoreDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofCreditQualitybyITACsScoreDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofCreditQualitybyITACsScoreDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_eb4e74fc-8f3a-406a-bf29-93ee402b828d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_eb4e74fc-8f3a-406a-bf29-93ee402b828d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_1f1018d9-9686-41ba-8d20-a4c67512d628" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_1f1018d9-9686-41ba-8d20-a4c67512d628" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_b8004736-24c5-49ad-9563-6cdfa1a9c311" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_b8004736-24c5-49ad-9563-6cdfa1a9c311" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_099c52bf-8657-4b2b-bad6-f445859a2b16" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_099c52bf-8657-4b2b-bad6-f445859a2b16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_42786d50-ccc9-44c6-b96f-f54ea21d98e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_42786d50-ccc9-44c6-b96f-f54ea21d98e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_3119eec6-4c45-49c2-888a-f577d4c3d424" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_7981f2ae-0a48-4c6d-80bf-dbb94228a801" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_3119eec6-4c45-49c2-888a-f577d4c3d424" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_6fe15496-d0c1-476a-bbbb-f669a2bf885e" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_64002890-c722-40ba-943c-1ae4a247ec8b" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_6fe15496-d0c1-476a-bbbb-f669a2bf885e" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_64002890-c722-40ba-943c-1ae4a247ec8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_98b2b86d-9153-4aaf-aeef-c8fdfeb1eced" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_6fe15496-d0c1-476a-bbbb-f669a2bf885e" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_98b2b86d-9153-4aaf-aeef-c8fdfeb1eced" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_c1740895-b74a-4d5a-b36b-d90a361e1443" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_1785192e-05db-4335-96af-127643b0c2c1" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_c1740895-b74a-4d5a-b36b-d90a361e1443" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_1785192e-05db-4335-96af-127643b0c2c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_792df3b2-5b92-414d-a82c-143d4b132810" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_c1740895-b74a-4d5a-b36b-d90a361e1443" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_792df3b2-5b92-414d-a82c-143d4b132810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_76648ced-38d6-4019-8d51-38baea5a82d0" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_6c5d7ed5-b1c0-451e-962b-0d8c7dfc8170" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_76648ced-38d6-4019-8d51-38baea5a82d0" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_6c5d7ed5-b1c0-451e-962b-0d8c7dfc8170" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_71649493-2bd3-4890-8413-fa005bb8f52e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_76648ced-38d6-4019-8d51-38baea5a82d0" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_71649493-2bd3-4890-8413-fa005bb8f52e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet_12369f07-732d-4132-8813-3ce272862134" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_d64fccce-c0cd-4958-8b26-66a9eca395b4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet_12369f07-732d-4132-8813-3ce272862134" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_d64fccce-c0cd-4958-8b26-66a9eca395b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_723b8bd0-b748-4551-98e5-32bf39f06da9" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet_12369f07-732d-4132-8813-3ce272862134" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_723b8bd0-b748-4551-98e5-32bf39f06da9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_9dda721d-109e-4125-abc0-c84f3d33154f" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_364759f4-d773-4b71-bb03-5e24d51431b5" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_9dda721d-109e-4125-abc0-c84f3d33154f" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_364759f4-d773-4b71-bb03-5e24d51431b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_bc58a0e2-624a-4a67-99b7-5b21b30a51d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_9dda721d-109e-4125-abc0-c84f3d33154f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_bc58a0e2-624a-4a67-99b7-5b21b30a51d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_a4dfa728-fb7b-4235-9969-6c63e9288a6e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_10303645-6445-47ff-9c99-7a35e7192e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_a4dfa728-fb7b-4235-9969-6c63e9288a6e" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_10303645-6445-47ff-9c99-7a35e7192e7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_cec76618-800d-4fad-9cf8-7f6070543a6d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_a4dfa728-fb7b-4235-9969-6c63e9288a6e" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_cec76618-800d-4fad-9cf8-7f6070543a6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_b791e32f-77c6-4258-9fce-1b9cc567aa66" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_9eefc290-36ae-4099-9c23-4e4a2b14b29d" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_b791e32f-77c6-4258-9fce-1b9cc567aa66" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_9eefc290-36ae-4099-9c23-4e4a2b14b29d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_e6e7a448-a03b-4ce5-8c45-a5335b62c753" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_b791e32f-77c6-4258-9fce-1b9cc567aa66" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_e6e7a448-a03b-4ce5-8c45-a5335b62c753" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_c4336611-d67f-474d-9ea9-548a3c9e88fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_c4336611-d67f-474d-9ea9-548a3c9e88fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_d00cb1b8-5a5d-488a-aff6-6013f0831a5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_d00cb1b8-5a5d-488a-aff6-6013f0831a5c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_3550dc64-2087-4cf2-a31c-0c6d4506236a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_3550dc64-2087-4cf2-a31c-0c6d4506236a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_1d0092d7-67d8-4aaf-99d7-944672d0f21c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_1d0092d7-67d8-4aaf-99d7-944672d0f21c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_b9cb4c63-4801-4c7b-8d4a-3355cec2ad7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_b9cb4c63-4801-4c7b-8d4a-3355cec2ad7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_c4d9b529-c1a2-4401-b1b3-f195e016b541" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_a7498a0a-5d6e-4084-956e-60b74f04091f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_c4d9b529-c1a2-4401-b1b3-f195e016b541" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_2f128134-1289-4f73-ad44-84a9ed5a2400" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_2f128134-1289-4f73-ad44-84a9ed5a2400" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_99a327b5-80a4-4405-bd8a-c8a26d58b7c4" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_99a327b5-80a4-4405-bd8a-c8a26d58b7c4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_56e22aca-2ad3-490c-bf88-4267cb779364" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_56e22aca-2ad3-490c-bf88-4267cb779364" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_ee9be5ff-818b-47a0-8c0b-5111e536274c" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_ee9be5ff-818b-47a0-8c0b-5111e536274c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_4f47207f-6204-42ab-9319-08855494997f" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_4f47207f-6204-42ab-9319-08855494997f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_bb7d6429-ebe7-4fcc-ba52-b832b5e83dc4" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_73581669-bf86-4159-896e-3e080532bb78" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_bb7d6429-ebe7-4fcc-ba52-b832b5e83dc4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/AcquisitionsScheduleofAcquisitionConsiderationTransferredDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#AcquisitionsScheduleofAcquisitionConsiderationTransferredDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/AcquisitionsScheduleofAcquisitionConsiderationTransferredDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_e8361735-f95e-456a-a050-eb178aef96c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_bd478434-9bfd-4d1d-b1ec-ae187f3f8d4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_e8361735-f95e-456a-a050-eb178aef96c5" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredLiabilitiesIncurred_bd478434-9bfd-4d1d-b1ec-ae187f3f8d4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_38de5069-1017-4ac9-97ac-c7da6249fedc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationConsiderationTransferred1_e8361735-f95e-456a-a050-eb178aef96c5" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_38de5069-1017-4ac9-97ac-c7da6249fedc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/AcquisitionsScheduleofRecognizedIdentifiedAssetsAcquiredandLiabilitiesAssumedDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_76b04301-04db-434d-9d22-2c5120b40229" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedReceivables_ecb948df-8e5b-4ff2-90ad-b4bf08893c8a" xlink:href="afrm-20250630.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedReceivables"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_76b04301-04db-434d-9d22-2c5120b40229" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedReceivables_ecb948df-8e5b-4ff2-90ad-b4bf08893c8a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoans_9e514288-29b5-495c-b16e-0cfe5b821b50" xlink:href="afrm-20250630.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoans"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_76b04301-04db-434d-9d22-2c5120b40229" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLoans_9e514288-29b5-495c-b16e-0cfe5b821b50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_64ed6d08-e761-4f8e-9557-c5201b5008f8" xlink:href="afrm-20250630.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_76b04301-04db-434d-9d22-2c5120b40229" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedOtherAssets_64ed6d08-e761-4f8e-9557-c5201b5008f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_d728494c-120f-4983-b5d2-8b16ef503c3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_76b04301-04db-434d-9d22-2c5120b40229" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_d728494c-120f-4983-b5d2-8b16ef503c3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_36c60009-c2e7-4ea2-9a7b-4018d6e4b57c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_76b04301-04db-434d-9d22-2c5120b40229" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCashAndEquivalents_36c60009-c2e7-4ea2-9a7b-4018d6e4b57c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_914cdfb8-9c80-42b8-ae33-02fad794299a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_93885401-0f12-4772-834f-1045731afaa2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_914cdfb8-9c80-42b8-ae33-02fad794299a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAssets_93885401-0f12-4772-834f-1045731afaa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_80fff314-d0a7-4d6d-866a-61e974c5e070" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_914cdfb8-9c80-42b8-ae33-02fad794299a" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_80fff314-d0a7-4d6d-866a-61e974c5e070" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_966fa50f-0566-46ab-9f98-547ca95c3a5c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_9ab8e469-20d3-4235-a424-d8194a5ab1d6" xlink:href="afrm-20250630.xsd#afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_966fa50f-0566-46ab-9f98-547ca95c3a5c" xlink:to="loc_afrm_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedAccruedExpensesAndOtherLiabilities_9ab8e469-20d3-4235-a424-d8194a5ab1d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_48189bd1-0ea8-41ff-9f60-78a7c1d24c71" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedLiabilities_966fa50f-0566-46ab-9f98-547ca95c3a5c" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilitiesAccountsPayable_48189bd1-0ea8-41ff-9f60-78a7c1d24c71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_e41b88a5-3de7-4929-a704-7c5e326d92f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_895118e0-095a-47e2-bd73-116d49f9cef1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_e41b88a5-3de7-4929-a704-7c5e326d92f1" xlink:to="loc_us-gaap_Goodwill_895118e0-095a-47e2-bd73-116d49f9cef1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_de5807af-4f0b-4fd3-a832-35f13b676b20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_e41b88a5-3de7-4929-a704-7c5e326d92f1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_de5807af-4f0b-4fd3-a832-35f13b676b20" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_899ec32d-e2a1-4914-a32f-b8c9e7e87b0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_2151842e-bc6b-4e11-9e00-da13cc3b5220" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_899ec32d-e2a1-4914-a32f-b8c9e7e87b0d" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_2151842e-bc6b-4e11-9e00-da13cc3b5220" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_79afa423-794e-4824-bbcd-0306790e8581" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_899ec32d-e2a1-4914-a32f-b8c9e7e87b0d" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_79afa423-794e-4824-bbcd-0306790e8581" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#BalanceSheetComponentsScheduleofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_942067bf-564e-44d6-9925-a7d7a5137aea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_24cc8c34-0441-403a-adf0-9114af539db7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_942067bf-564e-44d6-9925-a7d7a5137aea" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_24cc8c34-0441-403a-adf0-9114af539db7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_09cb1db8-8cf0-4e2f-a4fc-89397179cb41" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_942067bf-564e-44d6-9925-a7d7a5137aea" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_09cb1db8-8cf0-4e2f-a4fc-89397179cb41" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_db05672e-b17b-4363-85aa-4325bdc84ce9" xlink:href="afrm-20250630.xsd#afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5a81de6a-01cd-4863-949b-3796aa1c1853" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_db05672e-b17b-4363-85aa-4325bdc84ce9" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_5a81de6a-01cd-4863-949b-3796aa1c1853" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_cc102866-4be9-4619-9cc2-f021fc630c19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_db05672e-b17b-4363-85aa-4325bdc84ce9" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_cc102866-4be9-4619-9cc2-f021fc630c19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_e25b7a48-edfd-4c9c-a991-ea9e2f166752" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_50aade2f-93b5-4857-96ef-4b6dbe72afe6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e25b7a48-edfd-4c9c-a991-ea9e2f166752" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_50aade2f-93b5-4857-96ef-4b6dbe72afe6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_eeac696c-16be-4a57-a9c6-c100aa4ba483" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_e25b7a48-edfd-4c9c-a991-ea9e2f166752" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_eeac696c-16be-4a57-a9c6-c100aa4ba483" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="afrm-20250630.xsd#BalanceSheetComponentsScheduleofIntangibleAssetsDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_2a9c1228-bb38-4cbc-b964-7809c43f30c1" xlink:href="afrm-20250630.xsd#afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_e75b7e4a-100b-41b3-9f95-6f7f4d04f40c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_2a9c1228-bb38-4cbc-b964-7809c43f30c1" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_e75b7e4a-100b-41b3-9f95-6f7f4d04f40c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_66ae924f-4d43-4938-a5a3-fae71e9b853b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_2a9c1228-bb38-4cbc-b964-7809c43f30c1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_66ae924f-4d43-4938-a5a3-fae71e9b853b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#BalanceSheetComponentsScheduleofIntangibleAssetsFutureAmortizationExpenseDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2d4d5099-eea2-467d-8a40-b8f019c0c53b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_8488cf84-66fd-4022-b729-b38f6c7f06b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2d4d5099-eea2-467d-8a40-b8f019c0c53b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_8488cf84-66fd-4022-b729-b38f6c7f06b2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a13f1e28-a187-4218-9da1-729970f2f922" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2d4d5099-eea2-467d-8a40-b8f019c0c53b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_a13f1e28-a187-4218-9da1-729970f2f922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_14d5559e-d019-4673-89b7-cbc058dbc394" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2d4d5099-eea2-467d-8a40-b8f019c0c53b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_14d5559e-d019-4673-89b7-cbc058dbc394" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_38ab89a0-1d59-4d4a-9d47-08067de2fee7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2d4d5099-eea2-467d-8a40-b8f019c0c53b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_38ab89a0-1d59-4d4a-9d47-08067de2fee7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_bba6ebe7-ff4f-403e-9bd2-0eae51536dff" xlink:href="afrm-20250630.xsd#afrm_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_2d4d5099-eea2-467d-8a40-b8f019c0c53b" xlink:to="loc_afrm_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_bba6ebe7-ff4f-403e-9bd2-0eae51536dff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofOtherAssetsDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#BalanceSheetComponentsScheduleofOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CashDepositsProcessingReserves_290c3269-8833-4f5e-8d11-36921ddd2455" xlink:href="afrm-20250630.xsd#afrm_CashDepositsProcessingReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_afrm_CashDepositsProcessingReserves_290c3269-8833-4f5e-8d11-36921ddd2455" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_2abd7884-29dc-4505-914f-c6b7cfd7b4d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_2abd7884-29dc-4505-914f-c6b7cfd7b4d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_3068a218-bc6b-48d6-8d8c-b79a7b9a046f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_3068a218-bc6b-48d6-8d8c-b79a7b9a046f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RiskSharingAsset_38aca451-30da-4c34-91d8-9cc7c4d6415f" xlink:href="afrm-20250630.xsd#afrm_RiskSharingAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_afrm_RiskSharingAsset_38aca451-30da-4c34-91d8-9cc7c4d6415f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PrepaidPayrollTax_ee853488-3147-4285-a186-568e86abc954" xlink:href="afrm-20250630.xsd#afrm_PrepaidPayrollTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_afrm_PrepaidPayrollTax_ee853488-3147-4285-a186-568e86abc954" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_48074c42-7c24-4766-a745-25d29c66e5fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_48074c42-7c24-4766-a745-25d29c66e5fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign_bea47b6c-ce1f-4c06-ac5d-5d99ff792d46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign_bea47b6c-ce1f-4c06-ac5d-5d99ff792d46" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherReceivables_4b987619-b934-4848-8214-98992f0a03d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherReceivables"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_OtherReceivables_4b987619-b934-4848-8214-98992f0a03d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_6e981d07-a504-4d39-b0ef-dc65d6956679" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateDerivativeAssetsAtFairValue"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_6e981d07-a504-4d39-b0ef-dc65d6956679" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepositAssets_493ef705-a68f-4154-a6f0-f481c1e8bfc5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepositAssets"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_DepositAssets_493ef705-a68f-4154-a6f0-f481c1e8bfc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneous_f55896e2-60d2-4fa5-9e5d-1154db7c0c8a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneous"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_b4d02315-5933-446d-972c-0130122d8ffc" xlink:to="loc_us-gaap_OtherAssetsMiscellaneous_f55896e2-60d2-4fa5-9e5d-1154db7c0c8a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#BalanceSheetComponentsScheduleofAccruedExpensesandOtherLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_5052e6aa-61e8-4f4c-b2d0-6add559dc1ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesAndOtherLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_5833e6b1-2bd4-48dd-8a29-9381c59b5078" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_5052e6aa-61e8-4f4c-b2d0-6add559dc1ee" xlink:to="loc_us-gaap_OperatingLeaseLiability_5833e6b1-2bd4-48dd-8a29-9381c59b5078" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DerivativeInstrumentsCollateralHeld_214f9b65-1262-4eb8-85ef-5acdb72352e3" xlink:href="afrm-20250630.xsd#afrm_DerivativeInstrumentsCollateralHeld"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_5052e6aa-61e8-4f4c-b2d0-6add559dc1ee" xlink:to="loc_afrm_DerivativeInstrumentsCollateralHeld_214f9b65-1262-4eb8-85ef-5acdb72352e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_29342521-65e4-4deb-8f75-f8f2670d9841" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_5052e6aa-61e8-4f4c-b2d0-6add559dc1ee" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_29342521-65e4-4deb-8f75-f8f2670d9841" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_ebc3b56e-b1c2-4fc0-a638-b882565520b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_5052e6aa-61e8-4f4c-b2d0-6add559dc1ee" xlink:to="loc_us-gaap_OtherLiabilities_ebc3b56e-b1c2-4fc0-a638-b882565520b2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LeasesScheduleofMaturitiesofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#LeasesScheduleofMaturitiesofLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LeasesScheduleofMaturitiesofLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0696543c-e4d6-4bbe-979f-b426ce115ff7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_0696543c-e4d6-4bbe-979f-b426ce115ff7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f12d1582-fd23-4ce4-bcfc-c7c8cb394000" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f12d1582-fd23-4ce4-bcfc-c7c8cb394000" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_d7b3587f-0ed4-45b4-9637-c96161844689" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_d7b3587f-0ed4-45b4-9637-c96161844689" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_70dcc679-43a5-4b97-8ffa-84253033b613" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_70dcc679-43a5-4b97-8ffa-84253033b613" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e19bf188-4b78-4194-8f56-f845ba739456" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_e19bf188-4b78-4194-8f56-f845ba739456" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_e26dffb9-a1af-4e32-a0b2-f165d369a2c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_e14a65ef-6b0f-43a2-94eb-061d07d47e1c" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_e26dffb9-a1af-4e32-a0b2-f165d369a2c9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LeasesScheduleofMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="simple" xlink:href="afrm-20250630.xsd#LeasesScheduleofMaturitiesofLeaseLiabilitiesDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LeasesScheduleofMaturitiesofLeaseLiabilitiesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a49b8631-e293-4ba0-a622-2a3081725c0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_b660c39c-63a3-4c28-ba07-e8732da83b29" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a49b8631-e293-4ba0-a622-2a3081725c0b" xlink:to="loc_us-gaap_OperatingLeaseLiability_b660c39c-63a3-4c28-ba07-e8732da83b29" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_829487bc-248a-4ad7-8c4b-a3c15987179b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a49b8631-e293-4ba0-a622-2a3081725c0b" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_829487bc-248a-4ad7-8c4b-a3c15987179b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/DebtScheduleofComponentsofDebtDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#DebtScheduleofComponentsofDebtDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/DebtScheduleofComponentsofDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_TotalLineOfCreditFacilityMaximumBorrowingCapacityAndDebtInstrumentFaceAmount_aa6a89b8-a643-4c21-ba8d-d113fbaffacb" xlink:href="afrm-20250630.xsd#afrm_TotalLineOfCreditFacilityMaximumBorrowingCapacityAndDebtInstrumentFaceAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_6cc4961b-2d91-4ae5-b438-adca76f12706" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_TotalLineOfCreditFacilityMaximumBorrowingCapacityAndDebtInstrumentFaceAmount_aa6a89b8-a643-4c21-ba8d-d113fbaffacb" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_6cc4961b-2d91-4ae5-b438-adca76f12706" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_545b1e09-e2c2-4299-809c-6aebce16a86d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_TotalLineOfCreditFacilityMaximumBorrowingCapacityAndDebtInstrumentFaceAmount_aa6a89b8-a643-4c21-ba8d-d113fbaffacb" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_545b1e09-e2c2-4299-809c-6aebce16a86d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/DebtScheduleofAggregateFutureMaturitiesofFundingDebtDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#DebtScheduleofAggregateFutureMaturitiesofFundingDebtDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/DebtScheduleofAggregateFutureMaturitiesofFundingDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_9b6ce62f-c165-4ace-a581-90077230984c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_682ca756-bc17-4052-a8b2-470bf55e9776" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9b6ce62f-c165-4ace-a581-90077230984c" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_682ca756-bc17-4052-a8b2-470bf55e9776" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_b38a1022-9a13-4ba3-a4ef-3bd0bb01125c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_9b6ce62f-c165-4ace-a581-90077230984c" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_b38a1022-9a13-4ba3-a4ef-3bd0bb01125c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_8500226c-26f5-4cef-a2a5-a7c4b1b8a038" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_8500226c-26f5-4cef-a2a5-a7c4b1b8a038" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_c378bb6a-1b9d-4ca5-b436-fad024532f31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_c378bb6a-1b9d-4ca5-b436-fad024532f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_88a3e482-4d92-45e5-bea1-c7601179f90b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_88a3e482-4d92-45e5-bea1-c7601179f90b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_fca62b08-20ed-4f10-92d4-f634de7c5231" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_fca62b08-20ed-4f10-92d4-f634de7c5231" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_a2191255-30ab-4608-829e-97b295b848e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_a2191255-30ab-4608-829e-97b295b848e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_6e0e16d3-5b71-4ec4-ab75-54d6cb1d6a13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_afb87ac9-e3fe-4563-a09d-8771fdae139c" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_6e0e16d3-5b71-4ec4-ab75-54d6cb1d6a13" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/DebtScheduleoftheInterestExpenseRecognizedRelatedtotheConvertibleSeniorNotesDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#DebtScheduleoftheInterestExpenseRecognizedRelatedtotheConvertibleSeniorNotesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/DebtScheduleoftheInterestExpenseRecognizedRelatedtotheConvertibleSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_b7ea1601-e3ca-4562-a366-909086614b3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_5356e101-aebd-4e43-8c53-5765ac3b6298" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_b7ea1601-e3ca-4562-a366-909086614b3c" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_5356e101-aebd-4e43-8c53-5765ac3b6298" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_9ba337b4-0aae-48c1-9308-b01e66df904f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestExpenseDebt_b7ea1601-e3ca-4562-a366-909086614b3c" xlink:to="loc_us-gaap_InterestExpense_9ba337b4-0aae-48c1-9308-b01e66df904f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/InvestmentsScheduleofAvailableforsaleSecuritieswithUnrealizedLossesDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#InvestmentsScheduleofAvailableforsaleSecuritieswithUnrealizedLossesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/InvestmentsScheduleofAvailableforsaleSecuritieswithUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e54cb88b-cdd1-4c33-88ad-b1e6c1e63085" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_68ac5247-99b1-447b-bfb4-1d869e15a77a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e54cb88b-cdd1-4c33-88ad-b1e6c1e63085" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_68ac5247-99b1-447b-bfb4-1d869e15a77a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_c2083ce5-7862-4178-ba76-32ef04c3a4fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e54cb88b-cdd1-4c33-88ad-b1e6c1e63085" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_c2083ce5-7862-4178-ba76-32ef04c3a4fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_42a5eca6-bbdf-4f15-859a-f3de7a006c21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_b55f7dcf-25fc-4c2f-9ab6-f26498f9cd68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_42a5eca6-bbdf-4f15-859a-f3de7a006c21" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_b55f7dcf-25fc-4c2f-9ab6-f26498f9cd68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_54dc82e0-2553-4d02-b620-347192c9577b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_42a5eca6-bbdf-4f15-859a-f3de7a006c21" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_54dc82e0-2553-4d02-b620-347192c9577b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/InvestmentsScheduleofLengthofContractualMaturitiesofSecuritiesAvailableforSaleDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#InvestmentsScheduleofLengthofContractualMaturitiesofSecuritiesAvailableforSaleDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/InvestmentsScheduleofLengthofContractualMaturitiesofSecuritiesAvailableforSaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_032e0d00-3bac-4eed-8778-473333353792" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_331e9d3c-05c5-4b4d-b55a-03e9dd88a111" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_032e0d00-3bac-4eed-8778-473333353792" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_331e9d3c-05c5-4b4d-b55a-03e9dd88a111" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_2c2e5011-714e-48b2-8f6a-77d109754c25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_032e0d00-3bac-4eed-8778-473333353792" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_2c2e5011-714e-48b2-8f6a-77d109754c25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_891139c9-eced-4313-a5af-f36c57f115da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_e02ef0fa-6e36-434b-945f-71a3156e208d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_891139c9-eced-4313-a5af-f36c57f115da" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_e02ef0fa-6e36-434b-945f-71a3156e208d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_6397eb0e-5ab3-46cb-b274-2d59425f83fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_891139c9-eced-4313-a5af-f36c57f115da" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_6397eb0e-5ab3-46cb-b274-2d59425f83fc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesScheduleofAssetsandLiabilitiesFairValueMeasuredonRecurringBasisDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#FairValueofFinancialAssetsandLiabilitiesScheduleofAssetsandLiabilitiesFairValueMeasuredonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesScheduleofAssetsandLiabilitiesFairValueMeasuredonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_4326fd17-6657-4299-9991-762784363868" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingLiabilityAtFairValueAmount_549b5974-9023-4a90-b756-18294f8fb0b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServicingLiabilityAtFairValueAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_4326fd17-6657-4299-9991-762784363868" xlink:to="loc_us-gaap_ServicingLiabilityAtFairValueAmount_549b5974-9023-4a90-b756-18294f8fb0b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_85d7b9d9-d98e-4c8f-9462-cf2186ffc813" xlink:href="afrm-20250630.xsd#afrm_PerformanceFeeLiabilityFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_4326fd17-6657-4299-9991-762784363868" xlink:to="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_85d7b9d9-d98e-4c8f-9462-cf2186ffc813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure_9490d6a4-db3a-442d-ad73-606824232f6f" xlink:href="afrm-20250630.xsd#afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_4326fd17-6657-4299-9991-762784363868" xlink:to="loc_afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure_9490d6a4-db3a-442d-ad73-606824232f6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RiskSharingLiability_35cc28ec-ac78-413b-9687-47a6fae753d6" xlink:href="afrm-20250630.xsd#afrm_RiskSharingLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_4326fd17-6657-4299-9991-762784363868" xlink:to="loc_afrm_RiskSharingLiability_35cc28ec-ac78-413b-9687-47a6fae753d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_bd84cdbc-b321-4adf-bee6-ca039dd2e407" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_4326fd17-6657-4299-9991-762784363868" xlink:to="loc_us-gaap_DerivativeLiabilities_bd84cdbc-b321-4adf-bee6-ca039dd2e407" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_8e80d99f-f2c4-48ca-ab69-6523c8850d1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_8e80d99f-f2c4-48ca-ab69-6523c8850d1e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RestrictedCashFairValueDisclosure_fdd0eaa7-860a-4edc-ae1c-1deaa07ecf92" xlink:href="afrm-20250630.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_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:to="loc_afrm_RestrictedCashFairValueDisclosure_fdd0eaa7-860a-4edc-ae1c-1deaa07ecf92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ResidualTrustCertificatesAssetFairValueDisclosure_e6f2d855-e33c-4000-8e47-11f8d0e8b656" xlink:href="afrm-20250630.xsd#afrm_ResidualTrustCertificatesAssetFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:to="loc_afrm_ResidualTrustCertificatesAssetFairValueDisclosure_e6f2d855-e33c-4000-8e47-11f8d0e8b656" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_85211fd5-5e68-4f4e-9011-75031dc637de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:to="loc_us-gaap_ServicingAsset_85211fd5-5e68-4f4e-9011-75031dc637de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_5e248bd6-a9e6-42cf-854b-6bceff2ce410" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:to="loc_us-gaap_DerivativeAssets_5e248bd6-a9e6-42cf-854b-6bceff2ce410" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RiskSharingAsset_6e5f6c8b-ec4a-499f-b04f-ea4eb239268f" xlink:href="afrm-20250630.xsd#afrm_RiskSharingAsset"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_67cec52e-4d51-4db6-9a9c-ee1a77348cfa" xlink:to="loc_afrm_RiskSharingAsset_6e5f6c8b-ec4a-499f-b04f-ea4eb239268f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesScheduleofFairValueHierarchyforFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#FairValueofFinancialAssetsandLiabilitiesScheduleofFairValueHierarchyforFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesScheduleofFairValueHierarchyforFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_18cf36cc-efd3-44b6-9efa-1c646c9c1db6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableHeldForSaleFairValueDisclosure_996efa76-b4a3-44dd-b575-8dce9d4c9657" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_18cf36cc-efd3-44b6-9efa-1c646c9c1db6" xlink:to="loc_afrm_FinancingReceivableHeldForSaleFairValueDisclosure_996efa76-b4a3-44dd-b575-8dce9d4c9657" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableFairValueDisclosure_21b67ce4-0fd8-4c81-bcc0-4a5bf981a9c0" xlink:href="afrm-20250630.xsd#afrm_FinancingReceivableFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_18cf36cc-efd3-44b6-9efa-1c646c9c1db6" xlink:to="loc_afrm_FinancingReceivableFairValueDisclosure_21b67ce4-0fd8-4c81-bcc0-4a5bf981a9c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsFairValueDisclosure_9d65d424-f3bd-4441-88e1-a2ac2dd2c9d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_18cf36cc-efd3-44b6-9efa-1c646c9c1db6" xlink:to="loc_us-gaap_OtherAssetsFairValueDisclosure_9d65d424-f3bd-4441-88e1-a2ac2dd2c9d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_41df069a-6d18-40ae-af79-446b23968de5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_ab9f0212-0a9d-49a8-a64b-d742eb5e3111" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConvertibleDebtFairValueDisclosures"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_41df069a-6d18-40ae-af79-446b23968de5" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_ab9f0212-0a9d-49a8-a64b-d742eb5e3111" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_5c2671c0-1b1d-4846-b361-4b524d7e0318" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesPayableFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_41df069a-6d18-40ae-af79-446b23968de5" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_5c2671c0-1b1d-4846-b361-4b524d7e0318" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditFairValueDisclosure_fafc8d52-d7a4-4b94-be0c-d49bb678d249" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LinesOfCreditFairValueDisclosure"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure_41df069a-6d18-40ae-af79-446b23968de5" xlink:to="loc_us-gaap_LinesOfCreditFairValueDisclosure_fafc8d52-d7a4-4b94-be0c-d49bb678d249" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/EquityIncentivePlansScheduleofComponentsandClassificationofStockbasedCompensationDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#EquityIncentivePlansScheduleofComponentsandClassificationofStockbasedCompensationDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/EquityIncentivePlansScheduleofComponentsandClassificationofStockbasedCompensationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1_4c1d26c7-86e6-42c8-a0ba-a5ed6e90675f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_5fc27b99-824b-4b95-ad49-715ca58c3d25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4c1d26c7-86e6-42c8-a0ba-a5ed6e90675f" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_5fc27b99-824b-4b95-ad49-715ca58c3d25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_e198a87f-7f1a-40b1-98e2-4b415b82f6bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_4c1d26c7-86e6-42c8-a0ba-a5ed6e90675f" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_e198a87f-7f1a-40b1-98e2-4b415b82f6bc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/IncomeTaxesScheduleofComponentsofIncomeLossbeforeIncomeTaxesDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#IncomeTaxesScheduleofComponentsofIncomeLossbeforeIncomeTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/IncomeTaxesScheduleofComponentsofIncomeLossbeforeIncomeTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f425e87-b3f1-43cb-8e24-c0fdbfe8a5ed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_722aab64-b130-4138-96f2-1876ccc35c4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f425e87-b3f1-43cb-8e24-c0fdbfe8a5ed" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_722aab64-b130-4138-96f2-1876ccc35c4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_dbc3c1db-65df-436d-a900-9eeceb166e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_4f425e87-b3f1-43cb-8e24-c0fdbfe8a5ed" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_dbc3c1db-65df-436d-a900-9eeceb166e9a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/IncomeTaxesScheduleofIncomeTaxExpenseBenefitDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#IncomeTaxesScheduleofIncomeTaxExpenseBenefitDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/IncomeTaxesScheduleofIncomeTaxExpenseBenefitDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_72867cbf-c78c-48ae-b820-336d33aa010e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_5a2d4c08-c01e-4fb3-a82e-9ebcd35f89ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_72867cbf-c78c-48ae-b820-336d33aa010e" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_5a2d4c08-c01e-4fb3-a82e-9ebcd35f89ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_d47376f3-1341-4f96-99bb-4cb4c1af8cb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_72867cbf-c78c-48ae-b820-336d33aa010e" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_d47376f3-1341-4f96-99bb-4cb4c1af8cb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_ecb82bdf-dc1e-47ed-b7c7-d062208f01ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_72867cbf-c78c-48ae-b820-336d33aa010e" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_ecb82bdf-dc1e-47ed-b7c7-d062208f01ee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_cea715a2-ee89-44de-a860-144c57c820aa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_26883664-9bc7-4aec-90f5-0a8793cb25bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_cea715a2-ee89-44de-a860-144c57c820aa" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_26883664-9bc7-4aec-90f5-0a8793cb25bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_c910afb6-b61c-48d8-b7f7-02c69297cedc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_cea715a2-ee89-44de-a860-144c57c820aa" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_c910afb6-b61c-48d8-b7f7-02c69297cedc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_1bd9e986-994f-49bb-a6f4-780635b4c283" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_cea715a2-ee89-44de-a860-144c57c820aa" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_1bd9e986-994f-49bb-a6f4-780635b4c283" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_fe924abd-f3d9-4f8b-afce-142b4743883d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_84e58fd5-219a-41b3-b6f9-76bcfb72189b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_fe924abd-f3d9-4f8b-afce-142b4743883d" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_84e58fd5-219a-41b3-b6f9-76bcfb72189b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c5de4b2b-a24a-4d8a-9344-e422e3a55e46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_fe924abd-f3d9-4f8b-afce-142b4743883d" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_c5de4b2b-a24a-4d8a-9344-e422e3a55e46" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/IncomeTaxesScheduleofEffectiveIncomeTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_be31ff29-6bb2-4546-8ad0-9a2240ade936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_be31ff29-6bb2-4546-8ad0-9a2240ade936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_201652a7-bdb3-4c85-bb4d-0821e7f8e195" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationStateAndLocalIncomeTaxes_201652a7-bdb3-4c85-bb4d-0821e7f8e195" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_79da9f71-8450-4dd8-ae52-aea6e68551ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationForeignIncomeTaxRateDifferential_79da9f71-8450-4dd8-ae52-aea6e68551ab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_bac19276-878f-4c87-8025-659902dfb3fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInEnactedTaxRate_bac19276-878f-4c87-8025-659902dfb3fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_30bc0a40-cfce-4ad3-8c95-b89c835bc2fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseOther_30bc0a40-cfce-4ad3-8c95-b89c835bc2fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_EffectiveIncomeTaxRateReconciliationContingentConsiderationPercent_eea4a51d-5c10-4ff5-95b4-b18f38abffcb" xlink:href="afrm-20250630.xsd#afrm_EffectiveIncomeTaxRateReconciliationContingentConsiderationPercent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_afrm_EffectiveIncomeTaxRateReconciliationContingentConsiderationPercent_eea4a51d-5c10-4ff5-95b4-b18f38abffcb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_8186d6c6-6ccb-440d-85f9-6cd9d799c916" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationNondeductibleExpenseShareBasedCompensationCost_8186d6c6-6ccb-440d-85f9-6cd9d799c916" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_9f7a970e-844a-4831-b414-9743b41473e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxContingencies_9f7a970e-844a-4831-b414-9743b41473e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_EffectiveIncomeTaxRateReconciliationChangeInUnrecognizedTaxBenefitsPercent_b4bb9ee1-aa91-49d1-b3fe-e61a46367b9d" xlink:href="afrm-20250630.xsd#afrm_EffectiveIncomeTaxRateReconciliationChangeInUnrecognizedTaxBenefitsPercent"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_afrm_EffectiveIncomeTaxRateReconciliationChangeInUnrecognizedTaxBenefitsPercent_b4bb9ee1-aa91-49d1-b3fe-e61a46367b9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_EffectiveIncomeTaxRateReconciliationChangeInForeignSubsidiaryTaxStatusPercent_22223613-f2aa-4643-b0a6-3f269cd3f297" xlink:href="afrm-20250630.xsd#afrm_EffectiveIncomeTaxRateReconciliationChangeInForeignSubsidiaryTaxStatusPercent"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_afrm_EffectiveIncomeTaxRateReconciliationChangeInForeignSubsidiaryTaxStatusPercent_22223613-f2aa-4643-b0a6-3f269cd3f297" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_dffc9601-cb69-447c-9455-454171a0fb00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercent_dffc9601-cb69-447c-9455-454171a0fb00" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_899fe6c0-ee32-40fc-879e-64dbb2c70c2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations_3fae8a3a-e12f-476b-974b-e39348625121" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_899fe6c0-ee32-40fc-879e-64dbb2c70c2e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/IncomeTaxesScheduleofSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#IncomeTaxesScheduleofSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/IncomeTaxesScheduleofSignificantComponentsofDeferredTaxAssetsandLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_84ef7c54-7f5c-4b4b-bd6f-e73ff1ce4c28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_be1ef25d-c7fd-449b-8864-12d8738eb964" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_84ef7c54-7f5c-4b4b-bd6f-e73ff1ce4c28" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_be1ef25d-c7fd-449b-8864-12d8738eb964" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_d4bf92a2-0463-46e1-a9fe-6e0a75a5dc43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_84ef7c54-7f5c-4b4b-bd6f-e73ff1ce4c28" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_d4bf92a2-0463-46e1-a9fe-6e0a75a5dc43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_558f8d26-d21e-44e8-a6c7-1ce30c2f9795" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_84ef7c54-7f5c-4b4b-bd6f-e73ff1ce4c28" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_558f8d26-d21e-44e8-a6c7-1ce30c2f9795" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_bc3b7267-7941-41aa-b265-3b91cbd4853a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwards"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwards_bc3b7267-7941-41aa-b265-3b91cbd4853a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_e140f5cc-9bb2-4c31-961c-687cc4991d04" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_e140f5cc-9bb2-4c31-961c-687cc4991d04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DeferredTaxAssetsDeferredExpenseCapitalizedSoftware_e4b6f8d5-5dda-4b6b-9313-96a18008dddf" xlink:href="afrm-20250630.xsd#afrm_DeferredTaxAssetsDeferredExpenseCapitalizedSoftware"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_afrm_DeferredTaxAssetsDeferredExpenseCapitalizedSoftware_e4b6f8d5-5dda-4b6b-9313-96a18008dddf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DeferredTaxAssetsDeferredLeaseLiability_5a2aed2f-48cc-43ba-b7ac-e1ab1d2e21cb" xlink:href="afrm-20250630.xsd#afrm_DeferredTaxAssetsDeferredLeaseLiability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_afrm_DeferredTaxAssetsDeferredLeaseLiability_5a2aed2f-48cc-43ba-b7ac-e1ab1d2e21cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DeferredTaxAssetStockWarrants_3390ee9d-94d2-4d51-a006-4ef69cc055c0" xlink:href="afrm-20250630.xsd#afrm_DeferredTaxAssetStockWarrants"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_afrm_DeferredTaxAssetStockWarrants_3390ee9d-94d2-4d51-a006-4ef69cc055c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_e08e64dc-3411-4f7e-b42d-277a4cf5407d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxCreditCarryforwards"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxCreditCarryforwards_e08e64dc-3411-4f7e-b42d-277a4cf5407d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_fdfe4853-2c45-41e2-b585-429e6f18ad8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_fdfe4853-2c45-41e2-b585-429e6f18ad8d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_09df8590-cb72-41fe-8c32-dee15549fef4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_6005145d-5c92-461b-8591-a2b26a164b5b" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_09df8590-cb72-41fe-8c32-dee15549fef4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_6119b6d0-0f4c-45ff-9fd1-8d02363a9a45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_23dd9aed-f114-425a-bbf8-38068db94599" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_6119b6d0-0f4c-45ff-9fd1-8d02363a9a45" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_23dd9aed-f114-425a-bbf8-38068db94599" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_a02bc490-f5c9-4995-8bcd-debe87a6116d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesLeasingArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_6119b6d0-0f4c-45ff-9fd1-8d02363a9a45" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesLeasingArrangements_a02bc490-f5c9-4995-8bcd-debe87a6116d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/NetIncomeLossperShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetLossPerShareDetails" xlink:type="simple" xlink:href="afrm-20250630.xsd#NetIncomeLossperShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/NetIncomeLossperShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_5df2609d-ef4c-4e80-a180-938fc114847b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_b862e55f-6afe-450e-87f4-780990ccc0d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_5df2609d-ef4c-4e80-a180-938fc114847b" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_b862e55f-6afe-450e-87f4-780990ccc0d5" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
