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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:fb7aa5ed-a22f-4f40-b066-8c4b567dce05,g:b4b58ced-44e1-4b81-9c89-bff6798af728-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFASSETSANDLIABILITIES" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_35e7d2a0-cbdb-411f-9c4f-4c736deff517" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_f68a29c0-ae6a-49b0-9a84-4ca56e6b0589" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_35e7d2a0-cbdb-411f-9c4f-4c736deff517" xlink:to="loc_us-gaap_CommonStockValue_f68a29c0-ae6a-49b0-9a84-4ca56e6b0589" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_5b7cf2ef-08b0-492a-b8c9-a1902d2a8a7d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AdditionalPaidInCapital"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_35e7d2a0-cbdb-411f-9c4f-4c736deff517" xlink:to="loc_us-gaap_AdditionalPaidInCapital_5b7cf2ef-08b0-492a-b8c9-a1902d2a8a7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3a988508-f896-493f-831e-2dec41778201" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_35e7d2a0-cbdb-411f-9c4f-4c736deff517" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3a988508-f896-493f-831e-2dec41778201" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_3308f232-ad35-4507-8454-d01dc41acb76" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_3308f232-ad35-4507-8454-d01dc41acb76" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_f2a00374-f739-473f-aae6-00cbedcd78e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_f2a00374-f739-473f-aae6-00cbedcd78e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_e2f09154-6adb-4b2a-9cb8-78414022ba19" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_e2f09154-6adb-4b2a-9cb8-78414022ba19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_b2a45cef-ef26-44f6-9243-2df7dadd48e5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:to="loc_us-gaap_InterestReceivable_b2a45cef-ef26-44f6-9243-2df7dadd48e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_faaa7ea8-12ed-476e-afd7-e6cb242796a7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:to="loc_us-gaap_RestrictedCash_faaa7ea8-12ed-476e-afd7-e6cb242796a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_cb9d0d92-bad9-4ff5-8cc1-bed41564bf0d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherAssets"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_9aa5e545-8517-4ab1-a628-b40ffba346c6" xlink:to="loc_us-gaap_OtherAssets_cb9d0d92-bad9-4ff5-8cc1-bed41564bf0d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_0bc77126-fcc1-47e8-9d6f-447a3d2f68c5" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_66b5f2bc-6fbb-448d-a184-77685c293514" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_0bc77126-fcc1-47e8-9d6f-447a3d2f68c5" xlink:to="loc_us-gaap_StockholdersEquity_66b5f2bc-6fbb-448d-a184-77685c293514" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_f5f5f94c-528c-4614-bbbf-3d23a065b24a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_0bc77126-fcc1-47e8-9d6f-447a3d2f68c5" xlink:to="loc_us-gaap_Liabilities_f5f5f94c-528c-4614-bbbf-3d23a065b24a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_61f83c00-75a7-43fc-bb97-9540a1c33b27" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_044c108d-ecbb-467a-bfbd-20759e85db43" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61f83c00-75a7-43fc-bb97-9540a1c33b27" xlink:to="loc_us-gaap_OperatingLeaseLiability_044c108d-ecbb-467a-bfbd-20759e85db43" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_d8784ec8-d208-4f41-abab-6e992ce5f3ff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61f83c00-75a7-43fc-bb97-9540a1c33b27" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_d8784ec8-d208-4f41-abab-6e992ce5f3ff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_7c96a58f-c32a-40ba-b772-0f2630acc388" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OtherLongTermDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_61f83c00-75a7-43fc-bb97-9540a1c33b27" xlink:to="loc_us-gaap_OtherLongTermDebt_7c96a58f-c32a-40ba-b772-0f2630acc388" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_68a50a5f-77b9-4340-81b7-c225acc8b98f" xlink:href="htgc-20231231.xsd#htgc_EmployeeCompensation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_afab4f7e-15f2-4251-92bf-f733956087b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_EmployeeCompensation_68a50a5f-77b9-4340-81b7-c225acc8b98f" xlink:to="loc_us-gaap_LaborAndRelatedExpense_afab4f7e-15f2-4251-92bf-f733956087b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_22cdecea-96f7-4f30-a957-b0a113430839" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_EmployeeBenefitsAndShareBasedCompensation"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_EmployeeCompensation_68a50a5f-77b9-4340-81b7-c225acc8b98f" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_22cdecea-96f7-4f30-a957-b0a113430839" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_fe1178e7-0e43-40ed-887f-3af806d8d411" xlink:href="htgc-20231231.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_6a1e1fc0-ea05-4f4c-9700-2b1e51479a34" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_fe1178e7-0e43-40ed-887f-3af806d8d411" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_6a1e1fc0-ea05-4f4c-9700-2b1e51479a34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_5849d17b-f3fe-4f7a-9699-673d2e5c4f35" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_fe1178e7-0e43-40ed-887f-3af806d8d411" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_5849d17b-f3fe-4f7a-9699-673d2e5c4f35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_53a35543-7421-4f25-ac6e-f95577444e22" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_ffdadaf0-2f7b-4bd4-a137-efec0685e331" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_53a35543-7421-4f25-ac6e-f95577444e22" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_ffdadaf0-2f7b-4bd4-a137-efec0685e331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_d0dd6667-33c3-4d23-8a1c-998d2e31f65b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_53a35543-7421-4f25-ac6e-f95577444e22" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_d0dd6667-33c3-4d23-8a1c-998d2e31f65b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_61c7fbd6-3592-48d5-838d-1b06c8b69d71" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestExpenseDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_53a35543-7421-4f25-ac6e-f95577444e22" xlink:to="loc_us-gaap_InterestExpenseDebt_61c7fbd6-3592-48d5-838d-1b06c8b69d71" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_9b3d043d-a32a-45fe-9f19-e75d57f8b051" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_53a35543-7421-4f25-ac6e-f95577444e22" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_9b3d043d-a32a-45fe-9f19-e75d57f8b051" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_c9389330-e3c4-4ea1-a68b-c915df2c0f68" xlink:href="htgc-20231231.xsd#htgc_EmployeeCompensation"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_53a35543-7421-4f25-ac6e-f95577444e22" xlink:to="loc_htgc_EmployeeCompensation_c9389330-e3c4-4ea1-a68b-c915df2c0f68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_93b37fa6-ce61-422c-b5ea-945df70834a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_d709bae4-3a43-4775-82b7-0cbcde2b2f31" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_93b37fa6-ce61-422c-b5ea-945df70834a6" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_d709bae4-3a43-4775-82b7-0cbcde2b2f31" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_35a0e666-6001-45a0-afc4-a047246d621e" xlink:href="htgc-20231231.xsd#htgc_OperatingExpensesNet"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetInvestmentIncome_93b37fa6-ce61-422c-b5ea-945df70834a6" xlink:to="loc_htgc_OperatingExpensesNet_35a0e666-6001-45a0-afc4-a047246d621e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_a0d070bc-2e82-490e-894d-335307a5e721" xlink:href="htgc-20231231.xsd#htgc_OperatingExpensesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_61eff8bc-26be-4df6-9395-decfe6dccaa2" xlink:href="htgc-20231231.xsd#htgc_ExpensesAllocatedToAdviserSubsidiary1"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_OperatingExpensesNet_a0d070bc-2e82-490e-894d-335307a5e721" xlink:to="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_61eff8bc-26be-4df6-9395-decfe6dccaa2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_b4a526c5-3087-43c6-93f3-d94e1863bb02" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_OperatingExpensesNet_a0d070bc-2e82-490e-894d-335307a5e721" xlink:to="loc_us-gaap_OperatingExpenses_b4a526c5-3087-43c6-93f3-d94e1863bb02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_459e5548-c9d2-45de-9ce9-58e9c05fa7c9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_1225dc2d-0e7a-4951-9d17-d39bec539bfa" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_459e5548-c9d2-45de-9ce9-58e9c05fa7c9" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_1225dc2d-0e7a-4951-9d17-d39bec539bfa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_8d64ca5f-196d-442b-977a-a45504d53940" xlink:href="htgc-20231231.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_459e5548-c9d2-45de-9ce9-58e9c05fa7c9" xlink:to="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_8d64ca5f-196d-442b-977a-a45504d53940" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_d98cd180-6512-4080-af32-008563feb657" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_6f79aa49-3dc1-45a9-b5d6-6f307bdc6db0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d98cd180-6512-4080-af32-008563feb657" xlink:to="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_6f79aa49-3dc1-45a9-b5d6-6f307bdc6db0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_63889a63-faf9-4483-b925-3b5b9c67ec21" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetInvestmentIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_d98cd180-6512-4080-af32-008563feb657" xlink:to="loc_us-gaap_NetInvestmentIncome_63889a63-faf9-4483-b925-3b5b9c67ec21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_1103c353-5fde-42aa-a34c-6e99804875a8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_e28ed236-c1ff-4736-b8e7-8eafa1e837f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_1103c353-5fde-42aa-a34c-6e99804875a8" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_e28ed236-c1ff-4736-b8e7-8eafa1e837f6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_47279c6b-e3ab-4687-bf78-ac40c1549d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_FeeIncome"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_1103c353-5fde-42aa-a34c-6e99804875a8" xlink:to="loc_us-gaap_FeeIncome_47279c6b-e3ab-4687-bf78-ac40c1549d5d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWS"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_eb9ddcbe-f92d-4224-a7c0-04005fcc30e7" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_ShareBasedCompensation_eb9ddcbe-f92d-4224-a7c0-04005fcc30e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_4a51bcaa-b65c-45bc-b782-eeacb5c5961d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_4a51bcaa-b65c-45bc-b782-eeacb5c5961d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_329dd6dc-8741-4f79-a068-7ff7984c52ac" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_329dd6dc-8741-4f79-a068-7ff7984c52ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_863023d6-94dd-4920-aa8b-78224ccef7e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_863023d6-94dd-4920-aa8b-78224ccef7e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_8ba4e105-addb-47a7-9005-177dc7d363dd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_8ba4e105-addb-47a7-9005-177dc7d363dd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_NonCashRealizedLossExtinguishmentDebt_496bbc17-b9ce-462b-9569-f78fc6f9fba7" xlink:href="htgc-20231231.xsd#htgc_NonCashRealizedLossExtinguishmentDebt"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_NonCashRealizedLossExtinguishmentDebt_496bbc17-b9ce-462b-9569-f78fc6f9fba7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_c7999159-4b8c-41f6-b6ea-a8c35b456804" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_c7999159-4b8c-41f6-b6ea-a8c35b456804" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ChangeInLoanIncomeNetOfCollections_bfbb0c5f-304e-42cd-91bb-aa96f50ed4fa" xlink:href="htgc-20231231.xsd#htgc_ChangeInLoanIncomeNetOfCollections"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_ChangeInLoanIncomeNetOfCollections_bfbb0c5f-304e-42cd-91bb-aa96f50ed4fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_08379bef-b618-4cc1-8e90-6f759ad3a91a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_DepreciationAndAmortization_08379bef-b618-4cc1-8e90-6f759ad3a91a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsConvertibleNotes_ae6cd85a-b9f3-49d1-ba6d-bec07326b229" xlink:href="htgc-20231231.xsd#htgc_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsConvertibleNotes"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsConvertibleNotes_ae6cd85a-b9f3-49d1-ba6d-bec07326b229" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ProceedsFromDispositionOfInvestmentEquityInvestmentsOperatingActivity_7557891f-b364-478e-9966-9363c3bc1d2f" xlink:href="htgc-20231231.xsd#htgc_ProceedsFromDispositionOfInvestmentEquityInvestmentsOperatingActivity"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_ProceedsFromDispositionOfInvestmentEquityInvestmentsOperatingActivity_7557891f-b364-478e-9966-9363c3bc1d2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_a2ca30a8-b420-42a1-941f-22efb217b574" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_a2ca30a8-b420-42a1-941f-22efb217b574" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnearnedFeesRelatedToUnfundedCommitments_7b41e829-e38e-4895-ba78-33d7c92f5e3a" xlink:href="htgc-20231231.xsd#htgc_UnearnedFeesRelatedToUnfundedCommitments"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_UnearnedFeesRelatedToUnfundedCommitments_7b41e829-e38e-4895-ba78-33d7c92f5e3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_9c73cb4b-bf10-4724-ac39-39d9e1e7aea3" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_9c73cb4b-bf10-4724-ac39-39d9e1e7aea3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_8e0158e2-08a1-4168-8297-9b0d62df58b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_NetIncomeLoss_8e0158e2-08a1-4168-8297-9b0d62df58b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_b6f6f6f4-676f-4c49-87c1-4c80eeabdc9b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="16" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_b6f6f6f4-676f-4c49-87c1-4c80eeabdc9b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FundingAssignedToAdviserFunds_3c60a728-b72a-4b47-87da-2c9347893d05" xlink:href="htgc-20231231.xsd#htgc_FundingAssignedToAdviserFunds"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_FundingAssignedToAdviserFunds_3c60a728-b72a-4b47-87da-2c9347893d05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_e8e5f2f9-6b8e-4088-be1b-e156370b08de" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_e8e5f2f9-6b8e-4088-be1b-e156370b08de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AccretionOfLoanExitFees_8d922bbb-966b-4bec-87a0-de25166a21b3" xlink:href="htgc-20231231.xsd#htgc_AccretionOfLoanExitFees"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_htgc_AccretionOfLoanExitFees_8d922bbb-966b-4bec-87a0-de25166a21b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_1c42e976-e508-40a6-860d-b3dccf9a9c2d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_69b39be1-231f-410e-bb56-c2a7f13ff917" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_1c42e976-e508-40a6-860d-b3dccf9a9c2d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d50127d-b7a0-4f61-a363-31b278519a06" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_267c9f86-82c4-4e28-9b1b-e8b6dc684be6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsToAcquireProductiveAssets"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2d50127d-b7a0-4f61-a363-31b278519a06" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_267c9f86-82c4-4e28-9b1b-e8b6dc684be6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4225f900-8d90-4c6a-89b8-d12917f635b0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_58008da1-cdad-4dd9-8b5b-87d0a96f79bd" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4225f900-8d90-4c6a-89b8-d12917f635b0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_58008da1-cdad-4dd9-8b5b-87d0a96f79bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f27931b2-cda8-4d7f-a1b5-0139edbcfe25" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4225f900-8d90-4c6a-89b8-d12917f635b0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_f27931b2-cda8-4d7f-a1b5-0139edbcfe25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_7e9a4ad2-2148-4f70-8b5d-7761fd357bb0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_4225f900-8d90-4c6a-89b8-d12917f635b0" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_7e9a4ad2-2148-4f70-8b5d-7761fd357bb0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PaymentOfFeesForCreditFacilitiesAndDebentures_b2771018-b0a8-4c5c-a3c9-67f0b00235e8" xlink:href="htgc-20231231.xsd#htgc_PaymentOfFeesForCreditFacilitiesAndDebentures"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_htgc_PaymentOfFeesForCreditFacilitiesAndDebentures_b2771018-b0a8-4c5c-a3c9-67f0b00235e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_3695daf2-54a4-4df5-8ac6-5c715bb99810" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_3695daf2-54a4-4df5-8ac6-5c715bb99810" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_952a9a32-03db-4c2b-ac7f-edc1d4134ac8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_952a9a32-03db-4c2b-ac7f-edc1d4134ac8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_bef02e64-1a3a-4980-a6d4-1c623bafe1a6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_bef02e64-1a3a-4980-a6d4-1c623bafe1a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_937cccdd-76d3-40d1-9ed7-95ef348043ed" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_937cccdd-76d3-40d1-9ed7-95ef348043ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_61d22a60-4233-450b-ae2c-4ec0cc626187" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_61d22a60-4233-450b-ae2c-4ec0cc626187" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_1b47912f-68ab-47c1-bf1b-2de9edaa8861" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_RepaymentsOfDebt_1b47912f-68ab-47c1-bf1b-2de9edaa8861" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_b62015d5-4049-4740-b5de-30bcfbb09994" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_5c7a8176-1d27-483d-bae8-8c54cd9f16ee" xlink:to="loc_us-gaap_PaymentsOfDividends_b62015d5-4049-4740-b5de-30bcfbb09994" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="simple" xlink:href="htgc-20231231.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50863479-112b-4edb-800c-af35ba2d24f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e8dbc96a-ea96-4c1d-bd7e-16fd9378173e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50863479-112b-4edb-800c-af35ba2d24f6" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_e8dbc96a-ea96-4c1d-bd7e-16fd9378173e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_7e26d036-0af3-4568-b5a9-d5f290b3dd8e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_50863479-112b-4edb-800c-af35ba2d24f6" xlink:to="loc_us-gaap_RestrictedCash_7e26d036-0af3-4568-b5a9-d5f290b3dd8e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#InvestmentsScheduleofDerivativeInstrumentsDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/InvestmentsScheduleofDerivativeInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_cd78a53e-35c3-40c0-a5b0-cd5101e0910b" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_5826b918-1235-4752-ba37-0d968645ee9e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_GainLossOnSaleOfDerivatives"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_cd78a53e-35c3-40c0-a5b0-cd5101e0910b" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_5826b918-1235-4752-ba37-0d968645ee9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_796a4749-4172-4144-9a30-03052b7b86db" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax_cd78a53e-35c3-40c0-a5b0-cd5101e0910b" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_796a4749-4172-4144-9a30-03052b7b86db" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e6212cef-0d77-4876-81ff-d208f0861b72" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_da3cbafe-f930-44fb-9c2a-c0ae8cd4b660" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e6212cef-0d77-4876-81ff-d208f0861b72" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_da3cbafe-f930-44fb-9c2a-c0ae8cd4b660" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_1506ec51-1f17-4878-8294-fcbefbcf2d7a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e6212cef-0d77-4876-81ff-d208f0861b72" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_1506ec51-1f17-4878-8294-fcbefbcf2d7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_7e8aa1f9-0b2b-4fe8-9be0-27bb872a3e39" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e6212cef-0d77-4876-81ff-d208f0861b72" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_7e8aa1f9-0b2b-4fe8-9be0-27bb872a3e39" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_712a297a-6775-426c-a34d-53c0aa0bc2cc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_cf1c7785-72bf-4a72-bdc9-9fd1df7d5549" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_712a297a-6775-426c-a34d-53c0aa0bc2cc" xlink:to="loc_us-gaap_NetIncomeLoss_cf1c7785-72bf-4a72-bdc9-9fd1df7d5549" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_43cb8ed4-706d-46f9-9b7a-65a946f4fa45" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_712a297a-6775-426c-a34d-53c0aa0bc2cc" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_43cb8ed4-706d-46f9-9b7a-65a946f4fa45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_ec21266a-f146-4cbc-b9df-448cc4519fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_1b72836d-348e-4234-88c3-e76e8ac72e23" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_ec21266a-f146-4cbc-b9df-448cc4519fe1" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_1b72836d-348e-4234-88c3-e76e8ac72e23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarnings_6f107620-3ac0-4ffe-8501-0c1d3f3c2aff" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarnings"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_ec21266a-f146-4cbc-b9df-448cc4519fe1" xlink:to="loc_us-gaap_UndistributedEarnings_6f107620-3ac0-4ffe-8501-0c1d3f3c2aff" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_511ee616-8f09-421f-81d9-973154581544" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarnings_e5b6247e-706a-4bbf-a6fb-fc363fd3015d" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_UndistributedEarnings"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_511ee616-8f09-421f-81d9-973154581544" xlink:to="loc_us-gaap_UndistributedEarnings_e5b6247e-706a-4bbf-a6fb-fc363fd3015d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_ec02f0ee-88a5-4a80-9f3b-a89ee0e44401" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyDividendDistribution"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_511ee616-8f09-421f-81d9-973154581544" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_ec02f0ee-88a5-4a80-9f3b-a89ee0e44401" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#FinancialHighlightsDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/FinancialHighlightsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d5b1b083-b5bf-4606-96e1-6d62d24bf0f6" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_e21ab583-8073-498f-99a6-078e61fa7822" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_d5b1b083-b5bf-4606-96e1-6d62d24bf0f6" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_e21ab583-8073-498f-99a6-078e61fa7822" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFourthYear_db44e0b9-b9ef-42ff-ac6b-a6bd33059a36" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInFourthYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInFourthYear_db44e0b9-b9ef-42ff-ac6b-a6bd33059a36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSeventhYear_099e8e47-b300-4162-882a-f6766223b456" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSeventhYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInSeventhYear_099e8e47-b300-4162-882a-f6766223b456" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSecondYear_e54b696c-d67e-4d84-ad5b-1a557a626655" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSecondYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInSecondYear_e54b696c-d67e-4d84-ad5b-1a557a626655" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFifthYear_f07fce6b-0135-4fb7-afb0-be3657a27934" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInFifthYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInFifthYear_f07fce6b-0135-4fb7-afb0-be3657a27934" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInPriorYear_a77052ff-b535-41f1-bd8d-953be8b51d91" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInPriorYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInPriorYear_a77052ff-b535-41f1-bd8d-953be8b51d91" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInThirdYear_09ecf173-76ea-4852-800b-87d957ca23d8" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInThirdYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInThirdYear_09ecf173-76ea-4852-800b-87d957ca23d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSixthYear_1d484206-1c2f-44de-b955-3f1738360183" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSixthYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInSixthYear_1d484206-1c2f-44de-b955-3f1738360183" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInOneYear_653a8861-bee5-4df7-b87f-ca209ed1efdc" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInOneYear"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_b00a7897-d0c3-411c-a50f-f70bbebc2e3e" xlink:to="loc_htgc_UnfundedCommitmentsDueInOneYear_653a8861-bee5-4df7-b87f-ca209ed1efdc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails_1" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofAdditionalInformationonUnecumberedUnfundedCommitmentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_256f6b94-8f91-4d50-a844-78e565d96a44" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSeventhYear_e4bc66c1-2fcb-4fdc-8062-6fb563c391ac" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInSeventhYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_256f6b94-8f91-4d50-a844-78e565d96a44" xlink:to="loc_htgc_UnfundedCommitmentsDueInSeventhYear_e4bc66c1-2fcb-4fdc-8062-6fb563c391ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInNinthYear_36d3dbd3-8dcd-4d8d-98d0-bea9587588da" xlink:href="htgc-20231231.xsd#htgc_UnfundedCommitmentsDueInNinthYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_256f6b94-8f91-4d50-a844-78e565d96a44" xlink:to="loc_htgc_UnfundedCommitmentsDueInNinthYear_36d3dbd3-8dcd-4d8d-98d0-bea9587588da" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofContractualObligationsDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_3bbfd124-68c7-44fa-866b-e6e7470219b9" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_90cd4402-44cb-458a-bb31-226644761805" xlink:href="htgc-20231231.xsd#htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_3bbfd124-68c7-44fa-866b-e6e7470219b9" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_90cd4402-44cb-458a-bb31-226644761805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_cf2177d7-d2ef-4c9b-8e33-9b3681911326" xlink:href="htgc-20231231.xsd#htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_3bbfd124-68c7-44fa-866b-e6e7470219b9" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_cf2177d7-d2ef-4c9b-8e33-9b3681911326" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a61377bf-94ea-48e7-abde-0eea8083646a" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_3bbfd124-68c7-44fa-866b-e6e7470219b9" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_a61377bf-94ea-48e7-abde-0eea8083646a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_00caa1dc-2647-4d5d-8c6d-99db8303e85f" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_3bbfd124-68c7-44fa-866b-e6e7470219b9" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_00caa1dc-2647-4d5d-8c6d-99db8303e85f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_d61ba322-a59a-476d-ae2d-6a19c7e0c1eb" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3ba7b13a-ae13-458e-bcc8-8c702ede6c61" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_d61ba322-a59a-476d-ae2d-6a19c7e0c1eb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3ba7b13a-ae13-458e-bcc8-8c702ede6c61" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_6a4a5846-6c92-40fd-ac4f-48965bd898fc" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_d61ba322-a59a-476d-ae2d-6a19c7e0c1eb" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_6a4a5846-6c92-40fd-ac4f-48965bd898fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_87fc6ea7-8d9c-4929-92f0-0d31656b3b65" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturingInYearsTwoAndThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_d61ba322-a59a-476d-ae2d-6a19c7e0c1eb" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_87fc6ea7-8d9c-4929-92f0-0d31656b3b65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_7e3d2802-0275-44ec-894e-024541e32259" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LongTermDebtMaturingInYearsFourAndFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_d61ba322-a59a-476d-ae2d-6a19c7e0c1eb" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_7e3d2802-0275-44ec-894e-024541e32259" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_aa8b775e-6a7c-44e0-a9db-2bc524e863e0" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_01475dac-6c15-4d96-8a01-115c6a9011f4" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueInSecondAndThirdYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_aa8b775e-6a7c-44e0-a9db-2bc524e863e0" xlink:to="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_01475dac-6c15-4d96-8a01-115c6a9011f4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_cfd1bb39-5240-4a6b-aa58-ad3f09043309" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueAfterFifthYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_aa8b775e-6a7c-44e0-a9db-2bc524e863e0" xlink:to="loc_us-gaap_ContractualObligationDueAfterFifthYear_cfd1bb39-5240-4a6b-aa58-ad3f09043309" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_bb08fbbf-cc37-47d2-a685-ee4b1f8c5590" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueInFourthAndFifthYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_aa8b775e-6a7c-44e0-a9db-2bc524e863e0" xlink:to="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_bb08fbbf-cc37-47d2-a685-ee4b1f8c5590" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_342a3134-8788-4c24-9db2-f37c965c2997" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_aa8b775e-6a7c-44e0-a9db-2bc524e863e0" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_342a3134-8788-4c24-9db2-f37c965c2997" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ea5bb514-9845-4a6c-80ab-c5a22372a1c8" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_77a80bfe-5576-46dd-83fd-eb902620253e" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ea5bb514-9845-4a6c-80ab-c5a22372a1c8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_77a80bfe-5576-46dd-83fd-eb902620253e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_3e1f4733-a85c-4063-a5fb-9614b24942ec" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ea5bb514-9845-4a6c-80ab-c5a22372a1c8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_3e1f4733-a85c-4063-a5fb-9614b24942ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_3db9dfa7-170f-4d35-8cbf-9c5c2245bd04" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ea5bb514-9845-4a6c-80ab-c5a22372a1c8" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_3db9dfa7-170f-4d35-8cbf-9c5c2245bd04" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearThree_113f1a6e-014f-426f-a1da-5bf7718f2e8e" xlink:href="htgc-20231231.xsd#htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_ea5bb514-9845-4a6c-80ab-c5a22372a1c8" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearThree_113f1a6e-014f-426f-a1da-5bf7718f2e8e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails_1" xlink:type="simple" xlink:href="htgc-20231231.xsd#CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails_1"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_821cae12-1c27-42d8-95cc-a062cc641310" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_f0660068-b347-438e-8a4a-cd3e18e6b9da" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_821cae12-1c27-42d8-95cc-a062cc641310" xlink:to="loc_us-gaap_OperatingLeaseLiability_f0660068-b347-438e-8a4a-cd3e18e6b9da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6e64c9a8-b1a2-473b-a8d9-4f2c25ae0441" xlink:href="https://xbrl.fasb.org/us-gaap/2023/elts/us-gaap-2023.xsd#us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_821cae12-1c27-42d8-95cc-a062cc641310" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_6e64c9a8-b1a2-473b-a8d9-4f2c25ae0441" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
