Free tool · No sign-up
Try Accovix accounting for freeProfit Margin Calculator
Enter a cost and a selling price to see profit, margin and markup instantly — or flip it around: tell us your target margin and we’ll calculate the price you should charge. Built for retailers, contractors and service businesses who need a trustworthy number before quoting a customer.
Formula: Margin % = (Price − Cost) ÷ Price × 100 · Markup % = (Price − Cost) ÷ Cost × 100 · Suggested price = Cost ÷ (1 − target margin)
Financial Analysis & Pricing Report
| Metric | Calculation / Formula | Value |
|---|---|---|
| Profit per unit | Selling Price − Cost Price | $40.00 |
| Gross Margin | (Profit ÷ Selling Price) × 100 | 40.0% |
| Markup | (Profit ÷ Cost Price) × 100 | 66.7% |
| Suggested Price at 40% Margin | Cost Price ÷ (1 − Target Margin) | $100.00 |
How to calculate profit margin
Gross margin answers one question: of every dollar a customer pays, how many cents stay with you after the cost of the goods? Subtract cost from price, divide by the price and multiply by 100. A $100 sale that costs $60 leaves $40 — a 40% margin.
Markup looks at the same transaction from the cost side: $40 profit on a $60 cost is a 66.7% markup. The numbers differ because they use different denominators, and mixing them up is how businesses accidentally underprice. When a supplier says “we need 30%,” ask whether they mean margin or markup — the price that satisfies a 30% margin (cost ÷ 0.70) is lower than the one for a 30% markup (cost × 1.30).
Pricing tips for small business
Start from your target margin, not a guess. Rent, salaries, tax and marketing come out of margin — if those overheads run 25% of revenue, a 30% gross margin leaves almost nothing. Retailers often live on thinner margins but higher volume; service businesses can hold 50%+ because labor is the product.
Revisit prices whenever supplier costs move. A 10% cost increase at a fixed price silently cuts margin by several points. Accovix tracks cost per item and reports margin trends per product, customer and outlet — so this calculator becomes a continuous check instead of a one-off exercise.
See Accovix pricing or try the free invoice generator.
Frequently Asked Questions
What is profit margin?
Profit margin is the share of revenue that survives as profit. Gross margin = (revenue − cost of goods) ÷ revenue × 100. Net margin accounts for every operating expense. If you buy an item for $60 and sell it for $100, your gross margin is 40% — you keep 40 cents of every dollar.
What is the difference between margin and markup?
Margin is profit as a percentage of the selling price; markup is profit as a percentage of cost. The same $40 profit on a $60 cost is a 66.7% markup but a 40% margin. Confusing the two is the classic pricing mistake — always ask which one a number refers to.
How do I set a price from a target margin?
Divide your cost by (1 − target margin ÷ 100). For a 40% target margin on a $60 cost: 60 ÷ 0.60 = $100 selling price. The calculator above does this live — enter your cost and target margin and the suggested price appears instantly.
What is a good profit margin for small business?
It varies by industry: retail and grocery often run 1–5% net, services 10–20%, software 20%+. Compare against your own category rather than a universal number, and remember that markup must also cover rent, salaries and tax — margin on goods alone rarely pays overhead.
Can Accovix track my margins automatically?
Yes. Accovix records cost per item and every sale, so reports like item profitability, customer profit and margin trends update in real time across outlets and warehouses. Start with the free calculator, then try the platform with a 14-day free trial — no credit card.