Try the sheet here, on the example
The sheet is open below with sample numbers. Change any white cell and watch the results update, or press the blank-copy button to type your own data from scratch. Nothing you type leaves your browser.
Example from the sheet
| Figures as of | 46356 | Batches with the status Planned are left out of every figure except the planned count. | |||
|---|---|---|---|---|---|
| Batches made | 12 | Production cost (materials + packaging) | 7,641.52 | ||
| Planned batches | 1 | Average cost per good unit | 0.67 | ||
| Kg mixed (planned size) | 11,100 | Value at wholesale price | 14,744.75 | ||
| Kg yielded | 10,945 | Margin | 7,103.23 | ||
| Average yield | 98.6% | Margin % | 48.2% | ||
| Good units filled | 11,485 | Batches on hold | 1 | ||
| Rejected units | 187 | Materials at or below reorder level | 2 | ||
| Reject rate | 1.6% | Stock value of materials | 9,979.00 | ||
| Month | Batches | Good units | Production cost | ||
| Jan | 0 | 0 | 0.00 | ||
| Feb | 0 | 0 | 0.00 | ||
| Mar | 0 | 0 | 0.00 | ||
| Apr | 0 | 0 | 0.00 | ||
| May | 0 | 0 | 0.00 | ||
| Jun | 0 | 0 | 0.00 | ||
| Jul | 0 | 0 | 0.00 | ||
| Aug | 0 | 0 | 0.00 | ||
| Sep | 0 | 0 | 0.00 | ||
| Oct | 6 | 5,390 | 3,967.35 | ||
| Nov | 6 | 6,095 | 3,674.17 | ||
| Dec | 0 | 0 | 0.00 |
Example from the “Dashboard” tab, with the numbers and formulas that are in the file.
What is inside
- Dashboard: Batches made and planned, kg mixed and yielded, average yield, good and rejected units, reject rate, production cost, average cost per unit, wholesale value, margin, batches on hold, materials to reorder, stock value, a month table and four charts.
- Batches: One row per batch: date, batch number, product, planned kg, actual yield, good units, rejected units and status. It works out material cost, yield %, loss in kg, units possible, fill rate, packaging, total cost, cost per good unit and margin, and warns about problems. Room for 500 batches.
- Products: Each product with its fill size, packaging cost and wholesale price, plus the recipe total check, material cost per kg and per unit, cost per unit, margin and batches made. Room for 20 products.
- Formulas: The recipes: one row per material with its share of the batch, and the cost and kg used that follow from it. Room for 300 recipe lines.
- Materials: Raw materials with price per kg, opening stock, what you received, a reorder level, kg used by your batches, kg on hand, stock value and a status. Room for 60 materials.
- Settings: Business name, currency symbol, as-of date and the year the Dashboard reports.
The file opens on a start tab (“Start here”) that explains how to use it.
What makes it different
Most free batch and costing templates are built for soap or cosmetics, and a detergent maker ends up rebuilding the percentages, the yield and the packaging by hand. Here the recipe is the single source: change a material price once and every cost, margin and chart follows. In the sample, 12 batches yielded 10,945 kg from 11,100 kg mixed (98.6%) and filled 11,485 good units with 187 rejected (1.6%). They cost 7,641.52 against 14,744.75 at wholesale prices, a 48.2% margin.
How do I calculate the cost of a detergent batch in Excel?
Write the recipe as a percentage of the batch weight, multiply each percentage by the material's price per kg, and add the lines to get the material cost per kg of product. Multiply that by the batch size for the cost of the batch, then add packaging for every unit you filled. Dividing the total by the good units gives the cost per bottle.
That is exactly what the Formulas, Products and Batches sheets do. Because water is a line in the recipe too, a batch with a low yield shows a higher cost per unit, which is the number you need when you set a wholesale price.
How do I track yield and filling losses in a production batch?
Record the planned size and the actual yield for every batch. Yield % is actual divided by planned, and the loss in kg is the difference. At filling, record good and rejected units and compare them with the units the yield should give at your fill size. A batch that loses 6% before filling, like B-1008 in the sample, stands out against batches near 99%.
There is no single right yield. Compare each batch with your own normal and look into the ones that fall below it. The yield column turns amber below 97%; change that rule to suit your process.
How do I know when to reorder raw materials?
Give each material an opening stock, add what you receive and subtract what your batches use. The Materials sheet takes the usage from your recipes and the planned size of every batch that is not marked Planned, then compares what is left with the reorder level you set for that material. Materials at or below the level are marked Reorder, and the count shows on the Dashboard.
Stock is only as accurate as the receipts you log, so record deliveries when they arrive and recount now and then. For a simpler recipe cost per portion, see the recipe costing template.
How to use it
- On Settings type your business name, currency symbol and the as-of date.
- On Materials list every raw material with its code, price per kg, opening stock, what you have received since and a reorder level.
- On Products list each product with its fill size in kg, the packaging cost per unit (bottle, cap, label, carton share) and your wholesale price.
- On Formulas type each recipe, one row per material, as a share of the batch weight (for example 14%). Each product must add up to 100%; Products shows OK or Not 100%.
- On Batches add one row per batch: date, batch number, product, planned batch size in kg, then the actual yield in kg, good units filled and units rejected. Use the status Planned for a batch not made yet.
- The sheet prices each batch from your recipe and material prices, works out yield, cost per kg and per unit and margin, and updates stock on Materials. Dashboard shows the totals and charts.
Before you start:
- Capacity: 20 products, 300 recipe lines, 60 materials and 500 batches.
- All weights are kg of product, not litres. Convert a litre fill to kg using the density of your product.
- Material cost of a batch = planned batch size x the recipe cost per kg. It is the cost of what you mixed, so a low yield raises the cost per unit.
- Packaging is charged on every unit attempted (good + rejected). Cost per good unit = (material cost + packaging) / good units.
- Materials used = recipe share x the planned size of every batch whose status is not Planned. On hand = opening + received - used.
- The recipes and prices in this file are an illustration, not tested formulas. Check every formula, safety data sheet and local rule before you make a product.
Still running this on Excel?
This sheet calculates requirements for the orders you type in yourself. In MESwiro, material requirements planning (MRP) breaks planned production orders down into their components and works out shortages against stock.
| In this sheet | In MESwiro |
|---|---|
| You type in every order and every balance by hand. | Material requirements planning (MRP) breaks planned production orders down into their components and calculates shortages against stock. |
| You ask suppliers for quotes by phone. | It requests quotes from several suppliers and compares price, lead time and minimum order side by side. |
| Line scheduling in a sheet hides conflicts. | It assigns work orders to lines and shifts by drag and drop, with a Gantt chart and a panel for unscheduled orders. |
| Efficiency and order cost are guesswork. | It calculates OEE for each line automatically and shows the material, labor and machine cost of each order. |
Frequently asked questions
Is this detergent batch tracker really free?
Yes. Download it, use it in your workshop and change anything you like. There is nothing to sign up for to open the file.
Are the recipes in the file real formulas?
No. They are illustrations so you can see how the sheet works. Replace them with your own tested formulas, and check safety data sheets and local rules before you make or sell any product.
Does it work in litres?
The sheet works in kg. To convert a litre fill to kg, multiply by the density of your product and enter the result as the fill size.
How many batches, products and materials can it hold?
500 batches, 20 products, 300 recipe lines and 60 materials. For a new year, save a copy and clear the old batches, adjusting the opening stock of each material.
Does it work in Google Sheets and LibreOffice?
Yes. It uses ordinary formulas such as SUMIFS, COUNTIFS, INDEX, MATCH and IFERROR, so it works in Excel 2016 and later, LibreOffice and Google Sheets.
Is the template free?
Yes, with no sign-up and no email address. Use it, edit it and share it as you like.
Does it work in Google Sheets and on mobile?
The sheet uses formulas supported by Excel 2016 and later, Google Sheets and LibreOffice, so you can upload it to Google Drive and open it with Google Sheets on a computer or a phone.
What is the difference between the white and the gray cells?
You type in the white cells; the gray cells are calculated automatically. Don't type in a gray cell, or you will erase its formula.
Can I use the sheet from an AI assistant?
Yes. Add our MCP server (URL https://softwiro.com/api/mcp, no key needed) to your assistant and ask it to do the calculation in this template. The numbers come from the sheet's own formulas, and we do not store your data. The steps and a ready-made prompt are in this article: https://softwiro.com/blog/mcp-excel-templates-ai-agent-guide.html
All the templates in this group: Factory management sheets: production, cost and quality
More free templates for: Factories and production
Step-by-step guide: Detergent factory in Excel (free): formulas, batches and pack cost
More free templates
- Production Tracking Spreadsheet for Excel
- Equipment Inspection Log Template for Excel
- Coffee Roasting Log and Costing Spreadsheet for Excel
- Bakery and Biscuit Production Tracker for Excel
- Detergent Ingredients List and Functions (Excel)
- Electronics BOM and Production Tracker for Excel
- Food Production Batch Tracker for Excel: Recipes, Lots, Yield and Expiry
- Industrial Waste Tracking Log for Excel
- Pharmaceutical Batch Record Tracker for Excel (Lots, Yield, QA Release)
- Paper Mill Production Tracker: Waste, Cost per Roll and Margin
- Water Bottling Plant Tracker: Cost per Bottle and Jugs
- Work Order Tracker Template for Excel
- Electronics Store Inventory and Warranty Tracker for Excel
- English Grammar Cheat Sheet for Excel: 12 Tenses, Rules and Practice
- Farm Management Spreadsheet for Excel: Fields, Labor, Harvest and Sales
- Food Wholesale Distribution Tracker for Excel: Routes, Receivables and Expiry
- Custom Apparel Print Order Tracker for Excel: Screen Print and DTF
- Machine Shop Job Tracker for Excel: Work Orders, Job Costing and Margin
- Glass Shop Order Tracker for Excel
- Capstone Project Tracker for Excel