Seller ToolsProcessed in your browser

Margin Calculator

Calculate gross profit margin percentage and required selling price from cost

How to use Margin Calculator

  1. Step 1: Enter your cost - Margin Calculator
    Step 1

    Enter your cost

    Input what you pay to buy or manufacture the item.

  2. Step 2: Choose calculation mode - Margin Calculator
    Step 2

    Choose calculation mode

    Enter your selling price to find your margin, or enter your target margin to find your price.

  3. Step 3: Review gross profit - Margin Calculator
    Step 3

    Review gross profit

    Read total dollar profit and gross margin percentage.

  4. Step 4: Check equivalent markup - Margin Calculator
    Step 4

    Check equivalent markup

    View the equivalent markup percentage needed to reach this margin.

About this tool

The Margin Calculator computes gross profit margin percentage from product cost and revenue, or calculates the required selling price to hit any target profit margin.

Profit margin reveals the percentage of every sales dollar that your business retains after paying direct production costs: a 40% margin means 40 cents of every dollar is gross profit, while 60 cents covers cost of goods sold. This tool allows forward calculations (Cost + Revenue → Margin %) and reverse calculations (Cost + Target Margin % → Required Price) with instant conversion to equivalent markup values.

Read the full guide

How to Calculate Gross Profit Margin and Price Products Accurately

Key Features

  • Dual modes: Calculate Margin % from Price, or Calculate Price from Target Margin %
  • Side-by-side equivalent markup percentage readout
  • Profit breakdown pie chart and dollar profit summary
  • Quick presets for standard retail margins (30%, 40%, 50%, 60%)
  • Clear formula breakdown for accurate bookkeeping

Tips & common mistakes

  • •To reach a 50% margin, your selling price must be exactly double your cost (a 100% markup).
  • •Never divide profit by cost when calculating margin; margin is always profit divided by selling price.
  • •Healthy gross margins for e-commerce and retail typically range from 40% to 60%.

Last updated:

Margin Calculator FAQ

Margin (%) = [(Selling Price - Cost) ÷ Selling Price] × 100. To find required selling price from cost: Selling Price = Cost ÷ (1 - Margin %).
No. Because margin is the ratio of profit to total revenue, profit margin can never reach or exceed 100% (unless cost is negative). Markup, however, can easily exceed 100%, 200%, or 500%.

Related tools

More tools from the same category and nearby utilities.