Profit Margin Calculator

Use our free Profit Margin Calculator to instantly compute profit margin, markup rate, suggested selling price, or maximum allowable cost for any product or service.

891.7K usesUpdated · 2026-04-28Runs locally · zero upload

How to Use Profit Margin Calculator

The Profit Margin Calculator offers three modes to handle the most common pricing and profitability questions:

  1. Profit & Margin — Enter your revenue (selling price) and total cost. The Profit Margin Calculator instantly shows profit amount, profit margin percentage, and markup rate.
  2. Target Price — Know your cost and the margin you need? Enter both, and the Profit Margin Calculator calculates the minimum selling price required to hit your target.
  3. Target Cost — Working backwards from a price and desired margin? Enter both, and the Profit Margin Calculator tells you the maximum allowable cost.

Switch between modes with the buttons at the top. All results update as you type — no button to press.

Formula & Theory — Profit Margin Calculator

The Profit Margin Calculator is built on three foundational formulas used across all business and retail contexts:

Profit         = Revenue − Cost
Profit Margin  = (Profit / Revenue) × 100%
Markup Rate    = (Profit / Cost) × 100%

Reverse calculations:

Suggested Price = Cost / (1 − Target Margin)
Allowed Cost    = Revenue × (1 − Target Margin)
Symbol Meaning
Revenue Selling price or total sales amount
Cost Total cost of goods or services sold
Profit Revenue minus Cost

Margin vs. Markup — Why Both Matter

Margin and markup express profitability from different perspectives. A 50% markup does not equal a 50% margin — it equals a 33.3% margin. Confusing the two is a common pricing mistake. The Profit Margin Calculator shows both figures side by side so you always have the full picture.

Use Cases for Profit Margin Calculator

The Profit Margin Calculator is essential for anyone involved in pricing, sales, or financial planning:

  • E-commerce pricing — Set product prices on platforms like Shopify or Amazon by entering unit cost and target margin into the Profit Margin Calculator.
  • Wholesale and retail — Determine the markup needed to cover overhead and still hit your net margin goal.
  • Freelance project quotes — Calculate how much to charge a client given your time cost and desired profit margin.
  • Small business financial analysis — Track whether individual products or services are profitable using the Profit Margin Calculator on a per-SKU basis.
  • Negotiating supplier costs — Use the target cost mode to find the maximum input cost allowed before a product becomes unprofitable.

Whether you are launching a new product line or reviewing existing pricing, the Profit Margin Calculator delivers the insight you need in seconds.

Frequently asked questions about Profit Margin Calculator

What is the difference between profit margin and markup?

Profit margin is profit divided by revenue, expressed as a percentage of the selling price. Markup is profit divided by cost, expressed as a percentage of the cost. The Profit Margin Calculator computes both simultaneously.

How do I use the Profit Margin Calculator to find the right selling price?

Switch to 'Target Price' mode, enter your cost and the profit margin percentage you want to achieve, and the Profit Margin Calculator instantly shows the recommended selling price.

What is a good profit margin?

It varies widely by industry. Retail typically targets 20–50% gross margin, software products can reach 70–90%, and food services often operate at 3–9%. Use the Profit Margin Calculator to benchmark your own numbers.

Can I calculate how much I can spend on a product given a target margin?

Yes. Use 'Target Cost' mode: enter your selling price and desired margin, and the Profit Margin Calculator returns the maximum cost you can incur while hitting that margin.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.