Prescription Math

Pill Quantity Calculator

A transparent prescription math tool to compute total required doses across 30, 60, 90-day or custom day intervals based on user-entered administration instructions.

Free in-browser tool · 100% private · No account needed

Calculate Total Required Medication Units Instant arithmetic

Estimated Prescription Quantity

--
Total Units Required
--
Daily Consumption
--
Weekly Consumption
Formula: Enter values above to see full arithmetic breakdown.

How to Calculate Total Prescription Pill Quantities

Pharmacies, health insurers, and mail-order prescription services dispense medications in standard intervals—most commonly 30-day, 60-day, or 90-day supplies. Calculating the exact quantity of pills, capsules, or liquid volume ensures your prescription is filled accurately and prevents unexpected shortfalls.

The Prescription Quantity Formula

The mathematical equation used by pharmacy technicians and electronic health record (EHR) systems to compute dispensing quantity is:

Total Dispensing Units = (Units per Dose) × (Doses per Day) × (Prescription Duration in Days)

For example, if a patient is prescribed 2 capsules twice daily for 30 days, the calculation is: 2 × 2 × 30 = 120 capsules.

Standard Prescription Dispensing Reference Table

Refer to this quick reference guide to see typical quantities required for 30-day and 90-day intervals across standard daily dosing regimens:

Frequency & Latin Sig Code Units Per Day 30-Day Supply 60-Day Supply 90-Day Supply
Once Daily (QD / OD) — 1 pill per dose 1 pill/day 30 pills 60 pills 90 pills
Twice Daily (BID) — 1 pill every 12 hours 2 pills/day 60 pills 120 pills 180 pills
Three Times Daily (TID) — 1 pill every 8 hours 3 pills/day 90 pills 180 pills 270 pills
Four Times Daily (QID) — 1 pill every 6 hours 4 pills/day 120 pills 240 pills 360 pills
Twice Daily (BID) — 2 pills per dose 4 pills/day 120 pills 240 pills 360 pills

Common Latin Pharmacy Abbreviations (Sig Codes)

Physicians frequently write dosing frequencies using standard Latin pharmaceutical abbreviations:

  • QD / OD (Quaque Die / Once Daily): Take one dose once every 24 hours.
  • BID (Bis In Die / Twice Daily): Take one dose twice each day, typically morning and evening (spaced approximately 10 to 12 hours apart).
  • TID (Ter In Die / Three Times Daily): Take one dose three times each day, typically with meals (spaced approximately 6 to 8 hours apart).
  • QID (Quater In Die / Four Times Daily): Take one dose four times each day (spaced approximately 4 to 6 hours apart).
  • PRN (Pro Re Nata / As Needed): Take only as needed for specific symptoms (e.g., pain, anxiety, nausea) up to the specified daily maximum.
  • QHS (Quaque Hora Somni / At Bedtime): Take one dose each night before sleeping.

Checking for Dispensing Discrepancies at the Pharmacy

Pharmacy counting errors, though infrequent, do occur. Before leaving the pharmacy counter, inspect the quantity printed on the bottle label against your calculation. For high-cost medications or controlled substances, counting your pills immediately upon receipt ensures any manufacturer short-fills or dispensing errors can be resolved with the dispensing pharmacist.

Frequently Asked Questions

Is this calculation a clinical dosage recommendation?

No. It is a mathematical calculator that multiplies your user-entered units per dose by administrations per day and total days. Always verify prescribed quantities with your pharmacist.

Can I use this for non-pill medications like drops or insulin units?

Yes. The calculation applies universally to tablets, capsules, drops, milliliters, or units consumed on a fixed daily frequency.