Store setup4 min read

How to Price Products: A Simple Formula for Shopify Sellers

Work out a selling price from your real costs with a worked example, then enter Price, Compare-at price and Cost per item in your Shopify admin.

In this guide
  1. What costs should go into a product price?
  2. What is the simple formula?
  3. What does a worked example look like?
  4. How do I enter Price, Compare-at price and Cost per item?
  5. What does Shopify not do here?
  6. How do I update many prices or costs at once?
  7. FAQ
  8. Sources

Add up everything it costs to sell one item, choose the margin you want, then divide the total cost by (1 minus the margin) to get your price. Shopify doesn’t calculate the price for you. You enter Price, Compare-at price and Cost per item on the product page, and Shopify shows the projected profit and margin.

This guide walks through which costs to count, the formula, a worked example, and where each number goes in your Shopify admin.

What costs should go into a product price?

Shopify’s pricing guide lists the costs to count:

  • Production costs. Materials and labor if you make the product, or what you pay your supplier if you resell it.
  • The total cost of selling. Inbound and outbound shipping, marketing spend, and platform fees such as your Shopify subscription, payment processing and third-party transaction fees.

Write each cost as an amount per item, so the total is the cost of selling one unit.

The numbers in this guide are examples only. Check your own fees in your Shopify billing and payments settings.

What is the simple formula?

  1. Add all per-item costs to get your total cost.
  2. Choose a margin. Shopify defines margin as (price minus cost) divided by price, times 100. So a $50 price with a $30 cost is a 40% margin.
  3. Divide the total cost by (1 minus the margin). For a 40% margin, that means total cost divided by 0.60.
  4. Round to a price that looks natural, then compare it with competitor prices and what your customers expect to pay.

Shopify’s guide also describes cost-plus pricing: total cost times (1 plus markup). Its example is a $45 cost with a 35% markup, which gives $60.75.

Method Formula What you choose
Margin Total cost ÷ (1 − margin) The share of the price you keep
Cost-plus (markup) Total cost × (1 + markup) The percentage added on top of cost

What does a worked example look like?

These are example numbers only:

Cost per item Amount
Product $12.00
Packaging $1.00
Shipping you pay $4.00
Payment fees $1.50
Total cost $18.50
  • 40% margin: $18.50 divided by 0.60 is $30.83, which you might round to $30.99.
  • 35% markup: $18.50 times 1.35 is about $24.98. That is only a 26% margin, so markup and margin are not the same thing.

Before you commit, check that the price still leaves room for discounts. Shopify notes that frequent discounts can gradually shrink profit margins.

To try different costs and margins quickly, use this price and margin calculator.

How do I enter Price, Compare-at price and Cost per item?

  1. From your Shopify admin, go to Products and click the product name.
  2. In the Price section, enter your selling price in the Price field.
  3. In the Price section, click Cost per item, enter the amount in the Cost field, and click Save.

For a product with a cost per item, the projected Profit and Margin appear in the Price section of the product page.

To put a product on sale:

  1. Open the product.
  2. In the Price section, select Compare at.
  3. Enter the original price in Compare-at price and the new price in Price.
  4. Save.

For a product with variants, set the price and cost on each variant.

What does Shopify not do here?

  • It doesn’t work out a price for you. The product page only shows projected profit and margin once you add a cost.
  • Cost per item is the supplier price only. Shopify’s guide says cost per item should be what you paid the supplier, excluding taxes, shipping and other costs. So the margin on the product page can look higher than your real margin once shipping and fees are counted.
  • Tax-inclusive prices hide profit. If you select Charge tax on this product and your store’s prices include tax, Profit and Margin aren’t displayed for that product.
  • Past orders keep the old cost. Changing a cost doesn’t update earlier orders, so past profit reports keep the original cost.
  • Sale prices have conditions. The compare-at price must be higher than the sale price for the sale to display, and your theme controls where sale prices appear.
  • Variants need consistent compare-at prices. If variants have inconsistent compare-at prices, a collection page may not show the product as on sale. A $0.00 compare-at price isn’t the same as an empty field.

How do I update many prices or costs at once?

  • Use the bulk editor or a CSV import to add costs to many products, with costs in the Cost per item column.
  • Shopify’s pricing guide says bulk price editing through CSV import and export can update prices and compare-at prices.
  • Review your costs regularly, for example quarterly, as supplier prices and competitor prices change.

FAQ

What is the difference between margin and markup?

Markup is a percentage added on top of cost, while Shopify defines margin as (price minus cost) divided by price. The same cost gives a lower margin percentage than the markup percentage.

Where do I see my profit margin in Shopify?

Add a Cost per item to the product. The projected Profit and Margin then appear in the Price section of the product page.

Should cost per item include shipping?

Shopify says to enter the price you paid the supplier, excluding taxes, shipping and other costs. For products you make yourself, base it on labor and materials.

Why isn’t my sale price showing?

The compare-at price must be higher than the price. Your theme also controls whether and where sale prices appear.

Sources