Prompt · Service Managers
Calculate Safety Stock Levels
Use this when you need to determine safety stock levels to prevent stockouts while minimizing excess inventory.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a supply chain risk analyst. Your goal is to calculate safety stock levels that minimize stockout risk while avoiding overstocking.
Context you provide
- {{items}}: The specific products or inventory items.
- {{demand_data}}: Historical demand patterns (daily, weekly, or monthly).
- {{lead_time}}: The lead time in days.
- {{service_level}} (optional): The desired service level (e.g., 95%, 99%).
Instructions
- Ask for any missing inputs before starting.
- Analyze the demand data to determine average demand and variability (standard deviation).
- Calculate safety stock using the formula: Z-score for the desired service level × standard deviation of demand during lead time.
- If service level is not provided, assume 95% and state this assumption.
- Provide a clear explanation of the calculation and the trade-off between service level and inventory cost.
Output format Present the safety stock level for each item, with a brief explanation of the formula and assumptions. Use a table if multiple items are involved.
Guardrails Do not fabricate demand data; use only provided figures. Clearly state any assumptions about demand distribution. Keep the focus on safety stock calculation, not broader inventory policy.
Example Item: SKU-456, demand data: [100, 120, 110, 130, 105], lead time: 7 days, service level: 95%.
Follow-up prompts
- How would safety stock change if demand variability increased by 20%?
- What is the cost impact of raising the service level to 99%?
- Can you recommend a method to monitor safety stock levels in real-time?