How inventory value is calculated in Shoporama
How Shoporama calculates your inventory value: weighted average cost, cost prices, variants, bundles, credit notes, shared stock, and the nightly update explained in an FAQ.
Your inventory value (stock value) is the total cost price of the products you have on the shelf right now. Shoporama calculates it automatically from the cost prices you have registered, so you can easily keep an eye on how much capital is tied up in your stock and use the figure in your accounts. The inventory value is also saved every night, so you can see how it has developed and what it was on an earlier date. Read more in Inventory value over time.

When you add products to stock, you can enter a cost price (the purchase price excl. VAT). If you do not enter one yourself, Shoporama automatically uses the cost price set on the product. The more complete your cost prices are, the more accurate your inventory value will be.
Does Shoporama use FIFO or average cost?
Shoporama uses a moving weighted average cost, not FIFO. If you have bought the same product at different prices, the value is calculated from an average weighted by quantity. See the example further down.
The average is only calculated over the units that are actually in stock now. If you sell out a product completely, the calculation starts over the next time you buy it in, so old prices on units that were sold long ago do not affect the value of what is on the shelf today.
Is the inventory value incl. or excl. VAT?
The inventory value is always calculated excl. VAT. It is the cost price excl. VAT that goes into the calculation.
What about products added to stock without a cost price?
They count at the cost price you have set on the product or variant. If there is neither a price registered on the stock receipt itself nor a cost price on the product, it does not count, and your inventory value will be too low. See inventory value without a cost price for how to fix it.
I just added products to stock, but the value has not changed yet
The total inventory value you see on the front page of the admin is updated overnight. What you add to stock today counts from tomorrow. We do it this way to avoid putting unnecessary load on the server during the day, so your store runs fast.
The same nightly run saves the day's inventory value, so you can see it afterwards under Inventory value over time. If you click Update Inventory Value under Stock → Cost Prices, the figure on the front page changes right away, but in the history the change only shows from the next nightly snapshot.
How is the value calculated when I have changed the cost price along the way?
Shoporama takes an average weighted by quantity.
Example: You have added 10 units to stock at DKK 80 each and then 5 units at DKK 70 each. In total, you have bought for 800 + 350 = DKK 1,150. The average price is (10 × 80 + 5 × 70) / 15 = DKK 76.67. Shoporama therefore states the inventory value as 15 × 76.67 = DKK 1,150.
The example applies as long as all 15 units are still in stock. If you sell some of them, the average price of DKK 76.67 stays the same and is multiplied by the number you have left. In other words, the system does not keep track of whether it was the expensive or the cheap units that were sold first.
If you correct a cost price later, it does not change the days already saved in Inventory Value Over Time. The correction shows at the earliest in the next nightly snapshot.
How are products with variants counted?
Stock is managed per variant, but the inventory value is calculated at product level. All variants of the same product are added together and included in the product's total value. See stock synchronization with variants for more about managing stock per variant.
I share stock between two stores. Are the products counted twice?
Not in the individual store. If you share stock between several stores, they sell from the same physical shelf. The products count at full value in each store that shares the stock, because they are actually for sale in each store. This applies both to the current inventory value and to the value saved every night in Inventory Value Over Time.
If you add up your stores yourself, for example for the annual accounts, the shared stock is counted several times. Use the Shared stock tab under Statistics → Warehouse statistics instead. It adds the stores together and counts a product that exists in several stores only once. The tab is shown in stores that share stock with at least one other store. The stores must be live and have a subscription that includes shared stock.

This is how the figure is calculated:
- Products with the same item number in several stores are the same product. This also applies when only the variants' item numbers match. These are the same item numbers shared stock uses to keep the stock in sync.
- Products that only exist in one store count in that store. So do products without an item number, because Shoporama cannot find them in the other stores.
- If the quantity or cost price is not the same in the stores, the lowest value counts, and the product is listed under Discrepancies with an explanation. If the product only has stock in one of the stores, the value from that store counts. The same applies if the product is missing a cost price in one of the stores: then the value from the store with a cost price counts.
Go through the discrepancies before you use the figure. If it says Out of stock at one of the stores or Different quantity, the stock is usually not synchronized. Open Stock → Synchronize stock in the store with the wrong quantity, and synchronize from the store with the correct stock. If you correct the quantity by hand, the sister store changes right away, so the difference remains. Read more in Shared stock between stores. If it says Cost price missing in one of the stores, set the cost price on the product in that store. If it says Different cost price, the products were added to stock at different prices in the stores. That does not change if you correct the cost price on the product, because products in stock keep the price they came in at. If it says Same SKU on multiple products, give each product its own item number. Corrections to quantity and cost price show at the earliest in the next nightly snapshot. If you correct an item number, the new item number is also used for earlier dates. The page shows the largest discrepancies, and the CSV file has all of them.
Choose the date, for example December 31, and click View. With the button showing the date, for example CSV: shared stock as of 31-12-2026, you download all products with quantity and inventory value in each store, and what was counted. You can give it to your accountant. The tab can only show dates where all the stores have a snapshot. If you choose another date, the tab shows the latest earlier date where all the stores have one. The figure is still based on what you have registered, so for the annual accounts you reconcile it with a stock count.
You need access to Warehouse statistics with the Cost prices and profit margin option in all the stores to see the figure. If the stores use different currencies, for example a Danish and a Swedish store, the inventory values cannot be added together, and the tab does not show a combined figure.
Do bundles count in the inventory value?
Bundles do not have their own inventory value when you use the recommended setup with shared stock. The value sits on the underlying products, so nothing is counted twice. Read more in the article about bundles.
What happens when I credit an order?
When you create a credit note, you can choose whether the products should be returned to stock. If you do, the stock level goes up again, and the products count in the inventory value at the cost price currently set on the product.
Do deleted products count?
No. Products that have been deleted are not included in the inventory value, even if they still have stock entries in the system. The same applies to products in the trash.
In Inventory Value Over Time, you can still see them on earlier dates when they had stock. They appear in the product list with the label Deleted or In the trash.
Can the inventory value be negative?
No. If a product would have a negative value (for example because more were sold than were in stock), its value counts as 0 in the calculation, so the total inventory value is never negative.
In Inventory Value Over Time, you can see how many products had negative stock on a given date. They appear in the product list with the label Negative inventory and count as DKK 0.
Where do I see the total inventory value?
You find the figure under Stock in the admin, where it is shown at the top of the page: "Your stock is worth X DKK without VAT (cost price)". Remember that the figure is updated at night.
If you need the inventory value on a specific date, for example at year end, you find it under Statistics → Warehouse statistics on the Inventory Value Over Time tab. The history starts on the day the feature was put into operation. The figures are based on what you have registered in Shoporama, so for the annual accounts you reconcile them with a stock count. If you share stock between several stores, you find the combined value on the Shared stock tab.
If you have questions about the inventory value, you are welcome to contact us at support@shoporama.dk.
Related articles
Inventory value without a cost price
What to do if your inventory value does not add up because products were missing a cost price when stock was registered.
Product bundles: sell several products as one package
Learn how to create product bundles in Shoporama, so you can sell several products as one package with automatic stock updates.
Stock synchronization for product variants
How stock synchronization works for products with variants in Shoporama, using CSV import, the REST API, or shared stock across stores.
Product profiles and product variants: attributes, sizes, and colors
A guide to product profiles and product variants in Shoporama. Learn how profiles, attributes, values, and variants fit together, and how to set...
How to manage and process orders in Shoporama
A complete guide to order management in Shoporama, from receiving new orders to status changes, shipping labels, credit notes, and exports.
Inventory value over time: see your stock value on a specific date
Shoporama saves your inventory value every night. Follow the trend in a graph, look up the value on a specific date, such as December 31, and...
Related features
Inventory value with shared stock: one figure, no duplicates
New in Shoporama: see the total inventory value for your stores with shared stock. Products in several stores count only once, and you can export...
Stock management
Stock entries, warehouse locations, reorder lists, inventory value, and automatic notifications. Avoid overselling with Shoporama's stock management.
Inventory value
Inventory value is the total value of the products you have in stock, measured at cost price. See how it fits into your annual accounts and why it...
Shared stock
Share stock levels automatically between several online stores in real time. Avoid overselling, cut stock work, and expand easily into new markets.
Cost prices
Missing cost prices make your inventory value and profit margin wrong. See why cost prices matter for your accounts, your pricing, and your bottom...