Pharmacy Inventory Forecasting
This dataset provides a comprehensive view of pharmacy inventory, combining historical sales and replenishment data with predictive stock needs for each product and location. It enables pharmacies to optimize inventory levels, reduce stockouts, and improve operational efficiency by leveraging data-driven forecasting. The dataset includes detailed product, supplier, and location information for robust analytics and compliance.
Sample rows
preview · 8 of 200 rows · all 28 columns| inventory_idinteger | pharmacy_countrystring | stock_on_handinteger | is_otcboolean | product_categorystring | pharmacy_idinteger | pharmacy_namestring | pharmacy_street_addressstring | pharmacy_citystring | pharmacy_statestring | pharmacy_postal_codestring | product_idinteger | product_namestring | product_unitstring | batch_numberstring | expiration_datedate | minimum_stock_levelinteger | maximum_stock_levelinteger | historical_sales_quantityinteger | historical_sales_period_startdate | historical_sales_period_enddate | historical_replenishment_quantityinteger | forecasted_stock_needinteger | forecast_period_startdate | forecast_period_enddate | last_replenishment_datedate | supplier_idinteger | supplier_namestring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | USA | 8750 | true | Analgesic | 101 | Central City Pharmacy | 123 Main St | New York | NY | 10001 | 2001 | Acetaminophen Extra Strength | tablet | ACE-21NY | 2025-09-20 | 120 | 12000 | 18300 | 2023-01-01 | 2023-12-31 | 20000 | 9500 | 2024-01-01 | 2024-06-30 | 2024-01-10 | 501 | PharmaDirect Inc. |
| 2 | USA | 450 | true | Supplement | 102 | Riverside Wellness Rx | 45 Riverside Dr | Chicago | IL | 60601 | 2002 | Vitamin D3 2000 IU | bottle | blank | blank | 60 | 700 | 1200 | 2023-02-01 | 2023-12-31 | 1100 | 600 | 2024-01-15 | 2024-07-15 | blank | blank | blank |
| 3 | USA | 55 | false | Antidiabetic | 103 | MountainView Rx | 312 Aspen Rd | Boulder | CO | 80301 | 2003 | Metformin Hydrochloride | tablet | MET-24CO | 2026-01-15 | 10 | 90 | 120 | 2023-03-01 | 2023-12-31 | 130 | 60 | 2024-02-01 | 2024-08-01 | 2024-02-08 | 502 | GlucoseCare Pharma |
| 4 | USA | 2300 | true | Analgesic | 104 | Sunrise Drugs | 19 Sunrise Way | Miami | FL | 33101 | 2004 | Ibuprofen 400mg | tablet | IBU-23FL | 2025-05-22 | 200 | 4000 | 3400 | 2023-04-01 | 2023-12-31 | 3700 | 1700 | 2024-02-10 | 2024-07-30 | 2024-02-15 | 503 | Allergy Relief Labs |
| 5 | UK | 320 | true | Supplement | 105 | Global Pharmacy | 88 King St | London | Greater London | SW1A2AB | 2005 | Omega-3 Fish Oil | box | blank | blank | 40 | 540 | 900 | 2023-01-15 | 2023-12-15 | 850 | 450 | 2024-01-20 | 2024-07-20 | blank | blank | blank |
| 6 | France | 610 | true | Sleep Aid | 106 | Wellness Pharmacy | 11 Rue de l'Église | Paris | Île-de-France | 75008 | 2006 | Melatonin Sleep Aid | box | MEL-22FR | 2025-08-30 | 120 | 1000 | 1400 | 2023-05-01 | 2023-12-31 | 1500 | 700 | 2024-02-05 | 2024-08-05 | 2024-02-10 | 504 | Sleep Solutions Ltd. |
| 7 | USA | 40 | true | Antihypertensive | 107 | ElderCare Pharmacy | 790 Elm St | Phoenix | AZ | 85001 | 2007 | Losartan Potassium | tablet | LOS-25AZ | 2026-02-12 | 10 | 80 | 80 | 2023-06-01 | 2023-12-31 | 85 | 45 | 2024-02-18 | 2024-08-18 | 2024-02-22 | 505 | Hypertension Meds LLC |
| 8 | USA | 97 | false | Thyroid | 108 | MetroMed Pharmacy | 456 Market Blvd | San Francisco | CA | 94103 | 2008 | Levothyroxine Sodium | tablet | LEV-20CA | 2025-11-10 | 22 | 180 | 150 | 2023-07-01 | 2023-12-31 | 160 | 75 | 2024-02-25 | 2024-08-25 | 2024-02-28 | 506 | Thyroid Health Inc. |
| 9 | USA | 180 | false | Lipid-lowering | 109 | Suburban Drugs | 22 Maple Ave | Houston | TX | 77002 | 2009 | Atorvastatin Calcium | tablet | ATO-21TX | 2026-04-19 | 30 | 350 | 320 | 2023-08-01 | 2023-12-31 | 350 | 160 | 2024-03-02 | 2024-08-30 | 2024-03-05 | 507 | HeartCare Pharma |
| 10 | Singapore | 290 | true | Supplement | 110 | PharmaAsia | 22 Orchard Rd | Singapore | Central | 238895 | 2010 | Calcium + Vitamin D | bottle | blank | blank | 40 | 400 | 490 | 2023-09-01 | 2023-12-31 | 470 | 250 | 2024-03-10 | 2024-09-10 | blank | blank | blank |
| 11 | USA | 4400 | true | Analgesic | 111 | Broadway Rx | 98 Broadway | Seattle | WA | 98101 | 2011 | Paracetamol 500mg | tablet | PAR-23WA | 2025-12-13 | 340 | 5000 | 7800 | 2023-10-01 | 2023-12-31 | 8000 | 3900 | 2024-03-15 | 2024-09-15 | 2024-03-17 | 508 | PainAway Pharmaceuticals |
| 12 | USA | 670 | true | Antihistamine | 112 | Harbor Drugs | 5 Harbor St | Boston | MA | 02101 | 2012 | Cetirizine Hydrochloride | tablet | CET-22MA | 2025-07-02 | 85 | 1500 | 1380 | 2023-11-01 | 2023-12-31 | 1450 | 690 | 2024-03-20 | 2024-09-20 | 2024-03-22 | 509 | Allergy Relief Labs |
| 13 | USA | 22 | false | Opioid | 113 | CountrySide Pharmacy | 17 Pine Lane | Des Moines | IA | 50309 | 2013 | Hydrocodone Acetaminophen | tablet | HYD-24IA | 2026-01-30 | 5 | 55 | 40 | 2023-06-01 | 2023-12-31 | 42 | 20 | 2024-02-28 | 2024-08-28 | 2024-03-01 | 510 | Opioid Solutions LLC |
| 14 | UK | 145 | false | Lipid-lowering | 114 | CityLife Drugs | 34 Queen St | Manchester | Greater Manchester | M21AB | 2014 | Simvastatin 20mg | tablet | SIM-23UK | 2025-10-10 | 25 | 250 | 260 | 2023-07-01 | 2023-12-31 | 270 | 130 | 2024-03-05 | 2024-09-05 | 2024-03-08 | 511 | Global Pharma UK |
| 15 | USA | 740 | true | Sleep Aid | 115 | Night Owl Pharmacy | 55 Sunset Blvd | Los Angeles | CA | 90001 | 2015 | Diphenhydramine HCl | tablet | DIP-25CA | 2026-03-01 | 90 | 1200 | 1300 | 2023-08-01 | 2023-12-31 | 1400 | 650 | 2024-03-10 | 2024-09-10 | 2024-03-13 | 512 | Sleep Solutions Ltd. |
| 16 | USA | 180 | true | Supplement | 116 | Sunrise Wellness | 8 Beach Dr | Jacksonville | FL | 32202 | 2016 | Vitamin B12 Complex | box | blank | blank | 25 | 350 | 350 | 2023-05-01 | 2023-12-31 | 370 | 170 | 2024-02-10 | 2024-08-10 | blank | blank | blank |
| 17 | USA | 39 | false | Steroid | 117 | Peak Health Rx | 67 Ridge Rd | Denver | CO | 80203 | 2017 | Prednisone 10mg | tablet | PRE-24CO | 2026-02-24 | 8 | 60 | 70 | 2023-07-01 | 2023-12-31 | 75 | 35 | 2024-03-01 | 2024-09-01 | 2024-03-04 | 513 | SteroidCare Labs |
| 18 | USA | 3200 | true | Analgesic | 118 | GreenLeaf Pharmacy | 202 Oak St | Portland | OR | 97201 | 2018 | Aspirin 325mg | tablet | ASP-24OR | 2025-10-10 | 300 | 4000 | 6900 | 2023-06-01 | 2023-12-31 | 7000 | 3450 | 2024-02-10 | 2024-08-10 | 2024-02-15 | 514 | PainAway Pharmaceuticals |
| 19 | Canada | 1200 | true | Antacid | 119 | PharmaDirect | 23 Robson St | Vancouver | British Columbia | V6B2B7 | 2019 | Omeprazole 20mg | capsule | OME-23CAN | 2025-09-12 | 110 | 1800 | 2300 | 2023-04-01 | 2023-12-31 | 2400 | 1150 | 2024-02-15 | 2024-08-15 | 2024-02-20 | 515 | Digestive Health Inc. |
| 20 | USA | 48 | false | Antidiabetic | 120 | Summit Pharmacy | 9 Alpine Ave | Salt Lake City | UT | 84101 | 2020 | Glipizide ER | tablet | GLI-24UT | 2026-03-22 | 10 | 60 | 90 | 2023-08-01 | 2023-12-31 | 100 | 45 | 2024-03-01 | 2024-09-01 | 2024-03-03 | 516 | Diabetes Solutions Inc. |
What the 200 rows show
from the 200-row sampleSingapore (pharmacy country) stands out: 16 of its 16 rows have is_
- 61%is_
otc = true - 235median stock_
on_ hand - 6product units
- 44pharmacy states
- 59pharmacy cities
- 30median minimum_
stock_ level
Median 235, from 12 to 9,900.
- string 11
- integer 10
- date 6
- boolean 1
Columns
28 columns in four groups| column | type | description | example |
|---|---|---|---|
| Text 11 columns | |||
pharmacy_name | string | Name of the pharmacyup to 100 | Central City Pharmacy |
pharmacy_street_address | string | Street address of the pharmacyup to 150 | 123 Main St |
pharmacy_city | string | City where the pharmacy is locatedup to 50 | New York |
pharmacy_state | string | State or province of the pharmacyup to 50 | NY |
pharmacy_postal_code | string | Postal code of the pharmacyup to 20 | 10001 |
pharmacy_country | string | Country where the pharmacy is locatedup to 50 · 5 countries | USA |
product_name | string | Name of the product or medicationup to 100 | Vitamin D3 2000 IU |
product_category | string | Category of the product (e.g., antibiotic, analgesic, OTC)up to 50 | Analgesic |
product_unit | string | Unit of measurement for the product (e.g., tablet, bottle, box)up to 20 · 6 units | tablet |
batch_number | string | Batch or lot number for the productup to 50 · optional | ACE-21NY |
supplier_name | string | Name of the supplierup to 100 · optional | PharmaDirect Inc. |
| Numbers 10 columns | |||
inventory_id | integer | Unique identifier for each inventory recordunique · 1 or more | 1 |
pharmacy_id | integer | Unique identifier for the pharmacy location1 or more | 101 |
product_id | integer | Unique identifier for the product/medication1 or more | 2001 |
stock_on_hand | integer | Current quantity of product in stock0 or more | 8750 |
minimum_stock_level | integer | Minimum quantity of product to maintain in inventory0 or more | 120 |
maximum_stock_level | integer | Maximum quantity of product to maintain in inventory0 or more · optional | 12000 |
historical_sales_quantity | integer | Total quantity of product sold in the selected historical period0 or more | 18300 |
historical_replenishment_quantity | integer | Total quantity of product replenished in the selected historical period0 or more | 20000 |
forecasted_stock_need | integer | Predicted quantity of product needed for the upcoming period0 or more | 9500 |
supplier_id | integer | Unique identifier for the supplier1 or more · optional | 501 |
| Dates and times 6 columns | |||
expiration_date | date | Expiration date of the product batchoptional | 2025-09-20 |
historical_sales_period_start | date | Start date of the historical sales period | 2023-01-01 |
historical_sales_period_end | date | End date of the historical sales period | 2023-12-31 |
forecast_period_start | date | Start date of the forecasted period | 2024-01-01 |
forecast_period_end | date | End date of the forecasted period | 2024-06-30 |
last_replenishment_date | date | Date of the most recent replenishment for this productoptional | 2024-01-10 |
| True or false 1 column | |||
is_otc | boolean | Indicates if the product is over-the-counter (OTC) | true |
Use it for
A healthcare dashboard
The is_
otc rate, stock_ on_ hand by pharmacy_ country and a breakdown of product_ category. Excel, Power BI or Tableau. Why do 122 of 200 rows have is_
otc = true? A root-cause class exercise
Hand out the rows and one question. The answer is in the data, not in the brief.
- Rows20018750USA2450USA355USA
A software demo
Believable rows with pharmacy_
id, pharmacy_ name and pharmacy_ street_ address to fill a screen in front of a buyer.
blueprint · pharmacy-inventory-forecasting
Behind this dataset
Same schema. As many rows as you need.
These 200 rows came out of a blueprint — 28 columns with generation rules behind each one. Open it in Data Factory to retune a column, add your own, wire in foreign keys, and run it at the size you actually need.
- Track product SKU and expiration dates
- Include sales and restock events
- Flag out-of-stock occurrences
- Account for seasonal demand
1 credit per row. New accounts start with 25 free credits.
- Exports
- CSV, JSON, JSONL, Parquet, SQL, Excel, TSV, XML
- Licence
- yours to use, including commercially
- API slug
- pharmacy-inventory-forecasting