Back to Free Tools

    Profit Margin & Markup Calculator: Find Selling Price

    Profit margin shows what share of the selling price you keep; markup shows how much you add on top of cost. Get both from price and cost, or start from cost and find the right selling price for a markup or a target margin.

    //Calculator
    // Gross profit margin
    0.00%
    Margin = (Selling price − Cost) / Selling price × 100
    // Gross profit
    $0.00
    // Markup
    —
    Markup = (Selling price − Cost) / Cost × 100
    // Break-even ROAS (with ads)
    —
    1 / Margin. Subtract shipping and fees too and the threshold rises
    // Margin ↔ markup conversion table
    MarginMarkupBreak-even ROAS
    10%11.1%10.00
    15%17.6%6.67
    20%25.0%5.00
    25%33.3%4.00
    30%42.9%3.33
    40%66.7%2.50
    50%100.0%2.00
    60%150.0%1.67

    // Reference: e-commerce typically 20-50%, services 40-60%, SaaS 70-90%. Orientation only, not a fixed target.

    //Guide

    How is gross profit margin calculated?

    The formula is simple: Gross Profit Margin = ((Revenue − COGS) / Revenue) × 100. COGS covers the direct costs of producing or sourcing what you sell — raw materials, production labour, supplier invoices, and shipping or packaging directly attributable to the product. Operating costs such as marketing, rent and management salaries are excluded; those belong in net profit margin.

    Gross margin is the most direct read on your pricing power and sourcing efficiency. When it falls, either your selling price is under pressure or unit costs are rising. Track margin per product or category to separate the two — a blended figure hides the mix of profitable and unprofitable SKUs.

    How is markup calculated?

    Markup divides profit by cost: Markup = (Selling price − Cost) / Cost × 100. A product costing $600 and selling for $1,000 earns $400, which is a 66.7% markup (400 / 600) and a 40% margin (400 / 1,000). Markup is always higher than margin because its denominator, cost, is smaller than the selling price.

    How to find the selling price from a target margin

    The correct formula is Selling price = Cost / (1 − Target margin). For a $600 cost and a 40% margin, the price is 600 / 0.60 = $1,000. The classic mistake is adding 40% to cost: 600 × 1.40 = $840, which yields a 28.6% margin, about $160 less per unit than planned. The "Price from target margin" tab shows the right price and what the mistake would cost you.

    Converting margin to markup

    Markup = Margin / (1 − Margin) and Margin = Markup / (1 + Markup). So a 20% margin equals a 25% markup, 25% equals 33.3%, and 50% equals 100%. The table above lists common values and, once you enter a cost, the selling price for each row.

    How margin sets your break-even ROAS

    If you run ads, your margin is also your threshold: Break-even ROAS = 1 / Margin. At a 40% margin, ads must return at least 2.5 times their cost in revenue; at 20% the bar rises to 5. Subtract shipping and marketplace fees and it climbs further. Use the ROAS Calculator for the full picture.

    Industry reference ranges

    There is no universal target; it varies with the business model. As rough guidance: e-commerce and retail typically land in the 20-50% band, services and agencies around 40-60%, and SaaS or digital products in the 70-90% range. Treat these as orientation rather than hard claims — your own period-over-period trend is a more meaningful benchmark than any industry average.

    //Frequently Asked Questions

    How do you calculate markup?

    Markup = (Selling price − Cost) / Cost × 100. A product bought for $600 and sold for $900 has a 50% markup (300 / 600) and a 33.3% margin (300 / 900).

    What is the difference between margin and markup?

    Margin divides profit by the selling price; markup divides it by cost. On a $1,000 sale with a $600 cost, margin is 40% and markup is 66.7%. A 50% margin and a 50% markup give very different prices, so always say which one you mean.

    What is gross profit margin?

    Gross profit margin is the share of revenue left after subtracting the cost of goods sold: ((Revenue − COGS) / Revenue) × 100. It measures the underlying profitability of your product or service, independent of operating expenses.

    What is a good gross profit margin?

    It depends on the model. Rough ranges: e-commerce 20-50%, services 40-60%, SaaS 70-90%. Rather than chasing a fixed threshold, watch your own trend — a declining margin signals price pressure or rising unit costs.

    What is included in COGS?

    Direct costs of making a product sellable: raw materials, production labour, supplier and contract-manufacturing invoices, plus product-attributable shipping, packaging and payment fees. Rent, marketing budget, management salaries and taxes are not part of COGS.

    What is the difference between gross and net profit margin?

    Gross margin subtracts only COGS and measures product-level profitability. Net margin subtracts every cost — operating expenses, marketing, interest and tax — showing the true profitability of the business. Read them together using the Net Profit Margin Calculator.

    // © 2026 Yusuf Bayrak