

<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:href="rubi-20160930.xsd#AccountsPayableAndAccruedExpensesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinations" xlink:href="rubi-20160930.xsd#BusinessCombinations" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:href="rubi-20160930.xsd#BusinessCombinationsProFormaInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:href="rubi-20160930.xsd#BusinessCombinationsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:href="rubi-20160930.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:href="rubi-20160930.xsd#CommitmentsAndContingenciesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:href="rubi-20160930.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="rubi-20160930.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:href="rubi-20160930.xsd#ConsolidatedStatementOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:href="rubi-20160930.xsd#ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:href="rubi-20160930.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="rubi-20160930.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:href="rubi-20160930.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:href="rubi-20160930.xsd#FairValueMeasurements" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsChangeInFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:href="rubi-20160930.xsd#FairValueMeasurementsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:href="rubi-20160930.xsd#FairValueMeasurementsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxes" xlink:href="rubi-20160930.xsd#IncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:href="rubi-20160930.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssets" xlink:href="rubi-20160930.xsd#IntangibleAssets" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsIntangibleAssetsUsefulLivesDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsIntangibleAssetsUsefulLivesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:href="rubi-20160930.xsd#IntangibleAssetsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:href="rubi-20160930.xsd#IntangibleAssetsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareDetails" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareNarrativeDetails" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShareNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:href="rubi-20160930.xsd#NetIncomeLossPerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:href="rubi-20160930.xsd#OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="rubi-20160930.xsd#OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmounts" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:href="rubi-20160930.xsd#OtherBalanceSheetAmountsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:href="rubi-20160930.xsd#StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:href="rubi-20160930.xsd#StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:href="rubi-20160930.xsd#StockBasedCompensationValuationAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/SubsequentEvent" xlink:href="rubi-20160930.xsd#SubsequentEvent" xlink:type="simple" />
  <roleRef roleURI="http://www.rubiconproject.com/role/SubsequentEventDetails" xlink:href="rubi-20160930.xsd#SubsequentEventDetails" xlink:type="simple" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/AccountsPayableAndAccruedExpensesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:type="locator" />
    <loc xlink:href="rubi-20160930.xsd#rubi_AccountsPayableSellerCurrent" xlink:label="loc_rubi_AccountsPayableSellerCurrent_f321f116-0cee-69eb-3aec-aab3f7581874" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:to="loc_rubi_AccountsPayableSellerCurrent_f321f116-0cee-69eb-3aec-aab3f7581874" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableTradeCurrent" xlink:label="loc_us-gaap_AccountsPayableTradeCurrent_6404190e-7530-9419-64f9-64b8c9675aae" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:to="loc_us-gaap_AccountsPayableTradeCurrent_6404190e-7530-9419-64f9-64b8c9675aae" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e20e4396-1ab7-d9ec-b779-e1a72ae620da" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_e20e4396-1ab7-d9ec-b779-e1a72ae620da" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinations" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsProFormaInformationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/BusinessCombinationsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_ec544f28-9c7b-137c-e428-9ae47c2375fc" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsReceivableNetCurrent" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_d28874fa-4543-5746-c91a-559d7ab47f77" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_d28874fa-4543-5746-c91a-559d7ab47f77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8cc01d89-cd24-22b5-77d4-23f6bae81aca" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_8cc01d89-cd24-22b5-77d4-23f6bae81aca" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_30444800-bccf-94eb-16a7-6eb32a0bf8df" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_dbbeeff9-fd43-6151-195d-0532728ac216" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_30444800-bccf-94eb-16a7-6eb32a0bf8df" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_68e7c3c1-9b8d-84fe-3a5c-d69c15dfe7a2" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_InternalUseSoftwareDevelopmentCostsNet" xlink:label="loc_rubi_InternalUseSoftwareDevelopmentCostsNet_9076355b-b75b-88f8-3843-aab3f8ed2d79" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_rubi_InternalUseSoftwareDevelopmentCostsNet_9076355b-b75b-88f8-3843-aab3f8ed2d79" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_d723083e-f7a3-6d89-9926-32afaa010d8a" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_Goodwill_d723083e-f7a3-6d89-9926-32afaa010d8a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_27b15389-386a-f983-c189-731d6d3c3fbb" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_27b15389-386a-f983-c189-731d6d3c3fbb" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_e6ade192-0839-bdd8-d08b-20387a0e8201" xlink:type="locator" />
    <calculationArc order="6" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_08bee809-e27e-48c3-da2d-5d52948eb470" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_e6ade192-0839-bdd8-d08b-20387a0e8201" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent" xlink:label="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_AccountsPayableAndAccruedLiabilitiesCurrent_87a74df5-6262-b3a0-1a5b-b344f689ad60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_0ff25fd8-f6de-e7fa-c6c3-85d94f17f57b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_a859bb84-8118-88ec-5136-83fdb14e8f32" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_0ff25fd8-f6de-e7fa-c6c3-85d94f17f57b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_b65887e3-1865-ef3e-c8ae-81780cbff9ee" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_b65887e3-1865-ef3e-c8ae-81780cbff9ee" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredTaxLiabilitiesNoncurrent" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_3b38d8c3-335c-53c8-5510-f59766fb81d5" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_6d3ec995-5062-ef92-dd72-b570c1eafdc8" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesNoncurrent_3b38d8c3-335c-53c8-5510-f59766fb81d5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_3c8f3df4-466c-f78c-b021-17337fc4a147" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_PreferredStockValue_3c8f3df4-466c-f78c-b021-17337fc4a147" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_CommonStockValue_d53388e7-4c8c-4e6d-6e90-7a6e0a100b74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_27e98f68-fe6c-3420-5b5a-861a4dc60800" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_AdditionalPaidInCapital_27e98f68-fe6c-3420-5b5a-861a4dc60800" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_aeb1020a-508a-a8c1-f34c-bafff16c26cb" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_2644da13-7baa-0a2f-63e0-0906a691ba01" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_f759e73e-9f4f-941e-1138-49bc44f6b118" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_49d65a66-0444-b198-9d28-5c0811b1bdf3" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_04e17fb3-9b77-1c98-f460-7f5dd0c01008" xlink:to="loc_us-gaap_CommitmentsAndContingencies_49d65a66-0444-b198-9d28-5c0811b1bdf3" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_53bb4e1b-52b6-1bb1-1672-d14ea634a154" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_53bb4e1b-52b6-1bb1-1672-d14ea634a154" xlink:type="arc" />
    <loc xlink:href="rubi-20160930.xsd#rubi_ProceedsFromIssuancesofCommonStockUnderESPP" xlink:label="loc_rubi_ProceedsFromIssuancesofCommonStockUnderESPP_65bfc4f4-45bb-1c3c-a170-aab3f8e7ba11" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_rubi_ProceedsFromIssuancesofCommonStockUnderESPP_65bfc4f4-45bb-1c3c-a170-aab3f8e7ba11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_11ed54de-8651-64ce-6bd2-47983535a6d4" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_11ed54de-8651-64ce-6bd2-47983535a6d4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations_ce7581b8-b267-96f2-bccb-82413933cd5c" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_08614f0c-c3a2-4c92-7c1d-aed5de18fe70" xlink:to="loc_us-gaap_RepaymentsOfDebtAndCapitalLeaseObligations_ce7581b8-b267-96f2-bccb-82413933cd5c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_991d89e2-25f7-1061-f5f8-86acc91f176b" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_991d89e2-25f7-1061-f5f8-86acc91f176b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToDevelopSoftware" xlink:label="loc_us-gaap_PaymentsToDevelopSoftware_073baaa0-1537-8343-3b63-1f7945804da3" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToDevelopSoftware_073baaa0-1537-8343-3b63-1f7945804da3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4a851329-dac2-753a-9238-81894caa8647" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_4a851329-dac2-753a-9238-81894caa8647" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_c02ad689-0839-347f-dbb5-560ba41e6864" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_c02ad689-0839-347f-dbb5-560ba41e6864" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_8537a914-fea0-e31b-4574-5efbd321ed57" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_8537a914-fea0-e31b-4574-5efbd321ed57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInRestrictedCash" xlink:label="loc_us-gaap_IncreaseDecreaseInRestrictedCash_2c1ca162-2947-99be-de5d-a58ee5d07618" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_95f67350-d3ec-5d41-e3b2-a4fe7a19e15b" xlink:to="loc_us-gaap_IncreaseDecreaseInRestrictedCash_2c1ca162-2947-99be-de5d-a58ee5d07618" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_b0d6e80b-2a71-4b3d-5167-6e414c6a123b" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_b0d6e80b-2a71-4b3d-5167-6e414c6a123b" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_432488d8-28ca-5b8d-679b-29be120957b5" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_ShareBasedCompensation_432488d8-28ca-5b8d-679b-29be120957b5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_4f25f358-0eb6-8948-fd67-cb4acfcd66ec" xlink:type="locator" />
    <calculationArc order="4" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_4f25f358-0eb6-8948-fd67-cb4acfcd66ec" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_a630cdc5-a27f-054d-4089-cf5e52fc4cdd" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_a630cdc5-a27f-054d-4089-cf5e52fc4cdd" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossUnrealized" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_fa260602-6369-9a36-3ad2-d6d2d1064552" xlink:type="locator" />
    <calculationArc order="6" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossUnrealized_fa260602-6369-9a36-3ad2-d6d2d1064552" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_aa347117-ecf0-6b31-16d5-636a7c2499b9" xlink:type="locator" />
    <calculationArc order="7" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_aa347117-ecf0-6b31-16d5-636a7c2499b9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_ffe19198-61f8-be6a-6111-42f645804604" xlink:type="locator" />
    <calculationArc order="8" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_ffe19198-61f8-be6a-6111-42f645804604" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_e99fae14-a0f3-93f9-f0e6-bc9b4dc580ef" xlink:type="locator" />
    <calculationArc order="9" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_e99fae14-a0f3-93f9-f0e6-bc9b4dc580ef" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_880f9863-dd81-7240-4418-c9f1ba4fd53e" xlink:type="locator" />
    <calculationArc order="10" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableAndAccruedLiabilities_880f9863-dd81-7240-4418-c9f1ba4fd53e" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7a016eeb-d472-4272-2fad-97e749a6fbc2" xlink:type="locator" />
    <calculationArc order="11" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_975a3fab-7f49-5162-2cb5-31bb1479931f" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_7a016eeb-d472-4272-2fad-97e749a6fbc2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_9f72449f-62f6-71b1-0128-c7088f4f3527" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_104af714-3829-5d79-3fb3-059f86c366da" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_9f72449f-62f6-71b1-0128-c7088f4f3527" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfComprehensiveIncomeLoss" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_5c0eef35-65f3-1f95-6efc-88d329d3a633" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent_5c0eef35-65f3-1f95-6efc-88d329d3a633" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0f105a40-393d-896e-47b8-344549074b13" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax_663a641c-b103-1e10-d3ec-c078ec7a031b" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_0f105a40-393d-896e-47b8-344549074b13" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2b73f435-08bc-014c-4845-03f6580194a0" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2b73f435-08bc-014c-4845-03f6580194a0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2b73f435-08bc-014c-4845-03f6580194a0" xlink:to="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:to="loc_us-gaap_Revenues_4ce4747e-ba05-83d9-3458-6f9d1635c2ec" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostsAndExpenses" xlink:label="loc_us-gaap_CostsAndExpenses_ba9c144a-a131-2335-7bef-6a9a2f344885" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_800dbb3e-0416-e0ab-a30e-cfaeb17b8c4c" xlink:to="loc_us-gaap_CostsAndExpenses_ba9c144a-a131-2335-7bef-6a9a2f344885" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_5a47dae5-ba55-9292-41d8-64f380f46a8c" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_ba9c144a-a131-2335-7bef-6a9a2f344885" xlink:to="loc_us-gaap_CostOfRevenue_5a47dae5-ba55-9292-41d8-64f380f46a8c" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_57327f25-a23f-06ed-3328-7fd353dc03f3" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_ba9c144a-a131-2335-7bef-6a9a2f344885" xlink:to="loc_us-gaap_SellingAndMarketingExpense_57327f25-a23f-06ed-3328-7fd353dc03f3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_61ca427c-a8f7-736f-ff6b-927d826fc7fa" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_ba9c144a-a131-2335-7bef-6a9a2f344885" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_61ca427c-a8f7-736f-ff6b-927d826fc7fa" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_2b63fac5-7a72-3880-3fd2-630099895af7" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CostsAndExpenses_ba9c144a-a131-2335-7bef-6a9a2f344885" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_2b63fac5-7a72-3880-3fd2-630099895af7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_2b73f435-08bc-014c-4845-03f6580194a0" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_e015c137-2688-2671-ea53-ff539f6b64b3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_8bd26a17-2466-c9ca-826d-1c7167e5c7f9" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_8bd26a17-2466-c9ca-826d-1c7167e5c7f9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_b936f21a-1a1f-465e-d82c-5e014c9c5399" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NonoperatingIncomeExpense_9fa8ee46-9d2e-0b63-b65e-c559fb6868a2" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_b936f21a-1a1f-465e-d82c-5e014c9c5399" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_8baf87d5-5f2f-7d0d-cb85-b9f249bae0c5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_9b166675-b7b2-1067-1806-03b1ee0126f1" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurements" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsChangeInFairValueLiabilitiesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsFinancialInstrumentsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/FairValueMeasurementsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxes" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssets" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_20da5796-2b47-ef11-689a-589894b52fb4" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_20da5796-2b47-ef11-689a-589894b52fb4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_d981c90e-1b35-63c2-c258-b2af7bf5b3e0" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_d981c90e-1b35-63c2-c258-b2af7bf5b3e0" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsFiniteLivedIntangibleAssetsFutureAmortizationExpenseDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_36b3b152-325b-61f4-d066-1d3685b6c394" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearTwo_36b3b152-325b-61f4-d066-1d3685b6c394" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_10c80460-5b5e-7e81-facb-0d1ed91293c2" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearThree_10c80460-5b5e-7e81-facb-0d1ed91293c2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_ad66514d-dce4-49aa-3300-d457a5d4216a" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFour_ad66514d-dce4-49aa-3300-d457a5d4216a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_df415662-e392-2016-38c7-6c4ddd8a9714" xlink:type="locator" />
    <calculationArc order="4" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseYearFive_df415662-e392-2016-38c7-6c4ddd8a9714" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_e7896482-8d23-a8f9-52eb-54c2c885aa06" xlink:type="locator" />
    <calculationArc order="5" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNet_70724be1-cf82-e50d-0cc7-fa6194f78b70" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFive_e7896482-8d23-a8f9-52eb-54c2c885aa06" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsIntangibleAssetsUsefulLivesDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/IntangibleAssetsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShare" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesIssuedBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_5a2a6e57-0040-d7df-e573-d5a88386b6a8" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesIssuedBasic_5a2a6e57-0040-d7df-e573-d5a88386b6a8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesRestrictedStock" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_622b7fa9-e7fc-397b-0c4e-da763f63df80" xlink:type="locator" />
    <calculationArc order="2" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesRestrictedStock_622b7fa9-e7fc-397b-0c4e-da763f63df80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable_23ba222d-da0b-b4c6-02c9-7b52bcfde1a7" xlink:type="locator" />
    <calculationArc order="3" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_e841a58a-f12e-0adc-36de-0299a43719a9" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable_23ba222d-da0b-b4c6-02c9-7b52bcfde1a7" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/NetIncomeLossPerShareTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OrganizationAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmounts" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsAmortizedCostAndFairValueOfMarketableSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_cd44ab3a-5e2f-f796-8e35-e0d9fea14047" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_73f419d8-d119-3f34-15a6-338e4455cd96" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDate_cd44ab3a-5e2f-f796-8e35-e0d9fea14047" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_73f419d8-d119-3f34-15a6-338e4455cd96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_a7f9e912-6fdf-510b-1a5d-2b6111be7acd" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_64878df4-a4bb-ba61-aacb-ed249b31f694" xlink:type="locator" />
    <calculationArc order="1" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasis_a7f9e912-6fdf-510b-1a5d-2b6111be7acd" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_64878df4-a4bb-ba61-aacb-ed249b31f694" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsInvestmentsInMarketableSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_84c4a6c6-0ef3-3da8-6f9e-7c79d920503a" xlink:type="locator" />
    <calculationArc order="1" weight="-1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_84c4a6c6-0ef3-3da8-6f9e-7c79d920503a" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e53108a7-1cbc-ad68-00fa-93ab35ee9629" xlink:type="locator" />
    <calculationArc order="2" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_e53108a7-1cbc-ad68-00fa-93ab35ee9629" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2016/elts/us-gaap-2016-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:type="locator" />
    <calculationArc order="3" weight="1" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_bca7edb8-274e-a972-85d8-811b7da33e90" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_d38a4602-a509-ea84-d4a7-84b6783fb543" xlink:type="arc" />
  </calculationLink>
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/OtherBalanceSheetAmountsTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensation" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationEmployeeStockPurchasePlanNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationExpenseDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockActivityDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsActivityDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationRestrictedStockUnitsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsNarrativeDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationStockOptionsOutstandingDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationTables" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/StockBasedCompensationValuationAssumptionsDetails" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/SubsequentEvent" xlink:type="extended" />
  <calculationLink xlink:role="http://www.rubiconproject.com/role/SubsequentEventDetails" xlink:type="extended" />
</linkbase>





