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

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:008d2476-4854-4588-bdf0-c7cfdcab1ffb,g:66dce82a-8310-4c5f-aa03-bc6d5ff179cb-->
<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-20220331.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_1547f3e0-c0bd-42fa-9ae6-c98dde9b062e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_af9d4ca3-fa20-4340-871f-ee7a5e92191c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1547f3e0-c0bd-42fa-9ae6-c98dde9b062e" xlink:to="loc_us-gaap_StockholdersEquity_af9d4ca3-fa20-4340-871f-ee7a5e92191c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_47d18865-ef4a-40f3-b96f-5b489a51f607" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_1547f3e0-c0bd-42fa-9ae6-c98dde9b062e" xlink:to="loc_us-gaap_Liabilities_47d18865-ef4a-40f3-b96f-5b489a51f607" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_08c9cffd-10b1-46eb-9a61-b8f49aed448f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6fb40522-c009-471e-a21d-460e59b336d4" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_08c9cffd-10b1-46eb-9a61-b8f49aed448f" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_6fb40522-c009-471e-a21d-460e59b336d4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d2e8aef7-94bd-470f-9f32-40012e8ead45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_08c9cffd-10b1-46eb-9a61-b8f49aed448f" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d2e8aef7-94bd-470f-9f32-40012e8ead45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryNet_3e280cba-2ed1-4a88-9d22-de914f0602d3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_08c9cffd-10b1-46eb-9a61-b8f49aed448f" xlink:to="loc_us-gaap_InventoryNet_3e280cba-2ed1-4a88-9d22-de914f0602d3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_d39278b8-9f0b-4335-bbd0-84b5659938de" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_08c9cffd-10b1-46eb-9a61-b8f49aed448f" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_d39278b8-9f0b-4335-bbd0-84b5659938de" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_350a777f-84cc-4a0f-a124-8560122f15a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtCurrent_7f563cef-8338-4451-82b1-32f2774b71fe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_350a777f-84cc-4a0f-a124-8560122f15a1" xlink:to="loc_us-gaap_DebtCurrent_7f563cef-8338-4451-82b1-32f2774b71fe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_06550f16-3e57-4239-acfb-bee83359d30b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_350a777f-84cc-4a0f-a124-8560122f15a1" xlink:to="loc_us-gaap_AccountsPayableCurrent_06550f16-3e57-4239-acfb-bee83359d30b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent_486c5bc3-c017-46b2-a201-4f0cdca2a5e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_350a777f-84cc-4a0f-a124-8560122f15a1" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent_486c5bc3-c017-46b2-a201-4f0cdca2a5e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_b919f430-3bb5-4e1b-bfa9-d832336303e9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_350a777f-84cc-4a0f-a124-8560122f15a1" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_b919f430-3bb5-4e1b-bfa9-d832336303e9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_55d23427-02c8-4396-a922-cfad765971fc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_6e13ae69-7247-41e3-b9b9-edb89a18479e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_AssetsCurrent_6e13ae69-7247-41e3-b9b9-edb89a18479e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_13e62e42-bfcd-4e31-8e79-734ca08ce118" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_13e62e42-bfcd-4e31-8e79-734ca08ce118" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_ea2c2805-95ba-459b-8874-5dc9fd6dad4f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_ea2c2805-95ba-459b-8874-5dc9fd6dad4f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_7012fa81-5d07-418d-ae1a-3c87c469a6d2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_Goodwill_7012fa81-5d07-418d-ae1a-3c87c469a6d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ac9df8b6-850a-4bbe-b95a-a57d0bf946f8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ac9df8b6-850a-4bbe-b95a-a57d0bf946f8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet_eb6fd2ab-99a7-4cdc-8588-26101b2e0d5b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_DeferredIncomeTaxAssetsNet_eb6fd2ab-99a7-4cdc-8588-26101b2e0d5b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_64c6ab99-9566-4ac5-8aab-76f18e1fe3b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_55d23427-02c8-4396-a922-cfad765971fc" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_64c6ab99-9566-4ac5-8aab-76f18e1fe3b9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_77d02831-e080-434e-bc11-d9aac6383206" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_72026b44-abad-43b8-b69a-bfc6bd9a4f45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_77d02831-e080-434e-bc11-d9aac6383206" xlink:to="loc_us-gaap_LiabilitiesCurrent_72026b44-abad-43b8-b69a-bfc6bd9a4f45" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_dc2568dc-f48e-4297-b746-872b9be6dd8b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_77d02831-e080-434e-bc11-d9aac6383206" xlink:to="loc_us-gaap_LongTermDebtAndCapitalLeaseObligations_dc2568dc-f48e-4297-b746-872b9be6dd8b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_7572f625-d6bc-4666-a3aa-18a0e417193f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_77d02831-e080-434e-bc11-d9aac6383206" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_7572f625-d6bc-4666-a3aa-18a0e417193f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_52bd4b99-0c0c-4136-b491-852a8049828f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_77d02831-e080-434e-bc11-d9aac6383206" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_52bd4b99-0c0c-4136-b491-852a8049828f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_6d9da858-c312-4db1-b401-bfaf8f739c2f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilitiesNet"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_77d02831-e080-434e-bc11-d9aac6383206" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilitiesNet_6d9da858-c312-4db1-b401-bfaf8f739c2f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_fb734ceb-851a-4bf0-9f6f-a4ce04b5c605" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue_f1ba85bd-dfdf-440b-bc12-3dbb9b5c3977" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fb734ceb-851a-4bf0-9f6f-a4ce04b5c605" xlink:to="loc_us-gaap_PreferredStockValue_f1ba85bd-dfdf-440b-bc12-3dbb9b5c3977" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_5fe97298-94f4-4e58-8ca6-b5299eee255d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fb734ceb-851a-4bf0-9f6f-a4ce04b5c605" xlink:to="loc_us-gaap_CommonStockValue_5fe97298-94f4-4e58-8ca6-b5299eee255d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_07881e84-7082-4ccd-993d-8ce7e611e98b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fb734ceb-851a-4bf0-9f6f-a4ce04b5c605" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_07881e84-7082-4ccd-993d-8ce7e611e98b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_368b6d95-220b-45cc-b713-08e486e6bec1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fb734ceb-851a-4bf0-9f6f-a4ce04b5c605" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_368b6d95-220b-45cc-b713-08e486e6bec1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_0756deb4-2528-4b38-8c23-7af3f9bf28ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_fb734ceb-851a-4bf0-9f6f-a4ce04b5c605" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_0756deb4-2528-4b38-8c23-7af3f9bf28ec" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/ConsolidatedStatementofIncome" xlink:type="simple" xlink:href="trs-20220331.xsd#ConsolidatedStatementofIncome"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/ConsolidatedStatementofIncome" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_df793b9c-6881-414e-8704-214048c8186c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GrossProfit"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_249af19e-2cea-4ea5-9f7b-496b0d25d4ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_df793b9c-6881-414e-8704-214048c8186c" xlink:to="loc_us-gaap_Revenues_249af19e-2cea-4ea5-9f7b-496b0d25d4ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_e12b13a9-8bc0-488a-8e64-0fedad84b3a3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_df793b9c-6881-414e-8704-214048c8186c" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_e12b13a9-8bc0-488a-8e64-0fedad84b3a3" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_426e9a16-44e6-4b46-a9a6-cc880c41a66a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossProfit_9612948b-da05-44a8-b3c5-ee4f114432dc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_426e9a16-44e6-4b46-a9a6-cc880c41a66a" xlink:to="loc_us-gaap_GrossProfit_9612948b-da05-44a8-b3c5-ee4f114432dc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_2530142f-0b5b-4bcd-a15c-262e6b811a54" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_426e9a16-44e6-4b46-a9a6-cc880c41a66a" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_2530142f-0b5b-4bcd-a15c-262e6b811a54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_902ab865-491a-4d9b-8301-aeebba2a36fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_426e9a16-44e6-4b46-a9a6-cc880c41a66a" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_902ab865-491a-4d9b-8301-aeebba2a36fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_9282837d-d746-4665-9dc6-b5b27932bf99" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_426e9a16-44e6-4b46-a9a6-cc880c41a66a" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_9282837d-d746-4665-9dc6-b5b27932bf99" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_6cf75ed3-ec51-46d2-b0be-637a7c4a3a04" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NonoperatingIncomeExpense"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_bebae538-b698-4d86-9dca-f30fcf3783e6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_6cf75ed3-ec51-46d2-b0be-637a7c4a3a04" xlink:to="loc_us-gaap_InterestExpense_bebae538-b698-4d86-9dca-f30fcf3783e6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_ef562795-4f28-4d77-93c6-ab1f141c6adc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_6cf75ed3-ec51-46d2-b0be-637a7c4a3a04" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_ef562795-4f28-4d77-93c6-ab1f141c6adc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_ac3c5d0c-4f49-4d2c-a46c-ae508ddc5cf9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_6cf75ed3-ec51-46d2-b0be-637a7c4a3a04" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_ac3c5d0c-4f49-4d2c-a46c-ae508ddc5cf9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_74e81270-047e-47ad-8e40-f2e71cca60c5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_0c4c35f4-aa15-4c17-80e8-fc0a4895ecd8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_74e81270-047e-47ad-8e40-f2e71cca60c5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_0c4c35f4-aa15-4c17-80e8-fc0a4895ecd8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_ffa9cf68-706f-46b3-8be5-11a1c57d1ea7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_74e81270-047e-47ad-8e40-f2e71cca60c5" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_ffa9cf68-706f-46b3-8be5-11a1c57d1ea7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_588c7778-8a0d-4eb6-ba40-05f75c0a980c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_74e81270-047e-47ad-8e40-f2e71cca60c5" xlink:to="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTax_588c7778-8a0d-4eb6-ba40-05f75c0a980c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_059cfdfb-046e-4b46-987f-97baf3ea7277" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8337917d-dbcb-4dc5-bd52-84c54934472d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_059cfdfb-046e-4b46-987f-97baf3ea7277" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_8337917d-dbcb-4dc5-bd52-84c54934472d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_a57c0281-fe29-4fee-972c-3743edcde520" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsIncludingPortionAttributableToNoncontrollingInterest_059cfdfb-046e-4b46-987f-97baf3ea7277" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_a57c0281-fe29-4fee-972c-3743edcde520" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_f42fdaa4-f424-449d-a733-b7601856629b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_3100dd12-eb78-4436-86d1-51887a678b02" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f42fdaa4-f424-449d-a733-b7601856629b" xlink:to="loc_us-gaap_OperatingIncomeLoss_3100dd12-eb78-4436-86d1-51887a678b02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_7904c060-0e6a-4ca6-b170-041686275400" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f42fdaa4-f424-449d-a733-b7601856629b" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_7904c060-0e6a-4ca6-b170-041686275400" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/ConsolidatedStatementofComprehensiveIncome" xlink:type="simple" xlink:href="trs-20220331.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_ComprehensiveIncomeNetOfTax_b77a87ba-4c5f-4600-be66-0494dff12135" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_f92b9102-3287-4938-8a4f-ccdef8e4b9df" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_b77a87ba-4c5f-4600-be66-0494dff12135" xlink:to="loc_us-gaap_ProfitLoss_f92b9102-3287-4938-8a4f-ccdef8e4b9df" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7a74bdc0-e11f-43ca-8f0b-c7b1ded289cb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b77a87ba-4c5f-4600-be66-0494dff12135" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_7a74bdc0-e11f-43ca-8f0b-c7b1ded289cb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_baa71a67-3469-4727-a96c-148853d1e599" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_3b1bce84-b90d-4c6b-93c3-5b59ac9d30a6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_baa71a67-3469-4727-a96c-148853d1e599" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAmortizationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansForNetPriorServiceCostCreditNetOfTax_3b1bce84-b90d-4c6b-93c3-5b59ac9d30a6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_882d0bfb-febf-4962-aed9-64d560c80207" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_baa71a67-3469-4727-a96c-148853d1e599" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_882d0bfb-febf-4962-aed9-64d560c80207" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_OtherComprehensiveIncomeLossNetInvestmentDerivativesNetOfTax_2ebbfe48-e904-409f-ae3c-3ceca8a03ecc" xlink:href="trs-20220331.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_baa71a67-3469-4727-a96c-148853d1e599" xlink:to="loc_trs_OtherComprehensiveIncomeLossNetInvestmentDerivativesNetOfTax_2ebbfe48-e904-409f-ae3c-3ceca8a03ecc" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/ConsolidatedStatementofCashFlowsStatement" xlink:type="simple" xlink:href="trs-20220331.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_NetCashProvidedByUsedInInvestingActivities_b179baeb-f8d7-4bf5-8568-af73333aed11" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_ecfc6959-29d5-4e32-9e98-84e6d113bcac" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b179baeb-f8d7-4bf5-8568-af73333aed11" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_ecfc6959-29d5-4e32-9e98-84e6d113bcac" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_faa26712-8a3f-47c8-bcd4-59555fe21c65" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_b179baeb-f8d7-4bf5-8568-af73333aed11" xlink:to="loc_us-gaap_CashProvidedByUsedInInvestingActivitiesDiscontinuedOperations_faa26712-8a3f-47c8-bcd4-59555fe21c65" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarlyRepaymentOfSeniorDebt_c68bb1b4-b9be-4e8d-b058-b7d82dc20f6e" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_EarlyRepaymentOfSeniorDebt_c68bb1b4-b9be-4e8d-b058-b7d82dc20f6e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_76d3632c-7980-4f88-899b-632e9694acc2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSeniorLongTermDebt_76d3632c-7980-4f88-899b-632e9694acc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_100a90c3-cda7-4ef7-8fba-8dcccf29034b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_100a90c3-cda7-4ef7-8fba-8dcccf29034b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_da9b780e-ac1c-4951-be4c-b67b9bf95472" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_da9b780e-ac1c-4951-be4c-b67b9bf95472" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_95527b3a-cb9c-4f7f-b531-09124e3ffc2b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDebtExtinguishmentCosts"/>
    <link:calculationArc order="5" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_95527b3a-cb9c-4f7f-b531-09124e3ffc2b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_bc6fa4ac-5768-4083-97a3-17e521b9556b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="6" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_bc6fa4ac-5768-4083-97a3-17e521b9556b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8e796e43-9462-4b2e-aa9a-8b0002799625" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_8e796e43-9462-4b2e-aa9a-8b0002799625" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDividends_1ef6504a-46ae-4cc4-aa5f-6e79bd12ca83" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PaymentsOfDividends"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_0f366ab6-87b2-4de1-97ca-c4127350ba93" xlink:to="loc_us-gaap_PaymentsOfDividends_1ef6504a-46ae-4cc4-aa5f-6e79bd12ca83" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_c4626442-ed95-43d3-b4c5-4886143567b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1eaadf8-09bd-4574-a44c-0676b7e4e053" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c4626442-ed95-43d3-b4c5-4886143567b7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_a1eaadf8-09bd-4574-a44c-0676b7e4e053" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8475e8de-48f3-40ec-a825-f1017fc2d89b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c4626442-ed95-43d3-b4c5-4886143567b7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_8475e8de-48f3-40ec-a825-f1017fc2d89b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1d0cd698-fb9d-4060-b045-99ddaa962fc8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_c4626442-ed95-43d3-b4c5-4886143567b7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_1d0cd698-fb9d-4060-b045-99ddaa962fc8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_a7a42d09-fdc6-4b46-beda-025e40288e10" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_ProfitLoss_a7a42d09-fdc6-4b46-beda-025e40288e10" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_520ad235-23da-4dab-bfe5-89ab38c06c09" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_520ad235-23da-4dab-bfe5-89ab38c06c09" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_76837f92-e8d5-4600-a78f-be7ffc9625ba" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_Depreciation_76837f92-e8d5-4600-a78f-be7ffc9625ba" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_24b707fd-747d-480c-ba8b-8e9fb149d641" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_24b707fd-747d-480c-ba8b-8e9fb149d641" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_0bb18b42-c780-4e54-8d7a-07a2275a50e5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_0bb18b42-c780-4e54-8d7a-07a2275a50e5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1f400cda-5791-49f4-b2ec-ac76c85f1ba9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_1f400cda-5791-49f4-b2ec-ac76c85f1ba9" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_6728cee5-8ab3-468b-b68c-d5c16822f9b1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_ShareBasedCompensation_6728cee5-8ab3-468b-b68c-d5c16822f9b1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_Increasedecreaseinasbestosliability_afc92a9d-4ce5-47d0-93f7-6f6cde99dd93" xlink:href="trs-20220331.xsd#trs_Increasedecreaseinasbestosliability"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_trs_Increasedecreaseinasbestosliability_afc92a9d-4ce5-47d0-93f7-6f6cde99dd93" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_17c5045d-9926-477c-8a78-4916187eedf0" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_17c5045d-9926-477c-8a78-4916187eedf0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_cfcb8edd-c3bf-48bb-8d90-0f78f40eef98" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_cfcb8edd-c3bf-48bb-8d90-0f78f40eef98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_843c3bc1-3c19-45e5-8144-4e6dfbda59bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_843c3bc1-3c19-45e5-8144-4e6dfbda59bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_abaeb272-1a90-498e-95ec-1e09ea4baeeb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_abaeb272-1a90-498e-95ec-1e09ea4baeeb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_4d45a0d7-d6a5-4343-8a28-58c6fd640333" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_4d45a0d7-d6a5-4343-8a28-58c6fd640333" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_770b254c-ff83-4d1b-bf08-ae949220992a" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_ddbc2b2a-ab96-4227-9ce4-14742e5a7aaa" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_770b254c-ff83-4d1b-bf08-ae949220992a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_f0fa49cc-c225-4663-991d-626074cdbb26" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireProductiveAssets_ac35097b-6a7b-4624-9dc7-ef4aa2c18334" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f0fa49cc-c225-4663-991d-626074cdbb26" xlink:to="loc_us-gaap_PaymentsToAcquireProductiveAssets_ac35097b-6a7b-4624-9dc7-ef4aa2c18334" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_079d5366-50eb-40d7-8a99-9d75e4379482" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_f0fa49cc-c225-4663-991d-626074cdbb26" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_079d5366-50eb-40d7-8a99-9d75e4379482" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets_ea917f36-7f73-41b9-92b6-f31108cfb53d" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_f0fa49cc-c225-4663-991d-626074cdbb26" xlink:to="loc_us-gaap_ProceedsFromSalesOfBusinessAffiliateAndProductiveAssets_ea917f36-7f73-41b9-92b6-f31108cfb53d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_76146e00-c4ab-405e-923c-cd342a51d264" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_a36bb2ed-ae58-41fb-bf42-49944a7941b7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_76146e00-c4ab-405e-923c-cd342a51d264" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_a36bb2ed-ae58-41fb-bf42-49944a7941b7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_181fbd2c-674c-4804-aa94-0f8997ef7667" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_76146e00-c4ab-405e-923c-cd342a51d264" xlink:to="loc_us-gaap_CashProvidedByUsedInFinancingActivitiesDiscontinuedOperations_181fbd2c-674c-4804-aa94-0f8997ef7667" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_3a131de7-897d-49fe-b125-7e6285abc699" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_ProfitLoss_3a131de7-897d-49fe-b125-7e6285abc699" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets1_485287c2-125a-4ede-a3f3-cbc5aab8390b" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets1"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets1_485287c2-125a-4ede-a3f3-cbc5aab8390b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Depreciation_50f09172-1241-4c62-801f-df4d4b24d3ad" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_Depreciation"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_Depreciation_50f09172-1241-4c62-801f-df4d4b24d3ad" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_bc44bcf6-bb40-43eb-81b7-7aa3f7e18b6c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_bc44bcf6-bb40-43eb-81b7-7aa3f7e18b6c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_329075f9-d703-4c0a-ae0e-2ef2e836c457" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_329075f9-d703-4c0a-ae0e-2ef2e836c457" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_848df89d-3693-49bb-bb4e-437a307e0627" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_848df89d-3693-49bb-bb4e-437a307e0627" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_64f7ee9c-c55f-446c-8acb-059f86fe1ccc" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_ShareBasedCompensation_64f7ee9c-c55f-446c-8acb-059f86fe1ccc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_Increasedecreaseinasbestosliability_eb5b7071-d89f-44a3-b99a-e5f932d85d23" xlink:href="trs-20220331.xsd#trs_Increasedecreaseinasbestosliability"/>
    <link:calculationArc order="8" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_trs_Increasedecreaseinasbestosliability_eb5b7071-d89f-44a3-b99a-e5f932d85d23" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_dc1257b1-4830-4dcb-ad0f-c1852048b614" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts"/>
    <link:calculationArc order="9" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_DebtRelatedCommitmentFeesAndDebtIssuanceCosts_dc1257b1-4830-4dcb-ad0f-c1852048b614" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInReceivables_23169f61-7983-4e33-810d-00dcc303a0bd" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInReceivables"/>
    <link:calculationArc order="10" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_IncreaseDecreaseInReceivables_23169f61-7983-4e33-810d-00dcc303a0bd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_94f69949-7858-45a5-b366-a8e71c2b42ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInInventories"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_94f69949-7858-45a5-b366-a8e71c2b42ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_26a7aa4a-ad85-44fe-9f7b-6caca2edf381" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets"/>
    <link:calculationArc order="12" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_26a7aa4a-ad85-44fe-9f7b-6caca2edf381" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_364c80de-4c2a-4835-9af7-5ffd010c9338" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities"/>
    <link:calculationArc order="13" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_364c80de-4c2a-4835-9af7-5ffd010c9338" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_ca34a8ef-86f1-4c13-8169-aa0512a32f72" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:calculationArc order="14" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_ca34a8ef-86f1-4c13-8169-aa0512a32f72" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_3e5b1e5f-b30d-4706-aa1f-2729a0c1c197" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_CashProvidedByUsedInOperatingActivitiesDiscontinuedOperations_3e5b1e5f-b30d-4706-aa1f-2729a0c1c197" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_ca441004-7a32-4e34-aa0c-f6d5837d9ea8" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_GoodwillAndIntangibleAssetImpairment"/>
    <link:calculationArc order="16" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_7b0798d1-4482-4847-a6a4-cd1ea67b54f6" xlink:to="loc_us-gaap_GoodwillAndIntangibleAssetImpairment_ca441004-7a32-4e34-aa0c-f6d5837d9ea8" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/DiscontinuedOperationsResultsofDiscontinuedOperationsDetails" xlink:type="simple" xlink:href="trs-20220331.xsd#DiscontinuedOperationsResultsofDiscontinuedOperationsDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/DiscontinuedOperationsResultsofDiscontinuedOperationsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_1679a886-5181-4260-9ef7-125e09901c95" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_10e59a46-3614-4d64-9731-7f95612b8805" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_1679a886-5181-4260-9ef7-125e09901c95" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue_10e59a46-3614-4d64-9731-7f95612b8805" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_ac439680-82a3-4a07-969c-1e1eee401d6f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_1679a886-5181-4260-9ef7-125e09901c95" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold_ac439680-82a3-4a07-969c-1e1eee401d6f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_64673875-2372-4c11-9a2a-33f432645745" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_071168c4-f49a-4284-9779-dc75a23201ec" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_64673875-2372-4c11-9a2a-33f432645745" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationGrossProfitLoss_071168c4-f49a-4284-9779-dc75a23201ec" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_DisposalGroupIncludingDiscontinuedOperationsSGA_7a5b7f93-8d09-439f-b03d-47c19d5e59d2" xlink:href="trs-20220331.xsd#trs_DisposalGroupIncludingDiscontinuedOperationsSGA"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationOperatingIncomeLoss_64673875-2372-4c11-9a2a-33f432645745" xlink:to="loc_trs_DisposalGroupIncludingDiscontinuedOperationsSGA_7a5b7f93-8d09-439f-b03d-47c19d5e59d2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_678f3e40-5d10-4ae3-a422-d399db1e46fb" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_b7f572dc-3739-423e-99db-573f63ce03ce" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_678f3e40-5d10-4ae3-a422-d399db1e46fb" xlink:to="loc_us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax_b7f572dc-3739-423e-99db-573f63ce03ce" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_12130af7-6335-4606-9c28-c209d9064547" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity_678f3e40-5d10-4ae3-a422-d399db1e46fb" xlink:to="loc_us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation_12130af7-6335-4606-9c28-c209d9064547" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/CashandCashEquivalentsDetails" xlink:type="simple" xlink:href="trs-20220331.xsd#CashandCashEquivalentsDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/CashandCashEquivalentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2cadf5a7-93ab-4b30-a665-a77b93b9325f" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_CashAndCashEquivalentsUnrestricted_6f173ac3-bd9f-4eb3-9f7f-5f99054406cd" xlink:href="trs-20220331.xsd#trs_CashAndCashEquivalentsUnrestricted"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2cadf5a7-93ab-4b30-a665-a77b93b9325f" xlink:to="loc_trs_CashAndCashEquivalentsUnrestricted_6f173ac3-bd9f-4eb3-9f7f-5f99054406cd" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash_dd424784-6d66-4d32-b8da-3e3470589528" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_RestrictedCash"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_2cadf5a7-93ab-4b30-a665-a77b93b9325f" xlink:to="loc_us-gaap_RestrictedCash_dd424784-6d66-4d32-b8da-3e3470589528" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/InventoriesDetails" xlink:type="simple" xlink:href="trs-20220331.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_87de3344-b4be-4afc-8239-8eb9d9d315b9" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_InventoryNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_44e33ce7-e9cf-4e17-b898-934820b1b4ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_87de3344-b4be-4afc-8239-8eb9d9d315b9" xlink:to="loc_us-gaap_InventoryFinishedGoodsNetOfReserves_44e33ce7-e9cf-4e17-b898-934820b1b4ea" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryWorkInProcessNetOfReserves_5b5b3163-632d-4db1-a886-2e5327fa2868" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_87de3344-b4be-4afc-8239-8eb9d9d315b9" xlink:to="loc_us-gaap_InventoryWorkInProcessNetOfReserves_5b5b3163-632d-4db1-a886-2e5327fa2868" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoryRawMaterialsNetOfReserves_f4a4079f-37fb-4e51-955f-509a80e44dea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_87de3344-b4be-4afc-8239-8eb9d9d315b9" xlink:to="loc_us-gaap_InventoryRawMaterialsNetOfReserves_f4a4079f-37fb-4e51-955f-509a80e44dea" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/PropertyandEquipmentNetPropertyandEquipmentTableDetails" xlink:type="simple" xlink:href="trs-20220331.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_38e888be-1291-444e-ac68-9b59574c167c" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_0c9e8fc5-c5ab-4228-846d-91eb0906b019" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_38e888be-1291-444e-ac68-9b59574c167c" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_0c9e8fc5-c5ab-4228-846d-91eb0906b019" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c6124a59-fa7f-429e-bcb6-d34b7c4e84b3" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_38e888be-1291-444e-ac68-9b59574c167c" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_c6124a59-fa7f-429e-bcb6-d34b7c4e84b3" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/LeasesOperatingLeaseLiabilityMaturityTableDetails" xlink:type="simple" xlink:href="trs-20220331.xsd#LeasesOperatingLeaseLiabilityMaturityTableDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/LeasesOperatingLeaseLiabilityMaturityTableDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_c191f4d9-2838-444c-a7f1-cf50a1509baf" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsRemainderOfFiscalYear_c191f4d9-2838-444c-a7f1-cf50a1509baf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_a55125ed-ea8c-42c0-be90-367a15f44192" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearThree_a55125ed-ea8c-42c0-be90-367a15f44192" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_163dd398-f6cb-490b-a67f-dd407e7c5cb2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearTwo_163dd398-f6cb-490b-a67f-dd407e7c5cb2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_536792a6-1c64-4cb5-bef5-e905cbbeadb5" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueYearFour_536792a6-1c64-4cb5-bef5-e905cbbeadb5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_2c1cf883-1969-446b-ae45-0f30fa7bc594" xlink:href="trs-20220331.xsd#trs_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:to="loc_trs_LesseeOperatingLeaseLiabilityToBePaidAfterYearFour_2c1cf883-1969-446b-ae45-0f30fa7bc594" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_51a9d996-9172-4a82-9a83-ac4e491645b2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue_d893a8d0-915a-4017-a33c-42f3dfc548ea" xlink:to="loc_us-gaap_LesseeOperatingLeaseLiabilityPaymentsDueNextTwelveMonths_51a9d996-9172-4a82-9a83-ac4e491645b2" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesDetails" xlink:type="simple" xlink:href="trs-20220331.xsd#OtherLongtermLiabilitiesOtherLongtermLiabilitiesDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/OtherLongtermLiabilitiesOtherLongtermLiabilitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_8b348f1d-7976-451c-92b9-5b37c6a4e6fa" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_Asbestosrelatedliabilitynoncurrent_177c87b8-6c81-49ef-8322-a61afd35f93a" xlink:href="trs-20220331.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_8b348f1d-7976-451c-92b9-5b37c6a4e6fa" xlink:to="loc_trs_Asbestosrelatedliabilitynoncurrent_177c87b8-6c81-49ef-8322-a61afd35f93a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_trs_Otherlongtermliabilitiesotherthanasbestosliability_86e0513b-501e-4dbc-badc-8ac892b44678" xlink:href="trs-20220331.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_8b348f1d-7976-451c-92b9-5b37c6a4e6fa" xlink:to="loc_trs_Otherlongtermliabilitiesotherthanasbestosliability_86e0513b-501e-4dbc-badc-8ac892b44678" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/DefinedBenefitPlansNetPeriodicPensionCostsDetails" xlink:type="simple" xlink:href="trs-20220331.xsd#DefinedBenefitPlansNetPeriodicPensionCostsDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/DefinedBenefitPlansNetPeriodicPensionCostsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_DefinedBenefitPlanNetPeriodicBenefitCost"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_d314cee7-3e71-46b7-8ace-522f2fae6b54" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_d314cee7-3e71-46b7-8ace-522f2fae6b54" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_7126119f-1df8-46b2-99ee-42fdcb8dae87" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_7126119f-1df8-46b2-99ee-42fdcb8dae87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_7344298b-6fb1-46b3-b65f-02a928c126d7" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedReturnOnPlanAssets_7344298b-6fb1-46b3-b65f-02a928c126d7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_b3af3028-e43f-405a-84c3-f4b1acdc2dc2" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfPriorServiceCostCredit_b3af3028-e43f-405a-84c3-f4b1acdc2dc2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_bf003523-b65d-411b-b3eb-3af1cd1f9dfe" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:to="loc_us-gaap_DefinedBenefitPlanRecognizedNetGainLossDueToSettlementsAndCurtailments1_bf003523-b65d-411b-b3eb-3af1cd1f9dfe" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2038e928-0355-458e-a5d4-75063258e0a1" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_560e60ce-31c1-4d52-b9d8-8fec9efe5f84" xlink:to="loc_us-gaap_DefinedBenefitPlanAmortizationOfGainsLosses_2038e928-0355-458e-a5d4-75063258e0a1" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossDetails" xlink:type="simple" xlink:href="trs-20220331.xsd#OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossDetails"/>
  <link:calculationLink xlink:role="http://www.trimascorp.com/role/OtherComprehensiveIncomeLossOtherComprehensiveIncomeLossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_12e3cfa0-fa33-4ae6-b0ad-7fb8f8fb0d45" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_61945562-c68a-44c2-be90-f1a1f5e31813" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_12e3cfa0-fa33-4ae6-b0ad-7fb8f8fb0d45" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_61945562-c68a-44c2-be90-f1a1f5e31813" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_2f0086a3-e7ff-49ca-a13e-30be3f0d4652" xlink:href="https://xbrl.fasb.org/us-gaap/2021/elts/us-gaap-2021-01-31.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_12e3cfa0-fa33-4ae6-b0ad-7fb8f8fb0d45" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_2f0086a3-e7ff-49ca-a13e-30be3f0d4652" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
