Enter revenue and costs to see gross profit, profit margin, and markup percentage.
Enter your revenue and total costs to see gross profit, profit margin, and markup. The calculator shows both margin (profit as a share of revenue) and markup (profit as a share of cost). These are easy to confuse and mean very different things when you are setting prices.
Profit margin tells you what percentage of revenue you keep after covering costs. A 30% margin means $0.30 of every dollar in revenue is profit. Margins vary widely by industry: software products may see 70%+, while grocery stores often see 1 to 3%.
You came here because
Common situations
- Product pricing: Check whether your pricing leaves a sufficient margin after all costs.
- Business performance: Compare profit margins month over month or against industry benchmarks.
- Investment analysis: Evaluate whether a company's margins are healthy before investing.
- Freelance rate setting: Calculate effective margin after tools, taxes, and business expenses.
Under the hood
How the calculation works
- 1Enter your total revenue (all money received from sales).
- 2Enter total costs (cost of goods sold plus operating expenses).
- 3The calculator subtracts costs from revenue to get gross profit.
- 4It divides gross profit by revenue to get the margin percentage.
- 5Markup (profit as a percentage of cost) is also shown.
Show me
A real example
Example: $25,000 revenue, $18,500 in costs
- 1Gross profit = $25,000 − $18,500 = $6,500
- 2Profit margin = $6,500 / $25,000 = 26%
- 3Markup = $6,500 / $18,500 = 35.1%
Watch out for
What can go wrong
- Confusing margin with markup: Margin divides profit by revenue. Markup divides profit by cost. A 50% markup gives a 33% margin. These are not interchangeable and the difference matters when setting prices or reporting to investors.
- Using gross margin when net margin is needed: Gross margin excludes operating expenses, taxes, and interest. Net margin includes them. Gross margin is useful for production decisions; net margin reflects overall business profitability.
- Including non-cash items inconsistently: Depreciation and amortization are costs that reduce margin but do not involve cash outflows. Decide whether to include them before comparing margins across periods or companies.
- Ignoring industry benchmarks: A 5% margin is good for grocery retail and concerning for software. Evaluate your margin against the industry norm, not just the raw number.
Glossary
Related concepts
| Term | Definition |
|---|---|
| Gross margin | Revenue minus cost of goods sold (COGS), before operating expenses. Shows how efficiently you produce your product. |
| Net profit margin | Profit after all expenses including tax and interest, divided by revenue. Lower than gross margin. |
| Markup vs margin | Markup is profit as a percentage of cost. Margin is profit as a percentage of revenue. A 50% markup equals a 33% margin. |
| Break-even point | The revenue level at which total costs equal revenue, producing zero profit. Use the Break-Even Calculator to find it. |
Make it better
Pro tips
- Track margin trend over time: A single margin figure is less useful than watching it move quarter over quarter. Shrinking margins in a growing business often signal rising costs or pricing pressure before they hit cash flow.
- Calculate margin per product or service line: Blended company margins hide which products are profitable. Calculate separately for each line. High-revenue products with low margins may be subsidized by smaller but higher-margin offerings.
- Use markup to set prices, margin to report results: When pricing a product, start from cost and apply a markup. When reporting to investors or auditors, translate that into margin. Keeping the two concepts separate reduces pricing errors.
- Factor in returns and discounts: Revenue should be net of returns and discounts. If your gross revenue includes goods later returned, your margin calculation overstates profitability.
Common questions
Frequently asked questions
For related calculations, try the Break-Even Calculator, CAC Calculator, or ROI Calculator. Browse all Calculator Online calculators for the full catalog.
Methodology
This calculator uses the standard profit margin calculator formula. Results match those from established financial, scientific, and health references.
Reviewed by
Calculator Online Editorial Team. All formulas verified against authoritative sources before publication.
Last updated
2026-01-15