Margin and markup are not the same thing, and the gap between them is where a surprising amount of money quietly disappears. Owners who apply a "40 percent" they think is margin but is really markup end up with thinner profit than they planned, deal after deal, without ever seeing why.
This calculator shows gross profit, margin, and markup for any sale at once, and runs the math in reverse to tell you the exact price that hits a target margin.
Your data never reaches us
Nifty Utilities has no backend server, database, user accounts, or endpoint capable of receiving your tool inputs. Files and entries are processed inside your browser. We cannot view, capture, or store them.
Sale price and cost
Enter what you charge and the direct cost of what you sold. Cost here means cost of goods or direct service delivery only, not overhead and not your operating expenses, which a profit-and-loss statement handles further down. For a physical product, cost is materials, manufacturing, and inbound freight. For a service, it is the direct labor and materials tied to that specific engagement. Keeping overhead out of this field is what makes the resulting margin a true gross margin rather than a muddle.
Gross profit and margin
Gross profit is simply price minus cost in dollars. Gross margin expresses that profit as a percentage of the price: profit divided by revenue. What counts as healthy varies enormously by industry. Software and digital products often post very high gross margins because each additional unit costs almost nothing to deliver; distribution, grocery, and food service run thin because the cost of goods eats most of the ticket. Comparing yourself to peers in your own category tells you far more than any universal target.
Target margin and price calculator
This is the part owners use most. Give the calculator your cost and the margin you need, and it solves for the price using the correct formula: price equals cost divided by one minus the margin. That division is the whole game. Adding your desired margin percentage as if it were a markup, the most common pricing mistake there is, always lands you short of the margin you wanted. Use this section when you are building a quote and need to guarantee the job clears your required margin before it goes out the door.
- Adding a margin percentage on top of cost as though it were a markup.
- Folding overhead into the cost field and distorting the gross margin.
- Judging your margin against a generic benchmark instead of your industry.
- Quoting from gut feel rather than solving backward from a target margin.
How to use this calculator
Enter a sale price and direct cost to see gross profit, margin, and markup for that transaction. Then enter a target margin percentage to get the price that achieves it at the same cost. Flip between the two modes while building a quote to confirm your number protects the margin you intend. Everything is calculated in your browser; nothing you enter is uploaded or stored.
Frequently asked questions
What is the actual difference between margin and markup?
Margin is profit divided by the selling price; markup is profit divided by the cost. They describe different things even at the same percentage. Take a $60 cost: add a 40 percent markup and the price is $84, which is only about a 28.6 percent margin. To earn a true 40 percent margin on that same $60 cost, you must charge $100. Most underpricing in small business comes from treating a target margin as if it were a markup.
What is a good profit margin for a small business?
It depends heavily on your industry and model. A retail or distribution operation might live on gross margins of 20 to 40 percent, while a professional services firm can run well above 50 percent. And remember gross margin is not net margin: after rent, payroll, and overhead, what reaches the bottom line is much smaller. Industry benchmarks from trade associations beat any single rule of thumb.
How do I improve my margin?
Two levers: lift revenue per sale or cut direct cost per sale. On revenue, that means raising prices or steering the mix toward higher-margin offerings. On cost, it means negotiating better supplier terms, tightening delivery efficiency, or reducing waste. When you have pricing power and customers have not shown real price sensitivity, a modest price increase is usually the faster and more durable path.
Important
This tool provides estimates and general-purpose documents, not financial, tax, legal, or professional advice. Verify important results before relying on them.
Support
Problem with this tool or suggestions for improvement? Please email support@niftyutilities.com.