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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2024 Workiva-->
<!--r:66b623ab-9225-402b-a0c6-24e3a7691b89,g:e3f9fc8c-a66e-460e-a5ac-dbd40638ae3d-->
<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-20240630.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_Liabilities_c8ef8936-1580-4b89-9e8f-4f3bfba8dd9e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLongTermDebt_d439d5f3-d7a7-4f4a-83a7-5b4abbdc6a95" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OtherLongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c8ef8936-1580-4b89-9e8f-4f3bfba8dd9e" xlink:to="loc_us-gaap_OtherLongTermDebt_d439d5f3-d7a7-4f4a-83a7-5b4abbdc6a95" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_68117a3f-e62a-4773-972c-6f7f554147df" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c8ef8936-1580-4b89-9e8f-4f3bfba8dd9e" xlink:to="loc_us-gaap_OperatingLeaseLiability_68117a3f-e62a-4773-972c-6f7f554147df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_21b99194-ee1a-4b79-9813-dd2a3a300e11" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_c8ef8936-1580-4b89-9e8f-4f3bfba8dd9e" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_21b99194-ee1a-4b79-9813-dd2a3a300e11" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_11a29901-5990-4422-a31d-2ff02dfd30b8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_34e6a72b-da38-4c8d-a9b4-7afeeb681264" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_11a29901-5990-4422-a31d-2ff02dfd30b8" xlink:to="loc_us-gaap_Liabilities_34e6a72b-da38-4c8d-a9b4-7afeeb681264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_406eb469-bcff-48fe-bc00-d978a4da5f90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_11a29901-5990-4422-a31d-2ff02dfd30b8" xlink:to="loc_us-gaap_StockholdersEquity_406eb469-bcff-48fe-bc00-d978a4da5f90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_88277213-dfb6-4cff-a7f4-ba3894d5a8bd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestReceivable"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:to="loc_us-gaap_InterestReceivable_88277213-dfb6-4cff-a7f4-ba3894d5a8bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_3c16621a-d10b-41ed-9586-88058dc1ca89" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:to="loc_us-gaap_RestrictedCash_3c16621a-d10b-41ed-9586-88058dc1ca89" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_3c185689-0be9-4cb1-8b09-c52331f1877c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentOwnedAtFairValue"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_3c185689-0be9-4cb1-8b09-c52331f1877c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_87145efc-1f66-43bd-a8f9-bfd024bd8eb9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_87145efc-1f66-43bd-a8f9-bfd024bd8eb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_9f711f25-8356-4b7a-afb8-36c21c786d4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_9f711f25-8356-4b7a-afb8-36c21c786d4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_ad8831b0-dd61-477f-b866-b1083c221f8e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_c89d6d19-0a9c-4028-8577-9f05ab68e5f9" xlink:to="loc_us-gaap_OtherAssets_ad8831b0-dd61-477f-b866-b1083c221f8e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_dcd1c4f7-ab08-4a59-896a-f8d7dc7129ff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_402483c3-9cf1-45b0-ae59-3419af72ead1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_dcd1c4f7-ab08-4a59-896a-f8d7dc7129ff" xlink:to="loc_us-gaap_CommonStockValue_402483c3-9cf1-45b0-ae59-3419af72ead1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_89e5372e-1ab1-4096-ab63-d956fd54752a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_dcd1c4f7-ab08-4a59-896a-f8d7dc7129ff" xlink:to="loc_us-gaap_AdditionalPaidInCapital_89e5372e-1ab1-4096-ab63-d956fd54752a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1502498a-e0bf-4c37-97bc-2ed4e5ca7e38" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_dcd1c4f7-ab08-4a59-896a-f8d7dc7129ff" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_1502498a-e0bf-4c37-97bc-2ed4e5ca7e38" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited" xlink:type="simple" xlink:href="htgc-20240630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_62390e09-babb-4d15-a37b-2b2afc9ecafe" xlink:href="htgc-20240630.xsd#htgc_OperatingExpensesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_574fbc9f-c618-4b48-a50c-e02677fdb2a4" xlink:href="htgc-20240630.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_62390e09-babb-4d15-a37b-2b2afc9ecafe" xlink:to="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_574fbc9f-c618-4b48-a50c-e02677fdb2a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_ff6e6d5e-7ebf-403c-961e-78266c2d9181" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_62390e09-babb-4d15-a37b-2b2afc9ecafe" xlink:to="loc_us-gaap_OperatingExpenses_ff6e6d5e-7ebf-403c-961e-78266c2d9181" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_95b61765-e9d2-4ea4-9f72-a7d7b31cb75e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_732d7fa5-af9a-4212-ba97-75c4ebd6441f" xlink:href="htgc-20240630.xsd#htgc_EmployeeCompensation"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_95b61765-e9d2-4ea4-9f72-a7d7b31cb75e" xlink:to="loc_htgc_EmployeeCompensation_732d7fa5-af9a-4212-ba97-75c4ebd6441f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_e8431ad0-1af3-4200-9cba-d7619db656a8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestExpenseDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_95b61765-e9d2-4ea4-9f72-a7d7b31cb75e" xlink:to="loc_us-gaap_InterestExpenseDebt_e8431ad0-1af3-4200-9cba-d7619db656a8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_33a962e3-471f-4cfa-9d5e-e0da77bd1443" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_95b61765-e9d2-4ea4-9f72-a7d7b31cb75e" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_33a962e3-471f-4cfa-9d5e-e0da77bd1443" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_063a099c-3ceb-47a1-96b5-142b72a479a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_95b61765-e9d2-4ea4-9f72-a7d7b31cb75e" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_063a099c-3ceb-47a1-96b5-142b72a479a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_5f939a26-b0b9-4cf6-b37d-11744873dd85" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_95b61765-e9d2-4ea4-9f72-a7d7b31cb75e" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_5f939a26-b0b9-4cf6-b37d-11744873dd85" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_fa475607-acea-46b2-aca4-46bdf9ac15fb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_666d4954-e86f-42d5-8fc0-5f61673ef2c5" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_fa475607-acea-46b2-aca4-46bdf9ac15fb" xlink:to="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_666d4954-e86f-42d5-8fc0-5f61673ef2c5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_61a28d0e-82c2-473f-8a20-3c6670163484" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_fa475607-acea-46b2-aca4-46bdf9ac15fb" xlink:to="loc_us-gaap_NetInvestmentIncome_61a28d0e-82c2-473f-8a20-3c6670163484" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_9ccba279-7e40-4bf0-a572-223d5a56f7c8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_9ca9b993-cf41-4d43-9ca8-448e50c63325" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_9ccba279-7e40-4bf0-a572-223d5a56f7c8" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_9ca9b993-cf41-4d43-9ca8-448e50c63325" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_2593fcd7-466b-41cf-826b-4bba55d36e58" xlink:href="htgc-20240630.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_9ccba279-7e40-4bf0-a572-223d5a56f7c8" xlink:to="loc_htgc_OperatingExpensesNet_2593fcd7-466b-41cf-826b-4bba55d36e58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_0224bae0-1dba-41a6-9d80-0a81b416f35e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_e8c13e55-8ee0-4821-af04-c91a451a62ea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_FeeIncome"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_0224bae0-1dba-41a6-9d80-0a81b416f35e" xlink:to="loc_us-gaap_FeeIncome_e8c13e55-8ee0-4821-af04-c91a451a62ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_6f911310-4a9e-4ba8-9463-0bd0d4eb29d8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossInvestmentIncomeOperating_0224bae0-1dba-41a6-9d80-0a81b416f35e" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_6f911310-4a9e-4ba8-9463-0bd0d4eb29d8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_dc1db9aa-ec06-430b-802e-a2515deb5697" xlink:href="htgc-20240630.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_3db01790-c87a-408b-8922-ece97d3bb500" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedInvestmentGainsLosses"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_dc1db9aa-ec06-430b-802e-a2515deb5697" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_3db01790-c87a-408b-8922-ece97d3bb500" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_6e0a0ad3-8b41-4813-bbe9-2fd1d65108c4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_71fddbf3-6493-47cc-9bab-2746e799d432" xlink:href="htgc-20240630.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_6e0a0ad3-8b41-4813-bbe9-2fd1d65108c4" xlink:to="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_71fddbf3-6493-47cc-9bab-2746e799d432" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_a0e22d0d-6cc4-47dc-80a2-198e12e4b843" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossOnInvestments"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_6e0a0ad3-8b41-4813-bbe9-2fd1d65108c4" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_a0e22d0d-6cc4-47dc-80a2-198e12e4b843" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_6537e4eb-9c9d-4c85-b924-4b07a9be28ee" xlink:href="htgc-20240630.xsd#htgc_EmployeeCompensation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_1147de82-5962-4a97-99a4-ae9e71117c4a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6537e4eb-9c9d-4c85-b924-4b07a9be28ee" xlink:to="loc_us-gaap_LaborAndRelatedExpense_1147de82-5962-4a97-99a4-ae9e71117c4a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_0a0c6eb3-b0fa-42ef-b3e3-0a4e03325c90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_6537e4eb-9c9d-4c85-b924-4b07a9be28ee" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_0a0c6eb3-b0fa-42ef-b3e3-0a4e03325c90" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited_1" xlink:type="simple" xlink:href="htgc-20240630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited_1"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_a41c47a3-40d7-4d79-a694-abbc646811bf" xlink:href="htgc-20240630.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSunaudited" xlink:type="simple" xlink:href="htgc-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSunaudited"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_a1606e01-2246-4251-a2f7-74bc8b0a9ab7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_a1606e01-2246-4251-a2f7-74bc8b0a9ab7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_dfbcd293-2d9c-4f6b-87d1-1ec3fc6beff7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfStockIssuanceCosts"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_dfbcd293-2d9c-4f6b-87d1-1ec3fc6beff7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8e4e6645-717c-41df-ae67-7be5422003be" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8e4e6645-717c-41df-ae67-7be5422003be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_cec511e2-64b6-491e-8c69-cc280a72f77e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_us-gaap_RepaymentsOfDebt_cec511e2-64b6-491e-8c69-cc280a72f77e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_3accb9bf-923f-466b-b218-b3163cb430cf" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_3accb9bf-923f-466b-b218-b3163cb430cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PaymentOfFeesForCreditFacilitiesAndDebentures_e516ab7e-d06f-4944-b81b-dcac0bcf8863" xlink:href="htgc-20240630.xsd#htgc_PaymentOfFeesForCreditFacilitiesAndDebentures"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_htgc_PaymentOfFeesForCreditFacilitiesAndDebentures_e516ab7e-d06f-4944-b81b-dcac0bcf8863" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_c1486143-8077-4dd7-81fc-d3ad42c3b7a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d61e5c73-50af-4053-8d62-c2e6bb836130" xlink:to="loc_us-gaap_PaymentsOfDividends_c1486143-8077-4dd7-81fc-d3ad42c3b7a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_81276205-0821-4b3f-a57d-12259b92ba09" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_6ca77cef-4fa7-4ea3-a975-e9115b8a11ac" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_81276205-0821-4b3f-a57d-12259b92ba09" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_6ca77cef-4fa7-4ea3-a975-e9115b8a11ac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_55d3f90d-74c3-4651-a945-1c8ace3e1264" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_NetIncomeLoss_55d3f90d-74c3-4651-a945-1c8ace3e1264" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_2336294a-fc92-4cce-856c-bba5b23b7f65" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_2336294a-fc92-4cce-856c-bba5b23b7f65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_3b29e75f-eca9-4eb7-9c60-f6943efd34b4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_3b29e75f-eca9-4eb7-9c60-f6943efd34b4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_29135fba-5625-4941-973e-7601e43b7f84" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_29135fba-5625-4941-973e-7601e43b7f84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_048de157-fa4a-4e2a-b837-a6f7b2471cbd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_048de157-fa4a-4e2a-b837-a6f7b2471cbd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_8e6f9b9a-697e-41ab-aa6b-07a4c5a9bf14" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_8e6f9b9a-697e-41ab-aa6b-07a4c5a9bf14" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FundingAssignedToAdviserFunds_ed263f92-4570-4032-82c7-458f998ce615" xlink:href="htgc-20240630.xsd#htgc_FundingAssignedToAdviserFunds"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_htgc_FundingAssignedToAdviserFunds_ed263f92-4570-4032-82c7-458f998ce615" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_327ef253-5c99-43b5-95f0-211a95dfa904" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_327ef253-5c99-43b5-95f0-211a95dfa904" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ChangeInLoanIncomeNetOfCollections_389a81e6-6efd-4438-a6fb-42fe125497bc" xlink:href="htgc-20240630.xsd#htgc_ChangeInLoanIncomeNetOfCollections"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_htgc_ChangeInLoanIncomeNetOfCollections_389a81e6-6efd-4438-a6fb-42fe125497bc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_066c56c7-ecfb-4d2d-8e8f-b53f635a7fd1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_066c56c7-ecfb-4d2d-8e8f-b53f635a7fd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnearnedFeesRelatedToUnfundedCommitments_ad0afccd-2976-42a7-9266-e9446dcf036d" xlink:href="htgc-20240630.xsd#htgc_UnearnedFeesRelatedToUnfundedCommitments"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_htgc_UnearnedFeesRelatedToUnfundedCommitments_ad0afccd-2976-42a7-9266-e9446dcf036d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_abc6051d-c65e-46a7-ad61-280942041951" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_DepreciationAndAmortization_abc6051d-c65e-46a7-ad61-280942041951" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_9c176b0f-f7f7-437a-926a-f2a56972ac6c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_9c176b0f-f7f7-437a-926a-f2a56972ac6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_852e0cec-830c-4a1e-bffc-c4025758894e" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_852e0cec-830c-4a1e-bffc-c4025758894e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_7154e9d2-1642-4292-856c-a7358d837254" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_ShareBasedCompensation_7154e9d2-1642-4292-856c-a7358d837254" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_055f0eef-a041-4ec3-8c23-cd07129f2b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_055f0eef-a041-4ec3-8c23-cd07129f2b4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ProceedsFromDispositionOfInvestmentEquityAndWarrantsInvestmentsOperatingActivity_726cafb6-107d-4f44-89c5-15ef5edd3e6f" xlink:href="htgc-20240630.xsd#htgc_ProceedsFromDispositionOfInvestmentEquityAndWarrantsInvestmentsOperatingActivity"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_htgc_ProceedsFromDispositionOfInvestmentEquityAndWarrantsInvestmentsOperatingActivity_726cafb6-107d-4f44-89c5-15ef5edd3e6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AccretionOfLoanExitFees_3bf54f15-abca-446e-bb53-e910a1cb7094" xlink:href="htgc-20240630.xsd#htgc_AccretionOfLoanExitFees"/>
    <link:calculationArc order="18" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_htgc_AccretionOfLoanExitFees_3bf54f15-abca-446e-bb53-e910a1cb7094" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PaymentForDerivativeInstrumentOperatingActivities_e13ba3bf-5ed6-4be0-b3c8-a950c7352dee" xlink:href="htgc-20240630.xsd#htgc_PaymentForDerivativeInstrumentOperatingActivities"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_93a84be4-ea4e-43fb-b40a-f584f9623385" xlink:to="loc_htgc_PaymentForDerivativeInstrumentOperatingActivities_e13ba3bf-5ed6-4be0-b3c8-a950c7352dee" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_df5f0dc3-6704-4955-8467-94b709cfb0da" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3f398d59-92cc-44d8-80d2-bcf96867e2cd" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_df5f0dc3-6704-4955-8467-94b709cfb0da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_3f398d59-92cc-44d8-80d2-bcf96867e2cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ad586ec-6e70-4e26-bba7-ddbb95cb9f19" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_df5f0dc3-6704-4955-8467-94b709cfb0da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_2ad586ec-6e70-4e26-bba7-ddbb95cb9f19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d567621a-b89a-4177-a6eb-ec851d16a326" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_df5f0dc3-6704-4955-8467-94b709cfb0da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d567621a-b89a-4177-a6eb-ec851d16a326" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSunauditedParenthetical" xlink:type="simple" xlink:href="htgc-20240630.xsd#CONSOLIDATEDSTATEMENTSOFCASHFLOWSunauditedParenthetical"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSunauditedParenthetical" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_1201dfb3-ccde-414c-a012-04b0555da2b7" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f5e98902-8649-4bdf-a89a-f60f3db38b50" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_1201dfb3-ccde-414c-a012-04b0555da2b7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_f5e98902-8649-4bdf-a89a-f60f3db38b50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_cc1c34b3-06f9-46bf-a833-9e3c6c4fecff" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_1201dfb3-ccde-414c-a012-04b0555da2b7" xlink:to="loc_us-gaap_RestrictedCash_cc1c34b3-06f9-46bf-a833-9e3c6c4fecff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="htgc-20240630.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_538a6b9e-f361-4e25-91cf-9bd81f4b8b1c" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_f3addfd9-7d94-4b93-85ab-d3c0100eb268" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_538a6b9e-f361-4e25-91cf-9bd81f4b8b1c" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_f3addfd9-7d94-4b93-85ab-d3c0100eb268" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_d5b06630-4149-46fb-af5c-d9ffc8103546" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_538a6b9e-f361-4e25-91cf-9bd81f4b8b1c" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_d5b06630-4149-46fb-af5c-d9ffc8103546" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_DerivativeAssetLiabilitySubjectToMasterNettingArrangementBeforeOffset_187adddd-2888-4970-bf36-ec0a86b2911b" xlink:href="htgc-20240630.xsd#htgc_DerivativeAssetLiabilitySubjectToMasterNettingArrangementBeforeOffset"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_f0eae6dd-ef55-4b61-819c-394623fba6e0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_DerivativeAssetLiabilitySubjectToMasterNettingArrangementBeforeOffset_187adddd-2888-4970-bf36-ec0a86b2911b" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_f0eae6dd-ef55-4b61-819c-394623fba6e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_c07e6694-8c4f-44eb-a9f7-c373129d8cfb" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_htgc_DerivativeAssetLiabilitySubjectToMasterNettingArrangementBeforeOffset_187adddd-2888-4970-bf36-ec0a86b2911b" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_c07e6694-8c4f-44eb-a9f7-c373129d8cfb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="htgc-20240630.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_NetIncomeLossAvailableToCommonStockholdersBasic_de58f7cb-b059-4cf5-b505-0bd5fa8e2aa0" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_0cbf167a-a4a3-4ecb-8ba7-a28f0c01dda2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_de58f7cb-b059-4cf5-b505-0bd5fa8e2aa0" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_0cbf167a-a4a3-4ecb-8ba7-a28f0c01dda2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarnings_1194823c-3bd8-4857-8db6-b055c86b213a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_de58f7cb-b059-4cf5-b505-0bd5fa8e2aa0" xlink:to="loc_us-gaap_UndistributedEarnings_1194823c-3bd8-4857-8db6-b055c86b213a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e005b581-a9d4-4075-b5e5-83acf6c8bf8f" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_c1e3438f-c42e-40ce-9f0d-1f559c06d8a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_e005b581-a9d4-4075-b5e5-83acf6c8bf8f" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_c1e3438f-c42e-40ce-9f0d-1f559c06d8a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_89fb2261-4c4e-4d60-8e22-a8bc1c0ce4b9" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_e005b581-a9d4-4075-b5e5-83acf6c8bf8f" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_89fb2261-4c4e-4d60-8e22-a8bc1c0ce4b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic_2da5ff51-3947-4569-b6bb-a51eafaa9240" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_b20ee14e-212c-47a5-80e7-e6f6fb633da1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2da5ff51-3947-4569-b6bb-a51eafaa9240" xlink:to="loc_us-gaap_NetIncomeLoss_b20ee14e-212c-47a5-80e7-e6f6fb633da1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_5f0d0437-c5eb-46ff-845e-06f42c216851" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_2da5ff51-3947-4569-b6bb-a51eafaa9240" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_5f0d0437-c5eb-46ff-845e-06f42c216851" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a0054be3-5782-450e-98fe-cdcea92e8ade" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarnings_26d2b363-4c71-4571-b78c-7b7e7e486cbe" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a0054be3-5782-450e-98fe-cdcea92e8ade" xlink:to="loc_us-gaap_UndistributedEarnings_26d2b363-4c71-4571-b78c-7b7e7e486cbe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_710b99c7-655a-4768-8c35-335a668b190d" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a0054be3-5782-450e-98fe-cdcea92e8ade" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_710b99c7-655a-4768-8c35-335a668b190d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="htgc-20240630.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_219bb15f-318a-43e4-928e-f8e11ad6571a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_ee0d7c3f-d983-4aa6-9dc6-11f586367331" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_219bb15f-318a-43e4-928e-f8e11ad6571a" xlink:to="loc_us-gaap_InvestmentCompanyGainLossOnInvestmentPerShare_ee0d7c3f-d983-4aa6-9dc6-11f586367331" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails" xlink:type="simple" xlink:href="htgc-20240630.xsd#CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFourthYear_ce2f1e0e-8d52-478e-b88f-565798c87b88" xlink:href="htgc-20240630.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_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInFourthYear_ce2f1e0e-8d52-478e-b88f-565798c87b88" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSecondYear_256f731c-2a08-4a18-bb63-85854b73ae33" xlink:href="htgc-20240630.xsd#htgc_UnfundedCommitmentsDueInSecondYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInSecondYear_256f731c-2a08-4a18-bb63-85854b73ae33" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSeventhYear_2e1e4c55-39b5-414a-8ad9-a7589e141885" xlink:href="htgc-20240630.xsd#htgc_UnfundedCommitmentsDueInSeventhYear"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInSeventhYear_2e1e4c55-39b5-414a-8ad9-a7589e141885" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFifthYear_22f398c4-b67f-48c2-8383-6bf394b1d793" xlink:href="htgc-20240630.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_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInFifthYear_22f398c4-b67f-48c2-8383-6bf394b1d793" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSixthYear_7f1a272d-4569-4ddb-a667-52628bcbd48a" xlink:href="htgc-20240630.xsd#htgc_UnfundedCommitmentsDueInSixthYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInSixthYear_7f1a272d-4569-4ddb-a667-52628bcbd48a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInRemainderOfFiscalYear_e6e248fd-a58c-433d-a70b-d6d47cd01c42" xlink:href="htgc-20240630.xsd#htgc_UnfundedCommitmentsDueInRemainderOfFiscalYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInRemainderOfFiscalYear_e6e248fd-a58c-433d-a70b-d6d47cd01c42" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInThirdYear_a80193c5-78c4-4549-aaf8-83e48b00952c" xlink:href="htgc-20240630.xsd#htgc_UnfundedCommitmentsDueInThirdYear"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_fe56cea0-59b6-450d-a35f-80f9d18577a2" xlink:to="loc_htgc_UnfundedCommitmentsDueInThirdYear_a80193c5-78c4-4549-aaf8-83e48b00952c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails_1" xlink:type="simple" xlink:href="htgc-20240630.xsd#CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails_1"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_a3ec6f79-73ad-4631-b170-21ca9181670b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInNinthYear_1772d46f-9ed1-448b-949b-d93fcd6e2813" xlink:href="htgc-20240630.xsd#htgc_UnfundedCommitmentsDueInNinthYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_a3ec6f79-73ad-4631-b170-21ca9181670b" xlink:to="loc_htgc_UnfundedCommitmentsDueInNinthYear_1772d46f-9ed1-448b-949b-d93fcd6e2813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSeventhYear_8b98754e-8002-4afa-9e94-1da1c032b572" xlink:href="htgc-20240630.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_a3ec6f79-73ad-4631-b170-21ca9181670b" xlink:to="loc_htgc_UnfundedCommitmentsDueInSeventhYear_8b98754e-8002-4afa-9e94-1da1c032b572" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails" xlink:type="simple" xlink:href="htgc-20240630.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_a2fcbcd3-645f-404f-88e2-088e28a467c3" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_0ec42c4c-1e11-40b0-8e7f-b6ee0598bcad" xlink:href="htgc-20240630.xsd#htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a2fcbcd3-645f-404f-88e2-088e28a467c3" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_0ec42c4c-1e11-40b0-8e7f-b6ee0598bcad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_2aae9fcb-fa6b-4ec8-901c-3a3dfaae8317" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a2fcbcd3-645f-404f-88e2-088e28a467c3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_2aae9fcb-fa6b-4ec8-901c-3a3dfaae8317" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_bf2b14d3-087e-4865-878a-fb4c54779901" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_a2fcbcd3-645f-404f-88e2-088e28a467c3" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_bf2b14d3-087e-4865-878a-fb4c54779901" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_e51b024d-644e-420c-ae1b-589aa149f023" xlink:href="htgc-20240630.xsd#htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_a2fcbcd3-645f-404f-88e2-088e28a467c3" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_e51b024d-644e-420c-ae1b-589aa149f023" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_221dc646-e525-4a0b-94b3-7d8f049a2988" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_a9c3052d-9847-4599-b193-7cff3b7a9256" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractualObligationDueInNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_221dc646-e525-4a0b-94b3-7d8f049a2988" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_a9c3052d-9847-4599-b193-7cff3b7a9256" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_7f8970b6-5a92-4a24-9511-1d59b680bfd1" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractualObligationDueInSecondAndThirdYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_221dc646-e525-4a0b-94b3-7d8f049a2988" xlink:to="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_7f8970b6-5a92-4a24-9511-1d59b680bfd1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_4d88dd7a-9c49-42f1-bb66-5850ed681c7a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_221dc646-e525-4a0b-94b3-7d8f049a2988" xlink:to="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_4d88dd7a-9c49-42f1-bb66-5850ed681c7a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_5459129c-e6ba-44b6-b570-b9e351ee2311" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_ContractualObligationDueAfterFifthYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ContractualObligation_221dc646-e525-4a0b-94b3-7d8f049a2988" xlink:to="loc_us-gaap_ContractualObligationDueAfterFifthYear_5459129c-e6ba-44b6-b570-b9e351ee2311" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_de04381c-420c-4970-bef8-3481f1ed2fea" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3a6ba7c0-77fa-44b4-a784-8453458d4796" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_de04381c-420c-4970-bef8-3481f1ed2fea" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_3a6ba7c0-77fa-44b4-a784-8453458d4796" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_7620e2e8-f7f4-4a2e-9e81-258974d272a4" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_de04381c-420c-4970-bef8-3481f1ed2fea" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_7620e2e8-f7f4-4a2e-9e81-258974d272a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_ca748bad-9d5b-4627-849a-dff80e256c3a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturingInYearsFourAndFive"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_de04381c-420c-4970-bef8-3481f1ed2fea" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_ca748bad-9d5b-4627-849a-dff80e256c3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_5187ee30-b0cb-4279-b7e0-3c6f71c4b60b" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LongTermDebtMaturingInYearsTwoAndThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LongTermDebt_de04381c-420c-4970-bef8-3481f1ed2fea" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_5187ee30-b0cb-4279-b7e0-3c6f71c4b60b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails" xlink:type="simple" xlink:href="htgc-20240630.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_3bc022c9-88a8-4ca5-84eb-0fe26f97f620" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_1a2f1f00-7244-494d-8d08-a3abf18ba562" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3bc022c9-88a8-4ca5-84eb-0fe26f97f620" xlink:to="loc_us-gaap_OperatingLeaseLiability_1a2f1f00-7244-494d-8d08-a3abf18ba562" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_bd462cec-44cf-4748-a111-b7cf7d679bd8" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.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_3bc022c9-88a8-4ca5-84eb-0fe26f97f620" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_bd462cec-44cf-4748-a111-b7cf7d679bd8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsunderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails_1" xlink:type="simple" xlink:href="htgc-20240630.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_4b22dfb0-2a10-4e9b-9e1f-6847066e3544" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_a2ccc2db-e986-4dbe-8130-e87d8fd8ef1a" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4b22dfb0-2a10-4e9b-9e1f-6847066e3544" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_a2ccc2db-e986-4dbe-8130-e87d8fd8ef1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_fc29b25b-aa9c-433b-a783-42e0dbd19417" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4b22dfb0-2a10-4e9b-9e1f-6847066e3544" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_fc29b25b-aa9c-433b-a783-42e0dbd19417" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_8f227cb9-1af7-4669-b3d0-88cda20c7a68" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4b22dfb0-2a10-4e9b-9e1f-6847066e3544" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_8f227cb9-1af7-4669-b3d0-88cda20c7a68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_520c4f2c-7407-4205-9d39-2e1b7bd38d90" xlink:href="https://xbrl.fasb.org/us-gaap/2024/elts/us-gaap-2024.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4b22dfb0-2a10-4e9b-9e1f-6847066e3544" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_520c4f2c-7407-4205-9d39-2e1b7bd38d90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour_c29db652-4022-4574-b320-434df9dec6c0" xlink:href="htgc-20240630.xsd#htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_4b22dfb0-2a10-4e9b-9e1f-6847066e3544" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFour_c29db652-4022-4574-b320-434df9dec6c0" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
