Skip to content
OverCalculator
  1. Home
  2. Financial
  3. Profit Calculator
Financial

Profit Calculator

Calculate profit per unit, total profit, revenue, total cost, profit margin, markup, and net selling price after discount.

By OverCalculator Editorial Team, Updated

Total profit
Total profit
$360.00
Profit per unit
$8.00
Revenue
$1,485.00
Total cost
$1,125.00
Profit margin
24.24%
Markup on cost
32%
Net selling price
$33.00

Selling 45 units earns $360.00 before overhead not included in unit cost.

$
$
%

Results update as you type.

Profit Calculator

The profit calculator estimates profit per unit, total profit, revenue, total cost, profit margin, markup, and net selling price after discount. Enter buying cost per unit, selling price per unit, quantity, and discount. The calculator then shows whether the sale earns money or loses money before overhead that is not included in the unit cost.

This tool is useful for product pricing, resale decisions, promotions, small business quotes, marketplace listings, wholesale orders, and quick scenario checks. It is more detailed than the simple phrase “profit equals revenue minus cost” because it shows how discount, quantity, margin, and markup interact. For product-level profitability after cost of goods sold, compare the result with the gross margin calculator. For the sales level needed to cover fixed costs, use the break-even calculator. For company-wide operating profitability, use the operating margin calculator.

What profit means here

Profit is the amount left after subtracting costs from revenue. In this calculator, revenue is net selling price multiplied by quantity. Total cost is unit cost multiplied by quantity. Profit is revenue minus total cost. If your unit cost includes only purchase price or manufacturing cost, the result is closest to gross profit before overhead. If you include packaging, shipping supplies, marketplace fees, payment processing, spoilage, and direct labor in unit cost, the result becomes closer to contribution profit for the sale.

The calculator does not decide which cost definition is correct. It follows your input. That is why two businesses can enter the same selling price and quantity but get different profit results: one may include only product purchase cost, while another includes landed cost, fulfillment, transaction fees, and expected returns.

Formula

The discount is applied first:

net selling price=selling price×(1discount100)\text{net selling price} = \text{selling price} \times \left(1 - \frac{\text{discount}}{100}\right)

Profit per unit is:

profit per unit=net selling priceunit cost\text{profit per unit} = \text{net selling price} - \text{unit cost}

Revenue and cost are:

revenue=net selling price×quantity\text{revenue} = \text{net selling price} \times \text{quantity}

total cost=unit cost×quantity\text{total cost} = \text{unit cost} \times \text{quantity}

Total profit is:

total profit=revenuetotal cost\text{total profit} = \text{revenue} - \text{total cost}

The calculator also reports:

profit margin=total profitrevenue×100%\text{profit margin} = \frac{\text{total profit}}{\text{revenue}} \times 100\%

markup=profit per unitunit cost×100%\text{markup} = \frac{\text{profit per unit}}{\text{unit cost}} \times 100\%

If revenue is zero, margin is not meaningful. If unit cost is zero, markup is not meaningful.

Worked example matching the calculator

Use the default inputs:

InputValue
Buying cost per unit$25
Selling price per unit$33
Quantity45
Discount0%

Because the discount is zero, the net selling price is $33:

net selling price=$33×(10100)=$33\text{net selling price} = \$33 \times \left(1 - \frac{0}{100}\right) = \$33

Profit per unit is:

profit per unit=$33$25=$8\text{profit per unit} = \$33 - \$25 = \$8

Revenue is:

revenue=$33×45=$1,485\text{revenue} = \$33 \times 45 = \$1{,}485

Total cost is:

total cost=$25×45=$1,125\text{total cost} = \$25 \times 45 = \$1{,}125

Total profit is:

total profit=$1,485$1,125=$360\text{total profit} = \$1{,}485 - \$1{,}125 = \$360

Profit margin is:

profit margin=$360$1,485×100%=24.24%\text{profit margin} = \frac{\$360}{\$1{,}485} \times 100\% = 24.24\%

Markup is:

markup=$8$25×100%=32%\text{markup} = \frac{\$8}{\$25} \times 100\% = 32\%

The calculator’s primary result is $360 total profit. It also shows $8 profit per unit, $1,485 revenue, $1,125 total cost, 24.24% profit margin, 32% markup on cost, and $33 net selling price. Its note says selling 45 units earns $360 before overhead not included in unit cost.

Discount scenario

A discount changes the sale quickly. Suppose unit cost is $10, selling price is $15, quantity is 100, and discount is 10%. Net selling price becomes $13.50. Profit per unit is $3.50. Revenue is $1,350, total cost is $1,000, and total profit is $350. Margin is $350 divided by $1,350, or 25.93%. Markup is $3.50 divided by $10, or 35%.

Notice that the 10% discount did not reduce profit by 10%. Before the discount, profit per unit would have been $5. After the discount, it is $3.50. The discount removed 30% of the unit profit. This is why promotion planning should focus on profit dollars, not only sales volume.

Gross profit, net profit, margin, and markup

Gross profit usually means revenue minus cost of goods sold. Net profit usually means the final profit after operating expenses, interest, taxes, and other items. This calculator can approximate gross profit if the unit cost represents cost of goods sold. It does not automatically calculate net profit because it has no fields for rent, payroll, insurance, advertising, depreciation, loan interest, or tax.

Margin and markup use different denominators. Margin asks what share of revenue remains as profit. Markup asks how much profit was added relative to cost. A 50% markup does not equal a 50% margin. Keeping those terms separate prevents pricing mistakes.

Caveats

For real decisions, make unit cost complete enough for the question. A marketplace seller may need to add platform fees, shipping labels, packaging, payment fees, refunds, and damaged goods. A manufacturer may need materials, direct labor, variable overhead, and scrap. A restaurant may need food cost, packaging, delivery commissions, and waste. If those costs are excluded, the calculator can still be arithmetically correct while overstating economic profit.

Also match the period and unit of analysis. Do not compare a per-order shipping fee with a per-unit product cost unless the fee has been allocated across units. If quantity is a forecast rather than a completed sale, review capacity, spoilage, and return assumptions before treating the profit total as locked in.

Sources

  • Corporate Finance Institute, Profit — profit definition and formula context.
  • AccountingTools, Profit — profit terminology and interpretation.
  • Corporate Finance Institute, Operating Margin — margin context for operating profit relative to revenue.

Frequently asked questions

What profit formula does this calculator use?
The calculator first reduces the selling price by any discount to get net selling price. Profit per unit equals net selling price minus unit cost. Total profit equals revenue minus total cost, which is the same as profit per unit multiplied by quantity. It also calculates margin and markup.
How does a discount affect profit?
A discount reduces the selling price before revenue and profit are calculated. Because cost per unit does not automatically fall with the discount, the entire discount usually comes out of profit first. A modest discount can erase a large share of profit when the original margin is already thin.
What is the difference between margin and markup?
Profit margin divides profit by revenue, while markup divides profit per unit by unit cost. They are related but not interchangeable. For example, buying for 25 dollars and selling for 33 dollars creates an 8 dollar profit, a 24.24 percent margin, and a 32 percent markup.
Does this calculate gross profit or net profit?
It calculates profit from unit cost, selling price, quantity, and discount. That is closest to gross profit or contribution before overhead, depending on what you include in unit cost. It does not subtract rent, salaries, advertising, interest, taxes, or other expenses unless you build them into the unit cost.
Can total profit be negative?
Yes. If the net selling price after discount is below unit cost, profit per unit and total profit are negative. The calculator marks the result as a loss and shows the negative margin. This can happen intentionally for clearance, customer acquisition, or loss-leader pricing, but it should be deliberate.
Why can markup show as unavailable?
The compute function divides profit per unit by unit cost to calculate markup. If unit cost is zero, markup is not a meaningful percentage because the denominator is zero. Revenue, profit, and margin can still be calculated, but markup should be interpreted only when cost is greater than zero.

Related calculators

Profit Calculator updated at