Shopify Cost per Item Guide: Add, Bulk Update & Track Profit
Shopify cost per item is the amount it costs you to make or buy each product or variant. You enter it in the Price section of the product page, and Shopify uses it to show your profit and margin and to calculate gross profit in your reports.
Customers never see this field, but it’s one of the most useful numbers in your admin. With accurate costs, you can tell which products actually make money instead of judging them by revenue alone.
What Is Cost per Item in Shopify?
Cost per item is an optional pricing field that records your cost of goods for each product or variant. Shopify describes it as the amount it costs you to make or acquire the item, entered as a plain number such as 9.99.
When you add a cost, Shopify shows the profit and margin next to the price on the product page. For example, a product priced at $25 with a $10 cost shows a $15 profit and a 60% margin.
The field is private, so it doesn’t appear on your storefront or in theme code. Behind the scenes, Shopify stores the cost on each variant’s inventory item, which is where apps and the Admin API read it from.
How to Add Cost per Item in Shopify
You can add a cost to any product from its details page. Follow these steps on desktop:
- In your Shopify admin, go to Products and click the product.
- In the Price section, click Cost per item.
- Enter the cost in the Cost field, without a currency symbol.
- Click Save.
If the product has variants, each variant needs its own cost. Open each variant from the Variants section and enter its cost per item, since a large size or premium material may cost more than the base version.
Check the profit and margin figures after saving. If the margin looks unexpectedly high or low, the cost may be missing a component or entered for the wrong variant.
Add or Update Cost per Item in Bulk
Entering costs one product at a time gets slow for a full catalog. Shopify gives you two native ways to add or update costs for many products at once.
Use the bulk editor
The bulk editor works well when you’re filling in costs for a group of products from a supplier list. Follow these steps:
- Go to Products and select the products you want to update.
- Click Bulk edit.
- Click Columns and add Cost per item.
- Enter the cost in each variant’s row.
- Click Save.
Each variant appears as its own row, so you can give sizes or materials different costs. Save before leaving the page, since unsaved edits are lost.
Use a product CSV
A product CSV suits large catalogs or costs you calculate in a spreadsheet. Follow these steps:
- Export your products. Go to Products > Export and download the products you want to update.
- Keep a backup. Save an untouched copy of the file before editing.
- Fill in the costs. Enter each variant’s cost in the Cost per item column as a number without a currency symbol, such as 9.99.
- Import the file. Go to Products > Import, select Overwrite products with matching handles and import.
Keep the URL handle, Title and option columns in the file so each cost lands on the right variant. Product CSV files can’t exceed 15 MB, and test the import on a few products first, because blank cells in included columns can clear existing values.
If you manage product data across Shopify, WooCommerce or Wix, Bulkflow supports bulk import, export and updates to existing product records with field mapping. That can help when supplier costs change and you need to update many product records at once.
Developers can also update costs through the Admin API, where cost is a property of each variant’s inventory item. Some inventory, dropshipping and profit apps pull or sync cost per item automatically, so check whether an app you use already writes to this field.
How Shopify Uses Cost per Item in Reports
Shopify’s profit reports calculate gross profit from the cost per item recorded when each product or variant was sold. Reports include gross profit by product, gross profit by variant, profit margin by order, average profit margin by market and gross profit by POS location. Access to profit reports can depend on your Shopify plan.
Gross profit is net sales minus cost, and gross margin is that profit divided by net sales. Because discounts and refunds lower net sales, a product’s margin in reports can be lower than the margin on its product page.
Shopify gives an example of a T-shirt with a 50% margin on its product page. After a 25% discount, the margin on that sale drops to 33% in the report.
Cost isn’t applied retroactively
The cost is captured at the time of sale, so adding or changing a cost later doesn’t update past orders. Sales made before you entered a cost stay out of your profit reports, and older orders keep the cost that applied when they were placed.
This is why it’s worth adding costs before you start selling a product. If you add costs to an existing catalog, expect profit reports to show complete figures only from that point forward.
Variants without a recorded cost are left out of gross profit reports entirely. That can make net sales in your profit reports differ from your sales reports, which is usually a sign that some variants are missing a cost.
What to Include in Cost per Item
Cost per item should reflect what you pay to make or acquire one unit. For a reseller, that’s usually the supplier price, while a maker would include materials and production costs.
Many merchants also add inbound costs that belong to each unit, such as freight to their warehouse, import duties or packaging. Whatever you choose, apply the same rule across your catalog so margins stay comparable.
Some costs aren’t part of cost per item, so Shopify’s profit reports don’t account for them. Track these separately:
- Payment and transaction fees charged on each order.
- Shipping labels for sending orders to customers.
- Advertising spend on paid channels.
- App subscriptions and other running costs.
To see true net profit, combine Shopify’s reports with these costs in a spreadsheet, your accounting software or a profit-tracking app. If you sell in a region with VAT or GST, also check whether your costs and prices are recorded consistently with or without tax.
Keep Your Cost per Item Accurate
Cost per item is a static number, so it only reflects the cost at the moment you entered it. When supplier prices, freight rates or materials change, your costs and margins drift unless you update the field.
- Update costs when you restock. Enter the new cost when a supplier changes prices or you receive stock at a different rate.
- Review margins regularly. Export your products and compare prices with costs to spot items with thin margins.
- Check costs from dropshipping apps. Supplier apps may set a cost that excludes shipping, so confirm what the number covers.
- Use dedicated tools for changing costs. For average or landed costs that change often, an ERP, accounting system or reporting app can track cost more precisely.
Common Cost per Item Problems
Most cost issues come from missing variant costs or from expecting changes to apply to past sales. Watch for these:
- Orders are missing from profit reports. The variants sold had no cost recorded at the time of sale.
- Past profit didn’t change after updating costs. Costs apply only to sales made after you enter them.
- Some variants show no margin. The cost was added to one variant but not the others.
- Report margins are lower than product page margins. Discounts and refunds reduced net sales.
- A CSV import didn’t update costs. The handles didn’t match, or the overwrite option wasn’t selected.
- Costs look different from your supplier’s price. An app or staff member entered a cost that includes or excludes shipping.
Conclusion
Shopify cost per item turns your product data into a clear view of profit, showing which products earn their place in your catalog. Adding costs early, keeping every variant covered and updating them when prices change makes your margins and profit reports far more reliable. We hope this guide helps you set up Shopify cost per item with confidence. To import and update product data in bulk, you can explore Bulkflow.



