Margin and Markup CalculatorCompare sale price and cost, or target a margin.Open this template in the spreadsheetInputsPurposeMargin and markupTarget margin priceSale priceCostThis uses the margin rate, not markup. The rounded price is not a guaranteed target.CostTarget margin (%)Use exampleClearResultRelated calculatorsDiscountFeeUnit priceAll calculatorsΣ FormulaDifference = sale − cost. Margin = difference ÷ sale × 100. Markup = difference ÷ cost × 100. Target sale price = cost ÷ (1 − margin/100).CalculationSelect the result to copy it manually.Values below display precision cannot be copied.