Profit Margin Calculator
Solve for revenue, cost, or margin — lock any two and the third is computed.
Free & unlimitedWorks offline
View
Lock any two fields — the unlocked field is computed (highlighted green).
Revenue
$
Cost
$
Profit margin
%
Margin presets
Enter two values to see the breakdown
All processing happens in your browser. No data is sent to any server.
About this tool
- 1
Enter cost and revenue
Input your cost price (what you pay) and selling price (what the customer pays).
- 2
View margin calculations
See gross profit margin percentage, markup percentage, and absolute profit per unit instantly.
- 3
Use reverse pricing
Enter a target margin and cost to calculate the required selling price, or enter selling price and target margin to find maximum cost.
- Margin and markup are different - a 50% markup equals a 33.3% margin. This tool shows both so you never confuse them.
- Use reverse pricing mode when negotiating with suppliers to know your maximum acceptable cost.
- Factor in all costs (shipping, packaging, fees) in the cost price for an accurate margin.
- Calculates gross margin, net margin, and markup simultaneously
- Reverse pricing - find the selling price needed for a target margin
- Supports cost-to-price and price-to-cost calculations
- Clear visual breakdown of cost vs. profit per unit
- Handles bulk pricing with quantity discounts
- Setting retail prices for products to hit a target profit margin
- Comparing supplier quotes by calculating margin impact of each
- Reverse-engineering competitor pricing to estimate their cost structure
- Pricing freelance services to ensure a sustainable profit margin