Sales profitability

Profit Calculator

Compare normalized unit cost with discounted selling price to estimate total profit and markup on cost.

Price and cost inputs

Enter cost, price, quantity, and discount

Profit
#
#
#
%
Profit summary

Estimated sales profit

Your profit estimate will appear here

Enter cost and price pack sizes, quantity sold, and any discount.

What Does Sales Profit Mean?

Sales profit is selling revenue minus the cost assigned to those sales. This profit calculator first converts the entered buying pack and selling pack into comparable unit amounts, applies an optional selling discount, then multiplies by the quantity sold.

It shows total profit or loss, profit per unit, total cost, discounted revenue and profit as a percentage of cost. That percentage is markup on cost, not profit margin on revenue. Unentered operating costs, tax and other adjustments are outside the result.

How to Calculate Profit with Pack Sizes and Discounts

  1. Enter Cost for the entered pack and Units in cost pack. These define the cost of one base sale unit.
  2. Enter Selling price for the entered pack and Units in selling pack. Use the same base unit and matching currency.
  3. Enter positive Quantity sold in base units, then any Discount percentage. Leave discount blank or enter zero when no reduction applies.
  4. Select Calculate profit. Review total profit, the unit profit, cost, discounted sales revenue and Profit on cost reference.

Cost and price can be zero. Pack sizes and quantity must be positive. Each amount or count is capped at one quadrillion; the positive-count form minimum is 0.000001. Discount accepts zero through 100%, and currency selectors must match. Nonfinite intermediate or final results receive a validation error.

Decimal quantities are supported for divisible units such as kilograms or service hours. If cost is per kilogram but selling price is per gram, convert the base units before entering pack counts. The form normalises pack sizes; it does not convert weight, volume or other measurement units.

Profit, Unit Cost and Markup Formulas

Unit cost c = buying pack cost C ÷ units in buying pack B

Unit selling price s = selling pack price P ÷ units in selling pack U

Discounted unit price v = s × (1 − discount percentage d/100)

Total cost K = c × quantity Q; revenue R = v × Q

Total profit Π = R − K; profit per unit = v − c

Profit on cost (%) = Π ÷ K × 100, when K > 0

The discount reduces selling price, not the buying cost. All totals use original intermediate values, with each returned result rounded separately to two decimals. A displayed unit profit multiplied by quantity may differ slightly from the returned total because of that independent rounding.

At zero entered cost, profit on cost is mathematically undefined. The interface shows Not defined rather than 0%. The existing response retains its legacy numeric zero for that field at zero cost; it is not a valid rate of return. Other monetary outputs remain usable within this model.

For supporting background, see University of Maine: small-business pricing. The stated input restrictions and display conventions describe this calculator’s implementation.

Pack Costs, Selling Prices and Profit Results

Cost C and buying pack B
Cost of a stated number of base units; together they determine unit cost.
Price P and selling pack U
Selling amount for a stated number of the same base units before discount.
Quantity Q and discount d
Positive base-unit sales quantity and optional percentage price reduction.
Total profit and profit per unit
Discounted revenue less modelled cost, at total and unit scale.
Total cost and sales revenue
Normalised cost and discounted selling amount multiplied by quantity.
Profit on cost
Markup relative to cost, not margin relative to revenue; unavailable at zero cost.
Results chart
Rounded cost, revenue and signed profit on a shared currency axis.

Profit Calculation Example

Illustrative example. A buying pack costs USD 378 for 18 units. A selling pack is priced at USD 116 for four of the same units. The seller sells 320 base units with a 12.5% discount.

Unit cost is 378 ÷ 18 = USD 21. Unit selling price is 116 ÷ 4 = USD 29. After discount, price is 29 × 0.875 = USD 25.375. Total cost is USD 6,720 and revenue is USD 8,120, leaving USD 1,400 profit.

Unrounded unit profit is USD 4.375, displayed as USD 4.38. Profit on cost is 1,400 ÷ 6,720 × 100 ≈ 20.83%. Do not multiply the rounded USD 4.38 card by 320 to reconstruct the independently rounded total.

Calculation check. These illustrative values were checked independently against the formula and calculator response. Retain unrounded intermediate values when checking approximations.

Profit Calculation Example
StepCalculationResult
Unit cost378 ÷ 18USD 21
Discounted unit price116 ÷ 4 × 0.875USD 25.375
Total cost21 × 320USD 6,720
Revenue25.375 × 320USD 8,120
Total profit8,120 − 6,720USD 1,400
Profit on cost1,400 ÷ 6,720 × 10020.83%

Profit on Cost and Profit Margin Use Different Bases

Markup divides profit by cost. Margin divides profit by sales revenue. Both use the same profit amount but answer different questions. This form’s Profit on cost card reports markup.

For the worked example, dividing 1,400 by 6,720 gives about 20.83% on cost, while dividing by 8,120 gives about 17.24% of revenue. The margin comparison below is explanatory; use the related Margin Calculator to calculate that measure directly.

Profit on Cost and Profit Margin Use Different Bases
Percentage measureCalculationResult
Profit on cost / markup1,400 ÷ 6,720 × 10020.83%
Profit margin comparison1,400 ÷ 8,120 × 10017.24%
Markup when cost is zeroProfit ÷ 0Not defined

How to Interpret Profit, Loss and Markup

Positive profit means discounted sales exceed the entered cost allocation. Negative profit is a loss on that basis, and zero is break-even within the model. The result is not automatically net business profit because the form cannot add unentered expenses.

A profit-on-cost value of 40% means profit equals 40% of the supplied cost base. It does not mean 40% of revenue is profit. Margin divides profit by revenue instead, so it normally gives a different percentage.

When comparing a promotion, change both discount and realistic sales quantity. The calculator applies whichever quantity you supply and does not predict demand. Keep packaging units and cost scope consistent before deciding whether a price or volume scenario helps the business.

Common Profit Calculation Mistakes

  • Comparing a multi-item cost pack directly with a one-item selling price without normalising units.
  • Entering packs sold when quantity should mean the shared base units.
  • Applying the discount to buying cost rather than selling price.
  • Calling profit on cost a profit margin.
  • Treating Not defined at zero cost as 0% profitability or an error in the monetary profit.
  • Assuming shipping, overhead, tax, fees or returns are automatically included when they were not entered.

Frequently Asked Questions

How does this calculator handle different pack sizes?

It divides buying cost by buying-pack units and selling price by selling-pack units. Both must refer to the same base measurement before quantity is applied.

Where is the discount applied?

It reduces the normalised selling price. It does not reduce buying cost or automatically increase sales quantity.

Is Profit on cost the same as profit margin?

No. Profit on cost divides by cost; margin divides by revenue. The same profit can give different percentages.

Why does Profit on cost say Not defined at zero cost?

A percentage relative to zero cost requires division by zero. The monetary profit is still calculated, but a 0% markup would be misleading.

Can the calculator show a loss?

Yes. If discounted revenue is below the entered cost allocation, total profit and profit per unit are negative.

Can I enter a decimal sales quantity?

Yes, for divisible base units such as weight or service time. Pack sizes and quantity must remain positive and use a consistent base unit.

Why does rounded profit per unit not always multiply to the total?

The service calculates with unrounded intermediate unit values and rounds each output separately. Use the original inputs to check the total.

Does this calculate net profit after all business costs?

Only costs represented by the supplied buying-cost allocation are included. Unentered overhead, shipping, fees, tax and other adjustments are not added automatically.

Sources and References