CalculationTime

Margin Calculator

Live math canvas

Your numbers, formula and explanation together

Margin Calculator: 35%. profit/item $35 · markup 53.85% · 10 items = $350 · target price $108.33

Formula applied

The exact method behind this answer

CalculationTime keeps the method visible so the number can be checked instead of blindly trusted.

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. Apply the formulaNet 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).35%profit/item $35 · markup 53.85% · 10 items = $350 · target price $108.33

Your live breakdown

Current inputs in the calculation

These values come from the controls above and update when the calculator changes.

Selling price
100 per item
Enter the listed or intended selling price before any optional discount.
Cost price
65 per item
Enter direct cost, buy-in cost or cost of goods sold for one item.
Quantity
10 items
Optional quantity for quote, batch, classroom or approval records.
Discount from selling price
0 %
Optional customer discount before margin is calculated on the net selling price.
Target gross margin
40 %
Optional target margin used to show the required selling price for the entered cost.

Resulting answer

35%

profit/item $35 · markup 53.85% · 10 items = $350 · target price $108.33

Answer
35%
Live support
profit/item $35 · markup 53.85% · 10 items = $350 · target price $108.33

Assumptions used

What this answer assumes

Best for product pricing, trade quotes, wholesale checks, quote approvals, classroom business maths and margin review records where price, cost, discount and target margin need to stay visible together.

  • 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.
  • This page is arithmetic for planning, quoting and classroom records. It is not accounting, tax, legal or pricing-strategy advice.

Master’s Tip

How to use the result well

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.

Printable record

What belongs in the saved calculation

Save the inputs, result, formula, assumptions, page URL and date together so the calculation can be reviewed later.

Selling price
100 per item
Enter the listed or intended selling price before any optional discount.
Cost price
65 per item
Enter direct cost, buy-in cost or cost of goods sold for one item.
Quantity
10 items
Optional quantity for quote, batch, classroom or approval records.
Discount from selling price
0 %
Optional customer discount before margin is calculated on the net selling price.

Embeddable calculator

Embed this calculator

Copy a clean iframe version with the required CalculationTime attribution link built in.

Direct answer

Margin Calculator in one sentence

A margin calculator compares gross profit with net selling price. Gross profit is selling price minus cost, and gross margin percentage is gross profit divided by selling price. This page keeps discount, quantity, markup and target-margin price checks visible for pricing decisions and printable quote records.

How to use this calculator

  1. Enter selling price, cost price, quantity, discount from selling price and the remaining visible inputs.
  2. Check the formula, assumptions and worked example before reusing the number.
  3. Use the result, related calculators and printable record as the next practical step.

Default result preview

Gross margin: 35%

This pre-calculated state lets readers and answer engines verify what the tool returns before the inputs change.

Show the working

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).

The default inputs, formula and result stay together so the number can be checked or quoted without losing context.

Export this result

Copy the default solved state as Markdown or CSV, then print the page for a clean formula and result record.

Print or save report: use the browser print command to save the visible formula, result, assumptions and source context as a clean PDF.

How to prompt AI with this result

Copy this prompt with your final CalculationTime result when you want a second-pass explanation, comparison or next-step checklist.

Use this CalculationTime result as the source: Margin Calculator. Default output: Gross margin = 35%. Formula/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).. Explain the result, state the assumptions, and suggest the next calculation to check.
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.

Price breakdown

Where the selling price goes

Cost and profit split from the worked example, so the margin percentage is never read in isolation.

$100worked example
  • Cost$65
  • Profit$35

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.

Authority & freshness

Who checked this calculator?

Page structure checked: 2026-09-26. Calculator-specific statutory or source-table dates appear in the revision log when the tool depends on time-sensitive rules.

Published by CalculationTime

CalculationTime publishes calculator pages with visible formulas, assumptions, worked examples, related next steps and printable records so the result can be audited instead of treated as a black box.

Machine-readable 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).Formula text is also exposed in the page schema and visible methodology block.

Source basis

3 source references are attached to this page.

Knowledge check

Test your understanding

Use these quick checks to confirm that the result, formula and assumptions make sense before you reuse the number.

Which inputs drive the default result?

The default result starts with Selling price, Cost price, Quantity. The current pre-solved output is gross margin = 35%.

Where is the calculation proof?

The proof is in the formula, worked example and assumptions sections. Together they show the arithmetic, the default state and the limits of the result.

What should you do after reading the answer?

Use the related calculators, printable record or source notes to check the next practical step instead of treating one output as the end of the workflow.

Accuracy feedback

Did this calculator work accurately?

This lightweight check records your answer in this browser only. It does not send personal data and does not claim a live backend review queue.

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.