Bitrix24 Helpdesk

Calculate product cost using FIFO

The First In, First Out (FIFO) method writes off products in the same order they arrive in your warehouse. The system uses the cost from the earliest available inventory to calculate the cost of goods sold.

When a batch runs out, the system switches to the next batch and uses its cost.

FIFO reflects the actual purchase cost of products, especially when prices increase over time.


Example: Calculate product cost using FIFO

An online store sells T-shirts. It received three batches at different prices. There are 20 T-shirts in stock.

The store sells 15 T-shirts.

With FIFO:

  • First batch: 10 T-shirts at $100 each
  • Second batch: 5 T-shirts at $60 each

Total cost of goods sold: $1,300

FIFO uses only the product receipt date. It ensures older stock sells first and helps avoid outdated inventory.


View results in the Gross Profit report

  1. Go to Inventory management.
  2. Open the Analytics tab.
  3. Select Gross profit.

The report shows:

  • Sales revenue
  • Total cost
  • Gross profit
  • Gross margin

All values use the FIFO method.


View product cost in a sales order

  1. Open a deal.
  2. Click Add.
  3. Select Sales order.

Product cost appears in the order. Use it to decide on discounts.


In brief

  • FIFO writes off products in the order they arrive in the warehouse. The system uses the cost from the earliest available stock.

  • You can view sales revenue, gross profit, and gross margin in the Gross Profit report.

  • Product cost helps you set the right discount.
Was this information helpful?
Thank you for your feedback.
Get Implementation Help from a Partner
That's not what I'm looking for
Complicated and incomprehensible text
The information is outdated
It's too short. I need more information
I don't like the way this tool works
Get your Bitrix24 set up by local professionals
FIND BITRIX24 PARTNER NEAR ME
implementation_helper_man
Go to Bitrix24
Don't have an account? Create for free
Related articles
Bitrix24 Inventory Management Inventory management: Getting started Inventory management settings Conditions for enabling Bitrix24 Inventory Management Import data from other Inventory management services into Bitrix24 FAQ: Inventory management and product catalog Reset balances Gross profit report Inventory management: Getting started Disable Inventory management