Sub topic 9
Checking Cost, Margin, and Discount Limits
Assume you understand the basic B2B sales cycle, your product or service costs, and percentage arithmetic. This chapter shows how to decide whether a proposed price is commercially safe before sending a quote.
Cost, price, and margin
Start with the delivery cost. Include costs that change with this deal, such as implementation hours, subcontractors, travel, licenses, and support. Add any allocated overhead your pricing policy requires.
The gross margin shows how much of the selling price remains after direct delivery cost:
Gross margin = (Net price - Delivery cost) / Net priceIf the net price is $7,650 and delivery cost is $5,100:
($7,650 - $5,100) / $7,650 = 33.3%Margin is different from markup. Markup divides profit by cost. A $5,100 cost with $2,550 profit has a 50% markup but a 33.3% margin.
| Measure | Calculation | Example |
|---|---|---|
| Profit | Net price - cost | $2,550 |
| Margin | Profit / net price | 33.3% |
| Markup | Profit / cost | 50.0% |
Set the discount limit
A discount reduces the net price, so it can reduce margin quickly. Define a minimum acceptable margin before negotiation begins. For example, your policy might require at least 30% gross margin.
Calculate the maximum discount that still meets that floor:
Minimum net price = Delivery cost / (1 - Minimum margin)
Maximum discount = List price - Minimum net priceWith a $5,100 delivery cost and a 30% floor, the minimum net price is $7,285.71. If the list price is $8,500, the maximum discount is $1,214.29, or about 14.3%.
Run a quote check
Use the same sequence for every quote:
- Calculate the list-price subtotal from the line items.
- Apply discounts and calculate the net price.
- Estimate the full delivery cost.
- Calculate gross margin on the net price.
- Compare the result with the minimum margin.
- Check whether the discount requires a manager or finance approval.
- Record the reason for any exception.
Do not include sales tax in margin calculations unless your business treats the tax as revenue. Tax collected for a government authority usually increases the invoice total but does not increase your selling price.
from decimal import Decimal
def gross_margin(price, cost):
if price <= 0:
raise ValueError("Price must be greater than zero")
return (price - cost) / price
list_price = Decimal("8500.00")
discount = Decimal("850.00")
delivery_cost = Decimal("5100.00")
minimum_margin = Decimal("0.30")
net_price = list_price - discount
margin = gross_margin(net_price, delivery_cost)
print(f"Net price: ${net_price:.2f}")
print(f"Gross margin: {margin:.1%}")
print("Approved" if margin >= minimum_margin else "Needs review")Make approval visible
Keep a small approval record with the quote:
- list price and discount percentage
- net price and expected delivery cost
- calculated margin
- minimum permitted margin
- approver and approval date
- reason for any exception
Common errors
- Checking margin against the list price instead of the discounted price
- Omitting delivery or onboarding labor
- Treating tax as profit
- Rounding intermediate values too early
- Giving away extra scope without updating cost
- Approving a discount without documenting its business reason
Exercise
A quote has a net price of $9,000, delivery cost of $6,300, and a minimum margin of 30%. Does it pass?
Show answer
Yes. The margin is ($9,000 - $6,300) / $9,000 = 30%, so it meets the floor exactly.