This calculator helps compounding pharmacies determine accurate pricing for custom preparations by accounting for ingredients, labor, overhead, and target profit margins. Prices should comply with state pharmacy regulations and be competitive with market rates.
Typical range: 25-50%
Typical range: 30-50%
Capsules, vials, tubes, etc.
Embed This Calculator on Your Website
Add this free calculator to your blog, website, or CMS with a simple copy-paste embed code.
Introduction
Pharmacy compounding is a $10 billion segment of the US pharmaceutical market, and it is one of the most financially misunderstood services in healthcare. Compounding pharmacies frequently underprice their preparations because they calculate ingredient cost and add a markup, completely ignoring the labor time, equipment depreciation, beyond-use dating waste, and regulatory compliance burden that represent the true cost of compounding. According to the National Association of Pharmacy Regulatory Authorities and state board guidance, USP 795 and USP 797 compliance for non-sterile and sterile compounding respectively requires documented quality control processes that add 20% to 35% to the direct production cost of each preparation. A pharmacist who calculates that a 30-day supply of a compounded topical hormone costs $8.40 in ingredients and prices it at $25 is not running a sustainable compounding operation. The true cost before margin is likely $18 to $22 when all inputs are properly accounted.
What This Calculator Does
This calculator computes the full cost of a compounded preparation by accounting for active pharmaceutical ingredient (API) cost, base/vehicle ingredient costs, direct labor time at pharmacist and technician rates, equipment depreciation per batch, quality control testing and documentation time, packaging and labeling materials, overhead allocation per preparation, and waste/overage factor for beyond-use dating loss. It outputs total cost of goods per unit, recommended minimum price based on target gross margin, and gross profit per preparation. It supports both USP 795 (non-sterile) and USP 797 (sterile) cost profiles.
The Formula
The formula aggregates all direct and indirect costs associated with producing a single compounded unit. API cost is calculated from the price per gram or milliliter of bulk API multiplied by the quantity used per preparation, plus a waste factor for overage and beyond-use dating losses (typically 10% to 25%). Labor cost separates pharmacist and technician time because their fully-loaded hourly rates differ substantially ($65 to $120/hour for pharmacists versus $20 to $35/hour for technicians in 2026). Equipment depreciation spreads the cost of compounding equipment (laminar flow hoods, balances, homogenizers) across the number of preparations produced per year. Overhead allocation includes facility costs, utilities, licensing, and insurance divided by total annual preparation volume.
Step-by-Step Example
Calculate API and base ingredient costs per preparation
Example: Compounded progesterone 100 mg capsules, 30-count supply. API: progesterone micronized, $0.18/capsule = $5.40. Base: olive oil and gelatin capsule shells, $0.09/capsule = $2.70. Total raw material cost: $8.10 per 30-count preparation. Add 15% waste/overage factor: $8.10 × 1.15 = $9.32.
Add labor costs for production
Pharmacist verification and supervision: 8 minutes at $85/hour fully-loaded = $11.33. Technician compounding time: 22 minutes at $28/hour = $10.27. Total labor per preparation: $21.60. Note: for sterile preparations (USP 797), add gowning time (10 to 15 minutes) and cleanroom setup/breakdown allocation.
Add equipment depreciation, QC, and overhead
Equipment depreciation per preparation: $1.45 (based on $18,000 equipment cost, 10-year life, 1,250 preparations/year capacity utilization). QC documentation and labeling: 5 minutes pharmacist time = $7.08. Packaging materials: $0.85. Overhead allocation: $4.20 (facility, licensing, insurance per preparation at 1,250/year volume). Total: $13.58.
Calculate total cost and minimum price
Total cost per preparation: $9.32 + $21.60 + $13.58 = $44.50. Target gross margin: 40%. Minimum price = $44.50 / (1 - 0.40) = $74.17. Rounded pricing: $75.00 for a 30-day supply. Gross profit: $75.00 - $44.50 = $30.50 per preparation. A pharmacy pricing this at $25 based on ingredient cost alone was losing $19.50 per preparation.
Real-World Use Cases
Building a Sustainable Pricing Schedule for New Compounding Services
A community pharmacy adding hormone replacement therapy compounding uses the calculator to establish prices for 15 formulations before launching the service. The analysis reveals that transdermal creams are the most labor-intensive per preparation and require 45% gross margin to cover the 30-minute production time per batch. Capsule preparations are most efficient at $32 to $38 total cost. The pharmacy sets tiered pricing: $65 to $85 for creams, $55 to $70 for capsules, $90 to $120 for troches, based on actual cost structures.
Evaluating USP 797 Sterile Compounding Feasibility
A pharmacy director evaluating sterile IV admixture compounding uses the calculator to model costs including laminar flow hood certification ($1,200/year), ISO 5 cleanroom facilities ($15,000/year lease allocation), and additional pharmacist oversight time. At 800 sterile preparations per year, fixed costs add $20.25 per preparation before variable costs. The analysis shows sterile compounding requires a minimum price of $95 to $140 per preparation to be financially sustainable, which sets the minimum viable volume threshold.
Cost Audit of Existing Compounding Formulations
A compounding pharmacy audits its existing 40-formulation price list and finds 12 preparations where prices were set 3 years ago without updating for API cost inflation. Progesterone API costs increased 28% since original pricing. Vitamin D3 in coconut oil increased 19%. The calculator reveals these 12 formulations are now priced below cost. The pharmacy uses the output to present a structured price increase to prescribers, with cost documentation justifying the increases.
Comparison
| Preparation Type | Avg Pharmacist Time | Avg Tech Time | Typical Total Cost Range | Typical Price Range |
|---|---|---|---|---|
| Capsules (non-sterile) | 10-15 min | 20-30 min | $28-$45 | $55-$75 |
| Topical Creams/Gels | 12-18 min | 25-35 min | $32-$55 | $65-$95 |
| Oral Solutions/Suspensions | 10-15 min | 20-30 min | $25-$42 | $50-$75 |
| Troches/Lozenges | 15-20 min | 30-45 min | $38-$60 | $75-$110 |
| Suppositories | 15-20 min | 30-45 min | $35-$58 | $70-$100 |
| Sterile IV/Injections (USP 797) | 20-30 min | 25-40 min | $65-$120 | $120-$200 |
Common Mistakes to Avoid
Pricing based solely on ingredient cost plus a flat markup percentage. A 40% markup on $8 in ingredients yields $11.20 price, which produces a $2.90 loss per preparation when true cost is $14. Ingredient cost typically represents only 20% to 35% of the total cost of a compounded preparation. Labor is almost always the largest cost component.
Not including pharmacist verification time in labor cost. Every compounded preparation requires pharmacist review of the formula, ingredient verification, and final product check. This is not optional; it is a Board of Pharmacy requirement. Pharmacist oversight time is 10 to 20 minutes per preparation minimum, at $65 to $120/hour fully loaded. Excluding this cost understates true labor by 60% to 80%.
Ignoring beyond-use dating waste. Bulk API purchased in 100g quantities for a formulation requiring 3g per preparation creates 97g of inventory that must be used within the API's beyond-use date or discarded. High-cost APIs with short beyond-use periods (e.g., reconstituted biologics) generate significant waste costs that must be allocated across preparations made from each batch.
Using retail pharmacy wage rates for pharmacist cost without fully-loaded adjustment. Base hourly wage ignores employer payroll taxes (7.65% FICA), benefits (typically 20% to 30% of base salary for health, dental, 401k), and liability insurance. A pharmacist earning $62/hour base costs the pharmacy $80 to $90/hour fully-loaded. Using base wage understates true labor cost by 25% to 45%.
Frequently Asked Questions
Accuracy and Disclaimer
Cost estimates generated by this calculator are based on user inputs and 2026 industry benchmarks for pharmacist and technician labor rates, equipment costs, and regulatory compliance expenses. Actual costs vary by location, preparation type, equipment investments, regulatory requirements, and operational efficiency. Pricing recommendations are for pharmacy business planning purposes only. This calculator does not provide regulatory compliance guidance. Consult your state Board of Pharmacy, USP Chapter 795/797 standards, and a pharmacy business consultant for preparation-specific compliance and pricing requirements.
Conclusion
Accurate compounding cost analysis protects the financial viability of the compounding service and ensures that the pharmacy can sustain the quality and compliance investments that patients depend on. Once you have established your cost basis, ensure your pricing structure is reviewed quarterly as API costs and labor rates change. For pharmacies also managing retail dispensing, use the Medication Adherence Rate Calculator to model how compounding services affect refill rates and patient retention, a key revenue driver that is often undervalued in compounding program ROI analysis.
Related Pharmacy & Clinical Pharmacology Calculators
Creatinine Clearance (Cockcroft-Gault) Calculator
Calculate creatinine clearance for renal function assessment and drug dosing adjustment in patients with renal impairment using the Cockcroft-Gault equation with optional IBW/ABW adjustment for obese patients.
Use CalculatorPharmacy & Clinical PharmacologyAUC-Based Vancomycin Dosing Calculator
Calculate vancomycin dosing using 2020 ASHP/IDSA/SIDP AUC-guided monitoring guidelines with empiric first-dose and Bayesian two-level adjustment methods targeting AUC 400-600 mg·h/L.
Use CalculatorPharmacy & Clinical PharmacologyDrug Interaction Severity Reference
Lexi-Interact severity classification reference (Risk Ratings A through X) with common high-risk drug interactions, clinical significance, and management recommendations for pharmacy practice.
Use CalculatorPharmacy & Clinical PharmacologyMedication Adherence Rate Calculator
Calculate medication adherence using PDC (Proportion of Days Covered), MPR, or pill count methods with CMS Star Rating threshold analysis and MTM intervention recommendations.
Use CalculatorYou May Also Find Useful
Tax Calculator
Estimate your 2026 federal income tax based on filing status, gross income, deductions, and current tax brackets. See your marginal and effective tax rates instantly.
Use CalculatorFinance & AccountingSalary to Hourly Calculator
Convert your annual salary to an hourly wage instantly. Adjust for hours per week, weeks per year, and overtime to find your true hourly rate.
Use CalculatorFinance & AccountingCommission Calculator
Determine sales commissions based on revenue, rate tiers, and bonus structures.
Use Calculator