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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019e2c61-4e18-7933-a4c6-c699024bd9d3,g:d1d80001-eb97-49a9-a05a-1f05894656e0-->
<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-20260630.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_019e2c61-5f75-71e8-90d3-da7da58ed3f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e2c61-5f75-7ff6-bdd2-700e7e363b0a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e2c61-5f75-71e8-90d3-da7da58ed3f5" xlink:to="loc_us-gaap_LongTermDebt_019e2c61-5f75-7ff6-bdd2-700e7e363b0a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019e2c61-5f75-7181-9eef-4a5de953a0df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-71e8-90d3-da7da58ed3f5" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent_019e2c61-5f75-7181-9eef-4a5de953a0df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e2c61-5f75-7782-8eb6-440b0e92122d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingLeaseLiability"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019e2c61-5f75-71e8-90d3-da7da58ed3f5" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e2c61-5f75-7782-8eb6-440b0e92122d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019e2c61-5f75-7f1c-abed-6a72606e2533" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019e2c61-5f75-7770-83ea-85e140627611" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7f1c-abed-6a72606e2533" xlink:to="loc_us-gaap_Liabilities_019e2c61-5f75-7770-83ea-85e140627611" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2c61-5f75-73cf-ba8a-8f9bce08421a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7f1c-abed-6a72606e2533" xlink:to="loc_us-gaap_StockholdersEquity_019e2c61-5f75-73cf-ba8a-8f9bce08421a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019e2c61-5f75-776f-8991-9e2049bfe2d4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019e2c61-5f75-77b9-b31f-c87d1213b9c8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-776f-8991-9e2049bfe2d4" xlink:to="loc_us-gaap_CommonStockValue_019e2c61-5f75-77b9-b31f-c87d1213b9c8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapital_019e2c61-5f75-7c8a-9f4f-3af3c1f39c7d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-776f-8991-9e2049bfe2d4" xlink:to="loc_us-gaap_AdditionalPaidInCapital_019e2c61-5f75-7c8a-9f4f-3af3c1f39c7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e2c61-5f75-7f6a-958a-66be94f7dab4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-776f-8991-9e2049bfe2d4" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019e2c61-5f75-7f6a-958a-66be94f7dab4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestReceivable_019e2c61-5f75-7144-bdf2-524b6361d5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:to="loc_us-gaap_InterestReceivable_019e2c61-5f75-7144-bdf2-524b6361d5f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019e2c61-5f75-7514-9ded-df52030626b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:to="loc_us-gaap_RestrictedCash_019e2c61-5f75-7514-9ded-df52030626b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentOwnedAtFairValue_019e2c61-5f75-7e2b-9b13-51cbb4153fa0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:to="loc_us-gaap_InvestmentOwnedAtFairValue_019e2c61-5f75-7e2b-9b13-51cbb4153fa0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2c61-5f75-7c33-9c73-6352e37da6ed" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2c61-5f75-7c33-9c73-6352e37da6ed" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e2c61-5f75-7b6b-bb44-dbb8938e6d6a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019e2c61-5f75-7b6b-bb44-dbb8938e6d6a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets_019e2c61-5f75-75ee-add6-66671a073f24" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-74ca-8dfd-6103df0fe7ab" xlink:to="loc_us-gaap_OtherAssets_019e2c61-5f75-75ee-add6-66671a073f24" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="simple" xlink:href="htgc-20260630.xsd#CONSOLIDATEDSTATEMENTSOFOPERATIONS"/>
  <link:calculationLink xlink:role="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019e2c61-5f75-7add-8beb-22329b61b9f2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GrossInvestmentIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FeeIncome_019e2c61-5f75-7ac1-a687-e35251ee9aae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7add-8beb-22329b61b9f2" xlink:to="loc_us-gaap_FeeIncome_019e2c61-5f75-7ac1-a687-e35251ee9aae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019e2c61-5f75-730a-ad3d-f883d8fc7426" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7add-8beb-22329b61b9f2" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_019e2c61-5f75-730a-ad3d-f883d8fc7426" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_019e2c61-5f75-75d6-8f19-f9e7d67e4a2a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_019e2c61-5f75-7359-ae4c-6a52d3fe4002" xlink:href="htgc-20260630.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_019e2c61-5f75-75d6-8f19-f9e7d67e4a2a" xlink:to="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_019e2c61-5f75-7359-ae4c-6a52d3fe4002" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnInvestments_019e2c61-5f75-7e88-ab27-3b2db1746c50" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-75d6-8f19-f9e7d67e4a2a" xlink:to="loc_us-gaap_UnrealizedGainLossOnInvestments_019e2c61-5f75-7e88-ab27-3b2db1746c50" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt_019e2c61-5f75-78b4-abb0-b4488166b391" xlink:href="htgc-20260630.xsd#htgc_RealizedInvestmentGainsLossAndGainLossOnExtinguishmentOfDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2c61-5f75-7905-aa67-34aa7be129df" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-78b4-abb0-b4488166b391" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2c61-5f75-7905-aa67-34aa7be129df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedInvestmentGainsLosses_019e2c61-5f75-71ec-b6d9-2ee2762fd969" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-78b4-abb0-b4488166b391" xlink:to="loc_us-gaap_RealizedInvestmentGainsLosses_019e2c61-5f75-71ec-b6d9-2ee2762fd969" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_019e2c61-5f75-76f0-b109-6b7dcbbf8448" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e2c61-5f75-7a41-b065-1bc279052a57" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e2c61-5f75-76f0-b109-6b7dcbbf8448" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e2c61-5f75-7a41-b065-1bc279052a57" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingPaidInCash_019e2c61-5f75-78a3-887c-a98ac26c88a6" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestAndDividendIncomeOperatingPaidInCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating_019e2c61-5f75-76f0-b109-6b7dcbbf8448" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperatingPaidInCash_019e2c61-5f75-78a3-887c-a98ac26c88a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_019e2c61-5f75-73be-8daa-0698cf6b2f20" xlink:href="htgc-20260630.xsd#htgc_OperatingExpensesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_019e2c61-5f75-7623-a5b8-6da6cf5eb5a5" xlink:href="htgc-20260630.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_019e2c61-5f75-73be-8daa-0698cf6b2f20" xlink:to="loc_htgc_ExpensesAllocatedToAdviserSubsidiary1_019e2c61-5f75-7623-a5b8-6da6cf5eb5a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e2c61-5f75-79c8-8168-749fcc3909b7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-73be-8daa-0698cf6b2f20" xlink:to="loc_us-gaap_OperatingExpenses_019e2c61-5f75-79c8-8168-749fcc3909b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e2c61-5f75-76ce-8b2d-cdf1f173b723" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetInvestmentIncome"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossInvestmentIncomeOperating_019e2c61-5f75-7544-bd72-15b2412542a4" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-76ce-8b2d-cdf1f173b723" xlink:to="loc_us-gaap_GrossInvestmentIncomeOperating_019e2c61-5f75-7544-bd72-15b2412542a4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_OperatingExpensesNet_019e2c61-5f75-75a2-ad8a-d347dedc3e1b" xlink:href="htgc-20260630.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_019e2c61-5f75-76ce-8b2d-cdf1f173b723" xlink:to="loc_htgc_OperatingExpensesNet_019e2c61-5f75-75a2-ad8a-d347dedc3e1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2c61-5f75-7f64-b92f-a12be25e3588" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_019e2c61-5f75-729c-9e6d-f0d489c93723" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7f64-b92f-a12be25e3588" xlink:to="loc_us-gaap_InvestmentCompanyRealizedAndUnrealizedGainLossOnInvestmentAndForeignCurrency_019e2c61-5f75-729c-9e6d-f0d489c93723" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetInvestmentIncome_019e2c61-5f75-7c49-af57-7a0ce239ba86" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7f64-b92f-a12be25e3588" xlink:to="loc_us-gaap_NetInvestmentIncome_019e2c61-5f75-7c49-af57-7a0ce239ba86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_019e2c61-5f75-7063-96ee-ddc77e8c0b93" xlink:href="htgc-20260630.xsd#htgc_EmployeeCompensation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense_019e2c61-5f75-780c-9d92-3402702ba4dc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7063-96ee-ddc77e8c0b93" xlink:to="loc_us-gaap_LaborAndRelatedExpense_019e2c61-5f75-780c-9d92-3402702ba4dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e2c61-5f75-7091-b705-596cd50045b3" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7063-96ee-ddc77e8c0b93" xlink:to="loc_us-gaap_EmployeeBenefitsAndShareBasedCompensation_019e2c61-5f75-7091-b705-596cd50045b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_019e2c61-5f75-7375-b99f-4602d9da98ac" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_EmployeeCompensation_019e2c61-5f75-7fff-bdb1-b67063e8304c" xlink:href="htgc-20260630.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_019e2c61-5f75-7375-b99f-4602d9da98ac" xlink:to="loc_htgc_EmployeeCompensation_019e2c61-5f75-7fff-bdb1-b67063e8304c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseDebt_019e2c61-5f75-7304-a776-96458ffb709a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7375-b99f-4602d9da98ac" xlink:to="loc_us-gaap_InterestExpenseDebt_019e2c61-5f75-7304-a776-96458ffb709a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_019e2c61-5f75-7462-a709-5a339b48578e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7375-b99f-4602d9da98ac" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_019e2c61-5f75-7462-a709-5a339b48578e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_019e2c61-5f75-7356-9cf8-3613e2bad72a" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7375-b99f-4602d9da98ac" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_019e2c61-5f75-7356-9cf8-3613e2bad72a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019e2c61-5f75-73e0-a358-5683a7b76d36" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7375-b99f-4602d9da98ac" xlink:to="loc_us-gaap_InvestmentIncomeOperatingTaxExpenseBenefit_019e2c61-5f75-73e0-a358-5683a7b76d36" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2c61-5f75-7bf1-abc2-f3c8fabed5a5" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_NetIncomeLoss_019e2c61-5f75-7bf1-abc2-f3c8fabed5a5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019e2c61-5f75-7292-b1ea-c29229e13e26" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_PaymentsForPurchaseOfInvestmentOperatingActivity_019e2c61-5f75-7292-b1ea-c29229e13e26" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_FundingAssignedToAdviserFunds_019e2c61-5f75-7c16-b276-c3f922499536" xlink:href="htgc-20260630.xsd#htgc_FundingAssignedToAdviserFunds"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_FundingAssignedToAdviserFunds_019e2c61-5f75-7c16-b276-c3f922499536" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019e2c61-5f75-769d-8268-c3f698e51c47" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_ProceedsFromDispositionOfInvestmentOperatingActivity_019e2c61-5f75-769d-8268-c3f698e51c47" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ProceedsFromTheSaleOfDebtInvestments_019e2c61-5f75-758a-95d0-3017b4466c1c" xlink:href="htgc-20260630.xsd#htgc_ProceedsFromTheSaleOfDebtInvestments"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_ProceedsFromTheSaleOfDebtInvestments_019e2c61-5f75-758a-95d0-3017b4466c1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ProceedsFromDispositionOfInvestmentEquityAndWarrantsInvestmentsOperatingActivity_019e2c61-5f75-740a-aa4c-936355971e90" xlink:href="htgc-20260630.xsd#htgc_ProceedsFromDispositionOfInvestmentEquityAndWarrantsInvestmentsOperatingActivity"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_ProceedsFromDispositionOfInvestmentEquityAndWarrantsInvestmentsOperatingActivity_019e2c61-5f75-740a-aa4c-936355971e90" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e2c61-5f75-7829-9e7a-b0df6fa8bb93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_UnrealizedGainLossInvestmentDerivativeAndForeignCurrencyTransactionPriceChangeOperatingBeforeTax_019e2c61-5f75-7829-9e7a-b0df6fa8bb93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019e2c61-5f75-7eab-ab0f-773380849156" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_RealizedGainLossInvestmentAndDerivativeOperatingAfterTax_019e2c61-5f75-7eab-ab0f-773380849156" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e2c61-5f75-7fb4-8a7a-543418eb1be0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InterestIncomeOperatingPaidInKind"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_InterestIncomeOperatingPaidInKind_019e2c61-5f75-7fb4-8a7a-543418eb1be0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e2c61-5f75-7d18-901e-81da242e315d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_019e2c61-5f75-7d18-901e-81da242e315d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsConvertibleNotes_019e2c61-5f75-7001-b0b9-98d34e6dc319" xlink:href="htgc-20260630.xsd#htgc_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsConvertibleNotes"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_AccretionAmortizationOfDiscountsAndPremiumsInvestmentsConvertibleNotes_019e2c61-5f75-7001-b0b9-98d34e6dc319" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2c61-5f75-77a0-8654-8592587bd55c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019e2c61-5f75-77a0-8654-8592587bd55c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_AccretionOfLoanExitFees_019e2c61-5f75-7af9-a407-b34dd4904e35" xlink:href="htgc-20260630.xsd#htgc_AccretionOfLoanExitFees"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_AccretionOfLoanExitFees_019e2c61-5f75-7af9-a407-b34dd4904e35" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_ChangeInLoanIncomeNetOfCollections_019e2c61-5f75-759c-8991-0618bea49651" xlink:href="htgc-20260630.xsd#htgc_ChangeInLoanIncomeNetOfCollections"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_ChangeInLoanIncomeNetOfCollections_019e2c61-5f75-759c-8991-0618bea49651" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnearnedFeesRelatedToUnfundedCommitments_019e2c61-5f75-7288-b978-7465e5f031de" xlink:href="htgc-20260630.xsd#htgc_UnearnedFeesRelatedToUnfundedCommitments"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_UnearnedFeesRelatedToUnfundedCommitments_019e2c61-5f75-7288-b978-7465e5f031de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e2c61-5f75-7a37-9ada-d241f5d8e5bb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019e2c61-5f75-7a37-9ada-d241f5d8e5bb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_019e2c61-5f75-7ecc-a027-bb9dd81d1922" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="17" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_DepreciationAndAmortization_019e2c61-5f75-7ecc-a027-bb9dd81d1922" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019e2c61-5f75-74ac-aa06-cc3a91deb8bd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="18" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_ShareBasedCompensation_019e2c61-5f75-74ac-aa06-cc3a91deb8bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e2c61-5f75-7c51-9864-d5136a332055" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:calculationArc order="19" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_019e2c61-5f75-7c51-9864-d5136a332055" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e2c61-5f75-76c5-a587-870401e431e8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets"/>
    <link:calculationArc order="20" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_019e2c61-5f75-76c5-a587-870401e431e8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e2c61-5f75-7c9e-919c-3b529aece633" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities"/>
    <link:calculationArc order="21" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_019e2c61-5f75-7c9e-919c-3b529aece633" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PaymentForDerivativeInstrumentOperatingActivities_019e6354-46a6-75d7-ac99-bdd7fc1b5fab" xlink:href="htgc-20260630.xsd#htgc_PaymentForDerivativeInstrumentOperatingActivities"/>
    <link:calculationArc order="22" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-750b-8885-4b370168eb9c" xlink:to="loc_htgc_PaymentForDerivativeInstrumentOperatingActivities_019e6354-46a6-75d7-ac99-bdd7fc1b5fab" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e2c61-5f75-7bdf-90b6-f5206e54f74c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_019e2c61-5f75-7bdf-90b6-f5206e54f74c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_019e2c61-5f75-7df8-8e8f-8692633b87fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_019e2c61-5f75-7df8-8e8f-8692633b87fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e2c61-5f75-708a-a7b3-6c242aba8c9d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019e2c61-5f75-708a-a7b3-6c242aba8c9d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019e2c61-5f75-7b7e-9d21-0b9a293a7210" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_PaymentsOfDividends_019e2c61-5f75-7b7e-9d21-0b9a293a7210" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_019e2c61-5f75-740a-a5a5-ccb18620cd12" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_019e2c61-5f75-740a-a5a5-ccb18620cd12" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt_019e2c61-5f75-742d-a7d3-de69a02bc764" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_RepaymentsOfDebt_019e2c61-5f75-742d-a7d3-de69a02bc764" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e2c61-5f75-7463-ae85-68534aa01687" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019e2c61-5f75-7463-ae85-68534aa01687" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_PaymentOfFeesForCreditFacilities_019e2c61-5f75-74b8-8e88-742eff8c206b" xlink:href="htgc-20260630.xsd#htgc_PaymentOfFeesForCreditFacilities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7c43-99e3-5c129424f779" xlink:to="loc_htgc_PaymentOfFeesForCreditFacilities_019e2c61-5f75-74b8-8e88-742eff8c206b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019e2c61-5f75-7fcc-9071-152cdba2bf5c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-7dc1-b625-e2510c9782fd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7fcc-9071-152cdba2bf5c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019e2c61-5f75-7dc1-b625-e2510c9782fd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2c61-5f75-7e94-b34b-f312c3e5d6a7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7fcc-9071-152cdba2bf5c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2c61-5f75-7e94-b34b-f312c3e5d6a7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7b4e-a478-089049b15403" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7fcc-9071-152cdba2bf5c" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019e2c61-5f75-7b4e-a478-089049b15403" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019e2c61-5f75-7de0-a5f1-1c25027edf65" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_019e2c61-5f75-7a01-8f02-2086136afadb" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-5f75-7de0-a5f1-1c25027edf65" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_019e2c61-5f75-7a01-8f02-2086136afadb" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSParenthetical" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-5f75-7f19-a894-ac0de66043fc" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_019e2c61-5f75-75af-a653-980cfedf52b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e2c61-5f75-7f19-a894-ac0de66043fc" xlink:to="loc_us-gaap_RestrictedCash_019e2c61-5f75-75af-a653-980cfedf52b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2c61-5f75-729d-9471-a0a41fb0ed8d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_019e2c61-5f75-7f19-a894-ac0de66043fc" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019e2c61-5f75-729d-9471-a0a41fb0ed8d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/InvestmentsScheduleofDerivativeInstrumentsDetails" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6036-7e12-9efe-266a3a4881da" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_RealizedAndUnrealizedGainLossInvestmentAndDerivativeOperatingAfterTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfDerivatives_019e6738-924c-7a15-bbd8-56f7fd7c060b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6036-7e12-9efe-266a3a4881da" xlink:to="loc_us-gaap_GainLossOnSaleOfDerivatives_019e6738-924c-7a15-bbd8-56f7fd7c060b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e2c61-6036-7196-bf95-11d326109920" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6036-7e12-9efe-266a3a4881da" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019e2c61-6036-7196-bf95-11d326109920" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/EarningsPerShareScheduleofBasicandDilutedEarningsPerShareDetails" xlink:type="simple" xlink:href="htgc-20260630.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_UndistributedEarningsLossAvailableToCommonShareholdersBasic_019e2c61-6037-7070-81b4-68ebd8d2693b" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_UndistributedEarningsLossAvailableToCommonShareholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019e2c61-6037-71c0-be98-5f2969e1c621" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7070-81b4-68ebd8d2693b" xlink:to="loc_us-gaap_NetIncomeLoss_019e2c61-6037-71c0-be98-5f2969e1c621" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_019e2c61-6037-7679-b994-eeba51daddc9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7070-81b4-68ebd8d2693b" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_019e2c61-6037-7679-b994-eeba51daddc9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e2c61-6037-7a30-9ede-8ded9b6da953" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019e2c61-6037-79eb-847c-63a0b4252b37" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e2c61-6037-7a30-9ede-8ded9b6da953" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities_019e2c61-6037-79eb-847c-63a0b4252b37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e2c61-6037-7b1a-a220-0c006d1b9c8c" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019e2c61-6037-7a30-9ede-8ded9b6da953" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_019e2c61-6037-7b1a-a220-0c006d1b9c8c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e2c61-6037-740d-a937-7f91a7d68ed9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7a30-9ede-8ded9b6da953" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_019e2c61-6037-740d-a937-7f91a7d68ed9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2c61-6037-7e86-bbd6-921ce2c9c29f" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2c61-6037-7da6-bd45-f88f7125cdaf" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2c61-6037-7e86-bbd6-921ce2c9c29f" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2c61-6037-7da6-bd45-f88f7125cdaf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019e2c61-6037-7cc2-9b4f-2b664c41eb93" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_019e2c61-6037-7e86-bbd6-921ce2c9c29f" xlink:to="loc_us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther_019e2c61-6037-7cc2-9b4f-2b664c41eb93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_019e2c61-6037-78c2-bf24-697238d5b17e" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyDividendDistribution_019e2c61-6037-76e3-a239-c045b9c5fbb2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-78c2-bf24-697238d5b17e" xlink:to="loc_us-gaap_InvestmentCompanyDividendDistribution_019e2c61-6037-76e3-a239-c045b9c5fbb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UndistributedEarnings_019e2c61-6037-7c2e-a55d-ce062df1949d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-78c2-bf24-697238d5b17e" xlink:to="loc_us-gaap_UndistributedEarnings_019e2c61-6037-7c2e-a55d-ce062df1949d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/FinancialHighlightsDetails" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6037-7f5b-b403-6931bf2ad9b0" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare_019e2c61-6037-7b66-b1e3-d396b67b2032" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_019e2c61-6037-7f5b-b403-6931bf2ad9b0" xlink:to="loc_us-gaap_InvestmentCompanyRealizedGainLossOnInvestmentPerShare_019e2c61-6037-7b66-b1e3-d396b67b2032" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare_019e2c61-6037-77f4-8a67-628aa428ff52" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_019e2c61-6037-7f5b-b403-6931bf2ad9b0" xlink:to="loc_us-gaap_InvestmentCompanyUnrealizedGainLossOnInvestmentPerShare_019e2c61-6037-77f4-8a67-628aa428ff52" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_InvestmentCompanyGainLossOnNetInvestmentPerShare_019e2c61-6037-7933-af7d-ef1da4e728d2" xlink:href="htgc-20260630.xsd#htgc_InvestmentCompanyGainLossOnNetInvestmentPerShare"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyInvestmentIncomeLossFromOperationsPerShare_019e2c61-6037-7f5b-b403-6931bf2ad9b0" xlink:to="loc_htgc_InvestmentCompanyGainLossOnNetInvestmentPerShare_019e2c61-6037-7933-af7d-ef1da4e728d2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInRemainderOfFiscalYear_019e2c61-6037-7504-a7f0-2d004cba3f1c" xlink:href="htgc-20260630.xsd#htgc_UnfundedCommitmentsDueInRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:to="loc_htgc_UnfundedCommitmentsDueInRemainderOfFiscalYear_019e2c61-6037-7504-a7f0-2d004cba3f1c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInOneYear_019e2c61-6037-76c1-9845-3d1f3c379378" xlink:href="htgc-20260630.xsd#htgc_UnfundedCommitmentsDueInOneYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:to="loc_htgc_UnfundedCommitmentsDueInOneYear_019e2c61-6037-76c1-9845-3d1f3c379378" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSecondYear_019e2c61-6037-7725-9d32-15bfe1f3cf8b" xlink:href="htgc-20260630.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_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:to="loc_htgc_UnfundedCommitmentsDueInSecondYear_019e2c61-6037-7725-9d32-15bfe1f3cf8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInThirdYear_019e2c61-6037-700c-a96a-e357f624ca6f" xlink:href="htgc-20260630.xsd#htgc_UnfundedCommitmentsDueInThirdYear"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:to="loc_htgc_UnfundedCommitmentsDueInThirdYear_019e2c61-6037-700c-a96a-e357f624ca6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFourthYear_019e2c61-6037-7ea2-91e1-bd34d08048b9" xlink:href="htgc-20260630.xsd#htgc_UnfundedCommitmentsDueInFourthYear"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:to="loc_htgc_UnfundedCommitmentsDueInFourthYear_019e2c61-6037-7ea2-91e1-bd34d08048b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFifthYear_019e2c61-6037-7b38-a931-528e96db8b1b" xlink:href="htgc-20260630.xsd#htgc_UnfundedCommitmentsDueInFifthYear"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_019e2c61-6037-777f-adbd-2e5b41279aec" xlink:to="loc_htgc_UnfundedCommitmentsDueInFifthYear_019e2c61-6037-7b38-a931-528e96db8b1b" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofUnencumberedUnfundedCommitmentsDetails_1" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6037-7777-ac2f-72c09a03da19" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInFourthYear_019e2c61-6037-7286-91b9-3f24d7a3558b" xlink:href="htgc-20260630.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_019e2c61-6037-7777-ac2f-72c09a03da19" xlink:to="loc_htgc_UnfundedCommitmentsDueInFourthYear_019e2c61-6037-7286-91b9-3f24d7a3558b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_UnfundedCommitmentsDueInSixthYear_019e2c61-6037-7b71-8903-97255d33feb6" xlink:href="htgc-20260630.xsd#htgc_UnfundedCommitmentsDueInSixthYear"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InvestmentCompanyFinancialCommitmentToInvesteeFutureAmount_019e2c61-6037-7777-ac2f-72c09a03da19" xlink:to="loc_htgc_UnfundedCommitmentsDueInSixthYear_019e2c61-6037-7b71-8903-97255d33feb6" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofContractualObligationsDetails" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6037-7d41-93d8-643abc576a58" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_019e2c61-6037-78b3-b0a9-3debe50d7933" xlink:href="htgc-20260630.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_019e2c61-6037-7d41-93d8-643abc576a58" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearTwoAndThree_019e2c61-6037-78b3-b0a9-3debe50d7933" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019e2c61-6037-7920-98f7-008eccc39095" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7d41-93d8-643abc576a58" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019e2c61-6037-7920-98f7-008eccc39095" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2c61-6037-769d-b762-407b3fe9d3b9" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7d41-93d8-643abc576a58" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2c61-6037-769d-b762-407b3fe9d3b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_019e2c61-6037-710e-8e6e-10d02a6c42b3" xlink:href="htgc-20260630.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_019e2c61-6037-7d41-93d8-643abc576a58" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityToBePaidYearFourAndFive_019e2c61-6037-710e-8e6e-10d02a6c42b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019e2c61-6037-7793-9b92-652ccdf2554d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LongTermDebt"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019e2c61-6037-7f2f-8db8-c5edd8c83be7" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7793-9b92-652ccdf2554d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_019e2c61-6037-7f2f-8db8-c5edd8c83be7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019e2c61-6037-7542-ab0b-f714d744b343" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7793-9b92-652ccdf2554d" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_019e2c61-6037-7542-ab0b-f714d744b343" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_019e2c61-6037-73dc-8e13-7e702d470c06" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7793-9b92-652ccdf2554d" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsFourAndFive_019e2c61-6037-73dc-8e13-7e702d470c06" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_019e2c61-6037-7ac0-928d-30bfc8c1cc05" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7793-9b92-652ccdf2554d" xlink:to="loc_us-gaap_LongTermDebtMaturingInYearsTwoAndThree_019e2c61-6037-7ac0-928d-30bfc8c1cc05" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligation_019e2c61-6037-74e5-87b0-1e01f00a96cd" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_ContractualObligation"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_019e2c61-6037-781f-9d48-8035832b9490" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-74e5-87b0-1e01f00a96cd" xlink:to="loc_us-gaap_ContractualObligationDueInNextTwelveMonths_019e2c61-6037-781f-9d48-8035832b9490" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_019e2c61-6037-79b2-a4c3-4a223fedbb77" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-74e5-87b0-1e01f00a96cd" xlink:to="loc_us-gaap_ContractualObligationDueInSecondAndThirdYear_019e2c61-6037-79b2-a4c3-4a223fedbb77" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_019e2c61-6037-785b-8e23-7ea9d2861dc8" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-74e5-87b0-1e01f00a96cd" xlink:to="loc_us-gaap_ContractualObligationDueInFourthAndFifthYear_019e2c61-6037-785b-8e23-7ea9d2861dc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractualObligationDueAfterFifthYear_019e2c61-6037-765e-beb8-dcf971337583" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-74e5-87b0-1e01f00a96cd" xlink:to="loc_us-gaap_ContractualObligationDueAfterFifthYear_019e2c61-6037-765e-beb8-dcf971337583" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsUnderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6037-73a7-ba4f-cfee46e3337d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2c61-6037-78b3-a1fe-b18aaa31903d" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-73a7-ba4f-cfee46e3337d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_019e2c61-6037-78b3-a1fe-b18aaa31903d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2c61-6037-7fb2-969d-ac4daca26331" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-73a7-ba4f-cfee46e3337d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019e2c61-6037-7fb2-969d-ac4daca26331" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e2c61-6037-7202-a1f3-c2587bdbaef2" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-73a7-ba4f-cfee46e3337d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019e2c61-6037-7202-a1f3-c2587bdbaef2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e2c61-6037-76bf-b7e8-ea99112afd83" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-73a7-ba4f-cfee46e3337d" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019e2c61-6037-76bf-b7e8-ea99112afd83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearThree_019e2c61-6037-7676-9f95-368d9189fa59" xlink:href="htgc-20260630.xsd#htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearThree"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019e2c61-6037-73a7-ba4f-cfee46e3337d" xlink:to="loc_htgc_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearThree_019e2c61-6037-7676-9f95-368d9189fa59" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.htgc.com/role/CommitmentsandContingenciesScheduleofFutureMinimumLeasePaymentsUnderOperatingLeasesandReconciliationtoOperatingLeaseLiabilityDetails_1" xlink:type="simple" xlink:href="htgc-20260630.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_019e2c61-6037-7540-8061-159d387a22ae" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiability_019e2c61-6037-7225-800a-40712e062533" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7540-8061-159d387a22ae" xlink:to="loc_us-gaap_OperatingLeaseLiability_019e2c61-6037-7225-800a-40712e062533" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e2c61-6037-7519-9657-8240e0502fe1" xlink:href="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.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_019e2c61-6037-7540-8061-159d387a22ae" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityUndiscountedExcessAmount_019e2c61-6037-7519-9657-8240e0502fe1" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
