Clinics price medication as cost × markup, plus a dispensing fee — with a minimum price floor so small scripts still cover the pharmacy’s time.
The example
$8 cost, 2x markup, $12 fee, $15 min.
| A | B | |
|---|---|---|
| 1 | Item | Value |
| 2 | 8×2 + 12 | $28 |
| 3 | vs $15 min | → $28 |
The formula
The formula:
How it works
How it works:
- Multiply cost by the markup for the product margin.
- Add a dispensing fee — flat per-prescription for the pharmacy’s time.
- MAX(…, minimum) floors the price so small scripts still pay.
- Per-unit meds:
units × (unit_cost × markup) + fee.
The dispensing fee and minimum price protect against the small-script trap. A markup alone on a $2 medication barely covers the staff time to count, label, and counsel — so a flat dispensing fee plus a price floor make every prescription carry its weight. MAX(markup + fee, minimum) handles both: normal scripts price on markup, tiny ones hit the floor.
Try it: interactive demo
Cost, markup, dispensing fee, minimum.
Variations
Margin on the med
Price − cost:
Per-unit pricing
By quantity:
Markup from margin
Target margin:
Pitfalls & errors
Floor the price. MAX with a minimum so small scripts pay.
Fee is per-script. Add the dispensing fee once per prescription.
Markup vs margin. 2x markup is 50% margin — don’t confuse them.
Practice workbook
Frequently asked questions
How do I price medication with a dispensing fee in Excel?
Why add a minimum price?
How do I price per unit?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class