CalculationTime

Finance & Business

Margin Calculator

Calculate gross margin, gross profit, markup percentage and target-price checks from selling price, cost, quantity and optional discount, with a printable pricing record.

Default example35% gross marginNet selling price 100.00 after 0% discount · cost 65.00 · gross profit 35.00 per item · markup 53.85% on cost · 10 items: revenue 1,000.00, cost 650.00, gross profit 350.00 · target 40% margin needs 108.33 per item (8.33 above current net price)

Calculator

Working calculator

Live result35% gross marginNet selling price 100.00 after 0% discount · cost 65.00 · gross profit 35.00 per item · markup 53.85% on cost · 10 items: revenue 1,000.00, cost 650.00, gross profit 350.00 · target 40% margin needs 108.33 per item (8.33 above current net price)
Formula used

Net selling price = selling price × (1 − discount percent ÷ 100). Gross profit per item = net selling price − cost price. Gross margin percentage = gross profit ÷ net selling price × 100. Markup percentage = gross profit ÷ cost price × 100. Target selling price = cost price ÷ (1 − target margin percent ÷ 100).

This is the method behind the answer, so the result can be checked rather than simply trusted.

Visual grid

This number is one point on a larger pattern

Margin is not just a final answer. It is a step on a line: before and after, input and output, assumption and result.

Micro-timehours, minutes, shiftsHuman scaledays, weeks, projectsMacro-timemonths, years, calendars
InputFormulaResult
35% gross margin

CalculationTime keeps the path visible: the input, the method and the final number belong together.

CalculationTime

Margin Calculation Report

Report date:

35% gross marginNet selling price 100.00 after 0% discount · cost 65.00 · gross profit 35.00 per item · markup 53.85% on cost · 10 items: revenue 1,000.00, cost 650.00, gross profit 350.00 · target 40% margin needs 108.33 per item (8.33 above current net price)

Inputs

Selling price
100 per item
Cost price
65 per item
Quantity
10 items
Discount from selling price
0 %
Target gross margin
40 %

Method

Net selling price = selling price × (1 − discount percent ÷ 100). Gross profit per item = net selling price − cost price. Gross margin percentage = gross profit ÷ net selling price × 100. Markup percentage = gross profit ÷ cost price × 100. Target selling price = cost price ÷ (1 − target margin percent ÷ 100).

  1. For a 100 selling price, 65 cost and no discount, gross profit = 100 − 65 = 35. Gross margin = 35 ÷ 100 × 100 = 35%. Markup = 35 ÷ 65 × 100 ≈ 53.85%. Ten items produce 350 gross profit before overhead, tax or other costs.

Assumptions

  • Gross margin is measured against selling price or revenue, not against cost.
  • Cost price should include the direct cost basis you want tested: product cost, materials, landed cost or COGS. Overhead, labour, platform fees, returns and taxes are not added unless you include them in the cost input.
  • The optional discount reduces selling price before margin is calculated, because margin should be checked on the net revenue actually kept.
  • Markup is shown as a cross-check because markup and margin use different denominators and are not interchangeable.

Notes

Use this space on the printed report for client, supplier, classroom, job-location, measurement, quote or approval notes.

Source: https://calculationtime.com/calculators/margin-calculator

This report shows the calculation inputs, formula, assumptions and result for review. It is not legal, payroll, tax, engineering, financial or academic advice unless a qualified professional confirms the applicable rules.

Formula

Net selling price = selling price × (1 − discount percent ÷ 100). Gross profit per item = net selling price − cost price. Gross margin percentage = gross profit ÷ net selling price × 100. Markup percentage = gross profit ÷ cost price × 100. Target selling price = cost price ÷ (1 − target margin percent ÷ 100).

Worked example

For a 100 selling price, 65 cost and no discount, gross profit = 100 − 65 = 35. Gross margin = 35 ÷ 100 × 100 = 35%. Markup = 35 ÷ 65 × 100 ≈ 53.85%. Ten items produce 350 gross profit before overhead, tax or other costs.

Professional note

Master’s Tip: print net selling price, cost and gross profit on separate lines. If a discount is approved later, the margin should be recalculated from the discounted revenue, not from the original shelf price.

Regional and unit assumptions

Standard or basis: general gross-margin arithmetic for product pricing, quote review, classroom business maths and approval notes. It does not replace local accounting definitions, tax rules, invoice requirements or professional advice.

Assumptions and limitations

Methodology & Accuracy

How this calculator is checked

CalculationTime pages are built around visible arithmetic: the formula, assumptions, worked example and practical limitations are shown so the result can be checked rather than simply trusted.

Formula used

Net selling price = selling price × (1 − discount percent ÷ 100). Gross profit per item = net selling price − cost price. Gross margin percentage = gross profit ÷ net selling price × 100. Markup percentage = gross profit ÷ cost price × 100. Target selling price = cost price ÷ (1 − target margin percent ÷ 100).

Standard or basis

Standard or basis: general gross-margin arithmetic for product pricing, quote review, classroom business maths and approval notes. It does not replace local accounting definitions, tax rules, invoice requirements or professional advice.

Where a calculator follows a named legal, trade or industry standard, that standard is cited visibly. Otherwise the page uses transparent general arithmetic and states its limits.

Master's Tip

Master’s Tip: print net selling price, cost and gross profit on separate lines. If a discount is approved later, the margin should be recalculated from the discounted revenue, not from the original shelf price.

Related calculators

Questions

How do I calculate margin?

Subtract cost from net selling price to get gross profit, then divide gross profit by net selling price and multiply by 100.

What is the difference between margin and markup?

Margin divides profit by selling price. Markup divides profit by cost. Because the denominator is different, the two percentages are not the same.

Does a discount reduce margin?

Yes. A discount lowers net selling price. If cost stays the same, gross profit and gross margin percentage fall.

How do I calculate a target price from margin?

Use target selling price = cost ÷ (1 − target margin percentage ÷ 100). For example, a 60 cost at 40% target margin needs 60 ÷ 0.60 = 100 selling price.

What should I print for a margin pricing record?

Print selling price, discount, net selling price, cost, quantity, gross profit, gross margin, markup, target-margin price, formula, assumptions, page URL, date and approval notes.

Calculation note

Margin arithmetic is simple, but pricing mistakes often come from naming the wrong denominator. A visible record separates selling price, discount, cost, profit, margin and markup so a quote can be challenged before it becomes an invoice.

Margin reads profit as a share of selling price

Gross margin asks how much of the net selling price remains after direct cost. That makes it useful for product lines, quotes, classroom exercises and quick approval checks.

Markup starts from cost instead

Markup is useful when building a selling price from cost, but it is not the same as margin. Showing both percentages prevents a common pricing error.

A printable margin record keeps approvals clean

When discount, cost basis, quantity and target margin are printed beside the result, a manager, student, supplier or tradesperson can see exactly which assumption drove the price.