Free tool · Profit & pricing

    Selling Price Calculator

    Start with your cost and the margin you want, and get the price that delivers it.

    • 100% free
    • No sign-up
    • Runs in your browser
    $

    Product, packaging, shipping and fees.

    %

    Selling price

    $60.00

    Profit per unit

    $30.00

    Markup

    100.0%

    How do I calculate a selling price from my desired margin?

    Most pricing mistakes come from working forward: take the cost, add something that feels right, and hope it leaves enough profit. This calculator works backward instead. You decide what share of each sale you want to keep, and it tells you the price that produces exactly that margin.

    That approach fits e-commerce, where most costs downstream of pricing (advertising, discounts, fees) are measured as a percentage of revenue. If you know you need a 40% margin to run profitable Google Shopping campaigns, you can price for it directly.

    When to use the selling price calculator

    Best for

    • Pricing new products
    • Hitting a target margin for Google Shopping
    • Repricing after supplier cost changes

    Not the right pick for

    • Pricing by markup — use the markup calculator
    • Checking an existing price — use the profit margin calculator

    How it works

    1. 1

      Enter your cost

      Use full landed cost including freight and duties.

    2. 2

      Enter your desired margin

      Choose the share of each sale you want to keep.

    3. 3

      Read the price

      See the selling price, profit per unit and markup.

    4. 4

      Round sensibly

      Pick a price point and check how rounding changes margin.

    How to calculate selling price from margin

    Selling price = Cost ÷ (1 − Desired margin % ÷ 100)

    Profit per unit = Selling price − Cost

    Markup % = (Profit ÷ Cost) × 100

    The key is dividing by (1 − margin), not multiplying by (1 + margin). Multiplying gives you a markup, which produces a smaller margin than you intended.

    Worked example

    A ceramic planter costs you $24 landed, and you want a 40% profit margin.

    StepCalculationResult
    Selling price$24 ÷ (1 − 0.40)$40
    Profit per unit$40 − $24$16
    Markup$16 ÷ $2466.7%

    Check: $16 is 40% of $40, so the margin is exactly what you wanted.

    Here is the common mistake for comparison. Adding 40% to cost gives $24 × 1.40 = $33.60. Profit is $9.60, which is only a 28.6% margin. On every unit, you would leave $6.40 on the table compared with your plan.

    Margin vs markup when setting prices

    • Margin is profit as a share of the selling price. It is the number you want for planning, because ad spend, discounts and fees are all measured against revenue.
    • Markup is profit as a share of cost. It is often how suppliers and wholesalers talk about pricing.

    To hit a target margin, you always need a larger markup:

    Desired marginRequired markup
    20%25%
    30%42.9%
    40%66.7%
    50%100%
    60%150%

    If you already have a price and want to check it, use the profit margin calculator. If you price by markup, the markup calculator shows the resulting margin.

    How to choose your target margin

    The right margin depends on what each sale has to pay for:

    • Advertising. If most orders come from paid search and Shopping, your margin must cover the ad cost per order and leave profit. The margin you pick sets your break-even ROAS: at 40% it is 2.5. Check it with the break-even ROAS calculator.
    • Costs not in the product cost. Payment fees, free shipping, packaging and returns all come out of margin. Either add them to cost or choose a higher target margin.
    • Planned discounts. If you regularly run 20% off sales, the everyday margin needs to absorb that.
    • Market prices. Shoppers compare prices directly in Google Shopping. If the price your target margin produces is well above competitors, expect lower click-through and conversion rates.

    Tips for setting selling prices

    1. Use full landed cost including freight, duties and inbound shipping.
    2. Round to a sensible price point after calculating. If the math gives $39.18, choose $39 or $39.99, and check how the rounding changes your margin.
    3. Use different margins per category. Accessories and add-ons can often carry higher margins than your core, most-compared products.
    4. Revisit prices when costs change. A supplier increase on a fixed price quietly erodes margin.
    5. Tag products by margin with custom labels in Merchant Center so you can give higher-margin items more aggressive bids in Shopping and Performance Max.

    Free tool vs having us run your Google Ads

    Free tool (do it yourself)Mercantads does it for you
    Know your numbersCalculate them hereTargets set from your real margins and data
    CampaignsLearn and build them yourselfShopping, Performance Max and Search built for you
    OptimizationWhenever you find timeWeekly search terms, bids, budgets and feed updates
    ResultsDepends on your time and experienceA Google Partner team focused on your profit
    Talk to us
    FAQ

    Frequently Asked Questions

    Divide the cost by (1 minus the margin as a decimal). A $24 cost at a 40% margin is $24 ÷ 0.60 = $40.

    Adding a percentage to cost is a markup, and it produces a smaller margin than the percentage you added. Adding 40% to cost gives only a 28.6% margin.

    It depends on your category, competition and how much you spend to acquire each order. Your margin needs to cover ad costs, fees and returns and still leave a profit.

    No. A 100% margin would mean the product cost nothing, so the formula breaks down. Practical margins are always below 100%.

    Selling Price Calculator

    Start with your cost and the margin you want, and get the price that delivers it.