Profit & Margin

Calculate net profit and profit margin from your total revenue and total costs. Enter how much you earned and what it cost you, and instantly see your profit and the percentage margin in your chosen currency.

Profit$4,000.00
Profit margin
40%

Profit margin is shown as a percentage of revenue. If revenue is zero, the margin is undefined.

What the Profit Calculator Does and Who It's For

This profit calculator turns two numbers you already know โ€” your total revenue and your total costs โ€” into the figures that actually matter: net profit and profit margin. Enter what you sold and what it cost you, and the tool shows how much money you keep and what share of every sale that represents.

It's built for small business owners, freelancers, online sellers, and students who need a quick, reliable answer without building a spreadsheet. Whether you're pricing a product, reviewing a single order, or checking a month's performance, the same inputs and formulas apply.

How It Works: The Profit and Margin Formulas

The calculator uses two simple formulas. Profit is what's left after you subtract every cost from your revenue, and profit margin expresses that profit as a percentage of revenue:

Use total costs that match your goal. For gross profit, include only the direct cost of goods sold. For net profit, include everything โ€” materials, labor, shipping, fees, rent, taxes, and overhead โ€” so the margin reflects your true bottom line.

  • Profit = Revenue โˆ’ Costs
  • Profit Margin (%) = (Profit รท Revenue) ร— 100

A Worked Example With Real Numbers

Suppose you run an online shop and sell $5,000 worth of products in a month. Your total costs โ€” inventory, packaging, shipping, and platform fees โ€” come to $3,200.

Profit = $5,000 โˆ’ $3,200 = $1,800. Profit Margin = ($1,800 รท $5,000) ร— 100 = 36%.

So you keep $1,800, and 36 cents of every dollar in sales is profit. If costs rose to $3,800, profit would fall to $1,200 and the margin to 24% โ€” the same revenue, but a very different result once costs climb.

Common Mistakes to Avoid

Most errors come from misreporting one of the two inputs. A clean cost figure is what makes the margin trustworthy.

  • Forgetting hidden costs like payment-processing fees, returns, or your own labor โ€” these quietly shrink real profit.
  • Mixing gross and net costs, which makes margins look better than they are.
  • Dividing profit by costs instead of revenue. Margin is always profit รท revenue.
  • Confusing markup with margin. Markup is profit รท cost; margin is profit รท revenue, and they give different percentages.

Factors That Affect Your Profit Margin

Two businesses with identical revenue can have wildly different margins. Pricing power, supplier costs, and operating efficiency all push the number up or down.

Industry matters too: grocery and retail often run on thin single-digit margins, while software and consulting can reach 50% or more. Compare your result against typical figures for your own field rather than a universal benchmark.

Finally, watch the trend over time. A stable revenue figure with a falling margin is an early warning that costs are creeping up faster than your prices โ€” something this calculator makes easy to spot month over month.

Frequently asked questions

What is profit?

Profit is what remains after subtracting your total costs from your total revenue. A positive number means you earned more than you spent; a negative number means a loss.

How is profit margin calculated?

Profit margin is profit divided by revenue, expressed as a percentage. With revenue of 10,000 and costs of 6,000, the profit is 4,000 and the margin is 40%.

Why is the margin shown as 0 when revenue is 0?

Dividing by zero revenue is mathematically undefined, so the calculator displays 0% as a safe placeholder. Enter a positive revenue to see a meaningful margin.