Medication Adherence Calculator
Calculate your medication compliance rate by tracking pills dispensed vs pills remaining over time.
About this calculator
Medication adherence -- taking a prescribed medication as directed -- is commonly tracked in pharmacy and clinical settings using pill counts rather than self-report, because patients tend to overestimate how consistently they've taken a medication. This calculator uses a simple pill-count method: it compares how many pills you should have taken by now (based on the days supply and days since your last refill) against how many pills are actually missing from the bottle (dispensed minus remaining). The ratio of pills actually taken to pills expected to have been taken, expressed as a percentage and capped at 100%, is your adherence rate.
Clinical research on chronic disease medications commonly treats an adherence rate at or above 80% as the threshold associated with meaningfully better treatment outcomes, though the exact cutoff that matters varies by drug class and condition. The calculator also converts your missed pill count into missed days of therapy, which is often a more actionable number to discuss with a pharmacist or prescriber than a percentage alone -- "you've missed roughly four days of doses" is easier to act on than "your adherence is 87%." Pill-count adherence has real limitations: it can't detect pills that were taken out of the bottle but not actually swallowed, doesn't account for dose-timing problems within a day, and assumes the days-supply and refill-date figures you enter are accurate.
Medical Disclaimer
This calculator is for informational and educational purposes only. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider before making decisions about your health. Never disregard professional medical advice or delay seeking it because of results from this tool.
Inputs
Results
Adherence Rate
89.3%
Days of Missed Doses
3 days
How to Use This Calculator
- Enter the number of Pills Dispensed from your most recent prescription fill.
- Count and enter the Pills Remaining in the bottle right now.
- Enter Days Since Refill — how many days have passed since you picked up this prescription.
- Enter the Days Supply — how many days the prescription is intended to last.
- Review your Adherence Rate (%), Pills Taken vs Expected, and Days of Missed Doses to identify patterns and discuss with your pharmacist or healthcare provider.
How the result changes with Days Since Refill
| Days Since Refill | Adherence Rate | Days of Missed Doses |
|---|---|---|
| 14 | 100% | 0 days |
| 21 | 100% | 0 days |
| 42 | 59.5% | 17 days |
| 70 | 35.7% | 45 days |
What each input means
- Pills Dispensed
- Total number of pills dispensed in your prescription.
- Pills Remaining
- Number of pills currently remaining in the bottle.
- Days Since Refill
- Number of days since you picked up this prescription.
- Days Supply
- Number of days the prescription is intended to last.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersPills Dispensed = 30, Pills Remaining = 5, Days Since Refill = 28, Days Supply = 30 = 4 input(s) provided
- Calculate Adherence RateAdherence Rate89.3 = 89.3%
- Calculate Days of Missed DosesDays of Missed Doses3 = 3
- Calculate Pills TakenPills Taken25 = 25
- Calculate Expected Pills TakenExpected Pills Taken28 = 28
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
What counts as good medication adherence?
Clinical studies on chronic disease medications commonly use 80% as the threshold above which adherence is associated with meaningfully better outcomes, though the clinically important cutoff varies by drug and condition -- some medications, like certain HIV antiretrovirals, need adherence well above 90% to stay effective, while others have more forgiving margins.
How does this calculator know how many pills I've taken?
It doesn't observe you directly -- it infers pills taken by subtracting the pills currently remaining in the bottle from the pills originally dispensed. That pill-count method is a standard adherence-tracking approach in pharmacy practice, but it can't tell whether a missing pill was actually swallowed versus lost, split, or discarded.
Why does the calculator show missed doses in days instead of just pills?
A day-based figure is usually easier to act on in conversation with a pharmacist or prescriber than a raw pill count or percentage -- "about four days of missed doses" points directly at a pattern (a forgotten weekend dose, a delayed refill) in a way that "3 missed pills" or "89% adherent" does not by itself.
What should I do if my adherence rate comes out low?
A low adherence rate is worth discussing with your pharmacist or prescriber rather than acting on alone -- common causes include cost, side effects, a complex dosing schedule, or simply forgetting, and each has different fixes, from switching to a once-daily formulation to setting up a pill organizer or refill reminders.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Medication Cost Per Day Calculator
Calculate the daily, weekly, monthly, and annual cost of your medication regimen across up to three medications.
PharmacyHalf-Life Washout Calculator
Calculate the time required for a medication to be effectively cleared from your system (below 5% of steady-state levels), accounting for how many days you were at steady state before stopping.
PharmacyPill Splitting Savings Calculator
Calculate potential cost savings from splitting higher-dose tablets in half instead of purchasing lower-dose pills.
More in Medical & Clinical.