A markup calculator helps you turn a known cost into a practical selling price. This guide explains how to calculate markup from cost, distinguish markup from profit margin, account for fees and taxes, and set prices for services, digital products, subcontracted work, and physical goods.
Overview
Markup is the amount added to a product or service cost to reach a selling price. If your cost is $100 and you add a 30% markup, the selling price is $130. The $30 difference is the markup expressed as a percentage of cost.
The basic markup formula is:
Markup amount = Cost × Markup percentage
Selling price = Cost + Markup amount
These formulas are useful when preparing a quote, reviewing supplier costs, pricing a digital offer, or deciding whether a discount still leaves enough room for overhead and profit. A markup calculator is especially helpful when you need to test several assumptions quickly instead of relying on mental arithmetic.
Markup is not the same as margin. Markup compares the increase with your cost, while margin compares your profit with the final selling price. For example, a $100 cost and a $150 selling price produce a $50 markup. That is a 50% markup, but the profit margin is 33.33% because $50 is one-third of the $150 selling price.
Use markup when you are building a price from cost. Use margin when you are checking how much of the final price remains after cost. Both measures are useful, but confusing them can lead to prices that are lower than intended.
How to estimate
To calculate a selling price from cost, follow four steps:
- List the relevant cost. Start with the direct cost of delivering or acquiring the item. For a service, this may include your delivery time, subcontractor payments, and project-specific software. For a physical product, it may include supplier cost, packaging, and direct shipping.
- Choose a markup percentage. Set the percentage based on your overhead, risk, target earnings, market position, and the amount of work required to sell and support the offer. Treat this as a pricing assumption to review, not a universal rule.
- Calculate the markup amount. Multiply cost by the markup percentage expressed as a decimal. A 40% markup becomes 0.40.
- Add the markup to cost. The result is your base selling price before any separate tax, payment processing fee, platform fee, or discount adjustment.
For example, if a project has a direct cost of $800 and you apply a 35% markup:
Markup amount = $800 × 0.35 = $280
Selling price = $800 + $280 = $1,080
To calculate markup percentage from an existing cost and selling price, use:
Markup percentage = (Selling price − Cost) ÷ Cost × 100
If the cost is $240 and the selling price is $300, the markup is ($300 − $240) ÷ $240 × 100, or 25%.
If you know the target margin rather than the target markup, use a different formula:
Selling price = Cost ÷ (1 − Target margin)
For a $240 cost and a 25% target margin, the price is $240 ÷ 0.75, or $320. That price produces an $80 difference, which is 25% of the selling price. A 25% markup and a 25% margin therefore produce different prices.
| Cost | Markup | Markup amount | Selling price |
|---|---|---|---|
| $100 | 20% | $20 | $120 |
| $100 | 50% | $50 | $150 |
| $250 | 30% | $75 | $325 |
| $500 | 40% | $200 | $700 |
| $1,000 | 25% | $250 | $1,250 |
Inputs and assumptions
A useful markup calculator depends on the quality of its inputs. Begin by separating direct costs from general overhead. Direct costs change because of a specific sale or project. Overhead supports the business more broadly and may include administration, equipment, subscriptions, insurance, workspace, sales time, and non-billable work.
For freelance services, estimate the real cost of the time involved rather than counting only the hours spent in front of the client. Include discovery, revisions, communication, project management, invoicing, and delivery. If you normally price by the hour, a fixed quote can be built from the estimated hours, an internal cost or target rate, and a markup for risk and business overhead. The freelance project rate calculator guide provides a related method for turning an hourly rate into a project quote.
For digital products, direct production cost may be low, but support, maintenance, payment fees, refunds, advertising, and platform charges can affect the amount you keep. Decide whether these are included in the cost input or handled as separate deductions. Do not mix methods between products if you want meaningful comparisons.
For subcontracted work, include the subcontractor's full agreed cost and allow for coordination, quality checks, revisions, and payment timing. A markup on the subcontractor invoice alone may not cover the management work around it.
For physical goods, consider supplier cost, packaging, freight, storage, handling, wastage, and other sale-specific expenses. Taxes collected on behalf of a tax authority are usually treated separately from revenue, but the correct treatment depends on your location and circumstances. Use the VAT calculator guide when you need to add or remove VAT from an invoice amount.
Also record whether your calculation includes payment processing or marketplace fees. If a fee is charged as a percentage of the final price, simply adding a markup may not achieve the intended profit. In that case, calculate the price after all relevant fee assumptions and test the result against the amount you expect to receive.
Worked examples
Freelance service
You estimate that a small design project requires 12 hours at an internal cost of $45 per hour. The direct labor cost is $540. You add $60 for project-specific tools and apply a 30% markup to the $600 cost.
Markup = $600 × 0.30 = $180
Quote before tax and transaction fees = $780
Before sending the quote, check whether the 12-hour estimate includes revisions and client communication. If not, increase the cost estimate or add a clearly defined revision allowance.
Digital product
A template takes $18 of allocated production and support cost per sale. With a 100% markup, the base price is $36. That calculation is simple, but you should separately test payment fees, promotional discounts, refunds, and support time. If a 20% discount is offered, the customer price becomes $28.80, so the original markup no longer describes the discounted transaction.
Subcontracted work
A subcontractor charges $1,200 for a deliverable. You estimate $200 of your own coordination and review time, creating a total cost of $1,400. With a 25% markup, the quoted price is $1,750. Applying the markup only to the $1,200 subcontractor invoice would produce $1,500 and may understate the work required to manage the project.
Physical product
A product costs $32 from a supplier, and packaging adds $3, making the direct cost $35. A 60% markup produces a base price of $56. If shipping, marketplace fees, or tax are handled separately, document those assumptions so the price is not mistaken for the final amount received or paid.
When you want to assess the resulting profitability rather than build a price, compare the outcome with a profit margin calculator for freelancers and agencies. For software or tools that affect your costs, a software ROI calculator can help evaluate whether the investment is producing enough value.
When to recalculate
Recalculate your markup whenever a core input changes. Review prices when supplier costs, subcontractor rates, wages, payment fees, platform charges, shipping, or software expenses move. For services, revisit the calculation when your delivery process changes, your utilization changes, or projects consistently take longer than estimated.
It is also worth recalculating before launching a new offer, renewing a supplier agreement, testing a discount, changing payment terms, or quoting a large project. Keep a simple record of the cost assumptions, markup or margin target, tax treatment, and fee assumptions used for each price. This makes later updates faster and helps explain why a quote changed.
As a practical routine, save three versions of each calculation: the standard price, the discounted price, and the minimum acceptable price. The minimum should reflect the costs you cannot avoid and the time required to deliver the work. Do not treat it as an automatic quote; use it as a boundary for negotiation.
Finally, review the terminology on your invoices, proposals, and spreadsheets. Label whether a percentage is a markup or a margin, state whether tax is included, and identify any fees excluded from the price. Clear assumptions make a markup calculator more reliable and help prevent avoidable pricing errors when costs or market conditions change.