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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:22535f7c-690b-40fe-98f3-afb2dee83000,g:f17a07fd-400a-4700-94de-45a1f5b6646a-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="afrm-20251231.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_7492394c-a165-463a-8c11-bd42b645ab6d" 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_1a83bef7-06fe-4adb-a498-529581c6a8ff" 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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_us-gaap_AccountsPayableCurrentAndNoncurrent_1a83bef7-06fe-4adb-a498-529581c6a8ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ThirdPartyLoanOwnerPayable_14e0bc0f-4309-44d1-8cbe-c4a56785289e" xlink:href="afrm-20251231.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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_afrm_ThirdPartyLoanOwnerPayable_14e0bc0f-4309-44d1-8cbe-c4a56785289e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_290ca712-4437-419c-bf8f-a438fc194619" 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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_290ca712-4437-419c-bf8f-a438fc194619" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_f733e35a-787f-435d-a3c7-1bb25e6ac9f6" 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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_f733e35a-787f-435d-a3c7-1bb25e6ac9f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebt_dcd7312e-6dad-4962-99b6-643c776d4114" 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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_us-gaap_ConvertibleDebt_dcd7312e-6dad-4962-99b6-643c776d4114" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredDebt_fb321f5c-c11f-4f2b-b49f-a8f26e5d7726" 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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_us-gaap_SecuredDebt_fb321f5c-c11f-4f2b-b49f-a8f26e5d7726" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_fb6a5f7d-76dc-4b2b-9e1c-5ed63ca6b7d6" 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_7492394c-a165-463a-8c11-bd42b645ab6d" xlink:to="loc_us-gaap_LineOfCredit_fb6a5f7d-76dc-4b2b-9e1c-5ed63ca6b7d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_f7db72ad-93f4-42a8-9af7-c4139df01c35" 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_73e10767-0bed-44e0-b1d8-e75216415b55" 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_f7db72ad-93f4-42a8-9af7-c4139df01c35" xlink:to="loc_us-gaap_Liabilities_73e10767-0bed-44e0-b1d8-e75216415b55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_5bb39a6a-cae9-4cf3-a47a-d59564170fc5" 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_f7db72ad-93f4-42a8-9af7-c4139df01c35" xlink:to="loc_us-gaap_CommitmentsAndContingencies_5bb39a6a-cae9-4cf3-a47a-d59564170fc5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_ba336d83-4814-41bc-906c-97717f2aa041" 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_f7db72ad-93f4-42a8-9af7-c4139df01c35" xlink:to="loc_us-gaap_StockholdersEquity_ba336d83-4814-41bc-906c-97717f2aa041" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_dbc430d7-fc71-4618-a3d3-f8bdcbc2abee" 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_358d76b3-5e75-438c-9738-05dd3282e4d4" 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_dbc430d7-fc71-4618-a3d3-f8bdcbc2abee" xlink:to="loc_us-gaap_CommonStockValue_358d76b3-5e75-438c-9738-05dd3282e4d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_5fef12d7-6293-4962-b90d-e5f24ce7c3a5" 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_dbc430d7-fc71-4618-a3d3-f8bdcbc2abee" xlink:to="loc_us-gaap_AdditionalPaidInCapital_5fef12d7-6293-4962-b90d-e5f24ce7c3a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7fb2730e-f525-4975-bbc4-10262778fa19" 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_dbc430d7-fc71-4618-a3d3-f8bdcbc2abee" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_7fb2730e-f525-4975-bbc4-10262778fa19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_48ca4358-8131-4028-8bb6-bc9057fc81f0" 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_dbc430d7-fc71-4618-a3d3-f8bdcbc2abee" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_48ca4358-8131-4028-8bb6-bc9057fc81f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_b97204a2-8cc7-41ef-aec2-088397105db8" 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_FinancingReceivableAllowanceForCreditLosses_f8789905-c0eb-4f21-b155-5a72a0c30bd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_b97204a2-8cc7-41ef-aec2-088397105db8" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_f8789905-c0eb-4f21-b155-5a72a0c30bd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_dc2129d0-33fb-49ad-a91b-9bca8ce32d3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableNet_b97204a2-8cc7-41ef-aec2-088397105db8" xlink:to="loc_us-gaap_NotesReceivableGross_dc2129d0-33fb-49ad-a91b-9bca8ce32d3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" 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_AccountsReceivableNet_9c5f6c1b-87f6-4fd1-a305-415ee0d24267" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_AccountsReceivableNet_9c5f6c1b-87f6-4fd1-a305-415ee0d24267" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleAmount_d6b31b9b-18b7-4132-a503-3bede48dcd98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableHeldForSaleAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_LoansReceivableHeldForSaleAmount_d6b31b9b-18b7-4132-a503-3bede48dcd98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d1a7951a-182b-4a55-b475-d4b51c74da8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_d1a7951a-182b-4a55-b475-d4b51c74da8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_ff5e9000-9fc2-4280-ba39-12fd94c01278" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_OtherAssets_ff5e9000-9fc2-4280-ba39-12fd94c01278" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d6d6625e-166c-40b8-ba1b-52d36d72121d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_d6d6625e-166c-40b8-ba1b-52d36d72121d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableNet_1d41e2a9-6310-4fe6-b223-d7d987a49219" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_NotesReceivableNet_1d41e2a9-6310-4fe6-b223-d7d987a49219" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_83dda680-f912-41a4-9165-10fbb32c408e" 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_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_83dda680-f912-41a4-9165-10fbb32c408e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementAssetNet_aa7b6b6f-e2f1-4492-bd79-def2ca6678f9" xlink:href="afrm-20251231.xsd#afrm_CommercialAgreementAssetNet"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_afrm_CommercialAgreementAssetNet_aa7b6b6f-e2f1-4492-bd79-def2ca6678f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_7f9c3f1b-b387-4e43-ade7-b384d9822cbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_OtherInvestments_7f9c3f1b-b387-4e43-ade7-b384d9822cbb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_ba3a955c-f471-4c6e-85d2-4aa3339e201c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_RestrictedCash_ba3a955c-f471-4c6e-85d2-4aa3339e201c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_212a505b-39ad-4f3a-afe9-dad143303979" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_89bca9ec-80de-434b-9fc5-8360992fe19b" xlink:to="loc_us-gaap_Goodwill_212a505b-39ad-4f3a-afe9-dad143303979" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNet_2a433443-0c13-4070-b90c-ba7c9582248f" 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_Assets_b907f604-95be-46f9-9939-a2ed8fffe253" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_2a433443-0c13-4070-b90c-ba7c9582248f" xlink:to="loc_us-gaap_Assets_b907f604-95be-46f9-9939-a2ed8fffe253" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_7c8a0b5f-e5bf-4db5-b6e8-1b4c8db9f138" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsNet_2a433443-0c13-4070-b90c-ba7c9582248f" xlink:to="loc_us-gaap_Liabilities_7c8a0b5f-e5bf-4db5-b6e8-1b4c8db9f138" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS" xlink:type="simple" xlink:href="afrm-20251231.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVEINCOMELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" 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_8041ab41-e2f4-4ad9-bedb-b373ec928474" xlink:href="afrm-20251231.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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_afrm_LossOnFinancingReceivableCommitmentsToPurchase_8041ab41-e2f4-4ad9-bedb-b373ec928474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_dbb303cb-b3b9-4f38-a305-e7a12b6e44b9" 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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_dbb303cb-b3b9-4f38-a305-e7a12b6e44b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_2304a6ae-4d83-499f-a08a-5d378a3aaccd" 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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_us-gaap_InterestExpenseDebt_2304a6ae-4d83-499f-a08a-5d378a3aaccd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProcessingAndServicingExpense_2e352696-62a9-4d76-8ac6-99be5aff283a" xlink:href="afrm-20251231.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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_afrm_ProcessingAndServicingExpense_2e352696-62a9-4d76-8ac6-99be5aff283a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_TechnologyAndDataAnalyticsExpense_81e51672-6ea7-43a7-9d19-c6346079119f" xlink:href="afrm-20251231.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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_afrm_TechnologyAndDataAnalyticsExpense_81e51672-6ea7-43a7-9d19-c6346079119f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_20571b0e-da65-40b1-88d7-7d5004db86ed" 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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_us-gaap_SellingAndMarketingExpense_20571b0e-da65-40b1-88d7-7d5004db86ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_84059a49-3fd2-4240-b98b-df68d59850ec" 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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_84059a49-3fd2-4240-b98b-df68d59850ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RestructuringChargesReversalsAndOtherExpense_4810717f-c13f-45e6-8e3b-944423b19698" xlink:href="afrm-20251231.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_2fdd15a9-de25-4ca4-b8f3-9cc9c9be5e60" xlink:to="loc_afrm_RestructuringChargesReversalsAndOtherExpense_4810717f-c13f-45e6-8e3b-944423b19698" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_e5386944-0e46-431a-948b-57c59f48a436" 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_fbf13d69-e4f9-45e2-b9f7-ee340ed01ac6" 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_e5386944-0e46-431a-948b-57c59f48a436" xlink:to="loc_us-gaap_Revenues_fbf13d69-e4f9-45e2-b9f7-ee340ed01ac6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostsAndExpenses_921a9dd6-afeb-4966-8d84-d4d001a93875" 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_e5386944-0e46-431a-948b-57c59f48a436" xlink:to="loc_us-gaap_CostsAndExpenses_921a9dd6-afeb-4966-8d84-d4d001a93875" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_230074b1-b8f8-4567-b5ef-a25113af3179" 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_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_119a1900-f20b-443e-be3a-21106d0804e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_230074b1-b8f8-4567-b5ef-a25113af3179" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_119a1900-f20b-443e-be3a-21106d0804e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_6ef3a060-ecf7-4558-b775-17ca5ea923a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_230074b1-b8f8-4567-b5ef-a25113af3179" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_6ef3a060-ecf7-4558-b775-17ca5ea923a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_b0a98124-22ab-488d-acf9-b3011e7181e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_230074b1-b8f8-4567-b5ef-a25113af3179" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_b0a98124-22ab-488d-acf9-b3011e7181e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_34e5721c-95c1-4c17-a67b-997f5b006c09" 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_4fe22caf-3200-4e8e-853c-b12dadc8382f" 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_34e5721c-95c1-4c17-a67b-997f5b006c09" xlink:to="loc_us-gaap_NetIncomeLoss_4fe22caf-3200-4e8e-853c-b12dadc8382f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e33b1db1-0565-4f3c-a69d-b3eca64ad4a7" 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_34e5721c-95c1-4c17-a67b-997f5b006c09" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_e33b1db1-0565-4f3c-a69d-b3eca64ad4a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_935d5be1-fe25-4a8e-8f3b-1651bfd4de72" 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_62ed41dd-6f7f-422c-89c1-8a4179aadad8" 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_935d5be1-fe25-4a8e-8f3b-1651bfd4de72" xlink:to="loc_us-gaap_OperatingIncomeLoss_62ed41dd-6f7f-422c-89c1-8a4179aadad8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_7da6c896-d7e8-46bd-a64b-5e80636a8ea4" 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_935d5be1-fe25-4a8e-8f3b-1651bfd4de72" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_7da6c896-d7e8-46bd-a64b-5e80636a8ea4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d04624df-f87a-4434-b362-b6b3b112eea5" 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_f606247b-d99b-4aba-91a4-984d366ac5f7" 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_d04624df-f87a-4434-b362-b6b3b112eea5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f606247b-d99b-4aba-91a4-984d366ac5f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_d0926487-1602-405a-91ed-5988200d583b" 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_d04624df-f87a-4434-b362-b6b3b112eea5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_d0926487-1602-405a-91ed-5988200d583b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_cfd00a90-9f10-4505-a7e7-beaa99b6938c" 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_GainLossOnSalesOfLoansNet_95072bec-9cea-47c0-b8ce-26959c976382" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_cfd00a90-9f10-4505-a7e7-beaa99b6938c" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_95072bec-9cea-47c0-b8ce-26959c976382" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_806a5ec6-7ca4-4053-966a-3f22be9eac4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_cfd00a90-9f10-4505-a7e7-beaa99b6938c" xlink:to="loc_us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets_806a5ec6-7ca4-4053-966a-3f22be9eac4e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_fd8b96a1-08bc-4b3c-a605-bc72da94830a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_cfd00a90-9f10-4505-a7e7-beaa99b6938c" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_fd8b96a1-08bc-4b3c-a605-bc72da94830a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_15082f20-ac6e-48c3-9187-3f495d8acaea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Revenues_cfd00a90-9f10-4505-a7e7-beaa99b6938c" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_15082f20-ac6e-48c3-9187-3f495d8acaea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="afrm-20251231.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3c8cb8c8-f8a6-482d-a168-0029e082e88f" 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_a147e21a-56f4-4644-b986-c8e6b2f2d10a" 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_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_us-gaap_PaymentsToAcquireFinanceReceivables_a147e21a-56f4-4644-b986-c8e6b2f2d10a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_8aef3fbc-fdfd-48c1-89f5-b2a11949bc78" 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_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_us-gaap_ProceedsFromSaleOfFinanceReceivables_8aef3fbc-fdfd-48c1-89f5-b2a11949bc78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_f562912b-4a86-47da-a762-22e75c3b3ab5" 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_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_us-gaap_ProceedsFromCollectionOfFinanceReceivables_f562912b-4a86-47da-a762-22e75c3b3ab5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ffe4b344-ba30-40e6-b8e1-f799e3218404" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_ffe4b344-ba30-40e6-b8e1-f799e3218404" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_74b8c99a-a162-4927-a115-2286549d7484" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecuritiesDebt_74b8c99a-a162-4927-a115-2286549d7484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_7a7c56d2-4bb6-46ab-9b6b-b029a63d95dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_7a7c56d2-4bb6-46ab-9b6b-b029a63d95dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProceedsFromOtherInvestingActivities_4d7a2767-dbfb-4d8b-ae75-d2d35ff6741a" xlink:href="afrm-20251231.xsd#afrm_ProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_afrm_ProceedsFromOtherInvestingActivities_4d7a2767-dbfb-4d8b-ae75-d2d35ff6741a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PaymentForOtherInvestingActivity_c5c3931d-cbf4-4c7c-8fcd-b661eeb0e737" xlink:href="afrm-20251231.xsd#afrm_PaymentForOtherInvestingActivity"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_3c8cb8c8-f8a6-482d-a168-0029e082e88f" xlink:to="loc_afrm_PaymentForOtherInvestingActivity_c5c3931d-cbf4-4c7c-8fcd-b661eeb0e737" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" 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_NetIncomeLoss_9998f294-3745-4646-a5ad-003dad3ecef0" 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_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_NetIncomeLoss_9998f294-3745-4646-a5ad-003dad3ecef0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_a147ed09-8d1c-421c-ad44-397b1f5a7631" 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_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_a147ed09-8d1c-421c-ad44-397b1f5a7631" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables_41dfdff9-4f08-458b-86e8-bd9d99e4f045" xlink:href="afrm-20251231.xsd#afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables_41dfdff9-4f08-458b-86e8-bd9d99e4f045" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSalesOfLoansNet_e0502090-c5e3-430c-865d-de313534abe2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSalesOfLoansNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_GainLossOnSalesOfLoansNet_e0502090-c5e3-430c-865d-de313534abe2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_0a7ac42b-67d4-4e8b-b9f8-634dddc7edaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_0a7ac42b-67d4-4e8b-b9f8-634dddc7edaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_GainLossOnChangesInFairValueOfAssetsAndLiabilities_2fb4bda0-97a8-4603-88d1-e750086f220e" xlink:href="afrm-20251231.xsd#afrm_GainLossOnChangesInFairValueOfAssetsAndLiabilities"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_afrm_GainLossOnChangesInFairValueOfAssetsAndLiabilities_2fb4bda0-97a8-4603-88d1-e750086f220e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementAssetAmortizationExpense_7b2e7775-f7a7-4dca-96ba-c9b6c7aef379" xlink:href="afrm-20251231.xsd#afrm_CommercialAgreementAssetAmortizationExpense"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_afrm_CommercialAgreementAssetAmortizationExpense_7b2e7775-f7a7-4dca-96ba-c9b6c7aef379" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_5b59e4fb-e7af-47c7-8d9b-b7c441b5998c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_5b59e4fb-e7af-47c7-8d9b-b7c441b5998c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccruedInterestOnDebtSecuritiesAvailableForSale_34852526-4db1-44c9-963f-26e194a9e8f5" xlink:href="afrm-20251231.xsd#afrm_AccruedInterestOnDebtSecuritiesAvailableForSale"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_afrm_AccruedInterestOnDebtSecuritiesAvailableForSale_34852526-4db1-44c9-963f-26e194a9e8f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IncreaseDecreaseInCommercialAgreementAssets_25481a63-e700-4bf9-99cb-eaa5a60c857f" xlink:href="afrm-20251231.xsd#afrm_IncreaseDecreaseInCommercialAgreementAssets"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_afrm_IncreaseDecreaseInCommercialAgreementAssets_25481a63-e700-4bf9-99cb-eaa5a60c857f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_a5da8e15-5e44-4ac5-af25-ec160c437bcc" 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_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_ShareBasedCompensation_a5da8e15-5e44-4ac5-af25-ec160c437bcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5c491616-3cfd-431d-83ef-40942e8d025f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5c491616-3cfd-431d-83ef-40942e8d025f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOtherOperatingActivities_d97fe2d6-3459-4f3d-8040-0f61b71bc9e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOtherOperatingActivities"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_PaymentsForOtherOperatingActivities_d97fe2d6-3459-4f3d-8040-0f61b71bc9e4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_9f2d3486-0907-4264-acd6-b672fe7c262c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_PaymentsForOriginationAndPurchasesOfLoansHeldForSale_9f2d3486-0907-4264-acd6-b672fe7c262c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_200a590c-be39-4bba-ba7c-51c69b511223" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLoansHeldForSale"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_ProceedsFromSaleOfLoansHeldForSale_200a590c-be39-4bba-ba7c-51c69b511223" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f72c7625-47c2-46da-a001-fec637fca3bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_f72c7625-47c2-46da-a001-fec637fca3bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_62c697af-4993-4ee2-b1c4-ee6d920cd0d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_62c697af-4993-4ee2-b1c4-ee6d920cd0d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_12463a67-af09-4cff-adb6-7c481d382909" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_12463a67-af09-4cff-adb6-7c481d382909" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable_032eb6ab-a634-4aac-9d6f-aa8ad8789d7e" xlink:href="afrm-20251231.xsd#afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable_032eb6ab-a634-4aac-9d6f-aa8ad8789d7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_6cf6735c-fbd0-43aa-8c92-e6facb367e86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:calculationArc order="20" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_IncreaseDecreaseInInterestPayableNet_6cf6735c-fbd0-43aa-8c92-e6facb367e86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_c58707fb-9b7e-442e-8ee5-373c9a8f3360" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_33649ff6-5bd2-44c2-8b76-35c761429f19" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities_c58707fb-9b7e-442e-8ee5-373c9a8f3360" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" 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_ProceedsFromIssuanceOfDebt_7bcaa73b-0497-4614-8eed-10a86a099363" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_7bcaa73b-0497-4614-8eed-10a86a099363" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_e3058aa0-c7bd-4152-b752-d6aca4446c7b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_e3058aa0-c7bd-4152-b752-d6aca4446c7b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_5fbc20c8-e798-4a49-afea-cbeace13c868" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSecuredDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSecuredDebt_5fbc20c8-e798-4a49-afea-cbeace13c868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_516248bb-b0ca-451d-8b8b-f74dd7cc4a7a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_516248bb-b0ca-451d-8b8b-f74dd7cc4a7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfSecuredDebt_0003e786-39d2-44f3-b6a4-824b2bae0873" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfSecuredDebt"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_RepaymentsOfSecuredDebt_0003e786-39d2-44f3-b6a4-824b2bae0873" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_0e657c1e-f9e5-40a0-9388-0a678b024df9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_0e657c1e-f9e5-40a0-9388-0a678b024df9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_c4605dcf-1945-4f66-b89a-6919d3155a53" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtExtinguishmentCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_c4605dcf-1945-4f66-b89a-6919d3155a53" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_ProceedsFromStockOptionsAndWarrantsExercised_97ed1600-ccd6-4d48-9c1c-07c9d6933bb8" xlink:href="afrm-20251231.xsd#afrm_ProceedsFromStockOptionsAndWarrantsExercised"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_afrm_ProceedsFromStockOptionsAndWarrantsExercised_97ed1600-ccd6-4d48-9c1c-07c9d6933bb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_95918ac1-fe5d-4867-b369-41fb5d4db11d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_95918ac1-fe5d-4867-b369-41fb5d4db11d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CostOfIssuanceOfTreasuryStock_7d3ec2a9-b9fd-46c4-93f7-36cb56500484" xlink:href="afrm-20251231.xsd#afrm_CostOfIssuanceOfTreasuryStock"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a2256208-5734-421d-b0e4-0fbc57bde901" xlink:to="loc_afrm_CostOfIssuanceOfTreasuryStock_7d3ec2a9-b9fd-46c4-93f7-36cb56500484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f9ca399b-dca5-4eb6-b077-51cc28aa2deb" 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_RestrictedCash_0b382220-ec76-4b84-992b-a729980e8e7c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f9ca399b-dca5-4eb6-b077-51cc28aa2deb" xlink:to="loc_us-gaap_RestrictedCash_0b382220-ec76-4b84-992b-a729980e8e7c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_79c76d7a-8454-4a39-93a1-964a0d55c486" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_f9ca399b-dca5-4eb6-b077-51cc28aa2deb" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_79c76d7a-8454-4a39-93a1-964a0d55c486" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_0a7ba8c0-d8ce-434b-8a42-bd7991b1e914" 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_b213d148-9f74-4393-8bfa-b75fb3291e0c" 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_0a7ba8c0-d8ce-434b-8a42-bd7991b1e914" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_b213d148-9f74-4393-8bfa-b75fb3291e0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5bf57662-e953-463e-b5c5-a23c7be135e5" 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_0a7ba8c0-d8ce-434b-8a42-bd7991b1e914" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_5bf57662-e953-463e-b5c5-a23c7be135e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2a8459e8-cffc-4697-8c11-663e5b6fe15c" 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_0a7ba8c0-d8ce-434b-8a42-bd7991b1e914" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2a8459e8-cffc-4697-8c11-663e5b6fe15c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_84c9be23-57c2-49cb-b327-fa785ca91bad" 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_0a7ba8c0-d8ce-434b-8a42-bd7991b1e914" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_84c9be23-57c2-49cb-b327-fa785ca91bad" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/RevenueScheduleofInterestIncomeDetails" xlink:type="simple" xlink:href="afrm-20251231.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_a3ee41ac-1942-47d1-8ff5-0ab693000d1b" 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_4f3565e2-188c-4919-9b0b-faafd3d37657" 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_a3ee41ac-1942-47d1-8ff5-0ab693000d1b" xlink:to="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases_4f3565e2-188c-4919-9b0b-faafd3d37657" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AccretionOfDiscountsFinancingReceivables_5790bc12-5301-4438-9ba3-abd13a81adb7" xlink:href="afrm-20251231.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_a3ee41ac-1942-47d1-8ff5-0ab693000d1b" xlink:to="loc_afrm_AccretionOfDiscountsFinancingReceivables_5790bc12-5301-4438-9ba3-abd13a81adb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_AmortizationOfPremiumsFinancingReceivables_c937c3d2-56ca-4c60-a3d7-2af44611dc16" xlink:href="afrm-20251231.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_a3ee41ac-1942-47d1-8ff5-0ab693000d1b" xlink:to="loc_afrm_AmortizationOfPremiumsFinancingReceivables_c937c3d2-56ca-4c60-a3d7-2af44611dc16" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_8062dfb5-36ee-4ca0-803e-7fe60c424af7" 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_a3ee41ac-1942-47d1-8ff5-0ab693000d1b" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff_8062dfb5-36ee-4ca0-803e-7fe60c424af7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross_49aa1c59-49e9-4170-95d0-4767dd5c2756" 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_FinancingReceivableBeforeAllowanceForCreditLossAndFee_a789222d-6b14-4fda-8a27-a2b37e8612e8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_49aa1c59-49e9-4170-95d0-4767dd5c2756" xlink:to="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee_a789222d-6b14-4fda-8a27-a2b37e8612e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss_11805b38-93b9-416f-a982-9151c246bc30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_49aa1c59-49e9-4170-95d0-4767dd5c2756" xlink:to="loc_us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss_11805b38-93b9-416f-a982-9151c246bc30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableUnamortizedPurchasePremium_ec60bcab-be84-4163-8602-23b04ca54124" xlink:href="afrm-20251231.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_49aa1c59-49e9-4170-95d0-4767dd5c2756" xlink:to="loc_afrm_FinancingReceivableUnamortizedPurchasePremium_ec60bcab-be84-4163-8602-23b04ca54124" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableUnamortizedPurchaseDiscount_4c2aff3d-b14c-42a0-a46c-a9f6cb3ad0ff" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableUnamortizedPurchaseDiscount"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_49aa1c59-49e9-4170-95d0-4767dd5c2756" xlink:to="loc_afrm_FinancingReceivableUnamortizedPurchaseDiscount_4c2aff3d-b14c-42a0-a46c-a9f6cb3ad0ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableLossOnSelfOrganizingLoans_18cddf64-41a3-4e8a-ac17-6e57c2435044" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableLossOnSelfOrganizingLoans"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NotesReceivableGross_49aa1c59-49e9-4170-95d0-4767dd5c2756" xlink:to="loc_afrm_FinancingReceivableLossOnSelfOrganizingLoans_18cddf64-41a3-4e8a-ac17-6e57c2435044" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentbyDelinquencyDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentbyDelinquencyDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofLoansHeldforInvestmentbyDelinquencyDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_de2b6e48-e614-4f5e-a377-4817e8d0fa68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYear_de2b6e48-e614-4f5e-a377-4817e8d0fa68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_fc023d01-7e75-4047-a9d7-7a69432a737c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYear_fc023d01-7e75-4047-a9d7-7a69432a737c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_a19673fc-b295-4687-89c6-76d4b52bee10" 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_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYear_a19673fc-b295-4687-89c6-76d4b52bee10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_895bcaff-6610-407f-b474-65e4c7e41f66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYear_895bcaff-6610-407f-b474-65e4c7e41f66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_a0b8cd11-7326-4d1a-b05c-a5579a2244d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYear_a0b8cd11-7326-4d1a-b05c-a5579a2244d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_c5f24b83-7598-468e-984a-679520241a60" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableIncludingLoansHeldForSaleExcludingAccruedInterestBeforeAllowanceForCreditLoss_b86277a4-7fc1-4233-95a4-85e0c512560d" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYear_c5f24b83-7598-468e-984a-679520241a60" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofNetChargeOffsDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofNetChargeOffsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesScheduleofNetChargeOffsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_70e23e1c-65ac-46fe-a3b3-d7311c108a1f" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_9251064c-e2d4-40cf-bba1-ed03f54fadc0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_70e23e1c-65ac-46fe-a3b3-d7311c108a1f" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_9251064c-e2d4-40cf-bba1-ed03f54fadc0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_4870d3a1-d19c-49f9-9673-e5bf240086aa" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_70e23e1c-65ac-46fe-a3b3-d7311c108a1f" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_4870d3a1-d19c-49f9-9673-e5bf240086aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet_c55c6d4f-a426-4167-a5e0-8a87646dd605" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_7d53705c-20d6-470a-b20f-246a29e3685c" 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_c55c6d4f-a426-4167-a5e0-8a87646dd605" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_7d53705c-20d6-470a-b20f-246a29e3685c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_03b100d9-6266-4721-9f7c-f53c9e5b2ba7" xlink:href="afrm-20251231.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_c55c6d4f-a426-4167-a5e0-8a87646dd605" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_03b100d9-6266-4721-9f7c-f53c9e5b2ba7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" 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_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_4b737af9-6b45-4af6-a894-33603f619507" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearRecoveries_4b737af9-6b45-4af6-a894-33603f619507" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_52eea6f6-a372-4a9d-a380-138ee8f46e92" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_52eea6f6-a372-4a9d-a380-138ee8f46e92" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_2fc4a878-2bc9-4edd-88cc-5cdbbdd6b052" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_2fc4a878-2bc9-4edd-88cc-5cdbbdd6b052" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_4e94b994-c386-44cd-a46b-3ff03c48542f" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_4e94b994-c386-44cd-a46b-3ff03c48542f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_3f0eb528-71c3-4a13-8eb8-47c087504f78" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_3f0eb528-71c3-4a13-8eb8-47c087504f78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_587db58c-1e24-4461-9a7d-dee498e534cb" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_889f2a2e-96f8-4e12-bc4a-12de9d066f70" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearRecoveries_587db58c-1e24-4461-9a7d-dee498e534cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_009bb831-04a0-4677-8e7b-c4f723f3b219" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_66c81451-e8f2-4974-a882-aab092e7988d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_009bb831-04a0-4677-8e7b-c4f723f3b219" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_66c81451-e8f2-4974-a882-aab092e7988d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_9386465d-03e5-47c6-9a07-c17590a8cc34" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_009bb831-04a0-4677-8e7b-c4f723f3b219" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearRecoveries_9386465d-03e5-47c6-9a07-c17590a8cc34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_ac494942-14d7-426b-b014-bc26c81ba0c5" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_be161b97-3747-4e7a-9c9c-cb03d48c2d91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_ac494942-14d7-426b-b014-bc26c81ba0c5" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_be161b97-3747-4e7a-9c9c-cb03d48c2d91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_b15b6ea4-5201-4e52-92b7-c74b6a899a33" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_ac494942-14d7-426b-b014-bc26c81ba0c5" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearRecoveries_b15b6ea4-5201-4e52-92b7-c74b6a899a33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_8611bf8e-8eb6-4bc2-a691-983291688153" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_cd735cc8-9e2c-4b09-9e5b-aa62adf0ec89" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_8611bf8e-8eb6-4bc2-a691-983291688153" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_cd735cc8-9e2c-4b09-9e5b-aa62adf0ec89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_ecceb609-08e8-46fc-93b6-3e366077e878" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteOffRecoveriesNet_8611bf8e-8eb6-4bc2-a691-983291688153" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearRecoveries_ecceb609-08e8-46fc-93b6-3e366077e878" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_496c17df-02b6-4e6f-b97f-6169f467499c" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_e8f80175-edec-4345-9503-a51e37acdd86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_496c17df-02b6-4e6f-b97f-6169f467499c" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_e8f80175-edec-4345-9503-a51e37acdd86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_aad2f827-a48c-4564-8a36-95b0f6de188d" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteOffRecoveriesNet_496c17df-02b6-4e6f-b97f-6169f467499c" xlink:to="loc_afrm_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearRecoveries_aad2f827-a48c-4564-8a36-95b0f6de188d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_06718a45-381b-4b29-8178-5ec3b6a964e7" 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_a140de0d-3977-4773-9d0d-b3e48ad06a84" 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_06718a45-381b-4b29-8178-5ec3b6a964e7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearOneOriginatedCurrentFiscalYearWriteoff_a140de0d-3977-4773-9d0d-b3e48ad06a84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_847adb4a-85bf-466d-9a09-45294a7ce36c" 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_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_06718a45-381b-4b29-8178-5ec3b6a964e7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_847adb4a-85bf-466d-9a09-45294a7ce36c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_a1800c79-a947-4573-8ff0-aaa933863171" 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_06718a45-381b-4b29-8178-5ec3b6a964e7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_a1800c79-a947-4573-8ff0-aaa933863171" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_92db61f3-7cbf-4d9a-996f-e0589d2d50a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_06718a45-381b-4b29-8178-5ec3b6a964e7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_92db61f3-7cbf-4d9a-996f-e0589d2d50a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_c6c00d91-f98c-482d-aa09-14ad9ade2889" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_06718a45-381b-4b29-8178-5ec3b6a964e7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_c6c00d91-f98c-482d-aa09-14ad9ade2889" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_99bec0ea-4411-46f3-a049-3a6a047ad1a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_06718a45-381b-4b29-8178-5ec3b6a964e7" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_99bec0ea-4411-46f3-a049-3a6a047ad1a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_1517086a-5a58-46fe-84b3-41f114ee5919" 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_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_1049544b-e9b3-4317-a33b-7b227ec4b5ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_1517086a-5a58-46fe-84b3-41f114ee5919" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_1049544b-e9b3-4317-a33b-7b227ec4b5ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_fbcb1039-4ae3-481b-89c9-f5ab8ac2ffd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoffAfterRecovery_1517086a-5a58-46fe-84b3-41f114ee5919" xlink:to="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_fbcb1039-4ae3-481b-89c9-f5ab8ac2ffd0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofPropertyEquipmentandSoftwareNetDetails" xlink:type="simple" xlink:href="afrm-20251231.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_1075cc56-877f-4563-a045-cceccf91ad91" 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_033d51e5-b818-4011-bba8-4d00b3ae6f26" 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_1075cc56-877f-4563-a045-cceccf91ad91" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_033d51e5-b818-4011-bba8-4d00b3ae6f26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_48f65143-f63d-47e7-9aef-180a0c00c9ce" 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_1075cc56-877f-4563-a045-cceccf91ad91" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_48f65143-f63d-47e7-9aef-180a0c00c9ce" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#BalanceSheetComponentsScheduleofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_5d016ffd-096b-46c9-9c0f-e8d3bd5e3c8b" xlink:href="afrm-20251231.xsd#afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bf2309b3-e3dc-4c9d-9929-b819b482a0e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_5d016ffd-096b-46c9-9c0f-e8d3bd5e3c8b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_bf2309b3-e3dc-4c9d-9929-b819b482a0e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_a1c43756-f6bb-4fc8-b97c-3ad97ff0cea5" 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_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_5d016ffd-096b-46c9-9c0f-e8d3bd5e3c8b" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_a1c43756-f6bb-4fc8-b97c-3ad97ff0cea5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_f19a4f06-3e17-4b09-9969-7ef46f460b2f" 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_37f2e1f9-02a1-409d-9664-ed11132dff26" 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_f19a4f06-3e17-4b09-9969-7ef46f460b2f" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_37f2e1f9-02a1-409d-9664-ed11132dff26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_bb1fd807-c042-47f8-8c6c-849b31fb2079" 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_f19a4f06-3e17-4b09-9969-7ef46f460b2f" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_bb1fd807-c042-47f8-8c6c-849b31fb2079" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_fd9d62ca-72a8-442d-b20b-a4e3f52048fe" 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_72bb13f9-94f3-4413-9bef-a3daaa85bc67" 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_fd9d62ca-72a8-442d-b20b-a4e3f52048fe" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_72bb13f9-94f3-4413-9bef-a3daaa85bc67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_25afda2c-1392-451a-9711-26ba3b301692" 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_fd9d62ca-72a8-442d-b20b-a4e3f52048fe" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_25afda2c-1392-451a-9711-26ba3b301692" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofIntangibleAssetsDetails_1" xlink:type="simple" xlink:href="afrm-20251231.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_d0ead767-7ed8-453d-b980-4012f83ae384" xlink:href="afrm-20251231.xsd#afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9d37d8e4-cb65-4ddc-bd26-d68fd7dce3d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsGrossExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_d0ead767-7ed8-453d-b980-4012f83ae384" xlink:to="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_9d37d8e4-cb65-4ddc-bd26-d68fd7dce3d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_e67df929-4956-4038-ba6e-071110113651" 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_afrm_IntangibleAssetsNetExcludingGoodwillAndNotYetPlacedIntoService_d0ead767-7ed8-453d-b980-4012f83ae384" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_e67df929-4956-4038-ba6e-071110113651" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofOtherAssetsDetails" xlink:type="simple" xlink:href="afrm-20251231.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_6b467b8c-6e26-45cc-911b-055e9e08c5ef" 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_4474c7d8-63dc-49bd-b5fb-970434ad0a55" xlink:href="afrm-20251231.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_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_afrm_CashDepositsProcessingReserves_4474c7d8-63dc-49bd-b5fb-970434ad0a55" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_6974966e-90c1-4083-b493-67e805890ac5" 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_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_us-gaap_PrepaidExpenseCurrentAndNoncurrent_6974966e-90c1-4083-b493-67e805890ac5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RiskSharingAsset_41d250f2-6900-4144-b7fe-cf2c67fffabb" xlink:href="afrm-20251231.xsd#afrm_RiskSharingAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_afrm_RiskSharingAsset_41d250f2-6900-4144-b7fe-cf2c67fffabb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_efd31456-a422-46bc-9e6e-9a1bddb6d81e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_efd31456-a422-46bc-9e6e-9a1bddb6d81e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PrepaidPayrollTax_88b21e4e-e085-4c1a-be6c-8deb667f1b82" xlink:href="afrm-20251231.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_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_afrm_PrepaidPayrollTax_88b21e4e-e085-4c1a-be6c-8deb667f1b82" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_67dbe369-8936-403e-9211-e9c3229885cd" 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_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_67dbe369-8936-403e-9211-e9c3229885cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign_4f0036d7-adb1-4587-a05f-f383421312bb" 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_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsForeign_4f0036d7-adb1-4587-a05f-f383421312bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneous_eb82ed32-f760-4fb7-bd27-8535aac6ecd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneous"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssets_6b467b8c-6e26-45cc-911b-055e9e08c5ef" xlink:to="loc_us-gaap_OtherAssetsMiscellaneous_eb82ed32-f760-4fb7-bd27-8535aac6ecd7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/BalanceSheetComponentsScheduleofAccruedExpensesandOtherLiabilitiesDetails" xlink:type="simple" xlink:href="afrm-20251231.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_85662c4b-d05d-476c-90a5-3c15102c3d2c" 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_AccruedLiabilitiesCurrentAndNoncurrent_6bf0c0c2-9e8c-466d-960d-120507e61b30" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_85662c4b-d05d-476c-90a5-3c15102c3d2c" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrentAndNoncurrent_6bf0c0c2-9e8c-466d-960d-120507e61b30" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_54df7e3c-f5d1-414c-ab48-367b0883be3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_85662c4b-d05d-476c-90a5-3c15102c3d2c" xlink:to="loc_us-gaap_OperatingLeaseLiability_54df7e3c-f5d1-414c-ab48-367b0883be3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities_3471e638-7fcd-410a-ad55-262ed54b5b2b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesAndOtherLiabilities_85662c4b-d05d-476c-90a5-3c15102c3d2c" xlink:to="loc_us-gaap_OtherLiabilities_3471e638-7fcd-410a-ad55-262ed54b5b2b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LeasesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#LeasesScheduleofFutureMinimumLeasePaymentsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LeasesScheduleofFutureMinimumLeasePaymentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" 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_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_85c4e856-5448-45ad-9ab4-f98a0c9c379a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_85c4e856-5448-45ad-9ab4-f98a0c9c379a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_9ece7bc2-eebc-4880-a27d-62771c38cf21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_9ece7bc2-eebc-4880-a27d-62771c38cf21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_LesseeOperatingLeaseLiabilityToBePaidYearFourAndAfterYearFour_7aa8e9ce-29f8-4340-a15e-dc17a1cac1ff" xlink:href="afrm-20251231.xsd#afrm_LesseeOperatingLeaseLiabilityToBePaidYearFourAndAfterYearFour"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" xlink:to="loc_afrm_LesseeOperatingLeaseLiabilityToBePaidYearFourAndAfterYearFour_7aa8e9ce-29f8-4340-a15e-dc17a1cac1ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_709e129c-1e87-4249-970a-181381bb074c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_709e129c-1e87-4249-970a-181381bb074c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_68456aaa-b3eb-43fd-9051-2542ecc1ee79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_68456aaa-b3eb-43fd-9051-2542ecc1ee79" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f328907b-8c61-4bf1-8271-9b883f7f54d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_32de6acb-4284-4ce6-8b1e-61c36c3a2fd5" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_f328907b-8c61-4bf1-8271-9b883f7f54d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/LeasesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="simple" xlink:href="afrm-20251231.xsd#LeasesScheduleofFutureMinimumLeasePaymentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/LeasesScheduleofFutureMinimumLeasePaymentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_43e55a25-f01e-4e80-bf06-061f55ea8f1f" 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_02060afb-b7ee-4c15-84a2-6d3b8b4c806b" 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_43e55a25-f01e-4e80-bf06-061f55ea8f1f" xlink:to="loc_us-gaap_OperatingLeaseLiability_02060afb-b7ee-4c15-84a2-6d3b8b4c806b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4a4bdd38-5f07-4663-a641-4eaf5d7e7c00" 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_43e55a25-f01e-4e80-bf06-061f55ea8f1f" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_4a4bdd38-5f07-4663-a641-4eaf5d7e7c00" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/DebtScheduleofComponentsSecuredandUnsecuredDebtDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#DebtScheduleofComponentsSecuredandUnsecuredDebtDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/DebtScheduleofComponentsSecuredandUnsecuredDebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_TotalLineOfCreditFacilityMaximumBorrowingCapacityAndDebtInstrumentFaceAmount_aebb49e5-2aab-4a68-a0c8-ec4590dec3d5" xlink:href="afrm-20251231.xsd#afrm_TotalLineOfCreditFacilityMaximumBorrowingCapacityAndDebtInstrumentFaceAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_15317686-b1b5-469a-8e9e-3b3bdd9cb389" 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_aebb49e5-2aab-4a68-a0c8-ec4590dec3d5" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_15317686-b1b5-469a-8e9e-3b3bdd9cb389" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7cae9e25-a902-4273-bdc5-6ab15bbfb419" 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_aebb49e5-2aab-4a68-a0c8-ec4590dec3d5" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_7cae9e25-a902-4273-bdc5-6ab15bbfb419" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/DebtScheduleofAggregateFutureMaturitiesDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#DebtScheduleofAggregateFutureMaturitiesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/DebtScheduleofAggregateFutureMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" 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_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_c87cc808-e96f-4ac8-a4f9-5a22f187613b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear_c87cc808-e96f-4ac8-a4f9-5a22f187613b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_da9f2617-e8ae-433c-9e8b-cae00c4853b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_da9f2617-e8ae-433c-9e8b-cae00c4853b6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e0291f09-2539-47c7-8b88-43a030e74076" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_e0291f09-2539-47c7-8b88-43a030e74076" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_e5acd854-d3d5-4fe6-a396-dd4d93c3bd59" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_e5acd854-d3d5-4fe6-a396-dd4d93c3bd59" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_599a57a4-366b-40a6-b4bb-215ef77afa2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_599a57a4-366b-40a6-b4bb-215ef77afa2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_LongTermDebtMaturityAfterYearFour_73c8fbad-d5c0-42bc-b73e-a6f42056d2aa" xlink:href="afrm-20251231.xsd#afrm_LongTermDebtMaturityAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount_924c74a0-5a28-468f-b29a-da6d3b68bbb7" xlink:to="loc_afrm_LongTermDebtMaturityAfterYearFour_73c8fbad-d5c0-42bc-b73e-a6f42056d2aa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_dd384b9e-8a06-4fe7-96c2-aa9b48cdcac2" 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_5aa0306a-d532-4090-9592-e0ae2fa62092" 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_dd384b9e-8a06-4fe7-96c2-aa9b48cdcac2" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_5aa0306a-d532-4090-9592-e0ae2fa62092" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsNet_d74a0744-9f67-4f8b-bab6-f13c2f6ee8ae" 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_dd384b9e-8a06-4fe7-96c2-aa9b48cdcac2" xlink:to="loc_us-gaap_DeferredFinanceCostsNet_d74a0744-9f67-4f8b-bab6-f13c2f6ee8ae" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/DebtScheduleofInterestExpenseRecognizedRelatedtotheConvertibleSeniorNotesDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#DebtScheduleofInterestExpenseRecognizedRelatedtotheConvertibleSeniorNotesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/DebtScheduleofInterestExpenseRecognizedRelatedtotheConvertibleSeniorNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_ccf9fefd-40a2-4993-b3ff-2f9709d43cdf" 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_6ad892d9-6a94-4338-9bc8-0c83663b4b43" 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_ccf9fefd-40a2-4993-b3ff-2f9709d43cdf" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_6ad892d9-6a94-4338-9bc8-0c83663b4b43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_3f95bb34-ee9f-4025-8fdf-b1d5b206cd1a" 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_ccf9fefd-40a2-4993-b3ff-2f9709d43cdf" xlink:to="loc_us-gaap_InterestExpense_3f95bb34-ee9f-4025-8fdf-b1d5b206cd1a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/InvestmentsScheduleofSecuritiesAvailableforSaleWithUnrealizedLossesDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#InvestmentsScheduleofSecuritiesAvailableforSaleWithUnrealizedLossesDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/InvestmentsScheduleofSecuritiesAvailableforSaleWithUnrealizedLossesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPositionAccumulatedLoss_e4b1792a-a59f-4494-b35d-94c6dea81e0d" 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_ba4e5521-359a-4bbb-9e19-0cf3be84b5c8" 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_e4b1792a-a59f-4494-b35d-94c6dea81e0d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_ba4e5521-359a-4bbb-9e19-0cf3be84b5c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_11207847-7740-42a9-b7cb-1a98482b0dfc" 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_e4b1792a-a59f-4494-b35d-94c6dea81e0d" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_11207847-7740-42a9-b7cb-1a98482b0dfc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleUnrealizedLossPosition_3465f25b-b6b7-4543-8da7-533def796806" 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_fcc3c86f-da4c-4bf1-ab72-1a30979bc1f5" 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_3465f25b-b6b7-4543-8da7-533def796806" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPositionLessThan12Months_fcc3c86f-da4c-4bf1-ab72-1a30979bc1f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_0f00ed1d-1cdb-4435-885d-9719f80ac2af" 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_3465f25b-b6b7-4543-8da7-533def796806" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleContinuousUnrealizedLossPosition12MonthsOrLonger_0f00ed1d-1cdb-4435-885d-9719f80ac2af" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/InvestmentsScheduleofContractualMaturitiesofSecuritiesAvailableforSaleDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#InvestmentsScheduleofContractualMaturitiesofSecuritiesAvailableforSaleDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/InvestmentsScheduleofContractualMaturitiesofSecuritiesAvailableforSaleDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashExcludingAccruedInterest_019c2508-51ab-7abe-b244-1b8ababd57c5" xlink:href="afrm-20251231.xsd#afrm_DebtSecuritiesAvailableForSaleIncludingCashExcludingAccruedInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearFairValue_019c2508-51ab-765d-9003-7dc4dbc6f033" xlink:href="afrm-20251231.xsd#afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearFairValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashExcludingAccruedInterest_019c2508-51ab-7abe-b244-1b8ababd57c5" xlink:to="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearFairValue_019c2508-51ab-765d-9003-7dc4dbc6f033" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYearsFairValue_019c2508-51ab-7878-a604-54c1e1213392" xlink:href="afrm-20251231.xsd#afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYearsFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashExcludingAccruedInterest_019c2508-51ab-7abe-b244-1b8ababd57c5" xlink:to="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYearsFairValue_019c2508-51ab-7878-a604-54c1e1213392" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c2508-67b5-7d7b-8e84-9bc1904e31fe" xlink:href="afrm-20251231.xsd#afrm_DebtSecuritiesAvailableForSaleIncludingCashAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearAmortizedCost_019c2508-67b5-7407-b8e5-d0ec694c4cb4" xlink:href="afrm-20251231.xsd#afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearAmortizedCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c2508-67b5-7d7b-8e84-9bc1904e31fe" xlink:to="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingWithinOneYearAmortizedCost_019c2508-67b5-7407-b8e5-d0ec694c4cb4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYearsAmortizedCost_019c2508-67b5-7211-8012-b25d9f869857" xlink:href="afrm-20251231.xsd#afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYearsAmortizedCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_019c2508-67b5-7d7b-8e84-9bc1904e31fe" xlink:to="loc_afrm_DebtSecuritiesAvailableForSaleIncludingCashMaturityAllocatedAndSingleMaturityDateRollingAfterOneThroughFiveYearsAmortizedCost_019c2508-67b5-7211-8012-b25d9f869857" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_e012a506-9af4-4b5a-9a65-ac308ddb9a79" 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_cb3d4e77-2c59-4400-8290-99c7db9301e6" 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_e012a506-9af4-4b5a-9a65-ac308ddb9a79" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue_cb3d4e77-2c59-4400-8290-99c7db9301e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_2c894444-1944-42ff-b06f-dfc0195b32fa" 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_e012a506-9af4-4b5a-9a65-ac308ddb9a79" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue_2c894444-1944-42ff-b06f-dfc0195b32fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_bc4ebb30-284a-4550-bd48-0334eb171417" 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_af65e7f7-ae71-426e-8c45-4a647c4570f6" 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_bc4ebb30-284a-4550-bd48-0334eb171417" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis_af65e7f7-ae71-426e-8c45-4a647c4570f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_8d3ac041-ca3b-4abd-a378-5e35e4ecdc31" 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_bc4ebb30-284a-4550-bd48-0334eb171417" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis_8d3ac041-ca3b-4abd-a378-5e35e4ecdc31" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesScheduleofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#FairValueofFinancialAssetsandLiabilitiesScheduleofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesScheduleofAssetsandLiabilitiesMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_7a59fc4b-0f55-4b8e-8522-ba7b33a5c882" 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_8fa53932-7809-430d-89e0-ac7ceb920413" 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_7a59fc4b-0f55-4b8e-8522-ba7b33a5c882" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_8fa53932-7809-430d-89e0-ac7ceb920413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ServicingAsset_8e61080f-2779-432b-9ead-7d8808a3e02a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ServicingAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_7a59fc4b-0f55-4b8e-8522-ba7b33a5c882" xlink:to="loc_us-gaap_ServicingAsset_8e61080f-2779-432b-9ead-7d8808a3e02a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets_e28f9823-cc03-4133-8223-aef73191837f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_7a59fc4b-0f55-4b8e-8522-ba7b33a5c882" xlink:to="loc_us-gaap_DerivativeAssets_e28f9823-cc03-4133-8223-aef73191837f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RiskSharingAsset_42700bf7-56c4-4726-bc51-72151b63cc67" xlink:href="afrm-20251231.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_AssetsFairValueDisclosure_7a59fc4b-0f55-4b8e-8522-ba7b33a5c882" xlink:to="loc_afrm_RiskSharingAsset_42700bf7-56c4-4726-bc51-72151b63cc67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_3f61c6aa-5cd0-4a89-9643-c7533a585e0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsFairValueDisclosure_7a59fc4b-0f55-4b8e-8522-ba7b33a5c882" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_3f61c6aa-5cd0-4a89-9643-c7533a585e0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_e179b41d-c017-48e1-b37f-98fa772dc8bf" 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_feb98e69-e7cb-4fc3-8131-73cb1cb56268" 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_e179b41d-c017-48e1-b37f-98fa772dc8bf" xlink:to="loc_us-gaap_ServicingLiabilityAtFairValueAmount_feb98e69-e7cb-4fc3-8131-73cb1cb56268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_edbb4d7f-9ed0-4619-8682-5bce11f154f8" xlink:href="afrm-20251231.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_e179b41d-c017-48e1-b37f-98fa772dc8bf" xlink:to="loc_afrm_PerformanceFeeLiabilityFairValueDisclosure_edbb4d7f-9ed0-4619-8682-5bce11f154f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure_b585904f-e636-459f-81d3-18d98e7c0bb6" xlink:href="afrm-20251231.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_e179b41d-c017-48e1-b37f-98fa772dc8bf" xlink:to="loc_afrm_CommercialAgreementProfitShareLiabilityFairValueDisclosure_b585904f-e636-459f-81d3-18d98e7c0bb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_RiskSharingLiability_8c85d33e-ab2a-41e7-9823-ffe5681da3ef" xlink:href="afrm-20251231.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_e179b41d-c017-48e1-b37f-98fa772dc8bf" xlink:to="loc_afrm_RiskSharingLiability_8c85d33e-ab2a-41e7-9823-ffe5681da3ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities_c000f79f-1dd2-443b-855f-3c3e23f75d4b" 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_e179b41d-c017-48e1-b37f-98fa772dc8bf" xlink:to="loc_us-gaap_DerivativeLiabilities_c000f79f-1dd2-443b-855f-3c3e23f75d4b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueofFinancialAssetsandLiabilitiesScheduleofFairValueHierarchyforFinancialAssetsandLiabilitiesHeldatAmortizedCostDetailsDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#FairValueofFinancialAssetsandLiabilitiesFairValueofFinancialAssetsandLiabilitiesScheduleofFairValueHierarchyforFinancialAssetsandLiabilitiesHeldatAmortizedCostDetailsDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueofFinancialAssetsandLiabilitiesScheduleofFairValueHierarchyforFinancialAssetsandLiabilitiesHeldatAmortizedCostDetailsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_afrm_DebtLiabilitiesFairValueDisclosure_98a4ee71-2912-4371-af68-c7723ebe88f7" xlink:href="afrm-20251231.xsd#afrm_DebtLiabilitiesFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConvertibleDebtFairValueDisclosures_27777eb9-93e5-46cb-b027-f558a8d1bfe5" 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_afrm_DebtLiabilitiesFairValueDisclosure_98a4ee71-2912-4371-af68-c7723ebe88f7" xlink:to="loc_us-gaap_ConvertibleDebtFairValueDisclosures_27777eb9-93e5-46cb-b027-f558a8d1bfe5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_11197d2e-0496-4431-bf76-b2c1a724ddba" 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_afrm_DebtLiabilitiesFairValueDisclosure_98a4ee71-2912-4371-af68-c7723ebe88f7" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_11197d2e-0496-4431-bf76-b2c1a724ddba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditFairValueDisclosure_7da0b388-198e-4d94-a0ad-f74bae1534e9" 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_afrm_DebtLiabilitiesFairValueDisclosure_98a4ee71-2912-4371-af68-c7723ebe88f7" xlink:to="loc_us-gaap_LinesOfCreditFairValueDisclosure_7da0b388-198e-4d94-a0ad-f74bae1534e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableAssetsFairValueDisclosure_3144ac22-4b71-4038-9f52-fff8fe2aedcd" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableAssetsFairValueDisclosure"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableFairValueDisclosure_58f905f2-471a-481a-828b-cf4a153fe536" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableFairValueDisclosure"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAssetsFairValueDisclosure_3144ac22-4b71-4038-9f52-fff8fe2aedcd" xlink:to="loc_afrm_FinancingReceivableFairValueDisclosure_58f905f2-471a-481a-828b-cf4a153fe536" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_afrm_FinancingReceivableHeldForSaleFairValueDisclosure_23ba7bb5-2ae9-4dbc-a870-0f4dbf724a05" xlink:href="afrm-20251231.xsd#afrm_FinancingReceivableHeldForSaleFairValueDisclosure"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_afrm_FinancingReceivableAssetsFairValueDisclosure_3144ac22-4b71-4038-9f52-fff8fe2aedcd" xlink:to="loc_afrm_FinancingReceivableHeldForSaleFairValueDisclosure_23ba7bb5-2ae9-4dbc-a870-0f4dbf724a05" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/EquityIncentivePlansScheduleofComponentsandClassificationofStockBasedCompensationDetails" xlink:type="simple" xlink:href="afrm-20251231.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_89d14faa-c1ac-47ff-a23f-821d0c51f50a" 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_bbe080b4-3f8e-4ac7-84ee-b611d58e2f94" 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_89d14faa-c1ac-47ff-a23f-821d0c51f50a" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_bbe080b4-3f8e-4ac7-84ee-b611d58e2f94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_6515ad53-4c51-41a4-a6f3-b1c1365dde93" 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_89d14faa-c1ac-47ff-a23f-821d0c51f50a" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_6515ad53-4c51-41a4-a6f3-b1c1365dde93" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.affirm.com/role/NetIncomeLossperShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="simple" xlink:href="afrm-20251231.xsd#NetIncomeLossperShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetIncomeLossPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.affirm.com/role/NetIncomeLossperShareAttributabletoCommonStockholdersScheduleofBasicandDilutedNetIncomeLossPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_abb7da36-49eb-4053-bbe4-3d7b574372d1" 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_WeightedAverageNumberOfSharesOutstandingBasic_cd970c02-b987-476b-bca3-02a5d166ffb2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_abb7da36-49eb-4053-bbe4-3d7b574372d1" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_cd970c02-b987-476b-bca3-02a5d166ffb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_d37f561e-284e-4a2a-a8b2-8ff79888d913" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_abb7da36-49eb-4053-bbe4-3d7b574372d1" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_d37f561e-284e-4a2a-a8b2-8ff79888d913" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>