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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019ca091-8509-7033-ac72-6caf24ed7e98,g:49aa57d8-843a-42f0-b323-95a00ac8fc9c-->
<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://quantaservices.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="pwr-20260331.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ca091-8713-752d-a6f7-6a5b81c3a668" 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_019ca091-8713-7972-a7b3-676ee585a1f7" 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_019ca091-8713-752d-a6f7-6a5b81c3a668" xlink:to="loc_us-gaap_CommonStockValue_019ca091-8713-7972-a7b3-676ee585a1f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019ca091-8713-736f-831e-825224d947d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ca091-8713-752d-a6f7-6a5b81c3a668" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019ca091-8713-736f-831e-825224d947d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ca091-8713-74cc-b51b-d68685880bec" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ca091-8713-752d-a6f7-6a5b81c3a668" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019ca091-8713-74cc-b51b-d68685880bec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ca091-8713-74f6-99be-ef1fdb51fa63" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ca091-8713-752d-a6f7-6a5b81c3a668" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019ca091-8713-74f6-99be-ef1fdb51fa63" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonValue_019ca091-8713-7c77-8d02-7d9604e94246" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonValue"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019ca091-8713-752d-a6f7-6a5b81c3a668" xlink:to="loc_us-gaap_TreasuryStockCommonValue_019ca091-8713-7c77-8d02-7d9604e94246" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019ca091-8713-7a51-ac29-74c60bc53e17" 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_019ca091-8713-77aa-93ad-52e084f8d3ec" 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_019ca091-8713-7a51-ac29-74c60bc53e17" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ca091-8713-77aa-93ad-52e084f8d3ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019ca091-8713-7263-b527-b2a998070f7e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019ca091-8713-7a51-ac29-74c60bc53e17" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019ca091-8713-7263-b527-b2a998070f7e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNetCurrent_019ca091-8713-7388-9c91-442964440d3c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019ca091-8713-7a51-ac29-74c60bc53e17" xlink:to="loc_us-gaap_ContractWithCustomerAssetNetCurrent_019ca091-8713-7388-9c91-442964440d3c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019ca091-8713-72cf-9b5c-da4db3637465" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019ca091-8713-7a51-ac29-74c60bc53e17" xlink:to="loc_us-gaap_InventoryNet_019ca091-8713-72cf-9b5c-da4db3637465" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019ca091-8713-72fc-b0de-cf5287e12d83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019ca091-8713-7a51-ac29-74c60bc53e17" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019ca091-8713-72fc-b0de-cf5287e12d83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-73fa-b4f3-a6e7371373a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019ca091-8713-76ad-a8a0-4b27441f8e8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-73fa-b4f3-a6e7371373a9" xlink:to="loc_us-gaap_StockholdersEquity_019ca091-8713-76ad-a8a0-4b27441f8e8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_019ca091-8713-7ba5-8e1d-b4cb9d90980a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-73fa-b4f3-a6e7371373a9" xlink:to="loc_us-gaap_MinorityInterest_019ca091-8713-7ba5-8e1d-b4cb9d90980a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019ca091-8713-721e-9909-649c177adfa2" 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_AccountsPayableAndAccruedLiabilitiesCurrent_019ca091-8713-732d-a58b-5eedaa3f57b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019ca091-8713-721e-9909-649c177adfa2" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019ca091-8713-732d-a58b-5eedaa3f57b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019ca091-8713-71bc-b085-ce109ed51474" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019ca091-8713-721e-9909-649c177adfa2" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityCurrent_019ca091-8713-71bc-b085-ce109ed51474" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019ca091-8713-7fa2-8c3f-b2e607b642c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019ca091-8713-721e-9909-649c177adfa2" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019ca091-8713-7fa2-8c3f-b2e607b642c1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_019ca091-8713-7447-b24a-21768af743d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019ca091-8713-721e-9909-649c177adfa2" xlink:to="loc_us-gaap_DebtCurrent_019ca091-8713-7447-b24a-21768af743d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019ca091-8713-7c09-aca5-043b3dbe1303" 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_LiabilitiesCurrent_019ca091-8713-7729-95d6-5a9cc1feb4bd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ca091-8713-7c09-aca5-043b3dbe1303" xlink:to="loc_us-gaap_LiabilitiesCurrent_019ca091-8713-7729-95d6-5a9cc1feb4bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019ca091-8713-79f7-abf2-d19314fbe2d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ca091-8713-7c09-aca5-043b3dbe1303" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019ca091-8713-79f7-abf2-d19314fbe2d6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019ca091-8713-7ec9-ba3b-46c8a911a0a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ca091-8713-7c09-aca5-043b3dbe1303" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019ca091-8713-7ec9-ba3b-46c8a911a0a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019ca091-8713-7188-ba95-4115a7914622" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ca091-8713-7c09-aca5-043b3dbe1303" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019ca091-8713-7188-ba95-4115a7914622" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019ca091-8713-761d-8a18-a537d3f41762" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019ca091-8713-7c09-aca5-043b3dbe1303" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019ca091-8713-761d-8a18-a537d3f41762" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ca091-8713-7b4b-b0ab-1e77b4f39371" 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_019ca091-8713-7de2-b1f2-123dc587451b" 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_019ca091-8713-7b4b-b0ab-1e77b4f39371" xlink:to="loc_us-gaap_Liabilities_019ca091-8713-7de2-b1f2-123dc587451b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_019ca091-8713-7597-bd98-e452c3c1c757" 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_019ca091-8713-7b4b-b0ab-1e77b4f39371" xlink:to="loc_us-gaap_CommitmentsAndContingencies_019ca091-8713-7597-bd98-e452c3c1c757" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-705a-8de3-5d64f5c0828d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019ca091-8713-7b4b-b0ab-1e77b4f39371" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-705a-8de3-5d64f5c0828d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019ca091-8713-78d2-a37d-7f5bff4448b4" 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_AssetsCurrent_019ca091-8713-7c8a-bde9-6bf676b3f430" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ca091-8713-78d2-a37d-7f5bff4448b4" xlink:to="loc_us-gaap_AssetsCurrent_019ca091-8713-7c8a-bde9-6bf676b3f430" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019ca091-8713-79b4-b389-d3c2711d5a76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ca091-8713-78d2-a37d-7f5bff4448b4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAndFinanceLeaseRightOfUseAssetAfterAccumulatedDepreciationAndAmortization_019ca091-8713-79b4-b389-d3c2711d5a76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019ca091-8713-7e9f-a6a7-343bcefd0f4f" 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_019ca091-8713-78d2-a37d-7f5bff4448b4" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019ca091-8713-7e9f-a6a7-343bcefd0f4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019ca091-8713-7e37-b07d-fb585d8bd46d" 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_019ca091-8713-78d2-a37d-7f5bff4448b4" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019ca091-8713-7e37-b07d-fb585d8bd46d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019ca091-8713-7b61-883e-39f7ca376117" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ca091-8713-78d2-a37d-7f5bff4448b4" xlink:to="loc_us-gaap_Goodwill_019ca091-8713-7b61-883e-39f7ca376117" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019ca091-8713-7075-a31e-05bccdceb997" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019ca091-8713-78d2-a37d-7f5bff4448b4" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019ca091-8713-7075-a31e-05bccdceb997" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="pwr-20260331.xsd#CondensedConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7b76-ba36-0233448e9d85" 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_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019ca091-8713-727e-b046-1cf8d8e175be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7b76-ba36-0233448e9d85" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_019ca091-8713-727e-b046-1cf8d8e175be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019ca091-8713-7161-b3a0-f2b5ae27fb1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7b76-ba36-0233448e9d85" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019ca091-8713-7161-b3a0-f2b5ae27fb1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates_019ca091-8713-7661-911e-d8bdbcb03bad" xlink:href="pwr-20260331.xsd#pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7b76-ba36-0233448e9d85" xlink:to="loc_pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates_019ca091-8713-7661-911e-d8bdbcb03bad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019ca091-8713-75f6-92cc-9c4772d9f68a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7b76-ba36-0233448e9d85" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019ca091-8713-75f6-92cc-9c4772d9f68a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019ca091-8713-71ca-8579-8c71ed90f2a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7b76-ba36-0233448e9d85" xlink:to="loc_us-gaap_GrossProfit_019ca091-8713-71ca-8579-8c71ed90f2a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019ca091-8713-70c0-ac0c-2186806547e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ca091-8713-7ed1-ae82-9745f8581d19" 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_ProfitLoss_019ca091-8713-70c0-ac0c-2186806547e5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ca091-8713-7ed1-ae82-9745f8581d19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019ca091-8713-7247-998c-a6c441a748ed" 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_ProfitLoss_019ca091-8713-70c0-ac0c-2186806547e5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019ca091-8713-7247-998c-a6c441a748ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019ca091-8713-7114-ba7b-47dd3786a593" 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_ProfitLoss_019ca091-8713-75b6-8ec9-b58478cbf4f7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ca091-8713-7114-ba7b-47dd3786a593" xlink:to="loc_us-gaap_ProfitLoss_019ca091-8713-75b6-8ec9-b58478cbf4f7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019ca091-8713-7579-a00d-4852004393a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019ca091-8713-7114-ba7b-47dd3786a593" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_019ca091-8713-7579-a00d-4852004393a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ca091-8713-735c-9115-4001a8a4be90" 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_019ca091-8713-7410-8928-9fa8a37f432d" 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_019ca091-8713-735c-9115-4001a8a4be90" xlink:to="loc_us-gaap_OperatingIncomeLoss_019ca091-8713-7410-8928-9fa8a37f432d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019ca091-8713-7188-b03c-6aaf2cf025b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ca091-8713-735c-9115-4001a8a4be90" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019ca091-8713-7188-b03c-6aaf2cf025b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeInterestEarningAsset_019ca091-8713-71c3-9147-550f50b8c595" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeInterestEarningAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019ca091-8713-735c-9115-4001a8a4be90" xlink:to="loc_us-gaap_InterestIncomeInterestEarningAsset_019ca091-8713-71c3-9147-550f50b8c595" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019ca091-8713-7fb6-9d36-578851b6a038" 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_019ca091-8713-735c-9115-4001a8a4be90" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019ca091-8713-7fb6-9d36-578851b6a038" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019ca091-8713-7a40-ba81-ebc40271ead2" 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_RevenueFromContractWithCustomerExcludingAssessedTax_019ca091-8713-7ab1-b056-ebef898e19e3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019ca091-8713-7a40-ba81-ebc40271ead2" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ca091-8713-7ab1-b056-ebef898e19e3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019ca091-8713-7b6c-a887-4a83ea8491a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019ca091-8713-7a40-ba81-ebc40271ead2" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019ca091-8713-7b6c-a887-4a83ea8491a6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="simple" xlink:href="pwr-20260331.xsd#CondensedConsolidatedStatementsofComprehensiveIncomeLoss"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/CondensedConsolidatedStatementsofComprehensiveIncomeLoss" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019ca091-8713-7726-87b0-fb7ec78ef930" 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_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-7074-b283-24e77ad8c1ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019ca091-8713-7726-87b0-fb7ec78ef930" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-7074-b283-24e77ad8c1ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019ca091-8713-764a-8f1a-9fe510a169bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019ca091-8713-7726-87b0-fb7ec78ef930" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTaxAttributableToNoncontrollingInterest_019ca091-8713-764a-8f1a-9fe510a169bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ca091-8713-7371-9c74-006e6ea857e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_019ca091-8713-707e-8b01-d71c56bd4980" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ca091-8713-7371-9c74-006e6ea857e2" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationGainLossArisingDuringPeriodNetOfTax_019ca091-8713-707e-8b01-d71c56bd4980" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_OtherComprehensiveIncomeLossOtherNetOfTax_019ca091-8713-74ce-8375-b2a68b68ad0e" xlink:href="pwr-20260331.xsd#pwr_OtherComprehensiveIncomeLossOtherNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ca091-8713-7371-9c74-006e6ea857e2" xlink:to="loc_pwr_OtherComprehensiveIncomeLossOtherNetOfTax_019ca091-8713-74ce-8375-b2a68b68ad0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-7f0c-be19-89be909193fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_019ca091-8713-7457-9d04-44159903d653" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-7f0c-be19-89be909193fe" xlink:to="loc_us-gaap_ProfitLoss_019ca091-8713-7457-9d04-44159903d653" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ca091-8713-7f11-900d-efb2f571d335" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_019ca091-8713-7f0c-be19-89be909193fe" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019ca091-8713-7f11-900d-efb2f571d335" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="pwr-20260331.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" 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_ProceedsFromLongTermLinesOfCredit_019ca091-8713-7667-9a63-20e621b79df0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLongTermLinesOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" xlink:to="loc_us-gaap_ProceedsFromLongTermLinesOfCredit_019ca091-8713-7667-9a63-20e621b79df0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019ca091-8713-75e0-af36-00d93450b690" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermLinesOfCredit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" xlink:to="loc_us-gaap_RepaymentsOfLongTermLinesOfCredit_019ca091-8713-75e0-af36-00d93450b690" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019ca091-8713-7130-b17b-2d51039eadf2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019ca091-8713-7130-b17b-2d51039eadf2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividendsCommonStock_019ca091-8713-7fcc-86ac-362c3f99a2e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividendsCommonStock"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" xlink:to="loc_us-gaap_PaymentsOfDividendsCommonStock_019ca091-8713-7fcc-86ac-362c3f99a2e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019ca091-8713-722d-91a7-32e608441aed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019ca091-8713-722d-91a7-32e608441aed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019ca091-8713-75d6-9055-f8a372315f75" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-711e-bac0-72ea214fe6be" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019ca091-8713-75d6-9055-f8a372315f75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7099-aa3b-709ae558dc9c" 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_PaymentsToAcquirePropertyPlantAndEquipment_019ca091-8713-7d5f-aaa2-e78a32543290" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7099-aa3b-709ae558dc9c" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_019ca091-8713-7d5f-aaa2-e78a32543290" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_ProceedsFromSaleOfPropertyPlantAndEquipmentAndInsuranceSettlement_019ca091-8713-7e5d-858b-ee7decf71667" xlink:href="pwr-20260331.xsd#pwr_ProceedsFromSaleOfPropertyPlantAndEquipmentAndInsuranceSettlement"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7099-aa3b-709ae558dc9c" xlink:to="loc_pwr_ProceedsFromSaleOfPropertyPlantAndEquipmentAndInsuranceSettlement_019ca091-8713-7e5d-858b-ee7decf71667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019ca091-8713-7b9f-8d31-b940ad4cf224" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7099-aa3b-709ae558dc9c" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019ca091-8713-7b9f-8d31-b940ad4cf224" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019ca091-8713-7f66-a67c-57d84b557c94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7099-aa3b-709ae558dc9c" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_019ca091-8713-7f66-a67c-57d84b557c94" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" 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_ProfitLoss_019ca091-8713-76b3-a042-e1eb0d20d0fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_ProfitLoss_019ca091-8713-76b3-a042-e1eb0d20d0fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019ca091-8713-7e62-ab36-dea93b27ddd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_Depreciation_019ca091-8713-7e62-ab36-dea93b27ddd5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019ca091-8713-7bf5-bf21-118cf3bbc0c6" 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_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019ca091-8713-7bf5-bf21-118cf3bbc0c6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019ca091-8713-7fe1-a15e-b67c7f33d059" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_ShareBasedCompensation_019ca091-8713-7fe1-a15e-b67c7f33d059" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019ca091-8713-759e-8917-61a2ae3a80d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_019ca091-8713-759e-8917-61a2ae3a80d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_019ca091-8713-7ef7-9beb-cc74bfef9863" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsAndNotesReceivable_019ca091-8713-7ef7-9beb-cc74bfef9863" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_019ca091-8713-7e21-b488-9941d0fc8ab3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerAsset"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerAsset_019ca091-8713-7e21-b488-9941d0fc8ab3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019ca091-8713-7e57-810d-e50d4a0928f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019ca091-8713-7e57-810d-e50d4a0928f1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019ca091-8713-7405-a5dc-7d323d53114e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019ca091-8713-7405-a5dc-7d323d53114e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities_019ca091-8713-7c67-982a-87fdb2a3b8b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccountsPayableAndAccruedLiabilities_019ca091-8713-7c67-982a-87fdb2a3b8b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019ca091-8713-74d1-94f2-c7ecdd69d01a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_019ca091-8713-74d1-94f2-c7ecdd69d01a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019ca091-8713-7939-893b-32c5603cb98d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-7393-8e5e-a014e8d32869" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019ca091-8713-7939-893b-32c5603cb98d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ca091-8713-7807-9167-d6bea6e6d598" 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_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7094-888e-49b0ce06f45e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ca091-8713-7807-9167-d6bea6e6d598" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019ca091-8713-7094-888e-49b0ce06f45e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-77e7-b083-4334cc2db5e6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ca091-8713-7807-9167-d6bea6e6d598" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019ca091-8713-77e7-b083-4334cc2db5e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_019ca091-8713-705c-9ba3-ece58127067d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ca091-8713-7807-9167-d6bea6e6d598" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsIncludingDisposalGroupAndDiscontinuedOperations_019ca091-8713-705c-9ba3-ece58127067d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-722c-9ae5-7fcdae79fca7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019ca091-8713-7807-9167-d6bea6e6d598" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019ca091-8713-722c-9ae5-7fcdae79fca7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#SegmentInformationSummarizedFinancialInformationDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/SegmentInformationSummarizedFinancialInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_pwr_SegmentOperatingIncome_019ca091-8713-7d17-99f2-1229130cb72d" xlink:href="pwr-20260331.xsd#pwr_SegmentOperatingIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates_019ca091-8713-728f-bc6b-d559c1bfdb24" xlink:href="pwr-20260331.xsd#pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pwr_SegmentOperatingIncome_019ca091-8713-7d17-99f2-1229130cb72d" xlink:to="loc_pwr_IncomeLossFromEquityMethodInvestmentsIntegralUnconsolidatedAffiliates_019ca091-8713-728f-bc6b-d559c1bfdb24" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ca091-8713-753e-a84a-ed337563a413" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pwr_SegmentOperatingIncome_019ca091-8713-7d17-99f2-1229130cb72d" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_019ca091-8713-753e-a84a-ed337563a413" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_SegmentOperatingExpenses_019ca091-8713-72dc-95cc-91981cd2881a" xlink:href="pwr-20260331.xsd#pwr_SegmentOperatingExpenses"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pwr_SegmentOperatingIncome_019ca091-8713-7d17-99f2-1229130cb72d" xlink:to="loc_pwr_SegmentOperatingExpenses_019ca091-8713-72dc-95cc-91981cd2881a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_SegmentOperatingExpenses_019ca091-8713-7795-9ec0-06d942769d8a" xlink:href="pwr-20260331.xsd#pwr_SegmentOperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_SegmentOperatingExpensesExcludingDepreciation_019ca091-8713-7e07-a550-73aa4022358a" xlink:href="pwr-20260331.xsd#pwr_SegmentOperatingExpensesExcludingDepreciation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pwr_SegmentOperatingExpenses_019ca091-8713-7795-9ec0-06d942769d8a" xlink:to="loc_pwr_SegmentOperatingExpensesExcludingDepreciation_019ca091-8713-7e07-a550-73aa4022358a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_SegmentDepreciation_019ca091-8713-719a-ba96-2df049c97bbe" xlink:href="pwr-20260331.xsd#pwr_SegmentDepreciation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_pwr_SegmentOperatingExpenses_019ca091-8713-7795-9ec0-06d942769d8a" xlink:to="loc_pwr_SegmentDepreciation_019ca091-8713-719a-ba96-2df049c97bbe" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/AcquisitionsAggregateFairValuesofOutstandingContingentConsiderationLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019ca091-8713-7956-9132-8de90f0a2089" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019ca091-8713-7988-b02b-ecab120d57b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019ca091-8713-7956-9132-8de90f0a2089" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityCurrent_019ca091-8713-7988-b02b-ecab120d57b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019ca091-8713-7155-ad58-3b7ca33d607f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_019ca091-8713-7956-9132-8de90f0a2089" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationLiabilityNoncurrent_019ca091-8713-7155-ad58-3b7ca33d607f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesEquityInvestmentsDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#InvestmentsinAffiliatesandOtherEntitiesEquityInvestmentsDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/InvestmentsinAffiliatesandOtherEntitiesEquityInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermInvestments_019ca091-8713-7ff2-93b2-5f0a8dc191e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityMethodInvestments_019ca091-8713-7d37-95bd-bda91a279eac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_019ca091-8713-7ff2-93b2-5f0a8dc191e1" xlink:to="loc_us-gaap_EquityMethodInvestments_019ca091-8713-7d37-95bd-bda91a279eac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_019ca091-8713-7666-b67d-3df462315737" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermInvestments_019ca091-8713-7ff2-93b2-5f0a8dc191e1" xlink:to="loc_us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount_019ca091-8713-7666-b67d-3df462315737" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/PerShareInformationBasicandDilutedEarningsPerShareAttributabletoCommonStockDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019ca091-8713-7cab-86d6-3595147581e3" 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_019ca091-8713-753c-9995-d7565116a7a1" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019ca091-8713-7cab-86d6-3595147581e3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019ca091-8713-753c-9995-d7565116a7a1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019ca091-8713-77f3-b68d-121c7b19fbbb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019ca091-8713-7cab-86d6-3595147581e3" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019ca091-8713-77f3-b68d-121c7b19fbbb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#DebtObligationsLongtermDebtObligationsDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCredit_019ca091-87c5-7468-bcb7-4ef442b53d1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCredit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:to="loc_us-gaap_LineOfCredit_019ca091-87c5-7468-bcb7-4ef442b53d1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019ca091-87c5-7343-9fee-f14e4885d5ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumAndDebtIssuanceCostsNet_019ca091-87c5-7343-9fee-f14e4885d5ae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019ca091-87c5-7fd0-bc0b-164a5590d7a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:to="loc_us-gaap_LongTermDebt_019ca091-87c5-7fd0-bc0b-164a5590d7a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_019ca091-87c5-747d-a5a8-8ec51400a9eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLongTermDebt"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:to="loc_us-gaap_OtherLongTermDebt_019ca091-87c5-747d-a5a8-8ec51400a9eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiability_019ca091-87c5-7ad7-9cb3-c331d5148f6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiability"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:to="loc_us-gaap_FinanceLeaseLiability_019ca091-87c5-7ad7-9cb3-c331d5148f6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_pwr_LeaseFinancingTransactionLiability_019ca091-87c5-799e-826b-410e2accb408" xlink:href="pwr-20260331.xsd#pwr_LeaseFinancingTransactionLiability"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-74a8-9b32-02ded7e5f850" xlink:to="loc_pwr_LeaseFinancingTransactionLiability_019ca091-87c5-799e-826b-410e2accb408" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1" xlink:type="simple" xlink:href="pwr-20260331.xsd#DebtObligationsLongtermDebtObligationsDetails_1"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/DebtObligationsLongtermDebtObligationsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-77b9-a5f4-6c72318cef28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019ca091-87c5-7968-b3c0-358af1a590f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-77b9-a5f4-6c72318cef28" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019ca091-87c5-7968-b3c0-358af1a590f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019ca091-87c5-7c96-96a5-5485e05f7fe0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsIncludingCurrentMaturities_019ca091-87c5-77b9-a5f4-6c72318cef28" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligationsCurrent_019ca091-87c5-7c96-96a5-5485e05f7fe0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/DetailofCertainAccountsInventoriesDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#DetailofCertainAccountsInventoriesDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/DetailofCertainAccountsInventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019ca091-87c5-7d96-bcf7-20121aa97f9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInventoryMaterialsSuppliesAndMerchandiseUnderConsignment_019ca091-87c5-76aa-bdcf-b37c9d73f83a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInventoryMaterialsSuppliesAndMerchandiseUnderConsignment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019ca091-87c5-7d96-bcf7-20121aa97f9e" xlink:to="loc_us-gaap_OtherInventoryMaterialsSuppliesAndMerchandiseUnderConsignment_019ca091-87c5-76aa-bdcf-b37c9d73f83a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterials_019ca091-87c5-7992-98b8-1a1237898d97" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterials"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019ca091-87c5-7d96-bcf7-20121aa97f9e" xlink:to="loc_us-gaap_InventoryRawMaterials_019ca091-87c5-7992-98b8-1a1237898d97" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcess_019ca091-87c5-79f4-b152-04931f6a43bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcess"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019ca091-87c5-7d96-bcf7-20121aa97f9e" xlink:to="loc_us-gaap_InventoryWorkInProcess_019ca091-87c5-79f4-b152-04931f6a43bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoods_019ca091-87c5-7382-8326-bab145eddd6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoods"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019ca091-87c5-7d96-bcf7-20121aa97f9e" xlink:to="loc_us-gaap_InventoryFinishedGoods_019ca091-87c5-7382-8326-bab145eddd6a" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/DetailofCertainAccountsPrepaidExpensesDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#DetailofCertainAccountsPrepaidExpensesDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/DetailofCertainAccountsPrepaidExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019ca091-87c5-7162-86d9-6d99c2702fe6" 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_019ca091-87c5-7665-b4f6-82b80589ce3a" 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_019ca091-87c5-7162-86d9-6d99c2702fe6" xlink:to="loc_us-gaap_PrepaidExpenseCurrent_019ca091-87c5-7665-b4f6-82b80589ce3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_019ca091-87c5-74d6-87d5-61587017367e" 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_019ca091-87c5-7162-86d9-6d99c2702fe6" xlink:to="loc_us-gaap_OtherAssetsCurrent_019ca091-87c5-74d6-87d5-61587017367e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/DetailofCertainAccountsIntangibleAssetsDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#DetailofCertainAccountsIntangibleAssetsDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/DetailofCertainAccountsIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ca091-87c6-7bfb-8c18-3c89cb3b60cd" 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_FiniteLivedIntangibleAssetsAccumulatedAmortization_019ca091-87c6-70d2-9b4b-ddd68141079a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ca091-87c6-7bfb-8c18-3c89cb3b60cd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_019ca091-87c6-70d2-9b4b-ddd68141079a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019ca091-87c6-741e-835b-60db28a45180" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsGross"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ca091-87c6-7bfb-8c18-3c89cb3b60cd" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_019ca091-87c6-741e-835b-60db28a45180" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019ca091-87c6-7a1d-a092-93b4f3449730" 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_IndefiniteLivedIntangibleAssetsExcludingGoodwill_019ca091-87c6-7959-9d04-6fef4b8483b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019ca091-87c6-7a1d-a092-93b4f3449730" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_019ca091-87c6-7959-9d04-6fef4b8483b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ca091-87c6-720f-963a-e1848d0276a1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_IntangibleAssetsGrossExcludingGoodwill_019ca091-87c6-7a1d-a092-93b4f3449730" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_019ca091-87c6-720f-963a-e1848d0276a1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/DetailofCertainAccountsAccountsPayableandAccruedExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019ca091-87c6-715f-b23f-216a18de6af2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019ca091-87c6-7e95-a92d-f1850b1f710a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019ca091-87c6-715f-b23f-216a18de6af2" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019ca091-87c6-7e95-a92d-f1850b1f710a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019ca091-87c6-73c4-8473-80333eb2b9ea" 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_AccountsPayableAndAccruedLiabilitiesCurrent_019ca091-87c6-715f-b23f-216a18de6af2" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019ca091-87c6-73c4-8473-80333eb2b9ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_019ca091-87c6-7943-8171-5f529cb35eb4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableTradeCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_019ca091-87c6-715f-b23f-216a18de6af2" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_019ca091-87c6-7943-8171-5f529cb35eb4" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails" xlink:type="simple" xlink:href="pwr-20260331.xsd#SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails"/>
  <link:calculationLink xlink:role="http://quantaservices.com/role/SupplementalCashFlowInformationReconciliationofCashCashEquivalentsandRestrictedCashDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ca091-87c6-77fa-be0f-62466ed85192" 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_RestrictedCashAndCashEquivalents_019ca091-87c6-7807-a0e7-0e11538d06eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCashAndCashEquivalents"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ca091-87c6-77fa-be0f-62466ed85192" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalents_019ca091-87c6-7807-a0e7-0e11538d06eb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ca091-87c6-7371-b054-0be90528b481" 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="https://xbrl.org/2023/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019ca091-87c6-77fa-be0f-62466ed85192" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019ca091-87c6-7371-b054-0be90528b481" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
