Profit Margin Calculator

Enter your cost and price — see margin, markup, and profit per unit instantly

Updated 2026-09-09

$
$
Gross profit per unit
$8.00
Profit margin
40.0%
Markup on cost
66.7%

Margin is profit divided by the selling price. Markup is profit divided by your cost — they are never the same number.

Your numbers stay on this device. The page link keeps your inputs, so a bookmark or shared link reopens these results.

Most small business owners can name their prices from memory but not their margins. That gap is where money quietly leaks: a product that feels profitable at $20 can be barely breaking even once packaging, card fees, and shrinkage come off the top. This calculator gives you the number in one step, and the guide underneath explains what to do with it.

How profit margin is calculated

Gross profit margin is profit divided by the selling price, expressed as a percentage. If a product costs you $12 and sells for $20, your gross profit is $8 and your margin is 8 ÷ 20 = 40%.

The important detail is the denominator. Margin uses the selling price; markup uses the cost. The same $8 of profit is a 40% margin but a 67% markup. Suppliers and trade catalogues usually quote markup, accountants and lenders quote margin, and mixing them up is the single most common pricing mistake in small retail.

What counts as your unit cost

Landed cost, not invoice cost. Whatever it took to get one sellable unit onto your shelf belongs in the cost box.

  • The wholesale or manufacturing price per unit
  • Inbound freight and import duty, divided across the shipment
  • Packaging, labels, tags, and any assembly labour
  • Expected shrinkage and returns, as a small percentage uplift
  • Payment processing on the sale, if you want a true net figure

Margin benchmarks that are worth knowing

There is no universal "good" margin, but categories cluster. Grocery and convenience run thin, often in the 15–30% range, and make their money on volume and footfall. General retail and apparel commonly target 45–55% to absorb markdowns. Handmade and craft sellers usually need 50%+ once labour is honestly costed. Services frequently look like 70%+ gross because the main cost is time, but that number is meaningless until you pay yourself a wage from it.

Rather than chase a benchmark, track your own blended margin month over month. A blended margin that drifts down while revenue climbs almost always means discounting, freight increases, or a shift in product mix toward low-margin lines.

Gross margin vs net margin

This calculator gives you gross margin, which covers only the direct cost of the item. Net margin subtracts everything else: rent, software, insurance, wages, marketing, and tax. A shop with a healthy 45% gross margin and $6,000 of monthly overhead still needs roughly $13,300 of monthly sales before it earns a cent.

Use gross margin to make pricing decisions on individual products, and net margin to judge whether the whole business works. Run your fixed costs through the break-even calculator to see the sales volume your current margin actually requires.

Practical ways to lift margin without raising prices

Price rises are the fastest lever, but not the only one.

  • Renegotiate freight or consolidate orders — inbound shipping is often the largest hidden cost per unit
  • Cut the tail: the slowest 20% of SKUs usually tie up cash that faster lines would turn several times over
  • Bundle a low-margin hero product with a high-margin accessory instead of discounting it alone
  • Reduce shrinkage with barcode-based stock counts rather than eyeball checks
  • Move small-ticket sales off high fixed-fee payment methods, which can eat several points of margin

Using margin data inside ExpressBizTools

If you track products in ExpressBizTools, cost and price live on each item, so margin is calculated for every sale automatically and rolled up in your reports. That turns this one-off calculation into an ongoing view of which products actually carry the business.

Keep the numbers in a spreadsheet

Ready-made Excel and Google Sheets templates that pick up where this calculator stops. One-off purchase, instant download.

  • Simple Profit & Loss (P&L) Statement Spreadsheet

    Log transactions; get a monthly and yearly P&L with margins.

  • Inventory Tracker & Stock Control Spreadsheet

    150 SKUs, stock in/out log, automatic on-hand counts, reorder alerts, a reorder list and a dashboard.

Frequently asked questions

What is a good profit margin for a small business?

It depends entirely on the category. Grocery and convenience often run 15–30%, general retail 45–55%, handmade goods 50%+, and service work higher still because the main input is time. The useful comparison is your own margin last quarter, not an industry average.

Is margin the same as markup?

No. Margin divides profit by the selling price; markup divides profit by the cost. A 40% margin is the same as a 67% markup. Use the markup vs margin converter if a supplier quotes you one and you think in the other.

Should I include shipping and card fees in the cost?

Include inbound shipping and packaging always — they are part of getting the item sellable. Include card fees when you want a true net-per-sale figure; leave them out when you are comparing product costs against each other.

How do I calculate margin on a service?

Treat the direct labour hours plus any materials as your cost, and your quoted price as the selling price. If you do the work yourself, still cost your time at a real hourly rate, or the margin will look far better than the business actually is.

Does this calculator store my numbers?

No. Everything runs in your browser. Nothing is sent to a server, and no signup or email is required.

Related reading

More free calculators

Stop calculating one number at a time

ExpressBizTools tracks cost, price, margin, stock levels, and tax on every product and invoice automatically — free, in your browser.

Start free

As an Amazon Associate, ExpressBizTools earns from qualifying purchases. Product links are affiliate links. Calculations are for general planning and are not tax, legal, or financial advice.