Sales Calculator

Turn units sold, price, cost, discount, and sales tax into net sales revenue, gross profit, and profit margin.

Quick Facts

Formula
Net Sales = Units x Price x (1 - Discount%)
Gross profit then subtracts total unit cost from net sales.
Model
Gross-to-net sales waterfall
Discount is applied before tax; sales tax is calculated on the discounted (net) sales amount.

Your Results

Calculated
Net sales revenue
-
Gross sales minus discount
Gross profit
-
Net sales minus cost of goods sold
Gross profit margin
-
Gross profit as % of net sales
Total with sales tax
-
Net sales plus tax collected

Ready

Enter units, price, cost, discount, and tax, then press Calculate.

How the Sales Calculator works

This calculator turns unit-level sales figures into the standard revenue and profitability numbers a small business or product owner needs: gross sales, net sales after discount, gross profit, gross profit margin, and the total collected once sales tax is added. It follows the gross-to-net sales waterfall used in retail and e-commerce accounting.

The formulas

Gross sales revenue is simply volume times price:

Gross Sales = Units Sold x Price per Unit

A discount, if any, is applied to gross sales to get net sales:

Net Sales = Gross Sales x (1 - Discount%)

Gross profit subtracts the total cost of the units sold from net sales:

Gross Profit = Net Sales - (Units Sold x Cost per Unit)

Gross profit margin expresses that profit as a share of net sales:

Gross Profit Margin % = (Gross Profit / Net Sales) x 100

Finally, sales tax is calculated on the net (discounted) sales amount and added on top:

Total With Sales Tax = Net Sales + (Net Sales x Tax%)

Getting accurate results

  • Enter cost per unit as your true landed cost (product plus direct fulfillment costs) for a gross profit figure that reflects reality, not just the sticker cost.
  • Enter discount and sales tax as percentages (e.g., 10 for 10%), not decimals — the calculator does that conversion internally.
  • If you do not offer a discount or do not need to model sales tax, set that field to 0 and the calculator skips it cleanly.

Interpreting the output

Net sales revenue and gross profit are the two numbers to watch together: a business can grow net sales while gross profit margin shrinks if discounting or cost per unit rises faster than price. Sales tax collected from customers is shown separately from profit because it is generally remitted to a tax authority rather than kept as revenue.

Next steps

  • Record the inputs alongside the result (unit price, cost, discount rate, tax rate, and date) so the calculation can be reproduced later
  • Compare gross profit margin across pricing or discount scenarios before committing to a promotion
  • Re-run whenever price, cost, discount policy, or the applicable sales tax rate changes

Frequently Asked Questions

How does this calculator turn gross sales into net sales?
Gross sales revenue is units sold multiplied by price per unit. The calculator subtracts a discount percentage from gross sales to get net sales: Net Sales = (Units × Price) × (1 − Discount%). That net sales figure is then used to work out gross profit, profit margin, and any sales tax collected.
How is gross profit and profit margin calculated?
Gross profit is net sales minus total cost of goods sold: Gross Profit = Net Sales − (Units × Cost per Unit). Gross profit margin expresses that profit as a percentage of net sales: Margin % = (Gross Profit / Net Sales) × 100. A higher margin means more of each sales dollar is kept after covering direct product costs.
Does the total include sales tax collected from customers?
Yes, the fourth result adds sales tax on top of net sales: Total With Sales Tax = Net Sales + (Net Sales × Tax%). Sales tax collected from customers is generally passed through to a tax authority rather than kept as revenue, so it is shown separately from gross profit.
What if I do not want to apply a discount or sales tax?
Set the discount and sales tax fields to 0. With discount at 0%, net sales equals gross sales (units times price). With tax at 0%, the total-with-tax result simply equals net sales, which is useful if you only want unit economics without a jurisdiction's specific tax rate.