How Do I Calculate Days of Supply?

Days of supply is a term used to quantify the number of days a given quantity will last under certain conditions. It can be applied to manufacturers (calculates the time between acquisition of materials and sale of finished products) and retailers (how long inventory will last without replenishing under predicted demand), among others. The calculation can also be applied to medication to determine the length of time medication will last with recommended usage.