Aviy
CalculatorsMarkup FormulaMarkup PercentageCost Plus MarkupMarkup Vs MarginSelling Price Calculator

Markup Calculator: Formula and Worked Examples

Markup Calculator: Formula and Worked Examples - Aviy AI invoicing
18 min read

Markup is the amount added to a product's cost to set its selling price, shown as a percentage of cost. The formula is Markup % = (Selling Price - Cost) / Cost x 100. To find a price, use Selling Price = Cost x (1 + Markup %). Markup is always measured against cost, never revenue.

A markup calculator answers one of the most important questions in business: if something costs you a certain amount, what should you charge for it? Markup is the gap between your cost and your selling price, expressed as a percentage of that cost. Get it right and every sale funds your overhead and profit. Get it wrong and you can be busy all year while quietly losing money on each job.

This guide gives you the exact markup formula, explains where to find every number you need, and walks through several fully worked examples with realistic figures. You will also learn how markup differs from margin, what a healthy markup looks like, and the mistakes that cost freelancers, retailers and service businesses real cash.

What Is a Markup Calculator?

A markup calculator is a simple tool that converts your cost into a selling price using a markup percentage, or works backwards to tell you what markup a given price represents. It removes the mental arithmetic so you can price consistently across products, projects and clients.

Markup is the amount you add on top of cost. If a product costs you $40 and you sell it for $60, you added $20. That $20 is your markup in money terms, and as a percentage it is $20 divided by $40, or 50%. The percentage is what matters, because it lets you apply the same logic whether you are pricing a $40 item or a $4,000 one.

The reason markup deserves its own calculator is that people constantly confuse it with margin, calculate it against the wrong base, or forget to recover overhead. A clear, repeatable formula protects you from all three. Whether you sell physical products, bill materials to clients, or price your time, markup is the lever that turns cost into revenue.

The Markup Formula Explained

There are two versions of the markup formula, and you will use both depending on what you already know.

To find the markup percentage when you know cost and selling price:

Markup % = (Selling Price - Cost) / Cost x 100

To find the selling price when you know cost and the markup you want to apply:

Selling Price = Cost x (1 + Markup %)

A worked mini-example: if your cost is $50 and you want a 40% markup, then Selling Price = $50 x (1 + 0.40) = $50 x 1.40 = $70. The $20 difference is your markup in pounds.

You can also flip it to find cost from a price and known markup:

Cost = Selling Price / (1 + Markup %)

Here is what each variable means:

  • Cost is everything it takes to produce or acquire the thing you are selling. For a product, that is the wholesale price plus shipping, duty and any direct handling - the full landed cost. For a service, it is your direct cost of delivery, such as materials, subcontractor fees and the loaded cost of labor.
  • Selling Price is what the customer pays before tax. Always exclude VAT or sales tax from this figure when calculating markup, because tax is not yours to keep.
  • Markup % is the percentage of cost that you add. A 0.50 in the formula means 50%.

Where to Find Each Input

Accurate markup depends on an accurate cost figure. A clean price built on a sloppy cost is still a loss waiting to happen.

  • Product cost comes from supplier invoices and purchase orders. Use the landed cost, not just the line price: add inbound freight, import duty, payment processing on the purchase, and storage if it is material. Your accounts payable records hold all of this.
  • Service cost comes from your time and direct expenses. Take the hours required, multiply by a fully loaded hourly rate (salary or target pay plus payroll costs, software and a share of overhead), then add any materials or subcontractor charges billed to that job.
  • Selling price is either the price you have set or the one you are testing. If you are reverse-engineering a competitor's markup, use their listed price minus tax.

If you invoice through software, these numbers are usually already captured. Aviy records what you charge on every quote and invoice, so when you compare that against your known costs the markup almost calculates itself. Pulling cost from your purchase orders and price from your invoices in one place removes the guesswork.

Worked Examples (Step by Step)

Numbers make markup click, so here are three realistic scenarios.

Example 1: A retailer pricing a product

Maya runs a small homeware shop. A ceramic lamp costs her $40 wholesale, plus $5 inbound shipping, so her landed cost is $45. She wants a 60% markup.

  1. Start with cost: $45.
  2. Apply the formula: Selling Price = $45 x (1 + 0.60).
  3. Calculate: $45 x 1.60 = $72.
  4. Markup in pounds: $72 - $45 = $27.

Maya prices the lamp at $72. Each sale contributes $27 toward her rent, staff and profit.

Example 2: Finding the markup on an existing price

Maya already sells a vase for $30 that costs her $18. She wants to know the markup percentage.

  1. Subtract cost from price: $30 - $18 = $12.
  2. Divide by cost: $12 / $18 = 0.6667.
  3. Multiply by 100: 66.67%.

So the vase carries a markup of roughly 67%. That is healthy for homeware, and higher than the lamp, which tells Maya the vase is one of her better earners per pound of cost.

Example 3: A service business pricing a job

Daniel runs a two-person landscaping crew. A patio job needs $600 of materials and 24 hours of crew time. His fully loaded crew cost is $18 per hour, so labor cost is 24 x $18 = $432. Total direct cost is $600 + $432 = $1,032. He targets a 45% markup to cover overhead and profit.

  1. Total cost: $1,032.
  2. Apply markup: Selling Price = $1,032 x 1.45.
  3. Calculate: $1,496.40.
  4. Round to a clean quote: $1,500.

Daniel quotes $1,500. His markup of $468 covers his van, insurance, admin time and profit. If he had quoted at cost plus a vague "bit on top", he might have landed at $1,150 and worked the job for almost nothing.

ScenarioCostMarkup %Selling PriceMarkup (money)
Homeware lamp$4560%$72$27
Homeware vase$1867%$30$12
Landscaping patio$1,03245%$1,496$464
Keystone retail$20100%$40$20

That last row is keystone pricing - a 100% markup, where the selling price is double the cost. It is a common starting point in retail because it is easy to calculate and historically covered typical operating costs.

A fourth example: working backwards from a target price

Sometimes you already know what the market will bear and need to check whether your cost leaves enough room. Priya sells a subscription box she wants to retail at $35. Her costs - products, packaging and fulfillment - come to $21. What markup is she actually running, and is it enough?

  1. Profit in money: $35 - $21 = $14.
  2. Markup: $14 / $21 = 0.667, or 66.7%.
  3. Convert to margin to sense-check: 0.667 / 1.667 = 0.40, a 40% margin.

A 40% margin on a physical subscription box is solid, but Priya should confirm it survives after payment processing fees and the occasional refund. If those shave the margin below 30%, she either trims cost or nudges the price to $38. Working backwards like this keeps an attractive headline price honest.

Markup vs Margin: The Difference That Trips People Up

Markup and margin describe the same gap between cost and price, but they measure it against different bases. This catches out experienced owners, so it is worth nailing down.

  • Markup = profit as a percentage of cost.
  • Margin = profit as a percentage of selling price.

Take a product that costs $50 and sells for $100. The profit is $50 either way. As markup, that is $50 / $50 = 100%. As margin, it is $50 / $100 = 50%. Same item, same profit, two very different percentages.

Selling PriceCostProfitMarkup %Margin %
$100$50$50100%50%
$150$100$5050%33.3%
$125$100$2525%20%
$140$100$4040%28.6%

Notice that markup is always the larger number for a profitable sale. To convert between them: Margin = Markup / (1 + Markup), and Markup = Margin / (1 - Margin). If you set a 40% markup expecting a 40% margin, you are actually earning about 28.6% margin - a meaningful shortfall when you scale it across hundreds of sales. For a deeper look at the revenue-side view, the margin calculation deserves its own attention alongside markup.

How to Interpret Your Markup

A markup percentage on its own does not tell you whether a price is good or bad. You have to read it in context.

A higher markup means more profit per pound of cost, but it can also mean a higher price that some customers will resist. A lower markup may move more volume but leaves thinner cushion for surprises. The "right" markup is the one that covers your overhead, leaves real profit, and still wins the sale.

Ask three questions of any markup figure:

  • Does it cover overhead? Markup has to absorb rent, software, admin time and everything that is not direct cost. If your overhead runs at 30% of revenue, a 30% markup leaves you with nothing.
  • Is it competitive? Compare against what similar businesses charge. A markup far above the market needs a clear justification, such as a premium brand or specialist skill.
  • Is it consistent with your goals? A growth-stage business might accept lower markup to gain share; an established one should protect it.

As a rough orientation, a markup that produces a gross margin below 20% is fragile for most small businesses, 30 to 50% margin is comfortable, and service or digital businesses often run higher. Remember to convert: a 50% markup is only a 33% margin.

Reading markup at the product mix level

Interpreting a single markup is useful, but the bigger insight comes from looking across your whole range. Two products at the same 50% markup are not equally valuable if one sells ten times more often. Blend volume into the picture: a low-markup, high-volume item can out-earn a high-markup item that barely moves.

This is why owners track a blended or weighted markup across the catalog. If a handful of low-markup loss-leaders are dragging the blend down without driving enough traffic to justify it, that is a pricing problem hiding in plain sight. Conversely, spotting that your highest-markup items are also your bestsellers is a signal to feature them harder.

Markup Benchmarks by Business Type

Typical markup varies enormously by industry because cost structures and overhead differ. Use these as starting points, not rules - your own numbers always win.

  • Grocery and food retail: thin markups, often 10 to 25%, made up by high volume.
  • Apparel and homeware retail: frequently 50 to 100% (keystone), sometimes more for fashion.
  • Restaurants: food markup is high (often 200%+ on ingredients) because labor and rent are heavy.
  • Trades and contractors on materials: commonly 20 to 50% on materials, with labor priced separately.
  • Professional services: "markup" is often baked into the rate rather than applied to materials, and effective markups over direct cost can exceed 100%.

The pattern: the heavier your overhead and the more service you wrap around a product, the higher your markup needs to be to survive. A high markup is not greed - it is what funds everything the customer does not see.

Pros and Cons of Markup Pricing

Markup-based, or cost-plus, pricing is popular because it is simple and predictable. But it has real limits.

Pros:

  • Fast and easy to apply across many products or jobs.
  • Guarantees you cover cost and add a defined contribution on every sale.
  • Transparent and easy to explain to staff and clients.
  • Scales cleanly - the same percentage works at any price point.

Cons:

  • Ignores what the customer is actually willing to pay, so you may leave money on the table.
  • Tempts owners to confuse markup with margin and under-price.
  • A flat markup over-prices cheap items and under-prices expensive ones if overhead is not proportional.
  • It does not react to demand, competition or perceived value on its own.

The fix is not to abandon markup but to use it as a floor. Markup tells you the lowest price that keeps you safe; value and the market tell you how far above that floor you can go.

Common Mistakes With Markup

These errors quietly erode profit, and almost every business makes at least one of them at some point.

  • Confusing markup with margin. Setting a 40% markup and assuming a 40% margin under-prices everything. Always know which base you are dividing by.
  • Using an incomplete cost. Forgetting shipping, duty, processing fees or your own labor inflates your apparent profit. Markup applied to an understated cost still loses money.
  • Forgetting overhead. A markup that only covers direct cost plus a token amount leaves nothing for rent, software and admin.
  • Including tax in the price base. VAT or sales tax is not revenue. Calculate markup on the pre-tax price.
  • Applying one markup to everything. Items with different handling, return rates or storage needs deserve different markups.
  • Never revisiting it. Costs drift upward. A markup set two years ago against today's higher costs may have silently turned into a loss.

Best Practices for Setting Markup

Follow these steps to set markup that actually protects your business.

  1. Capture full cost first. List every direct cost - purchase price, freight, duty, processing, and loaded labor for services. Markup on a true cost or nothing.
  2. Set a target margin, then convert to markup. Decide the margin you need to be healthy, then use Markup = Margin / (1 - Margin) to find the markup that delivers it.
  3. Layer overhead recovery in. Make sure your markup is high enough that gross profit covers fixed costs with profit left over.
  4. Benchmark against your industry. Sense-check your price against competitors so you are neither leaving money behind nor pricing yourself out.
  5. Use markup as a floor, not a ceiling. Where value or demand allows, charge above the markup-derived price.
  6. Document and apply it consistently. Build the markup into your quoting process so every estimate and invoice uses the same logic.
  7. Review on a schedule. Recheck markups as costs change so erosion never sneaks up on you.

How Markup Connects to Day-to-Day Business

Markup is not a one-off spreadsheet exercise - it lives in every quote you send and every invoice you raise. The price you put on a line item is your cost plus your markup, whether you write it that way or not.

This is where having your numbers in one place pays off. When your quotes, invoices and analytics live together, you can see the markup baked into each job and spot the ones that are quietly underperforming. If your invoicing shows that a recurring service consistently lands below your target markup, that is a signal to adjust the price before the next cycle, not after a painful year-end review.

Markup also feeds the bigger picture. It rolls up into your gross profit, which drives your cash flow and your ability to reinvest. Consistent, well-set markup is what separates a business that grows from one that just stays busy. Tools that surface what you actually charge versus what things cost - like Aviy's invoice analytics - turn markup from a guess into a managed number. When you create an invoice from a plain sentence, the price you state is the markup decision; making that fast and consistent means you price every job with intent rather than habit.

The freelancers and small businesses that hold healthy markups are rarely the ones charging the most. They are the ones who know their costs precisely, apply a deliberate markup every time, and revisit it as costs change. That discipline, repeated across hundreds of invoices, is what funds growth.

Summary

A markup calculator turns a cost into a selling price using one reliable formula: Selling Price = Cost x (1 + Markup %), and in reverse, Markup % = (Selling Price - Cost) / Cost x 100. Markup is always measured against cost, never against the selling price - that distinction from margin is the error to watch for most closely.

Use a complete cost figure, convert your target margin into the correct markup, recover overhead, and treat the result as a price floor you can build on. Benchmark it against your industry, apply it consistently to every quote and invoice, and review it as costs move. Do that, and markup stops being a vague "bit on top" and becomes the deliberate engine of your profit.

Frequently asked questions

What is the formula for a markup calculator?

The markup percentage formula is Markup % = (Selling Price - Cost) / Cost x 100. To find a selling price from a known markup, use Selling Price = Cost x (1 + Markup %). To work back to cost, divide the selling price by (1 + Markup %). Markup is always calculated as a percentage of cost, which is what separates it from margin.

How do you calculate markup percentage?

Subtract your cost from your selling price to get the profit in money terms, divide that figure by the cost, then multiply by 100. For example, a $30 item costing $18 gives ($30 - $18) / $18 = 0.6667, or about 67% markup. Always use the full landed cost and exclude tax from the selling price for an accurate result.

What is the difference between markup and margin?

Both measure the gap between cost and price, but against different bases. Markup is profit as a percentage of cost; margin is profit as a percentage of selling price. An item costing $50 and selling for $100 has a 100% markup but a 50% margin. Markup is always the larger figure for a profitable sale, which is why confusing them leads to under-pricing.

What is a good markup percentage?

It depends on your industry and overhead. Grocery often runs 10 to 25%, apparel and homeware 50 to 100%, and restaurants over 200% on ingredients. The right markup is whatever covers your direct cost plus all overhead and still leaves real profit while staying competitive. Convert to margin to sense-check it: a 50% markup is only a 33% margin.

How do you find selling price from cost and markup?

Multiply your cost by one plus the markup expressed as a decimal: Selling Price = Cost x (1 + Markup %). For a $45 cost and a 60% markup, that is $45 x 1.60 = $72. The $27 difference is your markup in money. This is the everyday calculation for pricing products and quoting jobs.

Is a 50% markup the same as a 50% margin?

No. A 50% markup means you add half the cost on top, so a $100 cost sells for $150 - but that is only a 33.3% margin, because the $50 profit is a third of the $150 price. Markup and margin are only equal at zero. For any profitable sale, the markup percentage is always higher than the margin percentage.

How do I convert markup to margin?

Use Margin = Markup / (1 + Markup). A 40% markup converts to 0.40 / 1.40 = 0.286, or 28.6% margin. To go the other way, use Markup = Margin / (1 - Margin), so a 40% margin needs a 0.40 / 0.60 = 0.667, or 66.7% markup. Keeping these conversions handy prevents the most common pricing mistake.

Should markup be calculated before or after tax?

Always before tax. VAT or sales tax is collected on behalf of the government and is not your revenue, so it must be excluded from the selling price used in the markup formula. Including it inflates your apparent markup and distorts pricing decisions. Calculate markup on the net, pre-tax price and add tax separately on the invoice.

Does markup include overhead?

Markup is applied to direct cost, but it must be set high enough that the resulting gross profit covers overhead such as rent, software and admin, with profit left over. A markup that only covers direct cost leaves nothing for fixed costs. A practical method is to set a target margin that accounts for overhead, then convert it to the markup needed.

How often should I review my markup?

Review markup at least once a year and whenever a major cost changes by more than around 10%. Supplier prices, shipping and labor costs drift upward over time, and a markup set against old, lower costs can silently turn into a loss. A quick recalculation against current invoices is fast and protects your profit directly.

Conclusion

A markup calculator is one of the simplest tools in business and one of the most consequential, because every price you set is a markup decision whether you frame it that way or not. Master the two formulas - Markup % = (Selling Price - Cost) / Cost x 100 to read a price, and Selling Price = Cost x (1 + Markup %) to set one - and you can price any product or service with confidence.

The discipline that matters most is using a complete cost, keeping markup separate from margin, and revisiting your numbers as costs move. Do that consistently across every quote and invoice and your markup becomes a deliberate, profit-protecting habit rather than a hopeful guess.

Sources and further reading