<?xml version="1.0" encoding="US-ASCII" standalone="no"?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 4.24a -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: http://www.novaworks.co -->
    <!-- Field: Doc-Info; Name: Source; Value: immy%2D20180930 10Q Q3 DFN.xfr; Date: 2018%2D11%2D13T16:43:31Z -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x80210000 -->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
    <link:roleRef roleURI="http://imprimispharma.com/role/DocumentAndEntityInformation" xlink:href="immy-20180930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/BalanceSheets" xlink:href="immy-20180930.xsd#BalanceSheets" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/BalanceSheetsParenthetical" xlink:href="immy-20180930.xsd#BalanceSheetsParenthetical" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StatementsOfOperations" xlink:href="immy-20180930.xsd#StatementsOfOperations" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StatementsOfCashFlows" xlink:href="immy-20180930.xsd#StatementsOfCashFlows" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/DescriptionOfBusinessAndBasisOfPresentation" xlink:href="immy-20180930.xsd#DescriptionOfBusinessAndBasisOfPresentation" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SummaryOfSignificantAccountingPolicies" xlink:href="immy-20180930.xsd#SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/Revenue" xlink:href="immy-20180930.xsd#Revenue" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions" xlink:href="immy-20180930.xsd#InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions" xlink:href="immy-20180930.xsd#InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/RestrictedCash" xlink:href="immy-20180930.xsd#RestrictedCash" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/Inventories" xlink:href="immy-20180930.xsd#Inventories" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PrepaidExpensesAndOtherCurrentAssets" xlink:href="immy-20180930.xsd#PrepaidExpensesAndOtherCurrentAssets" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PropertyPlantAndEquipment" xlink:href="immy-20180930.xsd#PropertyPlantAndEquipment" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/NoteReceivable" xlink:href="immy-20180930.xsd#NoteReceivable" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill" xlink:href="immy-20180930.xsd#IntangibleAssetsAndGoodwill" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/AccountsPayableAndAccruedExpenses" xlink:href="immy-20180930.xsd#AccountsPayableAndAccruedExpenses" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/Debt" xlink:href="immy-20180930.xsd#Debt" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/CapitalLeaseObligation" xlink:href="immy-20180930.xsd#CapitalLeaseObligation" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/CommitmentsAndContingencies" xlink:href="immy-20180930.xsd#CommitmentsAndContingencies" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SegmentInformationAndConcentrations" xlink:href="immy-20180930.xsd#SegmentInformationAndConcentrations" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SubsequentEvents" xlink:href="immy-20180930.xsd#SubsequentEvents" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="immy-20180930.xsd#SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:href="immy-20180930.xsd#SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/RevenueTables" xlink:href="immy-20180930.xsd#RevenueTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsTables" xlink:href="immy-20180930.xsd#InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsTables" xlink:href="immy-20180930.xsd#InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InventoriesTables" xlink:href="immy-20180930.xsd#InventoriesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PrepaidExpensesAndOtherCurrentAssetsTables" xlink:href="immy-20180930.xsd#PrepaidExpensesAndOtherCurrentAssetsTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PropertyPlantAndEquipmentTables" xlink:href="immy-20180930.xsd#PropertyPlantAndEquipmentTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/IntangibleAssetsAndGoodwillTables" xlink:href="immy-20180930.xsd#IntangibleAssetsAndGoodwillTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/AccountsPayableAndAccruedExpensesTables" xlink:href="immy-20180930.xsd#AccountsPayableAndAccruedExpensesTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/DebtTables" xlink:href="immy-20180930.xsd#DebtTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/CapitalLeaseObligationTables" xlink:href="immy-20180930.xsd#CapitalLeaseObligationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensationTables" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensationTables" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:href="immy-20180930.xsd#SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SummaryOfSignificantAccountingPolicies-ScheduleOfBasicEarningsPerCommonShareDetails" xlink:href="immy-20180930.xsd#SummaryOfSignificantAccountingPolicies-ScheduleOfBasicEarningsPerCommonShareDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/RevenueDetailsNarrative" xlink:href="immy-20180930.xsd#RevenueDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/Revenue-ScheduleOfDisaggregatedRevenueDetails" xlink:href="immy-20180930.xsd#Revenue-ScheduleOfDisaggregatedRevenueDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsDetailsNarrative" xlink:href="immy-20180930.xsd#InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedIncomeStatementDetails" xlink:href="immy-20180930.xsd#InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedIncomeStatementDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedBalanceSheetDetails" xlink:href="immy-20180930.xsd#InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedBalanceSheetDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsDetailsNarrative" xlink:href="immy-20180930.xsd#InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedIncomeStatementDetails" xlink:href="immy-20180930.xsd#InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedIncomeStatementDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedBalanceSheetDetails" xlink:href="immy-20180930.xsd#InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedBalanceSheetDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/RestrictedCashDetailsNarrative" xlink:href="immy-20180930.xsd#RestrictedCashDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/Inventories-ScheduleOfInventoriesDetails" xlink:href="immy-20180930.xsd#Inventories-ScheduleOfInventoriesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PrepaidExpensesAndOtherCurrentAssets-ScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails" xlink:href="immy-20180930.xsd#PrepaidExpensesAndOtherCurrentAssets-ScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:href="immy-20180930.xsd#PropertyPlantAndEquipmentDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/PropertyPlantAndEquipment-ScheduleOfPropertyPlantAndEquipmentDetails" xlink:href="immy-20180930.xsd#PropertyPlantAndEquipment-ScheduleOfPropertyPlantAndEquipmentDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/NoteReceivableDetailsNarrative" xlink:href="immy-20180930.xsd#NoteReceivableDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill-ScheduleOfIntangibleAssetsDetails" xlink:href="immy-20180930.xsd#IntangibleAssetsAndGoodwill-ScheduleOfIntangibleAssetsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill-ScheduleOfAmortizationExpensesForIntangibleAssetsDetails" xlink:href="immy-20180930.xsd#IntangibleAssetsAndGoodwill-ScheduleOfAmortizationExpensesForIntangibleAssetsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill-ScheduleOfEstimatedFutureAmortizationExpenseDetails" xlink:href="immy-20180930.xsd#IntangibleAssetsAndGoodwill-ScheduleOfEstimatedFutureAmortizationExpenseDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/AccountsPayableAndAccruedExpenses-ScheduleOfAccountsPayableAndAccruedExpensesDetails" xlink:href="immy-20180930.xsd#AccountsPayableAndAccruedExpenses-ScheduleOfAccountsPayableAndAccruedExpensesDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/DebtDetailsNarrative" xlink:href="immy-20180930.xsd#DebtDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/Debt-SummaryOfFutureMinimumPaymentsDetails" xlink:href="immy-20180930.xsd#Debt-SummaryOfFutureMinimumPaymentsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/CapitalLeaseObligationDetailsNarrative" xlink:href="immy-20180930.xsd#CapitalLeaseObligationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/CapitalLeaseObligation-ScheduleOfFuturePaymentUnderCapitalLeaseDetails" xlink:href="immy-20180930.xsd#CapitalLeaseObligation-ScheduleOfFuturePaymentUnderCapitalLeaseDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensationDetailsNarrative" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensationDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfStockOptionPlanActivityDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfStockOptionPlanActivityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfFairValueAssumptionsDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfFairValueAssumptionsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfSharesOutstandingAndExercisableDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfSharesOutstandingAndExercisableDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfRestrictedStockUnitsActivityDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfRestrictedStockUnitsActivityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfWarrantsActivityDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfWarrantsActivityDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfWarrantsOutstandingAndWarrantsExercisableDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfWarrantsOutstandingAndWarrantsExercisableDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfStockBasedCompensationGrantedToEmployeesDirectorsConsultantsDetails" xlink:href="immy-20180930.xsd#StockholdersEquityAndStock-basedCompensation-ScheduleOfStockBasedCompensationGrantedToEmployeesDirectorsConsultantsDetails" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:href="immy-20180930.xsd#CommitmentsAndContingenciesDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SegmentInformationAndConcentrationsDetailsNarrative" xlink:href="immy-20180930.xsd#SegmentInformationAndConcentrationsDetailsNarrative" xlink:type="simple" />
    <link:roleRef roleURI="http://imprimispharma.com/role/SubsequentEventsDetailsNarrative" xlink:href="immy-20180930.xsd#SubsequentEventsDetailsNarrative" xlink:type="simple" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/DocumentAndEntityInformation" xlink:title="00000001 - Document - Document and Entity Information" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/BalanceSheets" xlink:title="00000002 - Statement - Condensed Consolidated Balance Sheets">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaapAssetsCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapCashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaapAccountsReceivableNetCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapAccountsReceivableNetCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapInventoryNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapPrepaidExpenseAndOtherAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesAndLoansReceivableGrossCurrent" xlink:label="loc_us-gaapNotesAndLoansReceivableGrossCurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssetsCurrent" xlink:to="loc_us-gaapNotesAndLoansReceivableGrossCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaapAssets" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapAssetsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Investments" xlink:label="loc_us-gaapInvestments" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapInvestments" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesAndLoansReceivableGrossNoncurrent" xlink:label="loc_us-gaapNotesAndLoansReceivableGrossNoncurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapNotesAndLoansReceivableGrossNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaapGoodwill" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAssets" xlink:to="loc_us-gaapGoodwill" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaapLiabilitiesCurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaapEmployeeRelatedLiabilitiesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapEmployeeRelatedLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerDepositsCurrent" xlink:label="loc_us-gaapCustomerDepositsCurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapCustomerDepositsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="immy-20180930.xsd#IMMY_DeferredAcquisitionObligationAndAccruedInterestCurrent" xlink:label="loc_IMMYDeferredAcquisitionObligationAndAccruedInterestCurrent" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_IMMYDeferredAcquisitionObligationAndAccruedInterestCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeaseObligationsCurrent" xlink:label="loc_us-gaapCapitalLeaseObligationsCurrent" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapCapitalLeaseObligationsCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesPayableCurrent" xlink:label="loc_us-gaapNotesPayableCurrent" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesCurrent" xlink:to="loc_us-gaapNotesPayableCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaapLiabilities" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLiabilitiesCurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeaseObligationsNoncurrent" xlink:label="loc_us-gaapCapitalLeaseObligationsNoncurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapCapitalLeaseObligationsNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesNoncurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesNoncurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapAccountsPayableAndAccruedLiabilitiesNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermNotesPayable" xlink:label="loc_us-gaapLongTermNotesPayable" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilities" xlink:to="loc_us-gaapLongTermNotesPayable" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaapStockholdersEquity" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaapCommonStockValue" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapCommonStockValue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaapRetainedEarningsAccumulatedDeficit" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapRetainedEarningsAccumulatedDeficit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaapAdditionalPaidInCapitalCommonStock" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapStockholdersEquity" xlink:to="loc_us-gaapAdditionalPaidInCapitalCommonStock" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaapLiabilitiesAndStockholdersEquity" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapLiabilities" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLiabilitiesAndStockholdersEquity" xlink:to="loc_us-gaapStockholdersEquity" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/BalanceSheetsParenthetical" xlink:title="00000003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StatementsOfOperations" xlink:title="00000004 - Statement - Condensed Consolidated Statements of Operations (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaapGrossProfit" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaapCostOfGoodsAndServicesSold" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapCostOfGoodsAndServicesSold" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaapRevenueFromContractWithCustomerExcludingAssessedTax" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapGrossProfit" xlink:to="loc_us-gaapRevenueFromContractWithCustomerExcludingAssessedTax" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaapOperatingExpenses" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaapSellingGeneralAndAdministrativeExpense" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapSellingGeneralAndAdministrativeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaapResearchAndDevelopmentExpense" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingExpenses" xlink:to="loc_us-gaapResearchAndDevelopmentExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaapOperatingIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapGrossProfit" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapOperatingIncomeLoss" xlink:to="loc_us-gaapOperatingExpenses" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaapNonoperatingIncomeExpense" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaapInterestIncomeExpenseNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapInterestIncomeExpenseNet" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee" xlink:label="loc_us-gaapGainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapGainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeconsolidationGainOrLossAmount" xlink:label="loc_us-gaapDeconsolidationGainOrLossAmount" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapDeconsolidationGainOrLossAmount" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnSalesOfAssets" xlink:label="loc_us-gaapGainsLossesOnSalesOfAssets" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapGainsLossesOnSalesOfAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNonoperatingExpense" xlink:label="loc_us-gaapOtherNonoperatingExpense" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNonoperatingIncomeExpense" xlink:to="loc_us-gaapOtherNonoperatingExpense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapOperatingIncomeLoss" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="loc_us-gaapNonoperatingIncomeExpense" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapIncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaapIncomeTaxExpenseBenefit" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetIncomeLoss" xlink:to="loc_us-gaapIncomeTaxExpenseBenefit" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StatementsOfCashFlows" xlink:title="00000005 - Statement - Condensed Consolidated Statements of Cash Flows  (Unaudited)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaapNetIncomeLoss" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapNetIncomeLoss" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationAndAmortization" xlink:label="loc_us-gaapDepreciationAndAmortization" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDepreciationAndAmortization" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaapAmortizationOfIntangibleAssets" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfIntangibleAssets" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaapAmortizationOfFinancingCostsAndDiscounts" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapAmortizationOfFinancingCostsAndDiscounts" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeconsolidationGainOrLossAmount" xlink:label="loc_us-gaapDeconsolidationGainOrLossAmount" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDeconsolidationGainOrLossAmount" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee" xlink:label="loc_us-gaapGainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainLossOnSaleOfStockInSubsidiaryOrEquityMethodInvestee" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="immy-20180930.xsd#IMMY_LossOnWriteDownOfAssetsAndNoteReceivable" xlink:label="loc_IMMYLossOnWriteDownOfAssetsAndNoteReceivable" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_IMMYLossOnWriteDownOfAssetsAndNoteReceivable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets1" xlink:label="loc_us-gaapGainLossOnDispositionOfAssets1" />
      <link:calculationArc order="8" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainLossOnDispositionOfAssets1" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaapShareBasedCompensation" />
      <link:calculationArc order="9" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapShareBasedCompensation" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsReceivable" />
      <link:calculationArc order="10" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsReceivable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaapIncreaseDecreaseInInventories" />
      <link:calculationArc order="11" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInInventories" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" />
      <link:calculationArc order="12" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInAccountsPayableAndAccruedLiabilities" />
      <link:calculationArc order="13" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInEmployeeRelatedLiabilities" xlink:label="loc_us-gaapIncreaseDecreaseInEmployeeRelatedLiabilities" />
      <link:calculationArc order="14" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInEmployeeRelatedLiabilities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInCustomerDeposits" xlink:label="loc_us-gaapIncreaseDecreaseInCustomerDeposits" />
      <link:calculationArc order="15" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapIncreaseDecreaseInCustomerDeposits" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaapDeferredIncomeTaxExpenseBenefit" />
      <link:calculationArc order="16" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapDeferredIncomeTaxExpenseBenefit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" />
      <link:calculationArc order="17" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:to="loc_us-gaapGainsLossesOnExtinguishmentOfDebt" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireIntangibleAssets" xlink:label="loc_us-gaapPaymentsToAcquireIntangibleAssets" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquireIntangibleAssets" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapPaymentsToAcquirePropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentOfNotesReceivableFromRelatedParties" xlink:label="loc_us-gaapRepaymentOfNotesReceivableFromRelatedParties" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapRepaymentOfNotesReceivableFromRelatedParties" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="immy-20180930.xsd#IMMY_PaymentsOfLicense" xlink:label="loc_IMMYPaymentsOfLicense" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_IMMYPaymentsOfLicense" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherAssetsInvestingActivities" xlink:label="loc_us-gaapProceedsFromSaleOfOtherAssetsInvestingActivities" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:to="loc_us-gaapProceedsFromSaleOfOtherAssetsInvestingActivities" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaapRepaymentsOfDebtAndCapitalLeaseObligations" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfDebtAndCapitalLeaseObligations" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering" xlink:label="loc_us-gaapProceedsFromIssuanceInitialPublicOffering" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceInitialPublicOffering" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsOfFinancingCosts" xlink:label="loc_us-gaapPaymentsOfFinancingCosts" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapPaymentsOfFinancingCosts" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfNotesPayable" xlink:label="loc_us-gaapRepaymentsOfNotesPayable" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapRepaymentsOfNotesPayable" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaapProceedsFromIssuanceOfCommonStock" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromIssuanceOfCommonStock" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromWarrantExercises" xlink:label="loc_us-gaapProceedsFromWarrantExercises" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromWarrantExercises" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromOtherDebt" xlink:label="loc_us-gaapProceedsFromOtherDebt" />
      <link:calculationArc order="7" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:to="loc_us-gaapProceedsFromOtherDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInOperatingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInInvestingActivities" xlink:type="arc" weight="1" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCashAndCashEquivalentsPeriodIncreaseDecrease" xlink:to="loc_us-gaapNetCashProvidedByUsedInFinancingActivities" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/DescriptionOfBusinessAndBasisOfPresentation" xlink:title="00000006 - Disclosure - Description of Business and Basis of Presentation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SummaryOfSignificantAccountingPolicies" xlink:title="00000007 - Disclosure - Summary of Significant Accounting Policies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/Revenue" xlink:title="00000008 - Disclosure - Revenue" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions" xlink:title="00000009 - Disclosure - Investment in Eton Pharmaceuticals, Inc. and Agreements - Related Party Transactions" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions" xlink:title="00000010 - Disclosure - Investment in Surface Pharmaceuticals, Inc. and Agreements - Related Party Transactions" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/RestrictedCash" xlink:title="00000011 - Disclosure - Restricted Cash" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/Inventories" xlink:title="00000012 - Disclosure - Inventories" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PrepaidExpensesAndOtherCurrentAssets" xlink:title="00000013 - Disclosure - Prepaid Expenses and Other Current Assets" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PropertyPlantAndEquipment" xlink:title="00000014 - Disclosure - Property, Plant and Equipment" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/NoteReceivable" xlink:title="00000015 - Disclosure - Note Receivable" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill" xlink:title="00000016 - Disclosure - Intangible Assets and Goodwill" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/AccountsPayableAndAccruedExpenses" xlink:title="00000017 - Disclosure - Accounts Payable and Accrued Expenses" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/Debt" xlink:title="00000018 - Disclosure - Debt" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/CapitalLeaseObligation" xlink:title="00000019 - Disclosure - Capital Lease Obligation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation" xlink:title="00000020 - Disclosure - Stockholders' Equity and Stock-based Compensation" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/CommitmentsAndContingencies" xlink:title="00000021 - Disclosure - Commitments and Contingencies" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SegmentInformationAndConcentrations" xlink:title="00000022 - Disclosure - Segment Information and Concentrations" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SubsequentEvents" xlink:title="00000023 - Disclosure - Subsequent Events" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SummaryOfSignificantAccountingPoliciesPolicies" xlink:title="00000024 - Disclosure - Summary of Significant Accounting Policies (Policies)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SummaryOfSignificantAccountingPoliciesTables" xlink:title="00000025 - Disclosure - Summary of Significant Accounting Policies (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/RevenueTables" xlink:title="00000026 - Disclosure - Revenue (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsTables" xlink:title="00000027 - Disclosure - Investment in Eton Pharmaceuticals, Inc. and Agreements - Related Party Transactions (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsTables" xlink:title="00000028 - Disclosure - Investment in Surface Pharmaceuticals, Inc. and Agreements - Related Party Transactions (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InventoriesTables" xlink:title="00000029 - Disclosure - Inventories (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PrepaidExpensesAndOtherCurrentAssetsTables" xlink:title="00000030 - Disclosure - Prepaid Expenses and Other Current Assets (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PropertyPlantAndEquipmentTables" xlink:title="00000031 - Disclosure - Property, Plant and Equipment (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/IntangibleAssetsAndGoodwillTables" xlink:title="00000032 - Disclosure - Intangible Assets and Goodwill (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/AccountsPayableAndAccruedExpensesTables" xlink:title="00000033 - Disclosure - Accounts Payable and Accrued Expenses (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/DebtTables" xlink:title="00000034 - Disclosure - Debt (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/CapitalLeaseObligationTables" xlink:title="00000035 - Disclosure - Capital Lease Obligation (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensationTables" xlink:title="00000036 - Disclosure - Stockholders' Equity and Stock-based Compensation (Tables)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" xlink:title="00000037 - Disclosure - Summary of Significant Accounting Policies (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SummaryOfSignificantAccountingPolicies-ScheduleOfBasicEarningsPerCommonShareDetails" xlink:title="00000038 - Disclosure - Summary of Significant Accounting Policies - Schedule of Basic Earnings Per Common Share (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/RevenueDetailsNarrative" xlink:title="00000039 - Disclosure - Revenue (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/Revenue-ScheduleOfDisaggregatedRevenueDetails" xlink:title="00000040 - Disclosure - Revenue - Schedule of Disaggregated Revenue (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsDetailsNarrative" xlink:title="00000041 - Disclosure - Investment in Eton Pharmaceuticals, Inc. and Agreements - Related Party Transactions (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedIncomeStatementDetails" xlink:title="00000042 - Disclosure - Investment in Eton Pharmaceuticals, Inc. and Agreements - Related Party Transactions - Schedule of Condensed Income Statement (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInEtonPharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedBalanceSheetDetails" xlink:title="00000043 - Disclosure - Investment in Eton Pharmaceuticals, Inc. and Agreements - Related Party Transactions - Schedule of Condensed Balance Sheet (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactionsDetailsNarrative" xlink:title="00000044 - Disclosure - Investment in Surface Pharmaceuticals, Inc. and Agreements - Related Party Transactions (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedIncomeStatementDetails" xlink:title="00000045 - Disclosure - Investment in Surface Pharmaceuticals, Inc. and Agreements - Related Party Transactions - Schedule of Condensed Income Statement (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/InvestmentInSurfacePharmaceuticalsInc.AndAgreements-RelatedPartyTransactions-ScheduleOfCondensedBalanceSheetDetails" xlink:title="00000046 - Disclosure - Investment in Surface Pharmaceuticals, Inc. and Agreements - Related Party Transactions - Schedule of Condensed Balance Sheet (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/RestrictedCashDetailsNarrative" xlink:title="00000047 - Disclosure - Restricted Cash (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/Inventories-ScheduleOfInventoriesDetails" xlink:title="00000048 - Disclosure - Inventories - Schedule of Inventories (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaapInventoryNet" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryRawMaterials" xlink:label="loc_us-gaapInventoryRawMaterials" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryRawMaterials" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InventoryFinishedGoods" xlink:label="loc_us-gaapInventoryFinishedGoods" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapInventoryNet" xlink:to="loc_us-gaapInventoryFinishedGoods" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PrepaidExpensesAndOtherCurrentAssets-ScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails" xlink:title="00000049 - Disclosure - Prepaid Expenses and Other Current Assets - Schedule of Prepaid Expenses and Other Current Assets (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PropertyPlantAndEquipmentDetailsNarrative" xlink:title="00000050 - Disclosure - Property, Plant and Equipment (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/PropertyPlantAndEquipment-ScheduleOfPropertyPlantAndEquipmentDetails" xlink:title="00000051 - Disclosure - Property, Plant and Equipment - Schedule of Property, Plant and Equipment (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaapPropertyPlantAndEquipmentGross" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalizedComputerSoftwareGross" xlink:label="loc_us-gaapCapitalizedComputerSoftwareGross" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapCapitalizedComputerSoftwareGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesGross" xlink:label="loc_us-gaapFurnitureAndFixturesGross" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapFurnitureAndFixturesGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="immy-20180930.xsd#IMMY_LabAndPharmacyEquipmentGross" xlink:label="loc_IMMYLabAndPharmacyEquipmentGross" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_IMMYLabAndPharmacyEquipmentGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseholdImprovementsGross" xlink:label="loc_us-gaapLeaseholdImprovementsGross" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:to="loc_us-gaapLeaseholdImprovementsGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaapPropertyPlantAndEquipmentNet" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapPropertyPlantAndEquipmentGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapPropertyPlantAndEquipmentNet" xlink:to="loc_us-gaapAccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/NoteReceivableDetailsNarrative" xlink:title="00000052 - Disclosure - Note Receivable (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill-ScheduleOfIntangibleAssetsDetails" xlink:title="00000053 - Disclosure - Intangible Assets and Goodwill - Schedule of Intangible Assets (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsNet" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsGross" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsGross" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAccumulatedAmortization" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="immy-20180930.xsd#IMMY_FiniteLivedIntangibleAssetsImpairment" xlink:label="loc_IMMYFiniteLivedIntangibleAssetsImpairment" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapFiniteLivedIntangibleAssetsNet" xlink:to="loc_IMMYFiniteLivedIntangibleAssetsImpairment" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill-ScheduleOfAmortizationExpensesForIntangibleAssetsDetails" xlink:title="00000054 - Disclosure - Intangible Assets and Goodwill - Schedule of Amortization Expenses for Intangible Assets (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/IntangibleAssetsAndGoodwill-ScheduleOfEstimatedFutureAmortizationExpenseDetails" xlink:title="00000055 - Disclosure - Intangible Assets and Goodwill - Schedule of Estimated Future Amortization Expense (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseRemainderOfFiscalYear" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" />
      <link:calculationArc order="6" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapIntangibleAssetsNetExcludingGoodwill" xlink:to="loc_us-gaapFiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/AccountsPayableAndAccruedExpenses-ScheduleOfAccountsPayableAndAccruedExpensesDetails" xlink:title="00000056 - Disclosure - Accounts Payable and Accrued Expenses - Schedule of Accounts Payable and Accrued Expenses (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableCurrentAndNoncurrent" xlink:label="loc_us-gaapAccountsPayableCurrentAndNoncurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:to="loc_us-gaapAccountsPayableCurrentAndNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccruedLiabilitiesCurrentAndNoncurrent" xlink:label="loc_us-gaapAccruedLiabilitiesCurrentAndNoncurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:to="loc_us-gaapAccruedLiabilitiesCurrentAndNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaapInterestPayableCurrentAndNoncurrent" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:to="loc_us-gaapInterestPayableCurrentAndNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRentCredit" xlink:label="loc_us-gaapDeferredRentCredit" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:to="loc_us-gaapDeferredRentCredit" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesNoncurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesNoncurrent" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsPayableAndAccruedLiabilitiesNoncurrent" xlink:to="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrentAndNoncurrent" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapAccountsPayableAndAccruedLiabilitiesNoncurrent" xlink:to="loc_us-gaapAccountsPayableAndAccruedLiabilitiesCurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/DebtDetailsNarrative" xlink:title="00000057 - Disclosure - Debt (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/Debt-SummaryOfFutureMinimumPaymentsDetails" xlink:title="00000058 - Disclosure - Debt - Summary of Future Minimum Payments (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaapLongTermDebt" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" />
      <link:calculationArc order="3" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" />
      <link:calculationArc order="4" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalRemainderOfFiscalYear" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" />
      <link:calculationArc order="5" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapLongTermDebt" xlink:to="loc_us-gaapLongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NotesPayable" xlink:label="loc_us-gaapNotesPayable" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNotesPayable" xlink:to="loc_us-gaapLongTermDebt" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPayableCurrent" xlink:label="loc_us-gaapInterestPayableCurrent" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapNotesPayable" xlink:to="loc_us-gaapInterestPayableCurrent" xlink:type="arc" weight="1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/CapitalLeaseObligationDetailsNarrative" xlink:title="00000059 - Disclosure - Capital Lease Obligation (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/CapitalLeaseObligation-ScheduleOfFuturePaymentUnderCapitalLeaseDetails" xlink:title="00000060 - Disclosure - Capital Lease Obligation - Schedule of Future Payment Under Capital Lease (Details)">
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaapCapitalLeasesFutureMinimumPaymentsDue" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaapCapitalLeasesFutureMinimumPaymentsDueInTwoYears" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCapitalLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapCapitalLeasesFutureMinimumPaymentsDueInTwoYears" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:label="loc_us-gaapCapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCapitalLeasesFutureMinimumPaymentsDue" xlink:to="loc_us-gaapCapitalLeasesFutureMinimumPaymentsRemainderOfFiscalYear" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsNetMinimumPayments1" xlink:label="loc_us-gaapCapitalLeasesFutureMinimumPaymentsNetMinimumPayments1" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCapitalLeasesFutureMinimumPaymentsNetMinimumPayments1" xlink:to="loc_us-gaapCapitalLeasesFutureMinimumPaymentsDue" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments" xlink:label="loc_us-gaapCapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCapitalLeasesFutureMinimumPaymentsNetMinimumPayments1" xlink:to="loc_us-gaapCapitalLeasesFutureMinimumPaymentsInterestIncludedInPayments" xlink:type="arc" weight="-1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:label="loc_us-gaapCapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" />
      <link:calculationArc order="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:to="loc_us-gaapCapitalLeasesFutureMinimumPaymentsNetMinimumPayments1" xlink:type="arc" weight="1" />
      <link:loc xlink:type="locator" xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscount" xlink:label="loc_us-gaapDebtInstrumentUnamortizedDiscount" />
      <link:calculationArc order="2" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaapCapitalLeasesFutureMinimumPaymentsPresentValueOfNetMinimumPayments" xlink:to="loc_us-gaapDebtInstrumentUnamortizedDiscount" xlink:type="arc" weight="-1" />
    </link:calculationLink>
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensationDetailsNarrative" xlink:title="00000061 - Disclosure - Stockholders' Equity and Stock-based Compensation (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfStockOptionPlanActivityDetails" xlink:title="00000062 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Stock Option Plan Activity (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfFairValueAssumptionsDetails" xlink:title="00000063 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Fair Value Assumptions (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfSharesOutstandingAndExercisableDetails" xlink:title="00000064 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Shares Outstanding and Exercisable (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfRestrictedStockUnitsActivityDetails" xlink:title="00000065 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Restricted Stock Units Activity (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfWarrantsActivityDetails" xlink:title="00000066 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Warrants Activity (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfWarrantsOutstandingAndWarrantsExercisableDetails" xlink:title="00000067 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Warrants Outstanding and Warrants Exercisable (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/StockholdersEquityAndStock-basedCompensation-ScheduleOfStockBasedCompensationGrantedToEmployeesDirectorsConsultantsDetails" xlink:title="00000068 - Disclosure - Stockholders' Equity and Stock-based Compensation - Schedule of Stock Based Compensation Granted to Employees Directors Consultants (Details)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/CommitmentsAndContingenciesDetailsNarrative" xlink:title="00000069 - Disclosure - Commitments and Contingencies (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SegmentInformationAndConcentrationsDetailsNarrative" xlink:title="00000070 - Disclosure - Segment Information and Concentrations (Details Narrative)" />
    <link:calculationLink xlink:type="extended" xlink:role="http://imprimispharma.com/role/SubsequentEventsDetailsNarrative" xlink:title="00000071 - Disclosure - Subsequent Events (Details Narrative)" />
</link:linkbase>
