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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019cb55e-022f-77a4-9ffc-e0b41802b263,g:65ca4704-2dd1-44c9-b2f0-88fbc239d2a2-->
<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:arcroleRef arcroleURI="https://xbrl.org/2023/arcrole/summation-item" xlink:type="simple" xlink:href="https://www.xbrl.org/2023/calculation-1.1.xsd#summation-item"/>
  <link:roleRef roleURI="http://fastly.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="simple" xlink:href="fsly-20260331.xsd#CONDENSEDCONSOLIDATEDBALANCESHEETS"/>
  <link:calculationLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cb55e-0360-7d3c-8bc7-3673a33c46fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cb55e-0360-77f9-a79f-f4f8f96404d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb55e-0360-7d3c-8bc7-3673a33c46fe" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cb55e-0360-77f9-a79f-f4f8f96404d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_019cb55e-0360-7180-a16d-7905bf8c8837" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb55e-0360-7d3c-8bc7-3673a33c46fe" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_019cb55e-0360-7180-a16d-7905bf8c8837" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cb55e-0360-720d-92c3-6d6f96ca6d66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb55e-0360-7d3c-8bc7-3673a33c46fe" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cb55e-0360-720d-92c3-6d6f96ca6d66" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019cb55e-0360-7fbc-b4c0-b7dbc9763073" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019cb55e-0360-7d3c-8bc7-3673a33c46fe" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019cb55e-0360-7fbc-b4c0-b7dbc9763073" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" 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_OperatingLeaseRightOfUseAsset_019cb55e-0360-7ddd-ad67-1907d3f9aa96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019cb55e-0360-7ddd-ad67-1907d3f9aa96" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019cb55e-0360-784e-b27b-73b2bb05da74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" xlink:to="loc_us-gaap_AssetsCurrent_019cb55e-0360-784e-b27b-73b2bb05da74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019cb55e-0360-736b-bed3-0f1af1bdd6e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019cb55e-0360-736b-bed3-0f1af1bdd6e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cb55e-0360-7620-af35-2d6563271faa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019cb55e-0360-7620-af35-2d6563271faa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019cb55e-0360-7923-aec0-e7050834f69c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019cb55e-0360-7923-aec0-e7050834f69c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019cb55e-0360-7e2d-b682-f964f125d477" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019cb55e-0360-7546-9349-7615252c2358" xlink:to="loc_us-gaap_Goodwill_019cb55e-0360-7e2d-b682-f964f125d477" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb55e-0360-7d1a-95c5-6c4d90031824" 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_019cb55e-0360-7a28-bf06-e3b57c458fa7" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb55e-0360-7d1a-95c5-6c4d90031824" xlink:to="loc_us-gaap_CommonStockValue_019cb55e-0360-7a28-bf06-e3b57c458fa7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019cb55e-0360-7ca6-9561-6291e2c73777" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb55e-0360-7d1a-95c5-6c4d90031824" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019cb55e-0360-7ca6-9561-6291e2c73777" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cb55e-0360-7d1e-979c-5ae10e24f025" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb55e-0360-7d1a-95c5-6c4d90031824" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019cb55e-0360-7d1e-979c-5ae10e24f025" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cb55e-0360-7041-82a1-8b6034f66f87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019cb55e-0360-7d1a-95c5-6c4d90031824" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019cb55e-0360-7041-82a1-8b6034f66f87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019cb55e-0360-74b2-87e3-f850755530e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:to="loc_us-gaap_AccountsPayableCurrent_019cb55e-0360-74b2-87e3-f850755530e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0360-73b4-b17d-3c61e22595e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0360-73b4-b17d-3c61e22595e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtCurrent_019cb55e-0360-7410-a702-a7c3b0e61526" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:to="loc_us-gaap_LongTermDebtCurrent_019cb55e-0360-7410-a702-a7c3b0e61526" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019cb55e-0360-7772-9e6b-95bc431e2804" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019cb55e-0360-7772-9e6b-95bc431e2804" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019cb55e-0360-7f63-8193-d9be5b3b9214" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019cb55e-0360-7f63-8193-d9be5b3b9214" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019cfc05-1629-7c56-ad99-e80e703bb799" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7048-b567-5c07fa108b72" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_019cfc05-1629-7c56-ad99-e80e703bb799" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb55e-0360-7507-bea0-5fb38ad79a23" 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_019cb55e-0360-7bca-b19c-e24c6957cdf9" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb55e-0360-7507-bea0-5fb38ad79a23" xlink:to="loc_us-gaap_Liabilities_019cb55e-0360-7bca-b19c-e24c6957cdf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019cb55e-0360-79ad-98fc-b9159cfb5cf1" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb55e-0360-7507-bea0-5fb38ad79a23" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019cb55e-0360-79ad-98fc-b9159cfb5cf1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019cb55e-0360-7982-919c-fd0b05ddfebd" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019cb55e-0360-7507-bea0-5fb38ad79a23" xlink:to="loc_us-gaap_StockholdersEquity_019cb55e-0360-7982-919c-fd0b05ddfebd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019cb55e-0360-700e-8df9-7824d5903ad8" 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_OperatingLeaseLiabilityNoncurrent_019cb55e-0360-7295-b881-0dbd0f694bce" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb55e-0360-700e-8df9-7824d5903ad8" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019cb55e-0360-7295-b881-0dbd0f694bce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7da9-a4f8-8ebd057adab9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb55e-0360-700e-8df9-7824d5903ad8" xlink:to="loc_us-gaap_LiabilitiesCurrent_019cb55e-0360-7da9-a4f8-8ebd057adab9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019cb55e-0360-7c41-b8cb-d026369e16d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb55e-0360-700e-8df9-7824d5903ad8" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019cb55e-0360-7c41-b8cb-d026369e16d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_019cb55e-0360-7902-b367-bc48b23c80a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019cb55e-0360-700e-8df9-7824d5903ad8" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_019cb55e-0360-7902-b367-bc48b23c80a0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="fsly-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019cb55e-0360-7237-9e63-c2cf9d9e2405" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019cb55e-0360-7bfe-85f4-179d13a0eadc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019cb55e-0360-7237-9e63-c2cf9d9e2405" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019cb55e-0360-7bfe-85f4-179d13a0eadc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfRevenue_019cb55e-0360-77fd-8eb2-db2d5b336fe3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfRevenue"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019cb55e-0360-7237-9e63-c2cf9d9e2405" xlink:to="loc_us-gaap_CostOfRevenue_019cb55e-0360-77fd-8eb2-db2d5b336fe3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019cb55e-0360-76d1-902a-fb0cdfd4ce8d" 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_GrossProfit_019cb55e-0360-767f-8132-ca41c2b905a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019cb55e-0360-76d1-902a-fb0cdfd4ce8d" xlink:to="loc_us-gaap_GrossProfit_019cb55e-0360-767f-8132-ca41c2b905a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019cb55e-0360-756d-b06c-31ba9fa5da98" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019cb55e-0360-76d1-902a-fb0cdfd4ce8d" xlink:to="loc_us-gaap_OperatingExpenses_019cb55e-0360-756d-b06c-31ba9fa5da98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019cb55e-0360-72c4-ae13-6d3b45cbb030" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_019cb55e-0360-7a74-9642-982ce359cd0c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb55e-0360-72c4-ae13-6d3b45cbb030" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_019cb55e-0360-7a74-9642-982ce359cd0c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingAndMarketingExpense_019cb55e-0360-7563-a686-f3cab63d7e15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingAndMarketingExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb55e-0360-72c4-ae13-6d3b45cbb030" xlink:to="loc_us-gaap_SellingAndMarketingExpense_019cb55e-0360-7563-a686-f3cab63d7e15" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019cb55e-0360-74aa-96af-33c09518193f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_019cb55e-0360-72c4-ae13-6d3b45cbb030" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019cb55e-0360-74aa-96af-33c09518193f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb55e-0360-7444-89e2-21f82b17e2e9" 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_019cb55e-0360-78e4-8ec4-8f23abf34d64" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb55e-0360-7444-89e2-21f82b17e2e9" xlink:to="loc_us-gaap_OperatingIncomeLoss_019cb55e-0360-78e4-8ec4-8f23abf34d64" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeInterest_019cb55e-0360-7995-bce7-e352bf8ae0b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentIncomeInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb55e-0360-7444-89e2-21f82b17e2e9" xlink:to="loc_us-gaap_InvestmentIncomeInterest_019cb55e-0360-7995-bce7-e352bf8ae0b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019cb55e-0360-74cd-9a6e-9c152d328bb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb55e-0360-7444-89e2-21f82b17e2e9" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019cb55e-0360-74cd-9a6e-9c152d328bb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019cb55e-0360-7cb2-b17f-b35d3baaf0ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb55e-0360-7444-89e2-21f82b17e2e9" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019cb55e-0360-7cb2-b17f-b35d3baaf0ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019cb55e-0360-703d-b5fb-7e7ad96062df" 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_019cb55e-0360-7fc8-b744-17e8956d60f7" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019cb55e-0360-703d-b5fb-7e7ad96062df" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019cb55e-0360-7fc8-b744-17e8956d60f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019cb55e-0360-75fc-990b-a4136d05afb6" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019cb55e-0360-703d-b5fb-7e7ad96062df" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019cb55e-0360-75fc-990b-a4136d05afb6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="simple" xlink:href="fsly-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS"/>
  <link:calculationLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVELOSS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb55e-0360-7d0c-8a9d-b9c78ed98d9b" 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_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019cb55e-0360-7bf8-9e63-b4b4e3bf57ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb55e-0360-7d0c-8a9d-b9c78ed98d9b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeAvailableforsaleSecuritiesAdjustmentNetOfTaxPortionAttributableToParent_019cb55e-0360-7bf8-9e63-b4b4e3bf57ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019cb55e-0360-77bf-8969-efc47e0d27f0" 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_019cb55e-0360-786a-8206-07b1c1b24f4b" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019cb55e-0360-77bf-8969-efc47e0d27f0" xlink:to="loc_us-gaap_NetIncomeLoss_019cb55e-0360-786a-8206-07b1c1b24f4b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb55e-0360-7d41-a8e2-bbd4e5dcc0a1" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019cb55e-0360-77bf-8969-efc47e0d27f0" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019cb55e-0360-7d41-a8e2-bbd4e5dcc0a1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="fsly-20260331.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://fastly.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7a63-a20d-e07ad75735a0" 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_RepaymentsOfConvertibleDebt_019cb55e-0360-71a2-98e2-6ad28a878a07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfConvertibleDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7a63-a20d-e07ad75735a0" xlink:to="loc_us-gaap_RepaymentsOfConvertibleDebt_019cb55e-0360-71a2-98e2-6ad28a878a07" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019cb55e-0361-79d6-9e83-511089caa0b1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7a63-a20d-e07ad75735a0" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019cb55e-0361-79d6-9e83-511089caa0b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeasePrincipalPayments_019cb55e-0361-7702-87be-2db218d03c20" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeasePrincipalPayments"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7a63-a20d-e07ad75735a0" xlink:to="loc_us-gaap_FinanceLeasePrincipalPayments_019cb55e-0361-7702-87be-2db218d03c20" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_019db67b-8f6f-7e07-b975-89eb1ef8aad1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7a63-a20d-e07ad75735a0" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_019db67b-8f6f-7e07-b975-89eb1ef8aad1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockPlans_019db67c-5352-745e-94e5-cb0ae1ccb433" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromStockPlans"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7a63-a20d-e07ad75735a0" xlink:to="loc_us-gaap_ProceedsFromStockPlans_019db67c-5352-745e-94e5-cb0ae1ccb433" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb55e-0360-7f31-8ba3-ac0352a48c67" 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_019cb55e-0360-772c-8883-a1bb5372bab3" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb55e-0360-7f31-8ba3-ac0352a48c67" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0360-772c-8883-a1bb5372bab3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-74a0-91bd-41e796141d69" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb55e-0360-7f31-8ba3-ac0352a48c67" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-74a0-91bd-41e796141d69" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7717-a56f-f865ff236466" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb55e-0360-7f31-8ba3-ac0352a48c67" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019cb55e-0360-7717-a56f-f865ff236466" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cb55e-0360-78cb-a96e-8e8701e3a1ce" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019cb55e-0360-7f31-8ba3-ac0352a48c67" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019cb55e-0360-78cb-a96e-8e8701e3a1ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" 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_019cb55e-0361-7c40-b599-8fef796ecf17" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_NetIncomeLoss_019cb55e-0361-7c40-b599-8fef796ecf17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationNonproduction_019cb55e-0361-70c7-9937-2fddd3aa6b34" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationNonproduction"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_DepreciationNonproduction_019cb55e-0361-70c7-9937-2fddd3aa6b34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019cb55e-0361-763b-819d-d17659aaa682" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019cb55e-0361-763b-819d-d17659aaa682" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019cb55e-0361-7a3e-ba39-ccef10fd2247" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAssetAmortizationExpense_019cb55e-0361-7a3e-ba39-ccef10fd2247" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019cb55e-0361-73ff-a861-29203f680fdd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019cb55e-0361-73ff-a861-29203f680fdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostAmortization_019cb55e-0361-7509-a25e-caf54c0fb3fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostAmortization"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_CapitalizedContractCostAmortization_019cb55e-0361-7509-a25e-caf54c0fb3fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019cb55e-0361-7b78-8299-80e4be97093b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_ShareBasedCompensation_019cb55e-0361-7b78-8299-80e4be97093b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019cb55e-0361-7bc5-9596-fc0f14c4873f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019cb55e-0361-7bc5-9596-fc0f14c4873f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019cb55e-0361-7185-9ecf-fa0fd8422481" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019cb55e-0361-7185-9ecf-fa0fd8422481" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019cb55e-0361-76d1-b907-015cb256674d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_019cb55e-0361-76d1-b907-015cb256674d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019cb55e-0361-7bd0-a990-9639b6433e72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019cb55e-0361-7bd0-a990-9639b6433e72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoncashIncomeExpense_019cb55e-0361-7a3b-a4e2-9f4978eb5056" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoncashIncomeExpense"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_OtherNoncashIncomeExpense_019cb55e-0361-7a3b-a4e2-9f4978eb5056" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019cb55e-0361-7528-9904-a745b877d4a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_019cb55e-0361-7528-9904-a745b877d4a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019cb55e-0361-7bdb-941b-32b1a833b9dd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019cb55e-0361-7bdb-941b-32b1a833b9dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019cb55e-0361-7693-85e8-218741c2e95a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019cb55e-0361-7693-85e8-218741c2e95a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019cb55e-0361-7206-aa45-b68f3b866bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayable"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_019cb55e-0361-7206-aa45-b68f3b866bdd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019cb55e-0361-73ff-b548-5030965ff8a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019cb55e-0361-73ff-b548-5030965ff8a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_IncreaseDecreaseInOperatingLeaseLiabilities_019cb55e-0361-7f77-a1c5-beb863b27c1f" xlink:href="fsly-20260331.xsd#fsly_IncreaseDecreaseInOperatingLeaseLiabilities"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_fsly_IncreaseDecreaseInOperatingLeaseLiabilities_019cb55e-0361-7f77-a1c5-beb863b27c1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019cb55e-0361-7b43-b7ce-0aab4f707781" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities"/>
    <link:calculationArc order="19" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019cb55e-0361-7af5-8572-fabd8e9fd427" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_019cb55e-0361-7b43-b7ce-0aab4f707781" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-7ac5-87f1-0622efbf5289" 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_PaymentsToAcquireShortTermInvestments_019cb55e-0360-76dd-9019-cae51103a9c3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireShortTermInvestments"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-7ac5-87f1-0622efbf5289" xlink:to="loc_us-gaap_PaymentsToAcquireShortTermInvestments_019cb55e-0360-76dd-9019-cae51103a9c3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019cb55e-0360-75e6-9249-af442d9463fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-7ac5-87f1-0622efbf5289" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_019cb55e-0360-75e6-9249-af442d9463fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cb55e-0360-75aa-adb1-bbbb54294237" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-7ac5-87f1-0622efbf5289" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019cb55e-0360-75aa-adb1-bbbb54294237" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForSoftware_019cb55e-0360-793e-895c-7e15261fea74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForSoftware"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019cb55e-0360-7ac5-87f1-0622efbf5289" xlink:to="loc_us-gaap_PaymentsForSoftware_019cb55e-0360-793e-895c-7e15261fea74" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#InvestmentsandFairValueMeasurementsDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cfb75-8174-7c27-b090-d49715f0a76c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cfb75-8174-7fe5-b9d9-b9f850511708" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cfb75-8174-7c27-b090-d49715f0a76c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cfb75-8174-7fe5-b9d9-b9f850511708" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cfb75-8174-78c3-8cd6-97b6028abf3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cfb75-8174-7c27-b090-d49715f0a76c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cfb75-8174-78c3-8cd6-97b6028abf3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019cfb75-8174-7287-bda5-f94380b769b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cfb75-8174-7c27-b090-d49715f0a76c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019cfb75-8174-7287-bda5-f94380b769b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-738e-a87d-a50619e94a89" xlink:href="fsly-20260331.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cfb75-8174-75b0-9427-f2c13945ef9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-738e-a87d-a50619e94a89" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cfb75-8174-75b0-9427-f2c13945ef9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cfb75-8174-74a2-a3fc-2a6eac1417a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-738e-a87d-a50619e94a89" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019cfb75-8174-74a2-a3fc-2a6eac1417a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cfb75-8174-7d0f-a8b0-d41679252937" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cfb75-8174-79e5-aba7-167498b9961a" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019cfb75-8174-7d0f-a8b0-d41679252937" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cfb75-8174-79e5-aba7-167498b9961a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019cfb75-8174-717e-9e80-b92396521c13" xlink:href="fsly-20260331.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cfb75-8174-73b2-b859-a81e5077775e" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019cfb75-8174-717e-9e80-b92396521c13" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019cfb75-8174-73b2-b859-a81e5077775e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019cfb75-8174-75d9-9d3c-7902a47be3d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019cfb75-8174-717e-9e80-b92396521c13" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019cfb75-8174-75d9-9d3c-7902a47be3d9" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails_1" xlink:type="simple" xlink:href="fsly-20260331.xsd#InvestmentsandFairValueMeasurementsDetails_1"/>
  <link:calculationLink xlink:role="http://fastly.com/role/InvestmentsandFairValueMeasurementsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-7606-bc4f-0882e56e448c" xlink:href="fsly-20260331.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cfb75-8174-7cc2-bcec-3553cf32fd67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-7606-bc4f-0882e56e448c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_019cfb75-8174-7cc2-bcec-3553cf32fd67" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cfb75-8174-722a-bf7b-23301616bdb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-7606-bc4f-0882e56e448c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_019cfb75-8174-722a-bf7b-23301616bdb1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019cfb75-8174-70ec-83a5-5b7c67be2e66" xlink:href="fsly-20260331.xsd#fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleAmortizedCost_019cfb75-8174-7606-bc4f-0882e56e448c" xlink:to="loc_fsly_CashAndCashEquivalentAndDebtSecuritiesAvailableForSaleFairValue_019cfb75-8174-70ec-83a5-5b7c67be2e66" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationScheduleofPropertyandEquipmentNetDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#BalanceSheetInformationScheduleofPropertyandEquipmentNetDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/BalanceSheetInformationScheduleofPropertyandEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019cb55e-0361-77a9-83e0-1f17ec05a8a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019cb55e-0361-77f1-9310-b2bef54b1280" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019cb55e-0361-77a9-83e0-1f17ec05a8a6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetBeforeAccumulatedDepreciationAndAmortization_019cb55e-0361-77f1-9310-b2bef54b1280" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019cb55e-0361-7046-a3ef-accb7baf9324" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019cb55e-0361-77a9-83e0-1f17ec05a8a6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAccumulatedDepreciationAndAmortization_019cb55e-0361-7046-a3ef-accb7baf9324" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationScheduleofOtherAssetsDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#BalanceSheetInformationScheduleofOtherAssetsDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/BalanceSheetInformationScheduleofOtherAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019cb55e-0361-7a4a-abd9-df06b6cbf690" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_019cb55e-0361-7d49-908d-9e8ae797b4d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsMiscellaneousNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cb55e-0361-7a4a-abd9-df06b6cbf690" xlink:to="loc_us-gaap_OtherAssetsMiscellaneousNoncurrent_019cb55e-0361-7d49-908d-9e8ae797b4d1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalizedContractCostNetNoncurrent_019cb55e-0361-70c5-a65e-0a9a7ecb0860" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalizedContractCostNetNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherAssetsNoncurrent_019cb55e-0361-7a4a-abd9-df06b6cbf690" xlink:to="loc_us-gaap_CapitalizedContractCostNetNoncurrent_019cb55e-0361-70c5-a65e-0a9a7ecb0860" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationScheduleofPrepaidExpensesandOtherCurrentAssetsDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#BalanceSheetInformationScheduleofPrepaidExpensesandOtherCurrentAssetsDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/BalanceSheetInformationScheduleofPrepaidExpensesandOtherCurrentAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cfb70-07a7-7983-b254-bf604c316997" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseCurrent_019cfb70-07a7-7fc1-910d-e8f7c705c23f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cfb70-07a7-7983-b254-bf604c316997" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_019cfb70-07a7-7fc1-910d-e8f7c705c23f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019cfb70-07a7-7727-bfa5-ddbe7b5dd6de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019cfb70-07a7-7983-b254-bf604c316997" xlink:to="loc_us-gaap_OtherAssetsCurrent_019cfb70-07a7-7727-bfa5-ddbe7b5dd6de" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationScheduleofAccruedExpensesDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#BalanceSheetInformationScheduleofAccruedExpensesDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/BalanceSheetInformationScheduleofAccruedExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0361-7977-90dd-bc061602c9c5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_019cb55e-0361-7102-b922-4c19502d269c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0361-7977-90dd-bc061602c9c5" xlink:to="loc_us-gaap_AccrualForTaxesOtherThanIncomeTaxesCurrent_019cb55e-0361-7102-b922-4c19502d269c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cb55e-0361-7000-990a-649dc648da3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0361-7977-90dd-bc061602c9c5" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019cb55e-0361-7000-990a-649dc648da3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_AccruedColocationAndBandwidthCosts_019cb55e-0361-7302-9a73-ad77d9770256" xlink:href="fsly-20260331.xsd#fsly_AccruedColocationAndBandwidthCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0361-7977-90dd-bc061602c9c5" xlink:to="loc_fsly_AccruedColocationAndBandwidthCosts_019cb55e-0361-7302-9a73-ad77d9770256" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019cb55e-0361-75ee-b534-540b727a8541" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019cb55e-0361-7977-90dd-bc061602c9c5" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019cb55e-0361-75ee-b534-540b727a8541" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/BalanceSheetInformationScheduleofOtherCurrentLiabilitiesDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#BalanceSheetInformationScheduleofOtherCurrentLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/BalanceSheetInformationScheduleofOtherCurrentLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_019cb55e-0361-77c6-b144-653cf9824a64" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_ContractWithCustomerCustomerDepositsCurrent_019cb55e-0361-7f4d-93ce-8f24aa94b455" xlink:href="fsly-20260331.xsd#fsly_ContractWithCustomerCustomerDepositsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019cb55e-0361-77c6-b144-653cf9824a64" xlink:to="loc_fsly_ContractWithCustomerCustomerDepositsCurrent_019cb55e-0361-7f4d-93ce-8f24aa94b455" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_AccruedComputerAndNetworkingEquipment_019cb55e-0361-7857-ba8b-89a9ee50f92a" xlink:href="fsly-20260331.xsd#fsly_AccruedComputerAndNetworkingEquipment"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019cb55e-0361-77c6-b144-653cf9824a64" xlink:to="loc_fsly_AccruedComputerAndNetworkingEquipment_019cb55e-0361-7857-ba8b-89a9ee50f92a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSundryLiabilitiesCurrent_019cb55e-0361-7495-bf4b-fa9dfdb41cba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherSundryLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesCurrent_019cb55e-0361-77c6-b144-653cf9824a64" xlink:to="loc_us-gaap_OtherSundryLiabilitiesCurrent_019cb55e-0361-7495-bf4b-fa9dfdb41cba" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/LeasesScheduleofComponentsofLeaseCostDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#LeasesScheduleofComponentsofLeaseCostDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/LeasesScheduleofComponentsofLeaseCostDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fsly_OperatingVariableAndShortTermLeaseCosts_019cb55e-0361-7122-93f9-51feceda75ea" xlink:href="fsly-20260331.xsd#fsly_OperatingVariableAndShortTermLeaseCosts"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseCost_019cb55e-0361-7afe-bac0-b27eb0dee441" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_OperatingVariableAndShortTermLeaseCosts_019cb55e-0361-7122-93f9-51feceda75ea" xlink:to="loc_us-gaap_OperatingLeaseCost_019cb55e-0361-7afe-bac0-b27eb0dee441" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableLeaseCost_019cb55e-0361-7a36-8f9d-ae0324998c58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableLeaseCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_fsly_OperatingVariableAndShortTermLeaseCosts_019cb55e-0361-7122-93f9-51feceda75ea" xlink:to="loc_us-gaap_VariableLeaseCost_019cb55e-0361-7a36-8f9d-ae0324998c58" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/LeasesScheduleofFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#LeasesScheduleofFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/LeasesScheduleofFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" 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_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019cb55e-0361-79e6-a5e4-530a35480b38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019cb55e-0361-79e6-a5e4-530a35480b38" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019cb55e-0361-7d9e-a195-d783448a8fb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019cb55e-0361-7d9e-a195-d783448a8fb8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019cb55e-0361-7abc-bc3d-1523231472cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019cb55e-0361-7abc-bc3d-1523231472cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019cb55e-0361-7ba0-a8db-8bc437cd0412" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019cb55e-0361-7ba0-a8db-8bc437cd0412" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019cb55e-0361-704d-8690-146cbaae99bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019cb55e-0361-704d-8690-146cbaae99bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019cb55e-0361-754a-ada3-67dc02dced0f" xlink:href="fsly-20260331.xsd#fsly_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7ae8-9fac-e773b9ee44ea" xlink:to="loc_fsly_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_019cb55e-0361-754a-ada3-67dc02dced0f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/LeasesScheduleofFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails_1" xlink:type="simple" xlink:href="fsly-20260331.xsd#LeasesScheduleofFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails_1"/>
  <link:calculationLink xlink:role="http://fastly.com/role/LeasesScheduleofFutureMinimumLeasePaymentsUnderNonCancellableLeasesDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7f05-9e3c-e91db80964c3" 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_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019cb55e-0361-7ba6-95cb-7d95a9a25b13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7f05-9e3c-e91db80964c3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019cb55e-0361-7ba6-95cb-7d95a9a25b13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019cb55e-0361-7cfc-ac0f-ddff5a66dad2" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019cb55e-0361-7f05-9e3c-e91db80964c3" xlink:to="loc_us-gaap_OperatingLeaseLiability_019cb55e-0361-7cfc-ac0f-ddff5a66dad2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/GoodwillandIntangibleAssetsScheduleofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-7ffb-b7d0-6654480cacf5" 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_019cb55e-0361-7b80-8f40-46b5bc92d9ef" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-7ffb-b7d0-6654480cacf5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019cb55e-0361-7b80-8f40-46b5bc92d9ef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cb55e-0361-784e-9f28-84ca6fbb446b" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-7ffb-b7d0-6654480cacf5" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019cb55e-0361-784e-9f28-84ca6fbb446b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/GoodwillandIntangibleAssetsScheduleofExpectedAmortizationExpenseofIntangibleAssetsDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#GoodwillandIntangibleAssetsScheduleofExpectedAmortizationExpenseofIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/GoodwillandIntangibleAssetsScheduleofExpectedAmortizationExpenseofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" 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_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019cb55e-0361-7173-ad54-7826662b43cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear_019cb55e-0361-7173-ad54-7826662b43cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019cb55e-0361-7c72-a17b-6859c89cc167" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseNextTwelveMonths_019cb55e-0361-7c72-a17b-6859c89cc167" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019cb55e-0361-7282-b90e-8cc9eae62975" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_019cb55e-0361-7282-b90e-8cc9eae62975" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019cb55e-0361-74d5-988e-6ff8b24e179e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_019cb55e-0361-74d5-988e-6ff8b24e179e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019cb55e-0361-7bcd-b5dc-68d83b2fbf78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_019cb55e-0361-7bcd-b5dc-68d83b2fbf78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_019cb55e-0361-7225-bdff-f6fbe66b618f" xlink:href="fsly-20260331.xsd#fsly_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019cb55e-0361-704e-89f3-c80d4609124b" xlink:to="loc_fsly_FiniteLivedIntangibleAssetExpectedAmortizationAfterYearFour_019cb55e-0361-7225-bdff-f6fbe66b618f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/DebtInstrumentsScheduleofCarryingValueofNotesDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#DebtInstrumentsScheduleofCarryingValueofNotesDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/DebtInstrumentsScheduleofCarryingValueofNotesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019cfb90-5931-7a53-86e6-a1bd558ba092" 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_019cfb90-5931-7ef9-9a29-a49aa231641c" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019cfb90-5931-7a53-86e6-a1bd558ba092" xlink:to="loc_us-gaap_DebtInstrumentCarryingAmount_019cfb90-5931-7ef9-9a29-a49aa231641c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019cfb90-5931-7b00-bbcc-682b1d56b496" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscount"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_019cfb90-5931-7a53-86e6-a1bd558ba092" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscount_019cfb90-5931-7b00-bbcc-682b1d56b496" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://fastly.com/role/CommitmentsandContingenciesScheduleofPurchaseCommitmentsDetails" xlink:type="simple" xlink:href="fsly-20260331.xsd#CommitmentsandContingenciesScheduleofPurchaseCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://fastly.com/role/CommitmentsandContingenciesScheduleofPurchaseCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_fsly_PurchaseObligationToBePaidAfterYearFour_019cb55e-0361-7b7f-bc86-ef33b6e83d3c" xlink:href="fsly-20260331.xsd#fsly_PurchaseObligationToBePaidAfterYearFour"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:to="loc_fsly_PurchaseObligationToBePaidAfterYearFour_019cb55e-0361-7b7f-bc86-ef33b6e83d3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInFourthYear_019cb55e-0361-7070-8416-a0e801152936" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInFourthYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:to="loc_us-gaap_PurchaseObligationDueInFourthYear_019cb55e-0361-7070-8416-a0e801152936" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_019cb55e-0361-7df9-8d51-7b7ec670816a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:to="loc_us-gaap_PurchaseObligationFutureMinimumPaymentsRemainderOfFiscalYear_019cb55e-0361-7df9-8d51-7b7ec670816a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInThirdYear_019cb55e-0361-75d2-8afa-e2d769723e63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInThirdYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:to="loc_us-gaap_PurchaseObligationDueInThirdYear_019cb55e-0361-75d2-8afa-e2d769723e63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInSecondYear_019cb55e-0361-7121-8af9-af7da65362ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInSecondYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:to="loc_us-gaap_PurchaseObligationDueInSecondYear_019cb55e-0361-7121-8af9-af7da65362ca" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_019cb55e-0361-7607-8c41-b435dae97757" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_PurchaseObligation_019cb55e-0361-7ad2-8c68-4015e5b6d1e4" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_019cb55e-0361-7607-8c41-b435dae97757" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
