Sales Calculator (all variables)

Enter any two known sales values — such as Cost, Revenue, Gross Profit, Gross Margin %, or Markup % — and the Sales Calculator solves for all remaining variables. You also get a full breakdown including Net Sales after applying discounts, returns, and allowances, plus a visual chart showing how your revenue splits between cost and profit.

The total cost to produce or acquire the product.

The selling price or total revenue received.

Gross Profit = Revenue − Cost

%

Gross Margin % = (Profit / Revenue) × 100

%

Markup % = (Profit / Cost) × 100

Optional: multiply per-unit results by quantity sold.

Total discount amount deducted from gross sales.

%

Percentage of gross sales returned by customers.

Price reductions granted after the sale (e.g. damaged goods).

Results

Net Sales

--

Gross Sales

--

Gross Profit

--

Cost

--

Revenue (per unit)

--

Gross Margin

--

Markup

--

Total Deductions

--

Gross Sales Breakdown

Frequently Asked Questions

What is the difference between gross sales and net sales?

Gross sales is the total revenue from all transactions before any deductions. Net sales is what remains after subtracting sales returns, allowances, and discounts from gross sales. Net sales is the figure typically reported on an income statement as top-line revenue.

What is gross margin and how is it calculated?

Gross margin is the percentage of revenue that remains as profit after deducting the cost of goods sold. The formula is: Gross Margin % = (Gross Profit / Revenue) × 100. For example, if you sell a product for $100 and it costs $60 to produce, your gross margin is 40%.

What is the difference between markup and gross margin?

Markup is calculated as a percentage of cost, while gross margin is calculated as a percentage of revenue. Markup = (Profit / Cost) × 100, whereas Gross Margin = (Profit / Revenue) × 100. A 66.7% markup on a $60 cost item gives a $100 selling price with a 40% gross margin — the percentages differ because they use different denominators.

How do I calculate net sales using the net sales formula?

The net sales formula is: Net Sales = Gross Sales − (Sales Returns + Allowances + Discounts). Gross sales is simply the price per unit multiplied by the number of units sold. Subtract all returns, price adjustments, and promotional discounts to arrive at net sales.

What are sales allowances?

Sales allowances are partial refunds or price reductions granted to customers after a sale, typically due to minor product defects, shipping damage, or quality issues where the customer keeps the product at a reduced price. They reduce gross sales to arrive at net sales.

Can I use this calculator if I only know two of the five variables?

Yes. Select which two variables you know from the dropdown menu, enter those values, and the calculator derives the remaining three. The five core sales variables are Cost, Revenue, Gross Profit, Gross Margin %, and Markup %. Any two (where at least one is a dollar amount) are enough to solve for the rest.

What is the formula for sales revenue?

Sales Revenue = Price per Unit × Number of Units Sold. For example, if you sell 500 units at $40 each, your sales revenue is $20,000. This calculator uses the per-unit cost and revenue figures you enter, then scales results by the quantity field if provided.

Why does my gross margin percentage differ from my markup percentage?

They measure profitability from different base figures. Markup uses cost as the base (Profit ÷ Cost), so it will always be higher than gross margin, which uses revenue as the base (Profit ÷ Revenue). For instance, a product with $60 cost and $100 revenue has a 66.7% markup but only a 40% gross margin.

More Finance Tools