Skip to content

Cost from Margin Calculator

The most you can pay and still hit your margin.

Calculate the maximum unit cost you can afford at a given selling price and target margin, your supplier negotiation ceiling.

Written and maintained by Mohit PatelLast checked August 4, 2026How we build these
%
%

Maximum unit cost

$22.00

landed, including freight and packaging

Profit at this cost$18.00
Fees at this price$0.00
Cost as % of price55.0%
Per 100 units$2,200

Compare supplier quotes on landed cost, not the quoted unit price. Freight and duty routinely reverse which supplier is cheaper.

How the Cost from Margin Calculator works

Running the margin formula backwards gives you a number worth having before any supplier conversation: the most you can pay per unit and still hit your target at the price the market will bear. Above it, the deal does not work regardless of how good the terms sound.

Also known as: maximum cost for target margin · what can I pay for stock · cost ceiling calculator · calculate cost from price and margin · calculate cost price from selling price and margin · reverse margin calculator

How the number is derived

Working backwards from a price and a target margin gives the maximum cost the product can carry: cost = price × (1 − margin).

This is the sourcing version of the pricing question, and it is frequently the more useful direction. A market price is often given; it is what competitors charge and what customers expect, and the real question is whether the product can be made or bought for a figure that works underneath it.

An example

A market price of $62 and a 55% target margin gives a maximum cost of $27.90. That is the number to take into a supplier conversation.

If quotes come back at $34, the product is $6.10 above what the price supports. The options are visible immediately: negotiate, change the specification, accept a 45% margin, or price above the market and justify it.

The same calculation across a range shows which products in a proposed line are viable before any of them are developed. That is considerably cheaper than discovering it after tooling.

Where it is unreliable

The cost figure has to be the landed and fulfilled cost, not the ex-works quote. A $27.90 ceiling means $27.90 including freight, duty, packaging and the per-unit fulfilment cost, which on imported goods might mean an ex-works quote nearer $18.

It also assumes the target margin is right. A ceiling calculated from a margin that does not cover the business's actual cost structure produces a product that hits its target and still loses money.

What this changes

Convert it into an ex-works target before briefing suppliers, by working backwards through freight, duty and per-unit fulfilment. Suppliers quote ex-works, and giving them a landed target produces confusion rather than a better price.

Use it as a go or no-go gate on product development. A product whose best available cost sits above the ceiling should not proceed to tooling, and the discipline of checking before rather than after is what separates a range that works from one that contains several expensive lessons.

Building a cost ceiling into product development

The most expensive product decisions are made early, when the specification is set, and the cheapest place to apply a cost ceiling is at that point rather than at quotation.

The practical method is to fix the market price first, derive the landed ceiling, subtract freight, duty and fulfilment to get an ex-works ceiling, and treat that figure as a design constraint. Materials, finish, packaging and complexity are then chosen to fit it, rather than being chosen freely and costed afterwards.

Products developed this way ship at their intended margin. Products developed the other way arrive at quotation over budget, and the resulting compromises: cheaper material, thinner packaging, a specification quietly reduced, usually cost more in reviews and returns than they save in cost of goods.

The ceiling also gives a clean answer to the perennial question of whether to accept a supplier's price increase. If the ceiling is $27.90 and the quote moves from $26 to $28, the product has crossed the line and something has to give: the price, the specification, or the product.

Making that a rule rather than a judgement removes a great deal of drift. Businesses that absorb small increases one at a time frequently discover, three years later, that a range which launched at 55% is running at 41% and nobody made a decision to let it.

Where to go next

The Cost from Margin question rarely arrives on its own. These are the ones that usually come with it:

Not financial advice. Marketplace fees change, and they vary by country, plan and seller status. Every rate here is an editable default, not a quoted price, check the platform's current fee schedule before you price a product against it. This is not tax or business advice.

Frequently asked questions

How do I calculate maximum cost from margin?

Cost = price × (1 − margin). To sell at £40 with a 45% margin, the unit cost cannot exceed £22. That is your ceiling, and it should include freight and packaging, not just the quoted unit price.

Why is this useful for negotiating?

Because it converts a vague desire for a better price into a specific target. Walking into a supplier conversation knowing you need £22 landed rather than £26 changes the discussion entirely, and tells you when to walk away.

Should the ceiling include shipping and duty?

Yes. Compare landed cost, not quoted unit price. A supplier that is 10% cheaper per unit but ships from further away with higher duty can easily be the more expensive option once everything is counted.

What if no supplier can meet my target cost?

Then either the target margin or the selling price is wrong for this product. Sometimes the answer is a different product. Discovering that before placing a first order is considerably cheaper than after.

Related calculators