What this calculator is for
Freelancers, agencies, and sellers often say “I need 30% margin” when they really mean a 30% markup on cost, or the reverse. Those two percentages are not the same number, and mixing them up quietly underprices work or overstates how healthy a deal looks.
This tool answers a simple question: given what it costs you to deliver one unit and what the customer pays, how much profit do you make in dollars, what margin that is as a percent of price, and what markup that is as a percent of cost. Use it for a product unit, a package, or a fully loaded project cost treated as one “unit.”
If you are still deciding what price to charge from costs and a target margin, start with the Cost-Plus Pricing Calculator, then come back here to sanity-check the resulting margin and markup side by side.
Margin vs markup (without the jargon fog)
Profit is selling price minus cost. That dollar amount is the same either way you describe it.
Margin is profit divided by selling price, shown as a percentage. It answers: “Of every dollar the client pays, how much stays after cost?”
Markup is profit divided by cost, shown as a percentage. It answers: “How much did I add on top of what it cost me?”
Because the denominators differ, the same profit produces two different percentages. A 50% markup on cost is not a 50% margin. If you quote “50% margin” but apply a 50% markup in a spreadsheet, you leave money on the table relative to what you thought you priced.
A clean mental model
Think of price as the whole pie. Margin is the slice that is profit. Markup starts from the cost slice and asks how big the add-on was. Neither number is “better”; they answer different planning questions. Margin is useful for comparing deals and watching overall health. Markup is useful when you build price from known costs (materials, contractor day rates, or your own loaded delivery cost).
How to use this calculator
- Cost per unit ($): what it costs you to deliver one unit: materials and COGS for a product, or a fully loaded project cost for a service package. Include only costs that belong to that unit; do not bury unrelated overhead unless you intentionally want a fully loaded view.
- Selling price ($): what the customer pays for that same unit. Keep taxes and pass-through fees out unless they are truly part of the price you are analyzing.
- Read the hero result: profit in dollars. Then compare Margin (% of price) and Markup (% of cost) so you can speak accurately in proposals and internal planning.
All math runs in your browser. If price is at or below cost, you will not get a healthy margin story, and that is the point of checking before you lock a quote.
Key ideas for freelancers and sellers
Service businesses often undercount cost. A “unit” might be a website package whose true cost includes your time at a floor rate, subcontracted design, stock assets, and tools allocated to the job. If you only enter cash outlays and ignore your own labor, both margin and markup will look better than reality.
When you set rates from salary goals and billable capacity, the Hourly Rate Calculator helps build a floor. When you convert that into a fixed bid with buffers, the Project Pricing Calculator is a natural next step. This margin/markup tool then verifies that the price you landed on actually delivers the margin language you use with partners or yourself.
Agencies that bill from direct cost plus overhead and profit often think in multipliers. The Agency Markup Calculator builds a billable rate from those layers; you can still use this page to translate a finished price and cost into margin vs markup so sales and finance use the same words.
A simple example
Suppose cost per unit is $60 and selling price is $100. Profit is $40. Margin is $40 ÷ $100 = 40% of price. Markup is $40 ÷ $60 ≈ 66.7% of cost. Same deal, two percentages. If a client or teammate says “we need 40% markup,” that is a different target than “40% margin.” Run both numbers here before you renegotiate or discount.
If you later cut price to $90 with the same $60 cost, profit falls to $30, margin becomes about 33.3%, and markup becomes 50%. The calculator makes that trade-off visible in seconds so discounts are conscious, not accidental.
Common mistakes
- Using list price that nobody pays: analyze the real invoice amount after discounts.
- Comparing margin on one job to markup targets on another: pick one language per conversation, or show both.
- Forgetting that volume does not fix a broken unit: negative or tiny unit profit scaled up is still a problem.
- Treating tax collected as profit: sales tax you remit is not yours; keep the analysis on your net price and true cost.
When to revisit the numbers
Re-run the calculator when supplier costs rise, when you add a subcontractor, when a platform fee changes the net you keep, or when you are about to offer a “friendly” discount. A small price cut can erase a large share of profit because profit is the thin layer on top of cost, not the whole price.
If scope expands after you quoted a fixed fee, your effective cost hours climb while price stays flat. Pair this page with the Scope Creep Calculator to see how extra hours crush your effective rate, then decide whether a change order restores the margin you thought you sold.
Next steps checklist
- Pick one recent product, package, or project and enter honest cost and actual selling price.
- Write down both margin % and markup % so your proposal language matches the math.
- If margin is thinner than you intended, adjust price, reduce cost, or change scope. Do not only “hope volume fixes it.”
- For the next quote, decide in advance whether you are targeting a margin or a markup, then verify with this tool.
- Save or share the result link when you want a teammate to see the same inputs.
Related tools on HustleNumbers
- Cost-Plus Pricing Calculator: set selling price from costs and a target margin.
- Agency Markup Calculator: build a billable rate from direct cost, overhead %, and profit %.
- Project Pricing Calculator: turn hourly rate and estimated hours into a fixed bid with buffers.
- Hourly Rate Calculator: derive a floor rate from salary, expenses, and billable hours.
Estimates only. This guide is educational and is not financial, tax, investment, or legal advice. Margin and markup depend on how you define cost and price. Verify inputs against your books before making pricing decisions.