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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019b99ce-bc9a-7eb2-80b8-1bf2d8778af4,g:b4775a87-fa48-42f6-9cf6-e9fdbd4b4715-->
<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.trimascorp.com/role/ConsolidatedBalanceSheetStatement" xlink:type="simple" xlink:href="trs-20251231.xsd#ConsolidatedBalanceSheetStatement"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/ConsolidatedBalanceSheetStatement" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_019b99ce-bee0-7e30-a6e8-b54bb8fcc600" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7796-960f-c213124ed091" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019b99ce-bee0-7e30-a6e8-b54bb8fcc600" xlink:to="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7796-960f-c213124ed091" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019b99ce-bee0-7857-adf1-1d6360f3d95c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_019b99ce-bee0-7e30-a6e8-b54bb8fcc600" xlink:to="loc_us-gaap_Liabilities_019b99ce-bee0-7857-adf1-1d6360f3d95c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019b99ce-bee0-76f0-8e88-b16f035d57f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019b99ce-bee0-7183-8311-bd968fb7f18a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019b99ce-bee0-76f0-8e88-b16f035d57f1" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019b99ce-bee0-7183-8311-bd968fb7f18a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_019b99ce-bee0-717d-b885-3e860f6a8fa6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019b99ce-bee0-76f0-8e88-b16f035d57f1" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_019b99ce-bee0-717d-b885-3e860f6a8fa6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019b99ce-bee0-7dbe-ac4d-4f1856dcf16f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019b99ce-bee0-76f0-8e88-b16f035d57f1" xlink:to="loc_us-gaap_InventoryNet_019b99ce-bee0-7dbe-ac4d-4f1856dcf16f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019b99ce-bee0-73b6-a14f-85763e414530" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019b99ce-bee0-76f0-8e88-b16f035d57f1" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_019b99ce-bee0-73b6-a14f-85763e414530" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_019c9382-12ee-7059-b2cc-ab422994010e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_019b99ce-bee0-76f0-8e88-b16f035d57f1" xlink:to="loc_us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent_019c9382-12ee-7059-b2cc-ab422994010e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_019b99ce-bee0-7ece-b2fa-7e6862f48610" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_AssetsCurrent_019b99ce-bee0-7ece-b2fa-7e6862f48610" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019b99ce-bee0-71c9-af0b-8c85e7edd843" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019b99ce-bee0-71c9-af0b-8c85e7edd843" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019b99ce-bee0-7a71-a9bc-fe3e3bd0e17b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019b99ce-bee0-7a71-a9bc-fe3e3bd0e17b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_019b99ce-bee0-7b13-aae9-26c1613be5d2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_Goodwill_019b99ce-bee0-7b13-aae9-26c1613be5d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019b99ce-bee0-7d60-a9b5-1f5175b66305" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_019b99ce-bee0-7d60-a9b5-1f5175b66305" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_019b99ce-bee0-7ac6-8444-f1e577f00a9c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_019b99ce-bee0-7ac6-8444-f1e577f00a9c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_019c937d-828d-7ffd-8c9c-60621ed22bf4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_019c937d-828d-7ffd-8c9c-60621ed22bf4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_019c9382-52d3-7a89-ae1c-55f039816513" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_019b99ce-bee0-772a-9a15-4871ea6c11c1" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationAssetsNoncurrent_019c9382-52d3-7a89-ae1c-55f039816513" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7b4a-a6f6-9afbef6d6656" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_019b99ce-bee0-7909-9ad7-650ff7ae3d0f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7b4a-a6f6-9afbef6d6656" xlink:to="loc_us-gaap_AccountsPayableCurrent_019b99ce-bee0-7909-9ad7-650ff7ae3d0f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bee0-7d16-b9fe-6d67925d64ea" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7b4a-a6f6-9afbef6d6656" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bee0-7d16-b9fe-6d67925d64ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_LeaseLiabilitiesCurrentPortion_019b99ce-bee0-7a4a-ab8a-146505f309be" xlink:href="trs-20251231.xsd#trs_LeaseLiabilitiesCurrentPortion"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7b4a-a6f6-9afbef6d6656" xlink:to="loc_trs_LeaseLiabilitiesCurrentPortion_019b99ce-bee0-7a4a-ab8a-146505f309be" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_019c9382-9114-7778-9a6b-220dd825e211" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7b4a-a6f6-9afbef6d6656" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent_019c9382-9114-7778-9a6b-220dd825e211" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7488-bca9-ca11ec93ba9d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_019b99ce-bee0-7924-b3c3-7176962f244e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7488-bca9-ca11ec93ba9d" xlink:to="loc_us-gaap_PreferredStockValue_019b99ce-bee0-7924-b3c3-7176962f244e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_019b99ce-bee0-721f-8cbd-6f79fe947cec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7488-bca9-ca11ec93ba9d" xlink:to="loc_us-gaap_CommonStockValue_019b99ce-bee0-721f-8cbd-6f79fe947cec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019b99ce-bee0-7cf9-81cf-38e0466ad75d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7488-bca9-ca11ec93ba9d" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_019b99ce-bee0-7cf9-81cf-38e0466ad75d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019b99ce-bee0-7b8e-ac72-e16f9940d0cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7488-bca9-ca11ec93ba9d" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_019b99ce-bee0-7b8e-ac72-e16f9940d0cc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-7d7e-9f85-7a36c3a99f3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_019b99ce-bee0-7488-bca9-ca11ec93ba9d" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-7d7e-9f85-7a36c3a99f3b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7659-aecc-a8795fad5524" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:to="loc_us-gaap_LiabilitiesCurrent_019b99ce-bee0-7659-aecc-a8795fad5524" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019b99ce-bee0-7a5e-9a5e-1ecbeb00d651" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtAndCapitalLeaseObligations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_019b99ce-bee0-7a5e-9a5e-1ecbeb00d651" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_LeaseLiabilitiesNoncurrent_019b99ce-bee0-7536-9d12-dd4f26b64188" xlink:href="trs-20251231.xsd#trs_LeaseLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:to="loc_trs_LeaseLiabilitiesNoncurrent_019b99ce-bee0-7536-9d12-dd4f26b64188" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019b99ce-bee0-7355-97a8-cf8043ac2c17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_019b99ce-bee0-7355-97a8-cf8043ac2c17" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019b99ce-bee0-7f72-b081-b4fdaae3a11c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_019b99ce-bee0-7f72-b081-b4fdaae3a11c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent_019c9382-d8fa-7540-a555-a7766330a39f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_019b99ce-bee0-7531-aafb-eb87e1884bf6" xlink:to="loc_us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationNoncurrent_019c9382-d8fa-7540-a555-a7766330a39f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/ConsolidatedStatementofOperations" xlink:type="simple" xlink:href="trs-20251231.xsd#ConsolidatedStatementofOperations"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/ConsolidatedStatementofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-bee0-7d5b-87dd-941cdfb3a5ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7c54-979c-6bbd3a349193" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-bee0-7d5b-87dd-941cdfb3a5ff" xlink:to="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7c54-979c-6bbd3a349193" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019b99ce-bee0-7308-b310-892fe8c3e738" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-bee0-7d5b-87dd-941cdfb3a5ff" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_019b99ce-bee0-7308-b310-892fe8c3e738" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019b99ce-bee0-7f28-9f34-d774ce6777f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019b99ce-bee0-7234-bf0d-d3886c07769d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019b99ce-bee0-7f28-9f34-d774ce6777f4" xlink:to="loc_us-gaap_Revenues_019b99ce-bee0-7234-bf0d-d3886c07769d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_019b99ce-bee0-70e6-8817-50cc86dfebb6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfGoodsAndServicesSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_GrossProfit_019b99ce-bee0-7f28-9f34-d774ce6777f4" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_019b99ce-bee0-70e6-8817-50cc86dfebb6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_019b99ce-bee0-7c2e-bd6c-e2fc8f3fd73f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseNonoperating_019b99ce-bee0-73cb-88e0-956075e38562" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseNonoperating"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019b99ce-bee0-7c2e-bd6c-e2fc8f3fd73f" xlink:to="loc_us-gaap_InterestExpenseNonoperating_019b99ce-bee0-73cb-88e0-956075e38562" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019b99ce-bee0-7122-ab27-cc9151db2258" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019b99ce-bee0-7c2e-bd6c-e2fc8f3fd73f" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_019b99ce-bee0-7122-ab27-cc9151db2258" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_019b99ce-bee0-7c06-a679-9c6f36bc0027" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNonoperatingIncomeExpense"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_019b99ce-bee0-7c2e-bd6c-e2fc8f3fd73f" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_019b99ce-bee0-7c06-a679-9c6f36bc0027" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7804-bad5-bb82ec56ecb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_019b99ce-bee0-7993-ba2c-3a7fbe3c582f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossProfit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7804-bad5-bb82ec56ecb8" xlink:to="loc_us-gaap_GrossProfit_019b99ce-bee0-7993-ba2c-3a7fbe3c582f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019b99ce-bee0-7c95-a41f-5b7c671d08ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpense"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7804-bad5-bb82ec56ecb8" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_019b99ce-bee0-7c95-a41f-5b7c671d08ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPeriodIncreaseDecrease_019b99ce-bee0-722f-83ec-f201e45d2ee2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPeriodIncreaseDecrease"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7804-bad5-bb82ec56ecb8" xlink:to="loc_us-gaap_LiabilityForAsbestosAndEnvironmentalClaimsNetPeriodIncreaseDecrease_019b99ce-bee0-722f-83ec-f201e45d2ee2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_019b99ce-bee0-7129-b4ab-3510c6ca08e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7804-bad5-bb82ec56ecb8" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_019b99ce-bee0-7129-b4ab-3510c6ca08e0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_019c9601-7b12-7005-9fe1-c8ddf2904e9a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_019b99ce-bee0-7804-bad5-bb82ec56ecb8" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_019c9601-7b12-7005-9fe1-c8ddf2904e9a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-79ff-ad5c-5bc7528bab7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-bee0-77fa-8416-a54f830a4d68" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-79ff-ad5c-5bc7528bab7f" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-bee0-77fa-8416-a54f830a4d68" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-bee0-7115-89d5-834c73e076a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-79ff-ad5c-5bc7528bab7f" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-bee0-7115-89d5-834c73e076a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019b99ce-bee0-7fdc-b083-5857391d4fe4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-79ec-8320-16439d775188" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019b99ce-bee0-7fdc-b083-5857391d4fe4" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-79ec-8320-16439d775188" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_019b99ce-bee0-7d19-9ab4-60ba6e3a7edf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_019b99ce-bee0-7fdc-b083-5857391d4fe4" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_019b99ce-bee0-7d19-9ab4-60ba6e3a7edf" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/ConsolidatedStatementofComprehensiveIncome" xlink:type="simple" xlink:href="trs-20251231.xsd#ConsolidatedStatementofComprehensiveIncome"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/ConsolidatedStatementofComprehensiveIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-73ba-aa6a-60ed13187700" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_019b99ce-bee0-77c4-8a35-f1a139224562" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-73ba-aa6a-60ed13187700" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_019b99ce-bee0-77c4-8a35-f1a139224562" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019b99ce-bee0-7f50-af9c-7d156e5a5fd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-73ba-aa6a-60ed13187700" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_019b99ce-bee0-7f50-af9c-7d156e5a5fd2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_OtherComprehensiveIncomeLossNetInvestmentDerivativesNetOfTax_019b99ce-bee0-7ec1-810f-cb01f7923084" xlink:href="trs-20251231.xsd#trs_OtherComprehensiveIncomeLossNetInvestmentDerivativesNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-73ba-aa6a-60ed13187700" xlink:to="loc_trs_OtherComprehensiveIncomeLossNetInvestmentDerivativesNetOfTax_019b99ce-bee0-7ec1-810f-cb01f7923084" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_019b99ce-bee0-717c-b4b3-66650e2ef495" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019b99ce-bee0-70dc-bd56-8377b334ffd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019b99ce-bee0-717c-b4b3-66650e2ef495" xlink:to="loc_us-gaap_NetIncomeLoss_019b99ce-bee0-70dc-bd56-8377b334ffd6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-70e0-91fd-6b7f83029328" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_019b99ce-bee0-717c-b4b3-66650e2ef495" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-bee0-70e0-91fd-6b7f83029328" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/ConsolidatedStatementofCashFlowsStatement" xlink:type="simple" xlink:href="trs-20251231.xsd#ConsolidatedStatementofCashFlowsStatement"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/ConsolidatedStatementofCashFlowsStatement" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019b99ce-bee0-7227-bfdd-0b77371e4b96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-7c0f-8bc3-a124f520858b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019b99ce-bee0-7227-bfdd-0b77371e4b96" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-7c0f-8bc3-a124f520858b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_019b99ce-bee0-7800-8cd4-399bb913bb21" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019b99ce-bee0-7227-bfdd-0b77371e4b96" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_019b99ce-bee0-7800-8cd4-399bb913bb21" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019b99ce-bee0-782d-a4a3-b9dfc836fb1d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-79c2-9629-dfb62dbabba5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019b99ce-bee0-782d-a4a3-b9dfc836fb1d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-79c2-9629-dfb62dbabba5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_019b99ce-bee0-7cbb-84e5-c5604daff57d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019b99ce-bee0-782d-a4a3-b9dfc836fb1d" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_019b99ce-bee0-7cbb-84e5-c5604daff57d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-7630-af95-3e9bb3a8f505" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperations_019b99ce-bee0-7630-af95-3e9bb3a8f505" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_019b99ce-bee0-70b9-84b1-18d0b2ad722e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_ImpairmentOfIntangibleAssetsIndefinitelivedExcludingGoodwill_019b99ce-bee0-70b9-84b1-18d0b2ad722e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_019b99ce-bee0-78f2-9d49-3a635742cafc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_019b99ce-bee0-78f2-9d49-3a635742cafc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_019b99ce-bee0-7b7e-bfea-21e7623e054d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_Depreciation_019b99ce-bee0-7b7e-bfea-21e7623e054d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_019b99ce-bee0-7eaf-b330-e88803d2123a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_019b99ce-bee0-7eaf-b330-e88803d2123a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019b99ce-bee0-70bd-a9b1-5de4424e6997" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_019b99ce-bee0-70bd-a9b1-5de4424e6997" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_019b99ce-bee0-70cd-9d54-bce49e6b8ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_019b99ce-bee0-70cd-9d54-bce49e6b8ef2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019b99ce-bee0-7eb2-9b12-701a008b7a49" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_ShareBasedCompensation_019b99ce-bee0-7eb2-9b12-701a008b7a49" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_019b99ce-bee0-717c-9208-a683efef987e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForDoubtfulAccounts"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_019b99ce-bee0-717c-9208-a683efef987e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_Increasedecreaseinasbestosliability_019b99ce-bee0-706f-b415-0c5f86624952" xlink:href="trs-20251231.xsd#trs_Increasedecreaseinasbestosliability"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_trs_Increasedecreaseinasbestosliability_019b99ce-bee0-706f-b415-0c5f86624952" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EnvironmentalExpenseAndLiabilities_019b99ce-bee0-7da0-9abc-a5f04ad651d9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EnvironmentalExpenseAndLiabilities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_EnvironmentalExpenseAndLiabilities_019b99ce-bee0-7da0-9abc-a5f04ad651d9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_019b99ce-bee0-7505-8b1e-b2bc81c231da" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_019b99ce-bee0-7505-8b1e-b2bc81c231da" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_019b99ce-bee0-7805-92f5-c104965d0e48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_019b99ce-bee0-7805-92f5-c104965d0e48" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_019b99ce-bee0-724a-b081-da46e2d90be6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_019b99ce-bee0-724a-b081-da46e2d90be6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019b99ce-bee0-73d3-a565-7e786fd81f7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="15" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_019b99ce-bee0-73d3-a565-7e786fd81f7d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019b99ce-bee0-7f81-a613-e32f2bac8c83" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_019b99ce-bee0-7f81-a613-e32f2bac8c83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019b99ce-bee0-7e81-b5e4-b940e488f048" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet"/>
    <link:calculationArc order="17" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-7557-91c0-1c072dfe48f8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingCapitalNet_019b99ce-bee0-7e81-b5e4-b940e488f048" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-7f97-81e4-08843bf40549" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_019b99ce-bee0-7dc2-888a-997fb844df27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-7f97-81e4-08843bf40549" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_019b99ce-bee0-7dc2-888a-997fb844df27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019b99ce-bee0-739e-a382-e80f530e2798" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-7f97-81e4-08843bf40549" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_019b99ce-bee0-739e-a382-e80f530e2798" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_019b99ce-bee0-7320-b091-d74b4a09b200" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromHedgeInvestingActivities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-7f97-81e4-08843bf40549" xlink:to="loc_us-gaap_PaymentsForProceedsFromHedgeInvestingActivities_019b99ce-bee0-7320-b091-d74b4a09b200" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromDerivativeInstrumentInvestingActivities_019b99ce-bee0-77b7-8f91-9b95bb1034a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromDerivativeInstrumentInvestingActivities"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-7f97-81e4-08843bf40549" xlink:to="loc_us-gaap_PaymentsForProceedsFromDerivativeInstrumentInvestingActivities_019b99ce-bee0-77b7-8f91-9b95bb1034a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets_019b99ce-bee0-7981-ab36-cfe647bfb2d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_019b99ce-bee0-7f97-81e4-08843bf40549" xlink:to="loc_us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets_019b99ce-bee0-7981-ab36-cfe647bfb2d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019b99ce-bee0-77b9-bf19-760d6586e257" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019b99ce-bee0-7fa6-81af-73e2640826db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019b99ce-bee0-77b9-bf19-760d6586e257" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_019b99ce-bee0-7fa6-81af-73e2640826db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019b99ce-bee0-7943-a8ac-e044d244a955" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019b99ce-bee0-77b9-bf19-760d6586e257" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_019b99ce-bee0-7943-a8ac-e044d244a955" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019b99ce-bee0-7e97-a52f-442240079462" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_019b99ce-bee0-77b9-bf19-760d6586e257" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019b99ce-bee0-7e97-a52f-442240079462" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarlyRepaymentOfSeniorDebt_019b99ce-bee0-7139-92a1-290cbe3af554" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarlyRepaymentOfSeniorDebt"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_EarlyRepaymentOfSeniorDebt_019b99ce-bee0-7139-92a1-290cbe3af554" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_019b99ce-bee0-78bf-8080-e6274d8c22ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_019b99ce-bee0-78bf-8080-e6274d8c22ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromBankDebt_019b99ce-bee0-7ec4-a5b4-23fd805fd9b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromBankDebt"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_ProceedsFromBankDebt_019b99ce-bee0-7ec4-a5b4-23fd805fd9b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_019b99ce-bee0-7d06-996c-a73476ae292c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLongTermDebt"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_019b99ce-bee0-7d06-996c-a73476ae292c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_019b99ce-bee0-7acd-8d94-26db13bcf013" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_019b99ce-bee0-7acd-8d94-26db13bcf013" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019b99ce-bee0-740b-b0c8-0ea51a3d1efc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019b99ce-bee0-740b-b0c8-0ea51a3d1efc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019b99ce-bee0-7af4-a151-0d3156b9c4e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.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_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_019b99ce-bee0-7af4-a151-0d3156b9c4e1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019b99ce-bee0-7e23-9704-06a15b3ec626" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_019b99ce-bee0-7e23-9704-06a15b3ec626" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019b99ce-bee0-74cf-b333-718541ad2d40" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019b99ce-bee0-74cf-b333-718541ad2d40" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_019b99ce-bee0-73b5-bb1c-e765ffa2bb6e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_PaymentsOfDividends_019b99ce-bee0-73b5-bb1c-e765ffa2bb6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019b99ce-bee0-7a23-a1db-cde0c8bc258a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_019b99ce-bee0-771d-ba53-bcf7e9a045c1" xlink:to="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_019b99ce-bee0-7a23-a1db-cde0c8bc258a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019b99ce-bee0-7cf9-9c5b-0b0a3e6e01d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-74a3-9469-64036f617f3d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019b99ce-bee0-7cf9-9c5b-0b0a3e6e01d8" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_019b99ce-bee0-74a3-9469-64036f617f3d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_019b99ce-bee0-7362-b4c2-6b18907c4100" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_019b99ce-bee0-7cf9-9c5b-0b0a3e6e01d8" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_019b99ce-bee0-7362-b4c2-6b18907c4100" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/InventoriesDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#InventoriesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/InventoriesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_019b99ce-bfaf-7e5a-a853-0fb5d80b7d5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019b99ce-bfaf-7e99-ae49-2f2e0d3e3d13" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryFinishedGoodsNetOfReserves"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019b99ce-bfaf-7e5a-a853-0fb5d80b7d5d" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_019b99ce-bfaf-7e99-ae49-2f2e0d3e3d13" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019b99ce-bfaf-7493-9a63-6e454eada8b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryWorkInProcessNetOfReserves"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019b99ce-bfaf-7e5a-a853-0fb5d80b7d5d" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_019b99ce-bfaf-7493-9a63-6e454eada8b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019b99ce-bfaf-713d-aa19-fee86af92130" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoryRawMaterialsNetOfReserves"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_InventoryNet_019b99ce-bfaf-7e5a-a853-0fb5d80b7d5d" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_019b99ce-bfaf-713d-aa19-fee86af92130" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/PropertyandEquipmentNetPropertyandEquipmentTableDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#PropertyandEquipmentNetPropertyandEquipmentTableDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/PropertyandEquipmentNetPropertyandEquipmentTableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019b99ce-bfaf-7675-a55a-54554a77ac4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019b99ce-bfaf-771f-b14b-4045c22dae0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019b99ce-bfaf-7675-a55a-54554a77ac4f" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019b99ce-bfaf-771f-b14b-4045c22dae0b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019b99ce-bfaf-7de2-bda0-0cdb06a35e7d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentNet_019b99ce-bfaf-7675-a55a-54554a77ac4f" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019b99ce-bfaf-7de2-bda0-0cdb06a35e7d" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/AccruedLiabilitiesDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#AccruedLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/AccruedLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bfaf-7d2b-99ca-17321a59fd66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019b99ce-bfaf-79b9-a501-94c6173e8499" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bfaf-7d2b-99ca-17321a59fd66" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_019b99ce-bfaf-79b9-a501-94c6173e8499" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedInsuranceCurrent_019b99ce-bfaf-7aa1-9afc-a7348feb8768" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedInsuranceCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bfaf-7d2b-99ca-17321a59fd66" xlink:to="loc_us-gaap_AccruedInsuranceCurrent_019b99ce-bfaf-7aa1-9afc-a7348feb8768" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_019b99ce-bfaf-7ecc-b00e-49e5b17ec605" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bfaf-7d2b-99ca-17321a59fd66" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_019b99ce-bfaf-7ecc-b00e-49e5b17ec605" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenue_019b99ce-bfaf-7d1a-bdad-b1250d8ac91b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bfaf-7d2b-99ca-17321a59fd66" xlink:to="loc_us-gaap_DeferredRevenue_019b99ce-bfaf-7d1a-bdad-b1250d8ac91b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019b99ce-bfaf-7ed2-b76c-e86544e41baa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccruedLiabilitiesCurrent_019b99ce-bfaf-7d2b-99ca-17321a59fd66" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_019b99ce-bfaf-7ed2-b76c-e86544e41baa" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/LeasesSupplementalBalanceSheetInformationRelatedtoLeasesDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#LeasesSupplementalBalanceSheetInformationRelatedtoLeasesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/LeasesSupplementalBalanceSheetInformationRelatedtoLeasesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_trs_LeaseLiabilities_019b99ce-bfb0-7735-895f-8958c54aab75" xlink:href="trs-20251231.xsd#trs_LeaseLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_019b99ce-bfb0-79dd-91cc-126003ed7aae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_trs_LeaseLiabilities_019b99ce-bfb0-7735-895f-8958c54aab75" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_019b99ce-bfb0-79dd-91cc-126003ed7aae" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_019b99ce-bfb0-76a3-983e-160618013db8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_trs_LeaseLiabilities_019b99ce-bfb0-7735-895f-8958c54aab75" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_019b99ce-bfb0-76a3-983e-160618013db8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019b99ce-bfb0-73f7-9023-9467f8588ed6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_trs_LeaseLiabilities_019b99ce-bfb0-7735-895f-8958c54aab75" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_019b99ce-bfb0-73f7-9023-9467f8588ed6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019b99ce-bfb0-766d-9c8f-3c349acaa8db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_trs_LeaseLiabilities_019b99ce-bfb0-7735-895f-8958c54aab75" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_019b99ce-bfb0-766d-9c8f-3c349acaa8db" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_LeaseRightOfUseAssets_019b99ce-bfb0-7d62-a629-29107185e06c" xlink:href="trs-20251231.xsd#trs_LeaseRightOfUseAssets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_019b99ce-bfb0-7252-849e-0509989e0dbf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_trs_LeaseRightOfUseAssets_019b99ce-bfb0-7d62-a629-29107185e06c" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_019b99ce-bfb0-7252-849e-0509989e0dbf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_019b99ce-bfb0-79d8-8147-506fc37ed8d0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseRightOfUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_trs_LeaseRightOfUseAssets_019b99ce-bfb0-7d62-a629-29107185e06c" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_019b99ce-bfb0-79d8-8147-506fc37ed8d0" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#LeasesMaturitiesofLeaseLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/LeasesMaturitiesofLeaseLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019b99ce-bfb0-7f6c-b342-2ff57b02f6e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_019b99ce-bfb0-7f6c-b342-2ff57b02f6e7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019b99ce-bfb0-7710-8eb7-3170a39962b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_019b99ce-bfb0-7710-8eb7-3170a39962b5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019b99ce-bfb0-7517-97cc-fb218679ceb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_019b99ce-bfb0-7517-97cc-fb218679ceb9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019b99ce-bfb0-7fcb-ac66-91ab3e07d47d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_019b99ce-bfb0-7fcb-ac66-91ab3e07d47d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019b99ce-bfb0-7e50-9376-fdaab9be331c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFive_019b99ce-bfb0-7e50-9376-fdaab9be331c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019b99ce-bfb0-7eb3-ae4e-acf1ee4f977e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_019b99ce-bfb0-7b80-abd4-cdf261ad66cb" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueAfterYearFive_019b99ce-bfb0-7eb3-ae4e-acf1ee4f977e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019b99ce-bfb0-7661-a0d7-a4429a4c43d7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueNextTwelveMonths_019b99ce-bfb0-7661-a0d7-a4429a4c43d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019b99ce-bfb0-77c1-9532-053c0a6ecc75" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearTwo_019b99ce-bfb0-77c1-9532-053c0a6ecc75" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019b99ce-bfb0-7a5a-ba45-ace8f694477f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearThree_019b99ce-bfb0-7a5a-ba45-ace8f694477f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019b99ce-bfb0-782f-be89-614618a6b013" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFour_019b99ce-bfb0-782f-be89-614618a6b013" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019b99ce-bfb0-76e7-b25d-3593b99c02d5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueYearFive_019b99ce-bfb0-76e7-b25d-3593b99c02d5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019b99ce-bfb0-76e6-bdb3-62bdf313bd9f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FinanceLeaseLiabilityPaymentsDue_019b99ce-bfb0-7d83-81f9-5d71a6ea679f" xlink:to="loc_us-gaap_FinanceLeaseLiabilityPaymentsDueAfterYearFive_019b99ce-bfb0-76e6-bdb3-62bdf313bd9f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/OtherLongtermLiabilitiesDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#OtherLongtermLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/OtherLongtermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_019b99ce-bfb0-7be5-a0a2-a132edbc1d86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_AsbestosRelatedLiabilityNoncurrent_019b99ce-bfb0-72a4-8e47-0ad2418505c0" xlink:href="trs-20251231.xsd#trs_AsbestosRelatedLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019b99ce-bfb0-7be5-a0a2-a132edbc1d86" xlink:to="loc_trs_AsbestosRelatedLiabilityNoncurrent_019b99ce-bfb0-72a4-8e47-0ad2418505c0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_OtherLongTermLiabilitiesOtherThanAsbestosLiability_019b99ce-bfb0-7437-a056-177b4f5184ff" xlink:href="trs-20251231.xsd#trs_OtherLongTermLiabilitiesOtherThanAsbestosLiability"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherLiabilitiesNoncurrent_019b99ce-bfb0-7be5-a0a2-a132edbc1d86" xlink:to="loc_trs_OtherLongTermLiabilitiesOtherThanAsbestosLiability_019b99ce-bfb0-7437-a056-177b4f5184ff" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/EmployeeBenefitPlansNetPeriodicPensionandPostretirementBenefitCostsDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#EmployeeBenefitPlansNetPeriodicPensionandPostretirementBenefitCostsDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/EmployeeBenefitPlansNetPeriodicPensionandPostretirementBenefitCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_019b99ce-bfb0-7eb2-bc65-47bc8da86b45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanServiceCost"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_019b99ce-bfb0-7eb2-bc65-47bc8da86b45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_019b99ce-bfb0-797e-a0ba-7cb71d2f9b36" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanInterestCost"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_019b99ce-bfb0-797e-a0ba-7cb71d2f9b36" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019b99ce-bfb0-7872-aeb3-8e829eb4df86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_019b99ce-bfb0-7872-aeb3-8e829eb4df86" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019b99ce-bfb0-798c-b589-382077f74654" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_019b99ce-bfb0-798c-b589-382077f74654" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_019b99ce-bfb0-7fb7-b74f-b79221f18b25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_019b99ce-bfb0-7fb7-b74f-b79221f18b25" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019b99ce-bfb0-722e-a05e-d3ef903f7420" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_019b99ce-bfb0-7d2b-92d5-6f7238f12332" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_019b99ce-bfb0-722e-a05e-d3ef903f7420" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/EmployeeBenefitPlansDefinedBenefitPlanChangeinBenefitObligationsandPlanAssetsTableDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#EmployeeBenefitPlansDefinedBenefitPlanChangeinBenefitObligationsandPlanAssetsTableDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/EmployeeBenefitPlansDefinedBenefitPlanChangeinBenefitObligationsandPlanAssetsTableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019b99ce-bfb0-7c82-80c4-4adaab5ddcab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_019b99ce-bfb0-7a73-af25-bed75f915183" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanBenefitObligation"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019b99ce-bfb0-7c82-80c4-4adaab5ddcab" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_019b99ce-bfb0-7a73-af25-bed75f915183" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019b99ce-bfb0-72aa-907c-3bd231ea17a2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_019b99ce-bfb0-7c82-80c4-4adaab5ddcab" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_019b99ce-bfb0-72aa-907c-3bd231ea17a2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/EmployeeBenefitPlansAmountsRecognizedonBalanceSheetTableDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#EmployeeBenefitPlansAmountsRecognizedonBalanceSheetTableDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/EmployeeBenefitPlansAmountsRecognizedonBalanceSheetTableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019b99ce-bfb0-715d-a986-6ae4ca78dbae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019b99ce-bfb0-7e44-901c-b23d007b958a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019b99ce-bfb0-715d-a986-6ae4ca78dbae" xlink:to="loc_us-gaap_DefinedBenefitPlanAssetsForPlanBenefitsNoncurrent_019b99ce-bfb0-7e44-901c-b23d007b958a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_019b99ce-bfb0-7bf9-aead-b440d76bc2b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019b99ce-bfb0-715d-a986-6ae4ca78dbae" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_019b99ce-bfb0-7bf9-aead-b440d76bc2b8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019b99ce-bfb0-7e2b-bed8-55f54be115e7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_019b99ce-bfb0-715d-a986-6ae4ca78dbae" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_019b99ce-bfb0-7e2b-bed8-55f54be115e7" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/EmployeeBenefitPlansAmountsRecognizedinAccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#EmployeeBenefitPlansAmountsRecognizedinAccumulatedOtherComprehensiveIncomeLossDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/EmployeeBenefitPlansAmountsRecognizedinAccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_019b99ce-bfb0-7b91-99d7-4ddc5359e666" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditAfterTax_019b99ce-bfb0-762a-9899-fd71e1932bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditAfterTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_019b99ce-bfb0-7b91-99d7-4ddc5359e666" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetPriorServiceCostCreditAfterTax_019b99ce-bfb0-762a-9899-fd71e1932bd0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax_019b99ce-bfb0-73ad-9309-ef4bed587ecd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossDefinedBenefitPensionAndOtherPostretirementPlansNetOfTax_019b99ce-bfb0-7b91-99d7-4ddc5359e666" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesAfterTax_019b99ce-bfb0-73ad-9309-ef4bed587ecd" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/OtherComprehensiveIncomeDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#OtherComprehensiveIncomeDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/OtherComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-c06c-712c-a743-c484bc1b22e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019b99ce-c06c-7d9b-9107-d53156a40bfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-c06c-712c-a743-c484bc1b22e4" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_019b99ce-c06c-7d9b-9107-d53156a40bfd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019b99ce-c06c-783b-9926-f90fa3408b6f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019b99ce-c06c-712c-a743-c484bc1b22e4" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_019b99ce-c06c-783b-9926-f90fa3408b6f" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/IncomeTaxesIncomeTaxbyJurisdictionDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#IncomeTaxesIncomeTaxbyJurisdictionDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/IncomeTaxesIncomeTaxbyJurisdictionDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019b99ce-c06d-73e9-80b1-c086b6cabbc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019b99ce-c06d-700b-9fd4-ffee6ba1b0ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentFederalTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019b99ce-c06d-73e9-80b1-c086b6cabbc8" xlink:to="loc_us-gaap_CurrentFederalTaxExpenseBenefit_019b99ce-c06d-700b-9fd4-ffee6ba1b0ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019b99ce-c06d-7cf1-8da1-686d3722456f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentStateAndLocalTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019b99ce-c06d-73e9-80b1-c086b6cabbc8" xlink:to="loc_us-gaap_CurrentStateAndLocalTaxExpenseBenefit_019b99ce-c06d-7cf1-8da1-686d3722456f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentForeignTaxExpenseBenefit_019b99ce-c06d-79f0-b36d-4582cfd94bd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentForeignTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019b99ce-c06d-73e9-80b1-c086b6cabbc8" xlink:to="loc_us-gaap_CurrentForeignTaxExpenseBenefit_019b99ce-c06d-79f0-b36d-4582cfd94bd7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019b99ce-c06d-737b-9db9-96e536c3ac58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019b99ce-c06d-74c7-8422-eeb24a1cc7ec" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFederalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019b99ce-c06d-737b-9db9-96e536c3ac58" xlink:to="loc_us-gaap_DeferredFederalIncomeTaxExpenseBenefit_019b99ce-c06d-74c7-8422-eeb24a1cc7ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019b99ce-c06d-7c19-a6d9-f933ffc94399" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019b99ce-c06d-737b-9db9-96e536c3ac58" xlink:to="loc_us-gaap_DeferredStateAndLocalIncomeTaxExpenseBenefit_019b99ce-c06d-7c19-a6d9-f933ffc94399" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_019b99ce-c06d-7898-8182-32b965a73e78" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredForeignIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019b99ce-c06d-737b-9db9-96e536c3ac58" xlink:to="loc_us-gaap_DeferredForeignIncomeTaxExpenseBenefit_019b99ce-c06d-7898-8182-32b965a73e78" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-798f-bb9a-c195025317f8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019b99ce-c06d-7569-a528-b9da5a746586" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-798f-bb9a-c195025317f8" xlink:to="loc_us-gaap_CurrentIncomeTaxExpenseBenefit_019b99ce-c06d-7569-a528-b9da5a746586" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019b99ce-c06d-772b-93ab-a3f265889be6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-798f-bb9a-c195025317f8" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_019b99ce-c06d-772b-93ab-a3f265889be6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-c06d-723e-9c50-6ff06058e261" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_019b99ce-c06d-705d-8c3f-81e505746785" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-c06d-723e-9c50-6ff06058e261" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesDomestic_019b99ce-c06d-705d-8c3f-81e505746785" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_019b99ce-c06d-7d4c-987c-0c8ce0ee1f8c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_019b99ce-c06d-723e-9c50-6ff06058e261" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesForeign_019b99ce-c06d-7d4c-987c-0c8ce0ee1f8c" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/IncomeTaxesComponentsofDeferredTaxesDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#IncomeTaxesComponentsofDeferredTaxesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/IncomeTaxesComponentsofDeferredTaxesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_019b99ce-c06d-7bdb-a7cb-e1a328183dd3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsAllowanceForDoubtfulAccounts_019b99ce-c06d-7bdb-a7cb-e1a328183dd3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInventory_019b99ce-c06d-795f-a1db-f4f4fc2dce1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInventory"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_us-gaap_DeferredTaxAssetsInventory_019b99ce-c06d-795f-a1db-f4f4fc2dce1f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_019b99ce-c06d-7449-b72a-acec6b4234f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsOther_019b99ce-c06d-7449-b72a-acec6b4234f9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_DeferredTaxAssetsOperatingleaseliability_019b99ce-c06d-7bfc-b8a5-78cd05bac9cd" xlink:href="trs-20251231.xsd#trs_DeferredTaxAssetsOperatingleaseliability"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_trs_DeferredTaxAssetsOperatingleaseliability_019b99ce-c06d-7bfc-b8a5-78cd05bac9cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_DeferredTaxAssetsOperatingLossAndCreditCarryforwards_019b99ce-c06d-7747-8f7c-6b976d15f695" xlink:href="trs-20251231.xsd#trs_DeferredTaxAssetsOperatingLossAndCreditCarryforwards"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_trs_DeferredTaxAssetsOperatingLossAndCreditCarryforwards_019b99ce-c06d-7747-8f7c-6b976d15f695" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_019b99ce-c06d-7186-bbbf-0f18a54b012e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_019b99ce-c06d-7186-bbbf-0f18a54b012e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_019b99ce-c06d-7bf9-9537-038424187e58" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_us-gaap_DeferredTaxAssetsGoodwillAndIntangibleAssets_019b99ce-c06d-7bf9-9537-038424187e58" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_DeferredTaxAssetsResearchAndExperimentation_019b99ce-c06d-7278-bda4-6e7b50c70320" xlink:href="trs-20251231.xsd#trs_DeferredTaxAssetsResearchAndExperimentation"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-705e-adb7-2cf1cb41a950" xlink:to="loc_trs_DeferredTaxAssetsResearchAndExperimentation_019b99ce-c06d-7278-bda4-6e7b50c70320" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_019b99ce-c06d-7a4e-aab8-fd8df978b715" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-77c2-bc08-46033bbe568c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_019b99ce-c06d-7a4e-aab8-fd8df978b715" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_019b99ce-c06d-77c2-bc08-46033bbe568c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019b99ce-c06d-7f14-bcca-6fc9691ba94d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsNet_019b99ce-c06d-7a4e-aab8-fd8df978b715" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_019b99ce-c06d-7f14-bcca-6fc9691ba94d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-79ac-9455-2d905382bcba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_019b99ce-c06d-7a73-be94-1d2b8a73028e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-79ac-9455-2d905382bcba" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesPropertyPlantAndEquipment_019b99ce-c06d-7a73-be94-1d2b8a73028e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_DeferredTaxLiabilitiesRightofUseAsset_019b99ce-c06d-7c77-8bc5-fd869c52ff0e" xlink:href="trs-20251231.xsd#trs_DeferredTaxLiabilitiesRightofUseAsset"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-79ac-9455-2d905382bcba" xlink:to="loc_trs_DeferredTaxLiabilitiesRightofUseAsset_019b99ce-c06d-7c77-8bc5-fd869c52ff0e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_019b99ce-c06d-7819-9e66-bbc3a2305c72" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-79ac-9455-2d905382bcba" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesGoodwillAndIntangibleAssets_019b99ce-c06d-7819-9e66-bbc3a2305c72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_DeferredTaxLiabilitiesInvestmentinForeignAffiliatesIncludingWithholdingTax_019b99ce-c06d-7bba-a6fa-d9f4ca484035" xlink:href="trs-20251231.xsd#trs_DeferredTaxLiabilitiesInvestmentinForeignAffiliatesIncludingWithholdingTax"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-79ac-9455-2d905382bcba" xlink:to="loc_trs_DeferredTaxLiabilitiesInvestmentinForeignAffiliatesIncludingWithholdingTax_019b99ce-c06d-7bba-a6fa-d9f4ca484035" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_019b99ce-c06d-7519-9d89-778ece64c8a0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesOther"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-79ac-9455-2d905382bcba" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_019b99ce-c06d-7519-9d89-778ece64c8a0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_019b99ce-c06d-7bd1-b40b-851bae5a5d8d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsNet_019b99ce-c06d-73ad-8129-db171d6fa76a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsNet"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_019b99ce-c06d-7bd1-b40b-851bae5a5d8d" xlink:to="loc_us-gaap_DeferredTaxAssetsNet_019b99ce-c06d-73ad-8129-db171d6fa76a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-7d37-8062-05e91f615f19" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxLiabilities"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_019b99ce-c06d-7bd1-b40b-851bae5a5d8d" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_019b99ce-c06d-7d37-8062-05e91f615f19" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails" xlink:type="simple" xlink:href="trs-20251231.xsd#IncomeTaxesEffectiveTaxRateReconciliationDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/IncomeTaxesEffectiveTaxRateReconciliationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019b99ce-c06d-72d8-8081-e392a9aa8dfe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019b99ce-c06d-72d8-8081-e392a9aa8dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019b99ce-c06d-704e-916e-a226879a61cf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationStateAndLocalIncomeTaxes_019b99ce-c06d-704e-916e-a226879a61cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019b99ce-c06d-7c76-944a-b897433e75bf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationForeignIncomeTaxRateDifferential_019b99ce-c06d-7c76-944a-b897433e75bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019b99ce-c06d-7c59-9f07-ef82462521b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxContingencies"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxContingencies_019b99ce-c06d-7c59-9f07-ef82462521b3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_019b99ce-c06d-7117-84bd-e650777b4a4c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_EffectiveIncomeTaxRateReconciliationShareBasedCompensationExcessTaxBenefitAmount_019b99ce-c06d-7117-84bd-e650777b4a4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses_019b99ce-c06d-76ba-a603-594da9fb6675" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseImpairmentLosses_019b99ce-c06d-76ba-a603-594da9fb6675" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_019b99ce-c06d-7c21-876a-0f23d0b4308a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxExemptIncome"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxExemptIncome_019b99ce-c06d-7c21-876a-0f23d0b4308a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019b99ce-c06d-7756-b480-a7100728516f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019b99ce-c06d-7756-b480-a7100728516f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_IncomeTaxReconciliationTaxonUndistributedForeignEarnings_019b99ce-c06d-7cd3-a1b2-af0fd751f96f" xlink:href="trs-20251231.xsd#trs_IncomeTaxReconciliationTaxonUndistributedForeignEarnings"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_trs_IncomeTaxReconciliationTaxonUndistributedForeignEarnings_019b99ce-c06d-7cd3-a1b2-af0fd751f96f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b99ce-c06d-7778-be48-6075ff6f8b27" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b99ce-c06d-7778-be48-6075ff6f8b27" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_IncomeTaxReconciliationTaxReform_019b99ce-c06d-70f8-b589-445f66eb9334" xlink:href="trs-20251231.xsd#trs_IncomeTaxReconciliationTaxReform"/>
    <link:calculationArc order="11" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_trs_IncomeTaxReconciliationTaxReform_019b99ce-c06d-70f8-b589-445f66eb9334" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019b99ce-c06d-79c1-a17c-2dace2aaadf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseShareBasedCompensationCost_019b99ce-c06d-79c1-a17c-2dace2aaadf5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019b99ce-c06d-76a7-bb83-233245fb827f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments_019b99ce-c06d-76a7-bb83-233245fb827f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseRestructuringCharges_019b99ce-c06d-7308-847c-1b9339d91dd5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationNondeductibleExpenseRestructuringCharges"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit_019b99ce-c06d-786d-bcf3-849e9572eab0" xlink:to="loc_us-gaap_IncomeTaxReconciliationNondeductibleExpenseRestructuringCharges_019b99ce-c06d-7308-847c-1b9339d91dd5" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
