Business

Profit Margin Calculator

Calculate gross profit, margin, markup, and target sale price.

No data sent or stored
Loading tool…

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.

What is profit margin and how is it calculated?

Profit margin expresses profit as a percentage of revenue. It tells you how many cents of every sales dollar flow through to profit after covering the cost of what you sold. Margin and markup are related but different, and the distinction matters when setting prices: margin is profit divided by revenue, while markup is profit divided by cost. Confusing the two is a common pricing error that leads to margins lower than intended. This calculator shows both figures and also tells you what price you need to charge to hit a target margin.

Sale price and cost

Enter the price you charge and the direct cost of the product or service being sold. The cost field should reflect the direct cost of goods or service delivery, not overhead or operating expenses, which are typically accounted for separately in a business profit and loss statement. If you are pricing a physical product, cost includes materials, manufacturing, and any inbound shipping. For a service, it includes the direct labor and materials for that engagement.

Gross profit and margin

Gross profit is the dollar difference between revenue and direct cost. Gross margin is that dollar amount expressed as a percentage of revenue. What constitutes a reasonable gross margin varies considerably by industry: software and information products tend to have very high gross margins because the cost to deliver an additional unit is low; product distribution and food service tend to have much lower margins because direct costs are high. Comparing your margin to others in your specific industry is more useful than evaluating it against a general benchmark.

Target margin and price calculator

If you know the margin you need to achieve and the cost of delivery, the calculator works in reverse to tell you the minimum price to charge. Enter your target margin percentage and the calculator shows the price required to hit it. This is useful when you are building a price quote and want to ensure the job meets your margin requirement before you send it to the client.

How to use this calculator

Enter the sale price and direct cost to see gross profit, margin, and markup for a given transaction. Then enter a target margin percentage to see the price that would achieve it for the same cost. Everything is calculated in your browser; nothing you enter is sent to us or stored on a server.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit divided by the selling price. Markup is profit divided by the cost. A 40 percent margin and a 40 percent markup describe different situations. If your cost is 60 dollars and you add a 40 percent markup, the price is 84 dollars, and the margin is about 28.6 percent, not 40. If you want a 40 percent margin on a 60-dollar cost, the required price is 100 dollars. Many pricing errors come from applying a desired margin percentage as though it were a markup.

What is a good profit margin for a small business?

This varies significantly by industry, business model, and stage of growth. A retail or distribution business may operate at gross margins in the range of 20 to 40 percent, while a professional services firm may see margins well above 50 percent. Net profit margins after overhead and operating expenses are typically much lower than gross margins. Reviewing financial benchmarks for your specific industry from trade associations or financial data providers gives a more useful comparison than a general rule.

How do I improve my profit margin?

The two basic levers are increasing revenue per sale and reducing the direct cost per sale. On the revenue side, this means raising prices or shifting the mix toward higher-margin offerings. On the cost side, it means negotiating better supplier pricing, improving delivery efficiency, or reducing waste in the production or service process. Raising prices is often the faster path if your business has pricing power and customers have not demonstrated strong price sensitivity.

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.