ToolsKit

Profit Margin Calculator

Calculate profit, margin and markup from cost and selling price.

Work out gross profit, profit margin and markup from your cost and selling price, or find the price needed to reach a target margin.

Loading the interactive tool… This page needs JavaScript to run the Profit Margin Calculator.

How to use Profit Margin Calculator

  1. Enter your figures.
  2. Check the rate, period and assumptions.
  3. Review the result breakdown.
  4. Confirm important numbers independently.

How Profit Margin Calculator works

Enter the cost per unit and the selling price, and the tool returns profit per unit, profit margin (profit divided by price) and markup on cost (profit divided by cost). An optional target margin field works backwards and shows the price you would need, calculated as cost divided by one minus the target. The price must be above zero, the cost cannot be negative, and the target must stay below 100 percent.

Worked example

Input cost 60, price 100, target margin 50 → Output profit 40.00, margin 40.00%, markup 66.67%, price needed for 50.0% margin 120.00.

Common uses

  • Shop owners check whether a product price leaves a healthy margin after buying cost.
  • Sellers on marketplaces compare margin against markup before agreeing a wholesale deal.
  • Freelancers and makers work out what to charge to hit a target margin.

Best for

  • pricing products
  • resellers and shops
  • freelancers quoting work

Tips for better results

  • Include shipping, fees and packaging in your cost for a realistic margin.
  • Results are estimates, not financial advice.
  • Use consistent currency and periods.
  • Rates and fees vary, so verify with your provider.

Frequently asked questions

What is 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. A 50% markup equals a 33.3% margin.

Does this include taxes and fees?

No. Enter your total cost including fees to get an accurate margin.

Is my data sent to a server?

No. This tool runs in your browser, so what you enter stays on your device.

Related tools

Explore tool categories