Free Financial Calculator Online

Sales Calculator: Cost, Revenue, Margin, and Markup

Enter any two of cost, selling price, gross profit, margin, or markup and this free sales calculator solves the rest, with totals for units sold.

Enter any two values and leave the rest blank. If you fill in more, the first two are used.

$
$
$
%
%
Gross profit per unit
$40.00
Cost per unit
$60.00
Revenue per unit
$100.00
Gross margin
40.00%
Markup
66.67%
Total revenue (1 units)
$100.00
Total cost (1 units)
$60.00
Total gross profit (1 units)
$40.00

Calculated from cost and revenue (selling price).

How it's calculated

Rearranging these gives every other combination, such as revenue = cost ÷ (1 − margin) or cost = revenue ÷ (1 + markup). Totals multiply the per-unit figures by units sold.

Need to find the missing ingredient in your business? Try using our Sales Calculator to compute your key sales metrics such as cost, revenue, gross profit, gross margin, and markup percentage by entering any two known values (but the more, the better).

Cost, revenue, gross profit, and gross margin are all essential metrics in understanding a business’s financial health, particularly in terms of its sales and profitability. Cost, also referred to as the cost of goods sold (you often here it referred to as ‘COGS’ in the corporate world), is the total expense incurred to produce the goods or services sold by a company. This may include direct costs like materials and labor and, in some cases, certain indirect costs. Revenue, on the other hand, is the total amount of income generated by the sale of these goods or services before any expenses are deducted. It represents the top line of a company’s income statement and is often referred to as gross sales or turnover.

Gross profit is derived from the revenue minus the cost. It reflects the efficiency of a business at using its labor and supplies in producing goods or services. A high gross profit indicates that a company can make a reasonable profit on sales, as long as overhead costs are controlled. Gross margin, which is expressed as a percentage, is the gross profit divided by the revenue. It represents the percentage of total sales revenue that the company retains after incurring the direct costs associated with producing the goods and services it sells. The higher the gross margin, the more capital a company retains on each dollar of sales, which it can then use to pay other costs or satisfy debt obligations.

How To Use Our Sales Calculator

Enter Values You Know

In the relevant field above, input any two known values among cost, revenue, and gross profit. Make sure to leave the unknown values blank. If you know the cost and revenue, for example, enter these figures and leave the gross profit, gross margin, and markup fields empty.

Calculate!

Once you’ve input the known values, click or tap on the ‘Calculate’ button. The calculator will then use these values to calculate the remaining metrics.

Review And Modify

After you hit ‘Calculate’, the calculated values for cost, revenue, gross profit, gross margin, and markup will appear below the calculator. If you want to perform another calculation, simply clear the fields and repeat the process with your new figures.

Frequently Asked Questions

›What is the difference between margin and markup?

Both measure profit, but against different bases. Gross margin is profit divided by the selling price; markup is profit divided by cost. An item that costs $60 and sells for $100 has a 40% margin and a 66.7% markup.

›Which two values do I need?

Any two of cost, revenue, gross profit, margin, and markup, as long as at least one is a dollar amount. Margin and markup together describe a ratio but not a price.

›How do I find the selling price from cost and margin?

Divide cost by (1 − margin). For a $60 cost and a 40% target margin: $60 ÷ 0.60 = $100.

›How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 50% markup equals a 33.3% margin. Going the other way, markup = margin ÷ (1 − margin).

Browse all business calculators