Skip to main content
Calcimator

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.

Inputs

days
days

Results

Adherence Rate

89.3%

Days of Missed Doses

3 days

Pills Taken25
Expected Pills Taken28
Missed Pills3
How to Use This Calculator
  1. Enter the number of Pills Dispensed from your most recent prescription fill.
  2. Count and enter the Pills Remaining in the bottle right now.
  3. Enter Days Since Refill — how many days have passed since you picked up this prescription.
  4. Enter the Days Supply — how many days the prescription is intended to last.
  5. 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 RefillAdherence RateDays of Missed Doses
14100%0 days
21100%0 days
4259.5%17 days
7035.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

  1. Identify Input Parameters
    4 parameters
    Pills Dispensed = 30, Pills Remaining = 5, Days Since Refill = 28, Days Supply = 30 = 4 input(s) provided
  2. Calculate Adherence Rate
    Adherence Rate
    89.3 = 89.3%
  3. Calculate Days of Missed Doses
    Days of Missed Doses
    3 = 3
  4. Calculate Pills Taken
    Pills Taken
    25 = 25
  5. Calculate Expected Pills Taken
    Expected Pills Taken
    28 = 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.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Medical & Clinical.