Skip to content
Rank Tactix
eCommerce

Profit Margin Calculator

Enter your cost and selling price to see profit, margin and markup, or set a target margin to get the price you need to charge.

Built and maintained by Nouman Sabir AI search & SEO specialist Updated October 2026

  • 100% free
  • No sign-up
  • Runs in your browser, nothing is stored
Your numbers
$

Product, materials or labor per unit or job.

$
What if
%
%

Gross margin

40.0%

$40.00 profit per sale

Markup

66.7%

Price for a 45% margin

$109.09

Margin after a 20% discount

25.0%

Sells at $80.00

Break-even ROAS for ads

2.50x

Before shipping and fees

Calculated in your browser. Nothing you enter is stored.

Your inputs are saved in this browser only, so they're here when you come back.

Free store SEO review

Want orders that don't cost a click?

Send me your store URL and I'll review your collections, product pages and technical setup, then reply with the biggest organic wins.

Reviewed by Nouman Sabir
Top Rated on Upwork · 100% Job Success

No spam. Your details go only to me, never to a list.

How to use the Profit Margin Calculator

  1. 1

    Enter what the product or job costs you.

  2. 2

    Enter your selling price to see margin and markup.

  3. 3

    Or set a target margin to get the price you should charge.

Margin vs. markup

Margin is profit as a share of the selling price. Markup is profit as a share of cost. A product that costs $60 and sells for $100 has a 40% margin but a 66.7% markup. Mixing them up is one of the most common pricing mistakes.

Why it matters for marketing

Your margin sets how much you can spend to win a sale. It's the number behind break-even ROAS, max cost per lead and how far discounts can go.

  • Break-even ROAS = 1 ÷ margin
  • Max cost per order = order value × margin
  • A 20% discount on a 40% margin halves your profit

Frequently asked questions

What's the difference between margin and markup?

Margin divides profit by price; markup divides profit by cost. Margin is always the smaller number.

What is a good profit margin?

It varies by industry. Many retailers work on 25% to 50% gross margin; services are often higher.

How do I find the price for a target margin?

Price = cost ÷ (1 − target margin). For a $60 cost and 40% margin, that's $100.

Is my data stored?

No. Everything is calculated in your browser.

More free SEO tools

All tools →
eCommerce

ROAS Calculator

Find your ROAS, break-even ROAS and the most you can pay per order.

Open the tool

Free 30-min strategy call

No obligation

Book now