All articles
9 min read

Batch Production: Set Batch Size from Changeover Cost

Batch production makes a set quantity of one product per run. The right batch size balances changeover cost per run against holding cost, and nearby sizes cost about the same.

By Praveen Nune, Co-Founder & CEO · Updated 12 Nov 2026

A worker in a small Indian factory cleans a stainless steel mixing vessel between production runs, with cartons of finished product stacked on a pallet nearby.

Key takeaways

  • Batch production makes one product in set quantities per run. The best batch size is where setup cost per run and holding cost per unit balance, which the economic production quantity formula finds.
  • In our worked example, which uses illustrative inputs, the best batch is 4,157 units. Any size from 3,000 to 6,000 costs within 7% of it, so round to what your oven, vessel or shift can take.
  • Halving changeover cost cuts the best batch by about 29%, because the best batch moves with the square root of setup cost.
  • Cap every calculated batch by shelf life, equipment size and supplier minimums, then give each run one batch number so it can be traced.
In this article
  1. 1What is batch production, and when does it fit?
  2. 2How big should one batch be?
  3. 3What does a worked example in rupees show?
  4. 4Which mistakes make a batch size cost more than it should?
  5. 5How do you work out your own batch size in six steps?
  6. 6How do you keep each batch traceable once it is made?
  7. 7Frequently asked questions

Every batch run costs the same to set up whatever its size, and every unit left on the shelf costs money to hold. Batch size is the number that balances the two.

That number is a cost decision. Each run carries the same setup work: cleaning, changing tooling, first-pass checks and the labour in between. Run small and you pay for changeovers all year. Run large and your cash sits in stock. Neither mistake shows up on the shop floor until the month-end numbers arrive.

This page gives you the formula, a worked example in rupees, and a six-step sheet you can fill from your own changeover logs. It also says when batch production is the wrong method, and how to keep every batch traceable once it is made. Every figure in the example is illustrative, so you can replace each one with your own. The caps that limit any calculated batch, shelf life, equipment size and supplier minimums, get a pass test of their own.

What is batch production, and when does it fit?

Batch production makes a set quantity of one product in a single run, then stops to clean and reset the equipment before the next product. It fits products that repeat, in volumes too small to justify a dedicated line and too large to treat as one-off jobs.

Jars being filled from a large steel vessel in a small Indian workshop, with different containers waiting on a shelf for the next product.
One product runs in a set quantity before the equipment is reset for the next.

Definition

Changeover A changeover is the stop between two runs to clean, change tooling and check the first pieces (first-pass checks) before normal production restarts.
MethodFits whenWhat it costs you
Job productionEach order is one-off or made to a customer's specificationNo repeat to spread setup over
Batch productionSeveral products repeat on shared equipment, in moderate volumesA changeover between runs, and stock held between runs
Flow (continuous or mass) productionOne standard product, steady high volume, a line that rarely changesA dedicated line and little flexibility

Our recommendation is to avoid batching in three cases:

  • Changeover cost is close to zero, so you can make to order.
  • One product sells steadily enough to keep a line running for weeks. Move that product towards flow production.
  • A batch would take longer to sell than the product's shelf life.

How big should one batch be?

The best batch size is the quantity where the setup cost saved by running less often equals the holding cost added by carrying more stock. The economic production quantity (EPQ), also called economic batch quantity, finds it (Wikipedia; MBA Skool).

EPQ = √( 2 × D × S ÷ ( H × (1 − d ÷ p) ) )

  • D: annual demand, in units.
  • S: setup cost per run, in ₹.
  • H: holding cost per unit per year, in ₹.
  • d: daily demand, in units.
  • p: daily production rate, in units, using the same time unit as d.

The model assumes demand is constant and that setup and holding costs stay fixed (MBA Skool). The formula works only when d and p use the same time unit, daily here. The (1 − d ÷ p) term is there because stock builds more slowly while you are still producing. If you buy rather than make, the economic order quantity drops that term.

To price any batch size Q, use our working: annual cost = (D ÷ Q) × S + Q × (1 − d ÷ p) ÷ 2 × H. Average stock is half the peak, and the peak is Q × (1 − d ÷ p).

What does a worked example in rupees show?

A plant making 24,000 units a year, with a ₹3,500 changeover and ₹10.80 holding cost per unit per year, has a best batch of 4,157 units. That costs ₹40,410 a year in setup and holding, and sizes from 3,000 to 6,000 stay within 7% of it. The inputs are illustrative and the working is ours.

Inputs

  • Annual demand D is 24,000 units over 240 working days, so d is 100 a day.
  • Output p is 1,000 units a day, so d ÷ p is 0.1.
  • Setup S is 3 hours × ₹800 an hour + ₹600 cleaning + ₹500 first-pass checks = ₹3,500.
  • Unit cost is ₹60 and the holding rate is 18% a year, so H is ₹10.80.

Best batch: Q = √(2 × 24,000 × 3,500 ÷ (10.80 × 0.9)) = √17,283,951 = 4,157, rounded.

Batch sizeRuns a yearSetup cost (₹)Holding cost (₹)Total (₹)Against best
1,0002484,0004,86088,860+120%
3,000828,00014,58042,580+5%

4,157 (best)

5.820,20720,203

40,410

best
6,000414,00029,16043,160+7%
12,00027,00058,32065,320+62%

Four things follow:

  • At the best batch, setup cost and holding cost are equal, apart from rounding the batch to whole units.
  • The bottom of the curve is flat. You do not need decimal places, so round to a tray, a vessel or a shift.
  • The two ends are not equal. A batch of 1,000 costs 120% more than the best, and a batch of 12,000 costs 62% more.
  • Cutting the changeover from ₹3,500 to ₹1,750 gives √(2 × 24,000 × 1,750 ÷ 9.72) = 2,940. That is 29% smaller, so setup time is the lever worth working on.

Which mistakes make a batch size cost more than it should?

A common habit, in our judgement, is to set batch size by oven load, vessel size or order size, which ignores both setup cost and holding cost. This is our inference, not a surveyed figure. The worked example above shows what that costs.

Four errors follow, and they are our reading of the example above:

  • Leaving lost output out of S. A common mistake, in our judgement, is to leave lost output out of S. The example above omits it for simplicity. A plant that loses output during changeovers should add that cost to S, otherwise S is too low and batches come out too small.
  • Using the order-quantity formula for your own production. In the example it gives 3,944 instead of 4,157, about 5% too small.
  • Ignoring the caps. A calculated batch that outlasts shelf life or overfills the vessel is not a batch you can run.
  • Never re-running the number. The best batch moves with 1 ÷ √H, so a 20% rise in holding cost cuts it by about 9%. Re-run the formula whenever your interest or storage cost changes.

How do you work out your own batch size in six steps?

Fill five inputs from your own records, calculate the EPQ, cap it, round to a practical size and price the result. Each step below has a pass test you can run.

  1. 1
    Cost one changeover (S).
    Add the hours from the last good unit of the old product to the first good unit of the new one, multiplied by labour plus machine cost per hour, plus cleaning materials and first-pass check samples. Pass: S is built from logged times for at least your last five changeovers, and every line is traceable. Fail: a round number nobody can trace.
  2. 2
    Set holding cost per unit per year (H).

    Multiply unit cost by your annual holding rate. The rate covers interest on the cash tied up, storage, insurance and spoilage. Build yours using inventory carrying cost. Pass: the rate has at least an interest line and a storage line with your own numbers. Fail: copying the 18% from the example.

  3. 3
    Get d and p in the same unit.

    d is annual demand divided by working days. p is realistic daily output including stoppages, not nameplate speed. Pass: p is larger than d. If p is not larger, the formula has no answer: you are capacity-limited, so plan around capacity first (production planning and control).

  4. 4
    Calculate the batch.
    Use the spreadsheet block below.
  5. 5
    Cap it.

    The batch must pass three tests:

    • Shelf life: Q ÷ d, the days to sell a batch, is shorter than the shelf-life days left after dispatch and transit.
    • Equipment: Q fits whole loads of your oven, vessel or tray.
    • Supplier minimums: the raw material for one batch can be bought in your supplier's order sizes.

    Pass: all three hold. If a cap binds, use the cap.

  6. 6
    Price the practical size.
    Put the capped figure in the annual-cost formula. Pass: you know how much the cap costs against the EPQ. If that gap is large, work out whether a smaller changeover or a bigger vessel pays back.
B1  Annual demand D (units)          24000
B2  Setup cost per run S (₹)         3500
B3  Holding cost H (₹/unit/year)     10.80
B4  Daily demand d (units/day)       =B1/240
B5  Daily output p (units/day)       1000
B6  Best batch Q                     =SQRT(2*B1*B2/(B3*(1-B4/B5)))
B7  Practical batch (your choice)    3000
B8  Annual cost at B7 (₹)            =B1/B7*B2+B7*(1-B4/B5)/2*B3

How do you keep each batch traceable once it is made?

Record the product's bill of materials (BOM, the list of materials in one unit), run production against it, and carry one batch number from raw material to finished stock. In Arka Inventory we keep those steps in one place, so a batch you sized above is a batch you can follow.

One bulk run often fills several pack sizes. Treat the bulk run as the batch, and give each pack-size lot the bulk batch number as its parent. A complaint about a one-litre can then leads back to the bulk run and the materials used. If one order is made in chunks, give each chunk its own batch number.

Here is what we offer for this:

  • Bills of materials: standard and order-based, with an availability check of stock against the BOM before you plan the run. See bill of materials software.
  • Production tracking: tracking of the materials used for a particular production batch, with visibility of production cost and work in progress, across manufacturing set-ups from process to discrete.
  • Lot tracking: tracking of inventory by batch and expiry date. See lot and serial tracking.
  • Plans: as of November 2026, the Advance plan, which includes bills of materials and production, costs $499 a month billed annually; lot and serial tracking needs the Enterprise plan, which is custom priced (pricing page).

To turn batch cost into a cost per unit, build the schedule in cost of goods manufactured.

We offer a 15-day free trial with full access to all features and no credit card. Setup typically takes at least two weeks, depending on how ready your inventory, product and warehouse data is. Get started on our contact sales page.

A warehouse supervisor in India checks a carton on a pallet of finished goods against a tablet while other pallets sit in rows behind.
A batch stays followable when its stock is checked back to the run that made it.

Talk to our team

Leave your details and we'll get back to you.

Frequently asked questions

The three main costs are changeover downtime between runs, stock held between runs, and the risk that one fault spoils a whole batch. Sizing batches from your own changeover and holding costs, and giving each batch its own number, limits all three.
Paint, beer, bakery goods, soaps and tablets are typical examples. The product repeats, one run makes a fixed quantity, and the equipment is cleaned before the next product. Anything made in vessels, ovens or moulds in a set load fits.

In many plants the two terms mean the same thing: a group of units made together under the same conditions. Choose one term, assign one number per production run, and keep it on every pack so any unit traces back to its run. For more, see lot number vs batch number.

Yes. Make the order in chunks and give each chunk its own batch number, so each can be traced and recalled alone. The reverse also works: one bulk batch can fill several pack sizes, each pack lot carrying the bulk batch number as its parent.
Nearly. The production version adds the factor 1 minus daily demand over daily output, because stock builds while you are still producing. In our worked example, that gives a slightly larger best batch than the order-quantity formula.

Sources

  1. 1.Economic batch quantity, Wikipedia
  2. 2.Economic Production Quantity (EPQ), MBA Skool
  3. 3.Manufacturing, Arka Inventory
  4. 4.Pricing, Arka Inventory
  5. 5.Our own working: the ₹ example and the sensitivity figures. All inputs in the example are illustrative.

Keep reading

Arka Inventory.

© 2026 Arka Inventory

Powered by PageLens.ai

Get in touch — we'd love to help.

Request a Demo