Supply Meets Demand: Inventory Optimization, Explained

UPI Study › Courses › Quantitative Analysis › Free lessons › Lesson 4.3 Free with a free account

Supply Meets Demand: Inventory Optimization

Quantitative Analysis · Chapter 4: Inventory Management and QueuingSection 4.3 · lesson 14 of 5512 min · free with a free account

← The True Cost of Keeping StockNext lesson: Inventory Control Systems →

Earn 3 college credits for Quantitative AnalysisRecommended for credit by NCCRS · Math 250 · self-paced · one payment, lifetime access

In this lesson

The Economic Order Quantity model, its extensions, and the reorder point that goes with it.

  • Derive EOQ from the ordering-cost and holding-cost trade-off
  • State the five assumptions the basic model rests on
  • Extend EOQ to gradual production, quantity discounts and backorders
  • Set a reorder point and size safety stock for a chosen service level

Transcript

Everything said in the video, section by section (1,877 words). Read along, or search it.

Inventory Management and Queuing · Section 4.3

Supply Meets Demand

Inventory is money standing still. Every unit on a shelf is cash you have already spent, waiting to be sold. So the obvious move is to hold as little as possible. But that is wrong too. Order in small batches, and you pay to place orders again and again. You also risk running out, which costs you the sale. This section finds the order quantity that sits between those two mistakes. It is called the Economic Order Quantity, or E O Q. We derive it from the cost trade-off, then relax its assumptions one at a time. Gradual production, quantity discounts, planned backorders, and uncertain demand. Then we work a full numerical example, from parameters to a final decision.

The Inventory Problem

Why Too Much and Too Little Both Cost Money

Inventory exists because supply and demand are rarely synchronised. Goods arrive in batches; customers arrive one at a time. Order too much, and you pay to store goods you do not need yet. Order too little, and you pay for constant reordering, and you risk a stockout. The goal is the quantity that minimises total cost at an acceptable service level. The classical model rests on five simplifying assumptions. Demand is constant and known, at D units per year, and replenishment is instantaneous. No stockouts are permitted, so orders land exactly when inventory hits zero. Each order costs a fixed amount S, whatever its size. And each unit in stock costs a constant amount h, per unit per year. Under those rules inventory traces a perfect sawtooth. It jumps to Q when the order lands, then falls in a straight line to zero. None of that holds exactly. Every one of the five is relaxed later on.

The Cost Trade-off

Two Costs Pulling in Opposite Directions

Annual inventory cost splits into two components that fight each other. Ordering cost is D over Q, times S. Annual demand divided by order size gives the number of orders; multiply by the cost per order. That rises as Q gets smaller, because you order more often. Holding cost is Q over two, times h. Under the sawtooth, average inventory is half the order quantity, and each unit costs h to hold. That one rises as Q gets larger. One curve falls, the other rises, so their sum has a minimum. Calculus puts that minimum exactly where the two components are equal. Set them equal, solve for Q, and out drops the E O Q: the square root of two D S over h. That equality is also a free check. If ordering and holding cost do not match at your answer, your answer is wrong.

Companion Formulas

Three Numbers That Follow Immediately

Once you know Q star, three more numbers follow almost for free. Cycle time, T star, is Q star divided by D. That is the gap between consecutive orders, in years; multiply by three hundred and sixty-five for days. Number of orders per year, N star, is D divided by Q star. It is simply the reciprocal of the cycle time. Minimum total cost, T C star, is the square root of two D S h. Look at what is inside that root: demand, ordering cost, and holding cost. There is no purchase price in it at all. That is deliberate. If the price is fixed, buying D units a year costs the same whatever the batch size. Purchase price only matters when it depends on order size, which is the discount case, coming next.

Two Extensions

EOQ Times an Adjustment Factor

The basic model assumes an idealised world, and real operations rarely match it. Two of the standard extensions keep the square root intact, and simply multiply it by a correction factor. First, the Economic Production Quantity, or E P Q. Here stock is produced gradually rather than delivered in one shipment, as on an in-house line. Inventory builds while production runs, and depletes only after the run ends. Let p be the production rate and d the demand rate, with p greater than d. The batch size is the basic E O Q, times the square root of p over p minus d. Check the limits. As p grows very large, production is effectively instant, and the factor goes to one. As d creeps towards p, the factor grows without bound; production that barely keeps pace needs enormous batches. Second, backorders, for when customers are willing to wait. The firm pays a backorder cost b per unit per year of waiting, and now decides two things: the order quantity, and the maximum backorder level. Order quantity becomes the basic E O Q, times the square root of h plus b, over b. And as b grows very large, waiting is effectively forbidden, and you are back to plain E O Q.

Quantity Discounts

When the Price Depends on the Order Size

Suppliers often cut the unit price for larger orders. That turns a two-way trade-off into a three-way one: ordering, holding, and purchase cost. The procedure is mechanical, and worth memorising. Step one. For each price tier, compute the E O Q using that tier's holding cost. Holding cost is often quoted as a percentage of unit price, so each tier has its own h. Step two. Check feasibility. Is that tier's E O Q actually inside that tier's quantity range? If it is not, use the nearest boundary quantity for that tier instead. Step three. Compute total annual cost at every feasible candidate. Ordering, plus holding, plus purchase, where purchase is D times the price at that tier. Step four. Take the candidate with the lowest total annual cost. Step two is where most mistakes happen. An E O Q outside its own tier is not a real option.

When To Order

Reorder Point and Safety Stock

E O Q answers how much to order. It says nothing at all about when. Suppliers do not deliver instantly, so orders must be triggered while stock is still on hand. You need enough left to cover demand through the supplier's lead time. That trigger level is the reorder point. Under certainty it is simple: daily demand d, times lead time L. That is just demand during the lead time, expressed in units. In practice, demand during the lead time wobbles. A random spike while you are waiting on a delivery is exactly how stockouts happen. So firms carry a buffer, called safety stock, equal to z times sigma d L. Sigma d L is the standard deviation of demand during the lead time. And z is the service-level score, read from the standard normal table. The reorder point then becomes d times L, plus safety stock, and the buffer absorbs the spike.

Service Level

A Managerial Choice, Not a Formula

Service level is a managerial choice, not a calculation. It is the probability that demand during the lead time does not exceed the stock on hand. Ninety per cent uses a z of one point two eight; ninety-five per cent needs one point six five. Ninety-seven point five per cent needs one point nine six, and ninety-nine per cent needs two point three three. Ninety-nine point nine per cent needs three point zero nine. Safety stock is proportional to z, so those scores translate straight into cost. Against a ninety per cent baseline, ninety-five per cent costs twenty-nine per cent more safety stock. Ninety-seven point five costs fifty-three per cent more, and ninety-nine per cent costs eighty-two per cent more. Ninety-nine point nine costs a hundred and forty-one per cent more. Look at that last step: going from ninety-nine to ninety-nine point nine adds fifty-nine percentage points. That is the diminishing return. Most firms sit between ninety-five and ninety-nine, saving the extremes for critical or high-margin items.

Worked Example

A Fast-Moving SKU, Step by Step

Now to the numbers. A regional distributor sells a fast-moving item. Annual demand is twelve thousand units. Each order costs one hundred and fifty dollars to place. Holding costs four dollars per unit per year. The firm works three hundred days a year, and the supplier's lead time is ten days. Step one is the E O Q itself. Two, times twelve thousand, times one hundred and fifty, is three million six hundred thousand. Divide by the holding cost of four, and you get nine hundred thousand. The square root of nine hundred thousand is about nine hundred and forty-nine units. Step two. Orders per year is annual demand divided by that quantity. Twelve thousand over nine hundred and forty-nine is about twelve point six five orders a year.

Worked Example

Cycle Time, Reorder Point, Minimum Cost

Step three. Cycle time is the working year divided by the number of orders. Three hundred days over twelve point six five is about twenty-three point seven days. So roughly one order every twenty-four working days. Step four. The reorder point, with no uncertainty yet. Daily demand is twelve thousand over three hundred days, which is forty units a day. Lead time is ten days, so demand during the lead time is four hundred units. The distributor reorders the moment stock on hand falls to four hundred. Step five. Minimum total cost. Two, times twelve thousand, times one hundred and fifty, times four, is fourteen million four hundred thousand. Its square root is about three thousand seven hundred and ninety-five dollars a year. And here is the promised check. Ordering and holding cost are each about eighteen hundred and ninety-seven dollars, and they add to that same total.

Taking The Discount

Does a Lower Price Justify a Bigger Order?

Now the supplier offers a discount for bulk. Below five hundred units the price is ten dollars each; at five hundred or more, nine dollars fifty. Demand, ordering cost and holding cost are all unchanged. Step one. The unconstrained E O Q is still nine hundred and forty-nine units. That is above five hundred, so it sits in Tier two and is feasible at the lower price. Step two. What is the best we can do inside Tier one? Total cost is convex, and it rises as you move away from the E O Q. So the best feasible Tier one quantity is the boundary itself, four hundred and ninety-nine units. Step three. Cost both candidates in full, purchase price included. Tier one totals about one hundred and twenty-four thousand, six hundred and five dollars. Tier two totals about one hundred and seventeen thousand, seven hundred and ninety-five dollars. So Tier two wins by roughly six thousand eight hundred and ten dollars a year. Sanity check the direction. Saving fifty cents a unit on twelve thousand units is six thousand dollars of purchase savings. That more than offsets the higher cost of carrying a larger average inventory. The numbers confirm the intuition.

Pitfalls And Summary

What EOQ Gets Right, and Where It Bites

Five things to carry out of this section. First, E O Q is surprisingly robust, because the total cost curve is flat near its minimum. Ordering twenty or thirty per cent away from it costs very little, so do not chase the third decimal place. Second, holding cost is almost always understated. It covers capital cost, warehousing, insurance, obsolescence and shrinkage, not just the rent on the shelf. Third, ordering cost is not just paperwork. Receiving, inspection, setup and accounting are each genuinely fixed per order. Fourth, E O Q assumes a stable world. For seasonal goods, new products, or an item in a price war, use a dynamic model, or recalculate far more often. Fifth, quantity discounts can mislead. A discount only pays if it survives the extra carrying cost of a bigger average inventory. How much comes from the square root formula; when comes from the reorder point; and how much buffer is a service-level choice you pay for.

About Quantitative Analysis at UPI Study

Quantitative Analysis (Math 250) is a self-paced online course of 55 video lessons in 13 chapters, from decision analysis and simulation to inventory and queuing models, project scheduling, linear programming and transportation models. It carries a NCCRS credit recommendation for 3 semester credits.

Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Compare: Statistics vs Quantitative Analysis

Why take it here

Why students take Quantitative Analysis with UPI Study

Decide with numbersQuantitative Analysis teaches the models managers use to decide under uncertainty: decision trees, simulation, inventory and queuing models, project scheduling and linear programming. It is part of many business, management, operations and supply-chain programs.
Credit at a fraction of the priceThe same 3 credits can cost $750 or more at a US college. Here it is one payment, self-paced, with lifetime access.
Finish your degree soonerTransfer credits reduce the courses you still owe, so you can graduate earlier or lighten a heavy semester.
Strengthen an applicationA completed college-level course on an official transcript shows admissions and scholarship committees you can do the work.
Study on your own scheduleNo start dates, no deadlines. Watch the lessons, practice, and take the final when you are ready.
130,000+students helped with college creditsACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Where the credit goes

Universities that work with NCCRS

Quantitative Analysis carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.

FAQ

Questions students ask us

About Supply Meets Demand: Inventory Optimization

What is the Economic Order Quantity (EOQ) formula?
The EOQ is Q^* = \sqrt{2DS/h}, where D is annual demand, S is the cost per order and h is the annual holding cost per unit. It minimizes ordering cost (D/Q)S plus holding cost (Q/2)h, and at the optimum those two costs are equal. With D = 12{,}000, S = $150 and h = $4, Q^* = \sqrt{900{,}000} \approx 949 units.
What assumptions does the basic EOQ model make?
The basic EOQ model assumes demand is constant and known, replenishment arrives instantly, no stockouts are allowed, each order costs a fixed amount regardless of size, and holding cost per unit per year is constant. Inventory then follows a sawtooth pattern, averaging half the order quantity. Real operations rarely meet these conditions, so extensions handle gradual production, quantity discounts, backorders and uncertain demand.
How do you calculate the reorder point and safety stock?
Under certain demand, the reorder point is daily demand times lead time; at 40 units a day and a 10-day lead time, reorder at 400 units. With uncertain demand, add safety stock of z \, \sigma_{dL}, where \sigma_{dL} is the standard deviation of lead-time demand and z comes from the chosen service level, such as 1.65 for 95 percent. Higher service levels need disproportionately more safety stock.
How do you decide whether a quantity discount is worth taking?
For each price tier, compute the EOQ, move it to the nearest tier boundary if it falls outside that tier's range, then compare total annual cost including purchase cost. With 12,000 units a year, a $150 order cost and $4 holding cost, ordering 949 units at $9.50 costs about $117,795, versus about $124,605 for 499 units at $10, so the discount saves roughly $6,810 a year.

About the Quantitative Analysis course

How many college credits is Quantitative Analysis?
Quantitative Analysis (Math 250) carries a NCCRS credit recommendation for 3 semester credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
How much does Quantitative Analysis cost and what is included?
$250, paid once, with lifetime access: all 55 video lessons, a practice quiz after each, the graded work and final exam, and an official transcript when you finish. Students who want several courses choose UPI Study PRO instead.
Which universities accept UPI Study credits?
UPI Study has signed partner agreements with universities such as Thomas Edison State University, University of the People and Charter Oak State College, and works with universities such as Penn State, SNHU and SUNY. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Use "Find my college" on this page to check yours.
How long does Quantitative Analysis take?
It is self-paced with no deadlines. The 55 lessons total about 11 hours of video; most students add reading and practice time and finish in a few weeks to a few months, on their own schedule.
How are the exams done?
Quizzes and assignments are online in the course. The final exam is taken online with proctoring; a person on the UPI Study team checks assignments, usually within two days.
How do my credits reach my college?
When the course shows 100% complete, request the official transcript from your dashboard. It is sent to the college you name, and you can send it to more than one. Check your college first with "Find my college" on this page, or ask Athena.

Ready for the full course? Earn 3 credits in Quantitative Analysis.

55 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.

Quantitative Analysis
3 credits · NCCRS
Enroll →