Guide · Business Tools / Business & Finance
About Profit Margin Calculator
Compare gross profit, profit margin percentage (share of selling price), and markup percentage (share over cost), plus solve the selling price required for a target margin.
When to use this tool
Useful for ecommerce sellers, agencies, and retailers who want to avoid confusing a 50% markup with a 50% profit margin.
How to use Profit Margin Calculator
- Enter unit cost (non-negative) and current selling price / revenue.
- Optionally specify a Target Margin (%) between 0% and 99.99%.
- Review gross profit, profit margin %, markup %, and target selling price.
Supported inputs, options, and outputs
- Margin % = (Revenue - Cost) / Revenue × 100.
- Markup % = (Revenue - Cost) / Cost × 100; Target Price = Cost / (1 - TargetMargin / 100).
Accuracy notes and limitations
- Calculates gross product margin only; payment processing fees, shipping, overhead, and taxes must be included in your Cost input if tracking net margin.
- Target margin must be strictly below 100% because 100% margin is mathematically unreachable when cost > 0.
- Results are estimates from the figures you enter and are not financial advice.
Privacy and browser processing
Inputs and calculations run inside your browser tab without uploading documents or financial figures to IJM servers. Hosted deployments load cookie-free page-view analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Business Tools.