Margin and markup sound alike, get used as if they were the same thing, and are not. With markup vs margin in 3D printing, the mix-up has a concrete cost: if you want to earn 40% and add 40% to your cost, you are really earning under 29% of the price. On a single part the gap looks small. By the end of the month, it isn't. Here are the two exact formulas, a worked example, and a table to convert between them without mistakes.
Markup vs margin in 3D printing: the difference in one sentence
Margin is the share of the selling price that stays as profit. Markup is what you add on top of cost to reach the price. Both describe the same profit in money, but they measure it against different bases: margin against the final price, markup against the cost. Since the price is always higher than the cost, the same percentage means different things: a 40% markup and a 40% margin do not produce the same price.
Margin
Profit divided by selling price. It answers: out of every 100 I charge, how much do I keep? It never reaches 100%.
Markup
Profit divided by cost. It answers: how much do I add on top of cost? It can go past 100% with no problem.
The two formulas for calculating price
If you think in margin (what you want to keep out of the price), use this formula. It is the way to calculate price with margin without surprises:
Price from margin
If you think in markup (how much you add to cost), use this one:
Price from markup
And to check any price you already have: margin = (price − cost) ÷ price, and markup = (price − cost) ÷ cost. If your cost is still a rough guess, start with [how to quote a 3D print](/en/blog/como-cotizar-impresion-3d), because none of these formulas work with a cost you have not measured.
Worked example: same cost, two different prices
The numbers are a hypothetical example to show the math, not market prices. Say a part has a real cost of 10 USD and you want a 40% profit.
Part with a 10 USD cost (hypothetical example)
| How you calculate | Price | Profit | Actual margin | Actual markup |
|---|---|---|---|---|
| Add 40% to cost (40% markup) | 14.00 USD | 4.00 USD | 28.6% | 40% |
| 40% margin: 10 ÷ (1 − 0.40) | 16.67 USD | 6.67 USD | 40% | 66.7% |
The gap is 2.67 USD per part (16.67 − 14.00). If you sell 100 parts like this, that is about 267 USD you did not earn just because of the wrong formula. With a higher cost or more volume, the number grows.
The classic mistake: adding the percentage to cost
If your goal is a margin ("I want to keep 30% of what I charge"), you cannot multiply cost by 1.30. You have to divide it by 0.70. Multiplying by 1.30 gives you only a 23.1% margin. It is the most common slip and the easiest one to fix.
Margin to markup conversion table
To go from margin to markup: markup = margin ÷ (1 − margin). For the reverse: margin = markup ÷ (1 + markup). These are the most used values, rounded to one decimal:
Margin you want → markup you need
| Margin you want | Markup on cost | Cost multiplier |
|---|---|---|
| 20% | 25% | 1.25 |
| 25% | 33.3% | 1.333 |
| 30% | 42.9% | 1.429 |
| 40% | 66.7% | 1.667 |
| 50% | 100% | 2.00 |
| 60% | 150% | 2.50 |
The reverse is worth keeping handy too. A 30% markup gives a 23.1% margin. A 50% markup gives 33.3%. A 100% markup (doubling the cost) gives 50%.
How much to add to the cost of a 3D print
There is no single correct percentage. It depends on your niche, how long each order takes you, and how many parts you sell a month. What is worth doing is deciding first what margin you need to cover everything outside the part's cost (advertising, fees, customer-handling time, surprises) and still leave profit, and only then converting it into a price. To see how a price is built step by step, the guide on [how much to charge for 3D printing](/en/blog/cuanto-cobrar-impresion-3d-2026) is a good reference, and you can try your own numbers in the free [calculator](/en/calculator). A good habit is to keep the target margin for each type of part on a sheet, so you do not reinvent it on every quote.
Why it matters when you give discounts
Margin and markup show up most when you negotiate. Keep the hypothetical example of a part with a 10 USD cost and a 30% margin, which gives a price of 14.29 USD and a profit of 4.29 USD. If a customer asks for 10% off and you agree, the price drops to 12.86 USD. Profit becomes 2.86 USD and the real margin falls to 22.2%. A discount that looks small (10% of the price) eats a third of your profit.
That is why it pays to decide your maximum discount before the conversation, calculated with the formula and not by feel. If your margin is 30% and you do not want to go below 20%, you already know how far the price can drop: with a cost of 10, the floor is 10 ÷ 0.80 = 12.50 USD. Below that number, accepting the order leaves you with less margin than you need.
The same applies to what goes into the cost. A 40% margin on a cost that only includes filament is a margin on an incomplete base: your real profit, after electricity, machine wear, and your time, will be much lower than the math shows. Define the cost properly first, then apply the margin.
Frequently asked questions
What is the difference between margin and markup?+
Which should I use, margin or markup?+
How do I get from a 30% margin to a price?+
Can I have a 100% margin?+
Let the system do the math
MiNegocio3D calculates the cost of each part and the suggested price with your margin on every quote. From 17 USD a month, with a 7-day free trial, no card required, and a 30-day guarantee.