Free tool · Profit & pricing

    Profit Margin Calculator

    Enter what a product costs you and what you sell it for to see your profit, margin and markup instantly.

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

    Profit margin

    58.3%

    Profit per sale

    $35.00

    Markup

    140.0%

    Profit as a share of cost

    How do I calculate profit margin for free?

    Profit margin is the share of each sale you keep after paying for the product itself. If your margin is 40%, then 40 cents of every dollar a customer pays is gross profit, and 60 cents went to the cost of the goods. It is the single most useful number for deciding how much you can spend on advertising, shipping promotions and discounts without losing money.

    This calculator works at the product level: it uses product cost and selling price, so the result is your gross margin per unit. Net margin, which also subtracts rent, software, salaries and ad spend, is a different (and always smaller) number.

    When to use the profit margin calculator

    Best for

    • Checking margin on current prices
    • Setting how much you can spend on ads
    • Testing price changes on a product

    Not the right pick for

    • Pricing from a target margin — use the selling price calculator
    • Net margin including rent, salaries and ad spend

    How it works

    1. 1

      Enter your cost

      Include product, packaging and shipping costs.

    2. 2

      Enter your price

      Use the price the customer pays.

    3. 3

      Read your results

      See profit, margin and markup.

    4. 4

      Check ad room

      Use your margin to find your break-even ROAS.

    How to calculate profit margin

    Profit = Selling price − Product cost

    Profit margin % = (Profit ÷ Selling price) × 100

    Markup % = (Profit ÷ Product cost) × 100

    Both margin and markup use the same profit figure. The only difference is what you divide by: margin divides by the price, markup divides by the cost.

    Worked example

    You sell a leather wallet for $50. It costs you $30 to buy from your supplier, landed at your warehouse.

    MetricCalculationResult
    Profit$50 − $30$20
    Profit margin$20 ÷ $5040%
    Markup$20 ÷ $3066.7%

    So the wallet has a 40% margin and a 66.7% markup. Same product, same price, two very different-looking percentages.

    Margin vs markup: why the difference matters

    Markup is always higher than margin for the same product, and mixing them up is one of the most expensive mistakes a store owner can make. If you want a 40% margin and you add 40% to cost, you get a $42 price on a $30 item, which is only a 28.6% margin. That gap is often the entire profit you were counting on to fund Google Ads.

    A quick reference:

    MarkupResulting margin
    25%20%
    50%33.3%
    100%50%
    200%66.7%

    Margin can never reach 100%, while markup has no ceiling. If you set prices by markup, use the markup calculator and check the resulting margin. If you start from a target margin, the selling price calculator works backward to the right price.

    What is a good profit margin?

    There is no universal "good" margin. It depends on:

    • Product category. Commodity electronics and branded resale often run thin margins; private label, apparel, beauty and accessories usually have much more room.
    • Order value. A 20% margin on a $900 item produces more dollars per order than a 60% margin on a $15 item.
    • Your acquisition model. If most sales come from paid ads, you need enough margin to cover the cost per sale and still profit. Stores that sell mostly to repeat customers or through organic traffic can live on less.
    • Hidden costs. Payment fees, free shipping, packaging and returns all eat into the real margin. Include them in "product cost" if you want a realistic number.

    As a practical test, compare your margin to your advertising efficiency. A product with a 40% margin breaks even at a 2.5 ROAS; anything below that loses money on every ad-driven sale. The break-even ROAS calculator shows this for any margin.

    How to improve your profit margin

    1. Use true landed cost. Add freight, duties and inbound shipping to the supplier price. Many stores overstate margin by 5 to 10 points by ignoring these.
    2. Raise prices on low-elasticity products. Test small increases on best sellers with strong reviews; small price moves often have little effect on conversion rate.
    3. Bundle and upsell. Bundles raise order value while fixed costs per order (packing, shipping) stay roughly flat.
    4. Negotiate volume tiers once you have consistent sales data to show suppliers.
    5. Push ad budget toward high-margin products. In Google Shopping and Performance Max, split products into campaigns or asset groups by margin tier and give each its own ROAS target, so low-margin items are not bid as aggressively as high-margin ones.

    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

    No. Margin is profit divided by selling price; markup is profit divided by cost. A $30 product sold for $50 has a 40% margin but a 66.7% markup.

    For decisions about pricing and ad spend, yes. Including payment processing, packaging and any shipping you absorb gives you a margin that reflects what you actually keep per order.

    Yes. If the selling price is lower than the cost, profit and margin are negative, meaning you lose money on every unit before any advertising or overhead.

    It depends on your conversion rate and cost per click, but higher margins give you more room. Your margin sets your break-even ROAS (1 ÷ margin), which is the minimum return your campaigns must hit to avoid losing money.

    Profit Margin Calculator

    Enter what a product costs you and what you sell it for to see your profit, margin and markup instantly.