How to use Margin Calculator
- Step 1
Enter your cost
Input what you pay to buy or manufacture the item.
- Step 2
Choose calculation mode
Enter your selling price to find your margin, or enter your target margin to find your price.
- Step 3
Review gross profit
Read total dollar profit and gross margin percentage.
- 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: