Calculate medication days supply from quantity, dose and times per day, see how many pills you should have left, or plan the next refill date.

Use the prescribed directions. Arithmetic only; it does not recommend a dose or establish refill eligibility.

Fractions work, e.g. 1/2 for half a tablet.

Optional settings

Calculator Functions

FunctionWhat it doesWhat it requires
Days supplyFinds how many days a dispensed quantity lasts at the prescribed directionsRequires the quantity dispensed, the amount per administration and the administrations per day
Quantity neededFinds the quantity that covers a set number of daysRequires the days supply, the amount per administration and the administrations per day
Reconcile amount per administrationFinds the amount per administration that matches a quantity, a duration and a frequencyRequires the quantity dispensed, the days supply and the administrations per day
Reconcile administrations per dayFinds the administrations per day that match a quantity, a duration and an amount per administrationRequires the quantity dispensed, the days supply and the amount per administration
Expected amount leftFinds how much should be left on a count date if every dose was taken as scheduledRequires the quantity dispensed, the amount per administration, the administrations per day, the fill or start date, the count date and the count time
Refill planning datesFinds the last covered day and the date the next supply would startRequires the fill or start date and a whole number of days supply
Insulin coverageFinds how many days a number of insulin vials or pens lasts, allowing for priming and the in-use limitRequires the number of containers, the container volume, the labeled concentration, the prescribed daily units, the injections per day, the priming units per injection, the containers opened at once and the labeled in-use limit
Inhaler coverageFinds how many days a number of inhalers lastsRequires the number of inhalers, the available actuations per inhaler, the actuations per administration and the administrations per day

The first five functions label the quantity and the amount per administration as tablets, capsules, puffs, drops, mL or units. Both must be in the same unit. Amounts accept fractions such as 1/2 for half a tablet. Expected amount left has an optional field for the actual amount on hand, and Refill planning dates has an optional early planning allowance in days. Every function is arithmetic on the entered directions. None of them recommends a dose or shows that a refill is allowed.

Medication Days Supply Formulas

DS = Q ÷ (D × F) [1]
DSDays supply (days)
QQuantity dispensed
DAmount per administration, in the same unit as Q
FAdministrations per day

Days supply

The quantity is divided by the daily use, which is the amount per administration times the administrations per day [1]. A fill of 120 tablets taken 1 tablet 3 times a day lasts 120 ÷ (1 × 3) = 40 days. The result is also shown in weeks and in 30-day months, so 40 days is 5.7143 weeks or 1.3333 months.

A medication that is not taken every day uses a fraction for the administrations per day. Every other day is 1/2, so 15 tablets last 30 days. Three times a week is 3/7, so 36 tablets last 84 days. This matches the pharmacy rule of multiplying the number of doses by the days between doses [1]. For an as-needed prescription, pharmacy billing guidance uses the maximum allowed doses per day [1].

Quantity needed

Q = DS × D × F [1]

Two tablets twice a day for 30 days is 30 × 2 × 2 = 120 tablets.

Reconcile amount per administration

D = Q ÷ DS ÷ F

This is the main formula solved for the amount per administration. It is a check on a claim or label: 90 tablets billed as a 30-day supply at 2 administrations a day works out to 1.5 tablets each time. If that is not what the directions say, the quantity or the days supply is off. It is not a dosing recommendation.

Reconcile administrations per day

F = Q ÷ DS ÷ D

The same check for frequency: 90 tablets over 30 days at 1 tablet each time is 3 administrations per day.

Expected amount left

Left = Q − n × D × F

n is the number of days of scheduled use: the days from the fill or start date to the count date, plus one when the count is taken at the end of the day, after the doses for that day. For 60 tablets taken 1 tablet twice a day from November 1, a count at the start of November 12 covers 11 days, so 60 − 11 × 2 = 38 tablets should be left, enough for 19 more days. At the end of November 12 the answer is 36. The result never goes below zero. If the schedule would have used more than the quantity, the difference is listed as a shortfall. When an actual amount on hand is entered, the result adds actual minus expected: 30 on hand against 36 expected is −6 tablets.

Refill planning dates

Next date = Start + DS

The start date counts as the first covered day, so the last covered day is one day before the next date. A 30-day supply that starts on November 1, 2026 covers through November 30, and the next supply starts on December 1. An early planning allowance is subtracted from the next date: 5 days gives November 26.

Insulin coverage

Days = N × V × C ÷
(U + I × P)

N is the number of containers, V is the container volume in mL, C is the concentration in units/mL, U is the prescribed units per day, I is the injections per day and P is the priming units per injection. Five 3 mL pens of U-100 insulin hold 5 × 3 × 100 = 1,500 units. At 40 units a day in one injection with a 2 unit prime, the daily use is 42 units and the supply lasts 1,500 ÷ 42 = 35.7 days.

The in-use limit then caps each container, or each group of containers opened together, at the number of days the label allows after first use. One 10 mL vial of U-100 holds 1,000 units, which is 50 days at 20 units a day, but with a 28-day in-use limit the coverage is 28 days.

Inhaler coverage

Days = N × A ÷ (p × F) [2]

N is the number of inhalers, A is the available actuations per inhaler, p is the actuations per administration and F is the administrations per day. The total actuations dispensed are divided by the actuations needed each day [2]. One 200-actuation inhaler used 2 puffs 4 times a day lasts 200 ÷ 8 = 25 days.

Limits of This Estimate

  • Every function assumes one constant schedule. Tapers, titrations and doses that change during the fill need each step worked out separately.
  • The result is arithmetic on the entered directions. It does not recommend a dose or a schedule, and a difference between the expected and actual amount does not measure adherence or show misuse.
  • Refill planning dates are calendar dates only. Whether a refill is allowed on a date is decided by the pharmacy, the prescriber and the insurance plan.
  • Insulin coverage uses the priming amount and in-use limit entered from the product label, and assumes each opened group is finished or discarded before the next is opened. It does not cover pump reservoirs. No single published rule sets this method. These estimates are based on the best available data and estimations.

Sources

  1. Centers for Medicare & Medicaid Services, Pharmacy Auditing and Dispensing Job Aid: Billing Oral Products: days supply as quantity divided by doses per day, quantity as doses per day times days, as-needed and non-daily dosing
  2. Centers for Medicare & Medicaid Services, Pharmacy Auditing and Dispensing Job Aid: Billing Other Dosage Forms: days supply for inhalers from total actuations and actuations per day