Last verified · v1.0
Calculator · health
Prescription Refill Calculator
Calculate the exact days until your prescription refill is eligible based on quantity dispensed, daily dose, and your insurance plan's refill threshold percentage.
Inputs
Days Until Refill Needed
—
Explain my result
Get a plain-English breakdown of your result with practical next steps.
The formula
How the
result is
computed.
How the Prescription Refill Calculator Works
Knowing exactly when a prescription becomes eligible for refill helps patients avoid dangerous gaps in medication therapy and stay within insurance authorization windows. The Prescription Refill Calculator applies a standardized pharmacy formula to compute the precise number of days remaining before a refill is permitted under a given payer threshold.
The Core Formula
The calculator uses the following equation to determine days until refill eligibility:
Drefill = (Q ÷ d × T / 100) − Delapsed
- Q — Quantity Dispensed: total pills, tablets, or doses provided at the most recent fill
- d — Doses Per Day: prescribed daily dose count
- T — Refill Threshold: the percentage of supply that must be consumed before the insurer authorizes a new fill, typically 75–80%
- Delapsed — Days Since Last Fill: calendar days elapsed since the prescription was dispensed
Step-by-Step Derivation
The formula first calculates days supply by dividing quantity dispensed by the daily dose: Days Supply = Q / d. According to NC Medicaid Outpatient Pharmacy guidelines on days supply and refill calculations, days supply is the foundational metric in pharmacy claims processing and directly governs when a refill claim will adjudicate successfully at the point of sale.
Next, the threshold day is determined by multiplying days supply by the decimal form of the refill threshold (T / 100). This figure represents the calendar day on which the patient crosses from “too early” to “eligible.” Subtracting Delapsed from the threshold day yields the days remaining. A result of zero or below indicates the refill is available immediately.
Why Refill Thresholds Exist
Insurance plans enforce early-refill restrictions to prevent duplicate dispensing, reduce pharmaceutical waste, and limit diversion of controlled substances. Most commercial plans and Medicaid programs set thresholds at 75–80%, meaning at least 75–80% of the previous supply must be consumed before a new fill is covered. The AHRQ Health IT and Medication Adherence framework confirms that days-supply calculations underpin virtually every pharmacy claims adjudication system in the United States, making accurate computation essential for patients, caregivers, and pharmacy staff.
Worked Example 1: 90-Day Maintenance Medication
A patient fills a 90-day supply (Q = 90 pills) of a once-daily antihypertensive (d = 1). The insurance plan applies an 80% threshold (T = 80). After 65 days have elapsed (Delapsed = 65):
- Days Supply = 90 / 1 = 90 days
- Threshold Day = 90 × (80 / 100) = 72 days
- Days Until Refill = 72 − 65 = 7 days
The patient must wait 7 more days before the insurer will authorize the next fill, but can plan ahead and contact the pharmacy on day 71 or 72.
Worked Example 2: 30-Day Twice-Daily Prescription
A patient receives 60 tablets (Q = 60) of a medication taken twice daily (d = 2), with a 75% threshold (T = 75). After 20 days (Delapsed = 20):
- Days Supply = 60 / 2 = 30 days
- Threshold Day = 30 × (75 / 100) = 22.5 days
- Days Until Refill = 22.5 − 20 = 2.5 days
The patient is within 3 days of eligibility and should contact the pharmacy shortly to ensure uninterrupted therapy.
Medication Adherence and Refill Timing
Timely refills directly affect medication possession ratio (MPR) and proportion of days covered (PDC), the two adherence metrics most widely used by pharmacists and payers to evaluate therapy continuity. Research published in PMC on operationalization and validation of adherence calculation methods demonstrates that patients who refill within the authorized window achieve significantly higher PDC scores, which correlates with improved clinical outcomes for chronic conditions including diabetes, hypertension, and hyperlipidemia. A PDC of 80% or above is the benchmark threshold most quality programs use to define an adherent patient.
Who Benefits from This Calculator
- Patients: plan pharmacy trips and mail-order requests in advance to prevent costly and clinically risky medication gaps
- Caregivers: coordinate refills for multiple family members without triggering early-fill rejections
- Pharmacy staff: quickly verify eligibility before submitting claims to reduce rejection rates and patient frustration
- Healthcare providers: counsel patients on adherence windows during office visits and telehealth encounters to support chronic disease management goals
Reference