🇬🇧EN

Profit Margin Calculator

Work out profit, profit margin and markup from cost and selling price.

—profit margin
—profit
—markup

✨ What do you want to try next?

You've finished this tool — here are a few you might find useful.

Explore 100+ free toolsPDF, Image, Text, Convert, Calculate and more — all free.View all tools →

About the Profit Margin Calculator

This works out your profit and two key percentages — profit margin and markup — from an item's cost and selling price. It's a everyday tool for anyone pricing products or services: shop owners, freelancers, resellers, and small businesses checking whether a price leaves enough profit. Enter what something costs you and what you sell it for, and it shows the profit, the margin and the markup.

How it works — margin vs markup

  • Profit = selling price − cost.
  • Profit margin = profit ÷ selling price × 100 — profit as a percentage of the price.
  • Markup = profit ÷ cost × 100 — profit as a percentage of the cost.

These two are often confused but aren't the same. An item costing $60 sold for $100 has a $40 profit: a 40% margin (40 ÷ 100) but a 66.7% markup (40 ÷ 60). Markup is always the larger number for the same profit.

Assumptions and behaviour

  • Cost is what you pay; selling price is what the customer pays (revenue).
  • Margin is based on the selling price; markup is based on the cost.
  • Currency-agnostic; percentages show two decimals.
  • A selling price below cost gives a negative profit and margin (a loss), which the tool shows as-is.

Limitations

  • Cost should be your true cost. For an accurate margin, include all the costs of getting the item to the sale (purchase, shipping, fees) — this tool uses the single cost figure you enter.
  • It calculates on one unit or one sale; it doesn't model volume, overheads, or blended margins across a product range.
  • It doesn't subtract taxes, payment fees or returns from the profit.
  • Don't confuse margin and markup when setting prices — a "50% markup" is only a 33% margin.

Privacy

The calculation runs entirely in your browser. Nothing is uploaded or stored.

Frequently asked questions

Is this profit margin calculator free?

Yes — free, no sign-up, no limits, runs in your browser.

What's the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. For a $60 item sold at $100, that's a 40% margin but a 66.7% markup.

How do I calculate profit margin?

Profit margin = (selling price − cost) ÷ selling price × 100. It tells you what share of each sale is profit.

Why is my markup higher than my margin?

Markup divides profit by the (smaller) cost, while margin divides by the (larger) selling price, so markup is always the bigger percentage for the same profit.

What if I sell below cost?

The profit and margin come out negative, showing a loss. The tool displays the negative figures so you can see how far below break-even you are.

Should cost include shipping and fees?

For an accurate margin, yes — include all costs to get the item to the sale. The tool uses the single cost you enter, so build those in.

Is my data uploaded?

No. Everything runs locally in your browser; nothing is sent or stored.

Lakshay Kumar

Written by Lakshay Kumar(TechLakshay)

A QA Automation Engineer by trade, Lakshay's real passion is untangling complex problems into simple, working solutions — which is exactly why FreeMyTask exists. On Instagram, he channels that same instinct into helping 26,000+ content creators with SEO education, motivation, and hands-on query solving.

Last updated: August 22, 2026
🎁