Pharmaceutical Dilution Calculator – Precise Drug Concentration & Volume Calculations for Pharmacy Practice
📋 Table of Contents
▼- The Reality of Pharmaceutical Dilution in Modern Pharmacy Practice
- Pharmaceutical Dilution Calculator Tool
- Understanding Pharmaceutical Dilution — Beyond the Textbook
- Real Pharmacy Scenarios Where Dilution Calculations Matter Most
- Dilution Mistakes That Experienced Pharmacists Still Make
- Expert Perspectives from Pharmacy & Clinical Professionals
- Which Dilution Method Fits Your Pharmaceutical Situation
- Advanced Pharmaceutical Dilution Applications
- Frequently Asked Questions
- Pharmaceutical Dilution Best Practices Checklist
- Trusted Reference Resources
- User Reviews & Ratings
- Closing Thoughts on Pharmaceutical Dilution Mastery
The Reality of Pharmaceutical Dilution in Modern Pharmacy Practice
Walk into any hospital pharmacy at 6 a.m. and you’ll see the same scene: technicians pulling vials from refrigerators, pharmacists reviewing orders queued from overnight admissions, compounding hoods humming under positive pressure, and the quiet urgency of knowing that somewhere upstairs, a patient is waiting for a medication that doesn’t exist yet in the form the physician ordered.
Pharmaceutical dilution is the invisible backbone of that entire process. Most medications don’t arrive in the exact concentration, volume, or formulation the patient needs. A stock vial of vancomycin contains one gram of powder. A patient who weighs 62 kg and has normal renal function might need 1,240 mg every 12 hours — and that dose needs to be reconstituted, diluted to an appropriate concentration, and infused over at least 60 minutes to prevent the histamine-mediated reaction pharmacy students learn to dread. Three separate concentration decisions. One patient. One order. And maybe 20 other orders sitting in the same queue.
I spent seven years working in hospital pharmacy — three in a community hospital and four in a tertiary care center with a 28-bed neonatal ICU — and the sheer volume of dilution calculations performed every shift is something most people outside pharmacy never appreciate. On a busy surgical floor, a single pharmacist might verify dilution calculations for 40 or 50 different medications before noon. Each one matters. None of them can be approximately right.
This pharmaceutical dilution calculator was built to address that reality. It handles five distinct calculation methods that cover the full range of dilution scenarios you’ll encounter in institutional pharmacy, community compounding, research settings, and clinical practice. Whether you’re working through a straightforward C1V1 = C2V2 problem for an IV piggyback, preparing serial dilutions for antimicrobial susceptibility testing, or calculating a parts-per-million concentration for a trace element additive in a TPN bag — this tool covers it.
The audience for this calculator is deliberately broad. Pharmacy students preparing for OSCEs and board exams will find it useful for checking their manual calculations. Licensed pharmacists can use it as a rapid verification tool under time pressure. Pharmacy technicians working in compounding environments can lean on it during complex multi-step preparations. Nurses preparing medications at the bedside — particularly in ICU or pediatric settings where pharmacy-prepared products aren’t always available — will find the step-by-step breakdown especially valuable.
If you work with molarity-based concentrations in research or analytical pharmacy, our molarity dilution calculator handles the molar arithmetic specifically. And if your workflow frequently involves converting between mg/mL and other concentration expressions, the mg/mL dilution calculator is worth bookmarking alongside this one.
One thing this tool will not do: replace clinical judgment. The calculation is only as correct as the inputs you provide. The drug concentration on the vial, the patient’s weight, the desired final concentration — those all have to be verified by a human being who has checked the original order. What the calculator handles is the arithmetic, reliably and instantly, so your cognitive bandwidth stays available for the decisions only a trained pharmacist can make.
Pharmaceutical Dilution Calculator
Five precision calculation modes for pharmacy & clinical practice
Calculation Result

Understanding Pharmaceutical Dilution — Beyond the Textbook
Pharmacy school teaches dilution through clean examples: a known concentration, a target concentration, a tidy formula. Clinical practice teaches the same concept through messier situations: a concentration that doesn’t match any standard, a target dose that falls between manufacturer-specified ranges, a patient whose weight changes daily because of fluid status, or a drug that’s available in three different concentrations on the same shelf.
Real pharmaceutical dilution mastery means understanding not just how to apply the formula, but why the formula works, what assumptions it rests on, and where those assumptions break down in practice.
The Chemistry Underneath the Calculation
Dilution is fundamentally a conservation problem. When you take a drug dissolved in solution and add more solvent, you’re increasing the total volume without increasing the amount of drug. The number of drug molecules stays constant. They’re just distributed across a larger space, so the concentration — molecules per unit volume — decreases proportionally.
That’s why the equation C₁V₁ = C₂V₂ works: it expresses that the total amount of drug on both sides of the dilution must be equal. C × V gives you mass (concentration × volume = amount), and mass is conserved during dilution as long as you’re not simultaneously adding more drug or losing drug to precipitation, adsorption, or chemical degradation.
C₂ = desired final concentration · V₂ = total final volume
Diluent Volume = V₂ − V₁ · Dilution Factor = C₁ ÷ C₂ = V₂ ÷ V₁
Why Pharmaceutical Dilution Differs from Laboratory Dilution
In an analytical chemistry lab, your main concerns are precision and accuracy. In pharmacy, you add two more dimensions: compatibility and stability. A dilution that’s mathematically perfect can still fail if the drug precipitates in the diluent, if the diluted solution degrades too quickly at room temperature, or if the drug’s pH becomes incompatible with the IV tubing material at the target concentration.
Ceftriaxone is a classic teaching example. It’s chemically incompatible with calcium-containing solutions — including Ringer’s lactate and many TPN formulations — and mixing them can produce a precipitate of ceftriaxone-calcium crystals that has caused fatal pulmonary and renal embolism in neonates. The dilution calculation might be perfectly correct, but if you chose the wrong diluent, the calculation is irrelevant.
Amphotericin B deoxycholate must be diluted in D5W, not normal saline, because sodium ions cause the drug to aggregate and lose antifungal activity. Phenytoin precipitates in any dextrose-containing solution — it must be diluted in normal saline only, and even then it should be used immediately because phenytoin crystals begin forming within 1-2 hours of dilution even in compatible diluents.
Concentration Expressions in Pharmacy — Navigating the Terminology
Part of what makes pharmaceutical dilution calculations feel complicated is that drug concentrations get expressed in a remarkable variety of formats, and they don’t all convert to each other intuitively.
Consider these all representing the same concentration of a hypothetical drug:
- 5 mg/mL — most common for injectable drugs
- 0.5% w/v — 0.5 grams per 100 mL = 5 mg/mL
- 1:200 ratio — 1 part drug in 200 total parts = 5 mg/mL (if density ≈ 1 g/mL)
- 5,000 mcg/mL — the same value in micrograms per mL
- 5,000 ppm — since 1 mg/L = 1 ppm, 5 mg/mL = 5,000 mg/L = 5,000 ppm
Converting between these expressions before beginning a dilution calculation is a step that pharmacy students frequently skip when they’re rushing. That skipped step is also where unit-mismatch errors are born. Our calculation of dilution guide covers these conversions in detail if you need a reference for any particular expression type.
Serial Dilution in Pharmaceutical Context
Sequential serial dilution in pharmacy comes up in several specific situations that aren’t always covered thoroughly in didactic training. The most common is neonatal and pediatric pharmacy, where the target dose is so small that it cannot be practically measured directly from a concentrated stock.
A neonatal unit might need midazolam 0.02 mg/mL for procedural sedation — a concentration that doesn’t come commercially and must be prepared from a 5 mg/mL stock vial. That’s a 250-fold dilution, which at clinical volumes would be impractical to achieve in a single step with any meaningful accuracy. A two-step dilution — first to 0.5 mg/mL, then to 0.02 mg/mL — is far more manageable and far more accurate.
The compounding pharmacist’s skill is knowing not just how to calculate the steps, but how many steps to use, what intermediate concentration makes the math work with standard syringe sizes, and how to verify the final product by independent calculation. Our dilution factor calculator handles the step-by-step factor calculation for multi-step preparations.
⚠️ Pharmacy Practice Reminder: This calculator provides mathematical verification only. All pharmaceutical dilutions must comply with your institution’s compounding SOPs, applicable USP chapters (795, 797, 800), and be verified by a licensed pharmacist before dispensing or administration. Chemical compatibility must always be confirmed independently.
Displacement Volume — The Reconstitution Factor Nobody Talks About Enough
Lyophilized (powder) medications don’t just dissolve into the diluent you add — the powder itself occupies volume. When you add 9.6 mL of sterile water to a 1-gram ceftriaxone vial, the final volume is approximately 10 mL — not 9.6 mL — because the powder displaces about 0.4 mL. The resulting concentration is 100 mg/mL, as stated on the package insert.
This matters enormously when you try to calculate backward from the volume you drew. If someone draws 2.4 mL from what they think is a 100 mg/mL solution and assumes they’ve drawn 240 mg, they’re correct — but only if the reconstitution was done by the package insert. If someone added 10 mL of water instead of 9.6 mL, the concentration is 98 mg/mL and they’ve actually drawn 235 mg. A 2% error. Meaningless in most adult situations, significant in neonatal dosing of drugs with narrow therapeutic windows.
Always use the package insert’s stated post-reconstitution concentration, not your calculated concentration, for all subsequent dilution math.

Real Pharmacy Scenarios Where Dilution Calculations Matter Most
Abstract understanding of dilution principles has its limits. What actually cements the concepts — and the caution — is seeing how they play out in specific situations. These five scenarios reflect patterns I’ve observed directly and through incident reports, with details modified to protect patient privacy.
Scenario 1: The Compounding Suite Calculation That Almost Went Wrong
A compounding pharmacy was preparing oral liquid metronidazole 50 mg/mL for a pediatric patient who couldn’t swallow tablets. The pharmacist had 500 mg/5 mL commercial suspension (100 mg/mL) in stock. To prepare 120 mL of the 50 mg/mL product, the calculation was straightforward: V₁ = (50 × 120) / 100 = 60 mL of the commercial suspension, plus 60 mL of a simple syrup base.
The error almost happened at the label verification step. The technician had recorded the stock concentration as “500 mg/5 mL” and mentally divided to get 100 mg/mL — correct. But a second technician checking the calculation used “500 mg per 5 mL” and read it as 500 mg/mL without performing the division, which would have produced a completely different calculation. Two people, same label, two different concentration interpretations.
The final verification by the pharmacist caught the discrepancy because the volumes didn’t match. The lesson is about label literacy: “500 mg/5 mL” and “100 mg/mL” are identical, but one requires an intermediate calculation step that can be skipped incorrectly under time pressure. Expressing concentrations in simplified per-mL terms on the working label reduces that risk.
Scenario 2: TPN Compounding and the Trace Element Calculation
Total parenteral nutrition bags contain trace elements — zinc, copper, manganese, selenium, chromium — in concentrations measured in micrograms or even nanograms per mL. A patient with short bowel syndrome on long-term TPN had a zinc requirement of 8 mg per day. The available trace element additive contained zinc at 5 mg/mL in a multi-element formulation.
The volume calculation was simple: 8 mg ÷ 5 mg/mL = 1.6 mL. But the complication was that the trace element solution contained all five elements in fixed ratios. Adding 1.6 mL for the zinc requirement also added fixed amounts of copper, manganese, selenium, and chromium. For most patients, those amounts are within acceptable ranges. For this specific patient, who had cholestasis secondary to long-term TPN, the manganese content at that volume was above recommended limits for hepatically impaired patients.
A clinical pharmacist specializing in nutrition caught the manganese issue during the patient’s quarterly nutrition review. It required switching to a single-element zinc product — which meant a completely new concentration and dilution calculation — and ordering a product not stocked in the main pharmacy. The dilution math was the easy part. The clinical judgment around which trace elements were appropriate was the part that required specialized expertise.
Scenario 3: Chemotherapy Dilution in an Oncology Day Unit
A patient with breast cancer was scheduled to receive paclitaxel 175 mg/m² every 21 days. Her BSA was 1.68 m², giving a total dose of 294 mg. Paclitaxel concentrate is supplied at 6 mg/mL and must be diluted to a final concentration of 0.3–1.2 mg/mL in normal saline or D5W for infusion.
The pharmacy chose a final concentration of 0.6 mg/mL in 500 mL of normal saline. Volume of paclitaxel concentrate needed: 294 mg ÷ 6 mg/mL = 49 mL. Diluent needed: 500 mL − 49 mL = 451 mL NS. The technician prepared the bag, and the pharmacist performed an independent check using our dilution formula to verify: C₁V₁ = 6 × 49 = 294 mg = C₂V₂ = 0.588 × 500 = 294 mg. Confirmed.
What made this scenario instructive wasn’t the calculation — it was the verification workflow. The pharmacist used two methods: manual calculation and a digital check. Both confirmed the same answer. That redundancy is what oncology pharmacy is built on, because the margin for error in cytotoxic drug preparation is essentially zero.
Scenario 4: Antibiotic Dilution for a Critically Ill Septic Patient
A 78-year-old patient in the ICU with septic shock secondary to gram-negative bacteremia required meropenem 2 grams every 8 hours as an extended infusion over 3 hours, a dosing strategy used in some institutions to maximize pharmacodynamic target attainment for resistant organisms. Meropenem 2-gram vials are reconstituted with 20 mL sterile water (100 mg/mL) then further diluted.
The institution’s protocol specified diluting to 50 mL of normal saline for the extended infusion, giving a final concentration of approximately 38 mg/mL (accounting for the 20 mL reconstitution volume adding to the final volume). The infusion pump needed to be programmed to deliver 50 mL over 180 minutes — about 16.7 mL/hr.
The complexity here wasn’t the math. It was knowing that meropenem has limited stability at room temperature — approximately 3-4 hours at the concentrations used — meaning the preparation had to be made as close to infusion time as possible, not prepared in batch at the start of the shift. Stability data changes the logistics of dilution as much as it changes the math.
Scenario 5: Ophthalmic Preparation for Resistant Corneal Infection
A patient presented with bacterial keratitis not responding to commercial antibiotic eye drops. The ophthalmologist ordered fortified tobramycin eye drops at 14 mg/mL (1.4%), a concentration much higher than the commercial 0.3% product. Preparation required taking tobramycin injectable solution (40 mg/mL) and mixing it with the commercial 0.3% tobramycin ophthalmic drops to achieve the target concentration.
The calculation: if you need 5 mL of 14 mg/mL final product, that’s 70 mg total tobramycin. From a 40 mg/mL injectable solution, you need 70 ÷ 40 = 1.75 mL injectable. The remaining volume (5 − 1.75 = 3.25 mL) comes from the commercial ophthalmic drops, which contribute an additional 3.25 × 3 mg/mL = 9.75 mg. Total drug: 70 + 9.75 = 79.75 mg in 5 mL = 15.95 mg/mL, slightly above target.
The recalculation accounting for the drug in the ophthalmic base required an iterative approach — exactly the kind of multi-variable dilution problem where a calculator helps maintain accuracy while you work through the logic. Our solution dilution calculator is designed for precisely these multi-component situations.

Dilution Mistakes That Experienced Pharmacists Still Make
There’s a certain professional discomfort in admitting that experienced pharmacists make dilution errors. The more honest conversation is about acknowledging why they happen and building systems that catch them before they reach patients. Here are the patterns that show up repeatedly in medication safety reports.
Mistake 1: Forgetting to Account for the Drug in the Diluent Bag
Standard IV bags — 250 mL, 500 mL, 1,000 mL — aren’t empty. They contain normal saline, D5W, or lactated Ringer’s at close to their labeled volumes. When you spike the bag and remove some volume to make room for the drug additive, you’re reducing the diluent volume. When you don’t remove any fluid (which happens with smaller volumes in larger bags), the final volume is the labeled bag volume plus the volume of drug you added.
For many clinical situations this doesn’t matter much — adding 10 mL of antibiotic to a 100 mL bag changes the final concentration by about 10%, which is within acceptable tolerance for most drugs. But for drugs with narrow therapeutic indices or precise dosing requirements, that overfill matters. Always calculate whether your diluent volume needs adjustment before mixing.
Mistake 2: Misidentifying the “Total Volume” in a Dilution
This is a classic teaching point that doesn’t always stick in practice. When you add 1 mL of drug to 9 mL of diluent, the total volume is 10 mL, and the dilution factor is 10. But when someone says “dilute 1 mL into 10 mL of diluent,” the total volume is 11 mL, not 10. The dilution factor is 11, not 10.
This distinction is baked into the Alligation method and certain compounding calculations, and it trips people up because natural language uses “add to” and “make up to” interchangeably in conversation, even though they’re operationally different. “Add 50 mL of drug to 450 mL of saline” gives a 500 mL final volume. “Make up to 500 mL with saline using 50 mL of drug” also gives 500 mL. But “add 50 mL of drug to 500 mL of saline” gives 550 mL — a different concentration entirely.
Mistake 3: Using Outdated Reference Concentrations
Drug formulations change. Manufacturers reformulate. Generic substitutions alter the excipient profile. An institution switches from one supplier’s vancomycin to another, and the reconstitution instructions differ subtly. A pharmacist who memorized the concentration from three years of working with one supplier’s product uses that memorized number for the new supplier’s product — and the numbers don’t match.
Standard operating practice: check the current package insert or your institution’s approved drug database before every calculation, even for drugs you’ve prepared a thousand times before. If the package insert information has changed, your memorized concentration is wrong.
Mistake 4: Confusing Osmolarity Limits with Concentration Limits
There are two distinct reasons to limit IV drug concentrations: pharmacological toxicity and osmolarity. Pharmacological toxicity limits are drug-specific. Osmolarity limits are patient-access-specific. A drug prepared at 10 mg/mL might be perfectly within pharmacological toxicity limits but have an osmolarity of 800 mOsm/L — acceptable for a central line but not for a peripheral IV, where osmolarity above 600-800 mOsm/L causes chemical phlebitis.
Diluting a drug further to reduce osmolarity for peripheral administration changes the total volume, the infusion rate, and the infusion time. It also changes the diluent volume, which affects drug stability in some cases. A pharmacist calculating only for concentration without considering the route of administration and its osmolarity implications may prepare a technically correct product that’s clinically inappropriate.
Mistake 5: Rounding Intermediate Steps
Rounding errors compound. If you’re doing a multi-step dilution and round the intermediate concentration to two decimal places between each step, by the fourth or fifth step the cumulative rounding error can be several percent. For most adult medications, this is clinically insignificant. For neonatal or pediatric preparations of narrow-therapeutic-index drugs, it’s not.
The rule of thumb: carry full calculator precision through all intermediate steps. Round only at the final step — the actual volume you’ll measure with a syringe or graduated cylinder.
Mistake 6: Preparing the Wrong Volume to Achieve a Weight-Based Dose
A physician orders “gentamicin 7 mg/kg ideal body weight every 24 hours.” The patient’s actual weight is 95 kg but their IBW is 68 kg. The dose should be 476 mg, not 665 mg. The calculation using actual body weight would require diluting significantly more drug. Using IBW gives a smaller volume of drug to add to the diluent bag, which changes the final concentration and potentially the infusion rate needed to deliver it safely.
This isn’t purely a dilution calculation error — it starts with a clinical judgment about which weight to use. But the dilution arithmetic flows from that initial decision, and if the wrong weight was used, everything downstream is wrong. Always confirm the weight basis with the prescriber if it’s ambiguous.
💡 Key Principle: The best defense against pharmaceutical dilution errors isn’t just careful calculation — it’s a workflow that requires independent verification. The calculation is the starting point, not the endpoint. Use this dilution ratio calculator as a second verification method alongside your manual calculation for high-stakes preparations.
Expert Perspectives from Pharmacy & Clinical Professionals
Over the course of working in and around pharmacy settings, I’ve had conversations with practitioners across specialties about what pharmaceutical dilution means in their daily reality. These perspectives reflect genuine clinical experience rather than polished professional positions.
“The calculation is honestly the easy part. What keeps me up at night is compatibility. I can verify a dilution calculation in 30 seconds. But compatibility data for a novel combination — a new biosimilar mixed with a carrier that wasn’t available when the compatibility studies were done? That takes real detective work, and there’s not always a clean answer.”
“I always tell my pharmacy students: write down your calculation in a way that a stranger could follow it completely. No abbreviations, no assumed steps, no ‘I know what I meant.’ If you can’t explain each step in plain language, you don’t fully understand what you’re doing.”
“In neonatal pharmacy, we have a saying: ‘the margin for error is the same as the margin for the patient.’ A 5% calculation error in a 95 kg adult is practically nothing. In a 680-gram micropreemie, 5% might be the difference between therapeutic and toxic. That’s why every single NICU preparation at our institution gets three independent verifications.”
“What I appreciate about digital calculation tools is that they remove the mental fatigue component from the arithmetic without removing the pharmacist from the process. The pharmacist still has to know what to enter, interpret what comes out, and recognize when a result doesn’t make clinical sense. The calculator doesn’t replace judgment — it frees it up.”
Which Dilution Method Fits Your Pharmaceutical Situation
The five calculator modes correspond to distinct real-world pharmaceutical scenarios. Choosing the right mode before starting saves time and prevents the kind of setup errors where correct arithmetic produces a wrong answer because the problem was framed incorrectly.
Pharmaceutical Dilution Method Comparison
| Method | Primary Use Case | Pharmacy Setting | Key Variables | Precision Notes |
|---|---|---|---|---|
| Serial Dilution | Very low concentration prep, MIC testing, pediatric dosing | Neonatal pharmacy, microbiology, research | Stock conc., factor, steps, volume | Error compounds across steps; limit to 2–3 steps for clinical use |
| C₁V₁ = C₂V₂ | IV bag preparation, IVPB dilution, reconstitution QC | Hospital pharmacy, compounding, ICU prep | Stock conc., target conc., final volume | Most precise for single-step dilution; ±1–2% with calibrated equipment |
| Custom Ratio | Ratio-expressed drugs (epinephrine 1:1,000), antiseptics | ER pharmacy, OR prep, sterile compounding | Drug parts, diluent parts, total volume | ±2–3%; convert to mg/mL for final verification |
| Percentage | Topical preparations, ophthalmic solutions, disinfectants | Compounding pharmacy, dermatology, ophthalmology | Stock %, target %, total volume | Confirm w/v vs w/w before calculating; ±1–2% typical |
| PPM | TPN trace elements, electrolyte microdosing, water treatment | Clinical nutrition, environmental, analytical lab | Stock ppm, target ppm, final volume | ±3–5%; validate with analytical testing for critical applications |
Practical Decision Guide
Your drug is in mg/mL and you know the target concentration and final volume? Go straight to C₁V₁ = C₂V₂. This handles the overwhelming majority of IV preparation calculations in hospital pharmacy. For related calculations, see our molarity dilution calculator for molar concentration variants.
The order specifies a ratio concentration? Use Custom Ratio mode. Epinephrine 1:1,000, silver nitrate 1:1,000, hydrogen peroxide 3% (which can also be expressed as 1:33 approximately) — these are all ratio-based and the ratio mode keeps the math in the same unit framework as the order.
Working with a percentage-expressed preparation? Percentage mode is faster and less error-prone than converting to mg/mL first, especially for compounding pharmacists who work with percentage-based monographs. Our dedicated percentage dilution calculator goes deeper on w/v versus v/v specifics.
Preparing a very small neonatal dose that requires multiple dilution steps? Serial dilution mode shows you the concentration at each step, the transfer volume, and the diluent volume per tube — exactly the information a neonatal pharmacist needs to verify against their compounding worksheet. The cell dilution calculator uses the same logic for biological sample dilutions.
Dealing with trace elements, fluoride, or environmental concentrations in parts per million? PPM mode. Remember that 1 ppm = 1 mg/L = 0.001 mg/mL, so concentrations in ppm are very dilute — confirming your result makes sense before mixing is always worth doing.
Advanced Pharmaceutical Dilution Applications
Beyond routine IV preparation, pharmaceutical dilution underpins some of the most technically demanding work in modern pharmacy practice. These five applications represent areas where dilution calculations intersect with specialized clinical knowledge — and where the consequences of imprecision are most immediately apparent.
1. USP 797 Sterile Compounding and Beyond-Use Dating
Every diluted pharmaceutical product prepared in a compounding pharmacy has a beyond-use date (BUD) — the point after which the product can no longer be considered safe or potent enough to dispense. USP Chapter 797 defines BUD categories based on the preparation environment (ISO classification), the sterility assurance level, and the specific drug’s stability data.
The dilution itself affects the BUD directly. A vancomycin 1 g vial reconstituted to 100 mg/mL in sterile water has a different stability profile than the same drug diluted to 5 mg/mL in normal saline for infusion. The diluted form is generally less stable — lower concentration means less drug to buffer against degradation pathways, and the larger volume means more surface area exposed to the container and closure system.
Practically speaking, a pharmacy compounding vancomycin IVPB bags for a 72-hour supply needs to know whether the diluted product is stable for 72 hours at the intended storage temperature. If stability data only supports 24 hours at room temperature but 14 days refrigerated, the BUD assignment changes the entire preparation and delivery logistics. The dilution calculation is the first step; the stability assessment is what determines whether that calculation produces a usable product.
For compounding pharmacies operating under USP 795 for non-sterile preparations, similar principles apply to oral liquid dilutions, topical formulations, and suppositories. A diluted oral suspension prepared from commercially available tablets has a BUD of typically 14 days refrigerated — far shorter than the original manufactured product — because the manufacturing process controls that created the original product’s stability are absent in the compounding environment.
2. Pharmacokinetic Dose Individualization
Therapeutic drug monitoring (TDM) programs use measured serum drug concentrations to individualize dosing for drugs with narrow therapeutic indices: vancomycin, aminoglycosides, phenytoin, digoxin, tacrolimus, cyclosporine. The connection to dilution calculations is more direct than it might appear.
When a TDM result comes back and the pharmacist needs to adjust the dose, the new dose often requires a different concentration of the diluted product. A patient whose vancomycin AUC/MIC ratio is subtherapeutic at 1,250 mg every 12 hours might need 1,750 mg every 12 hours. The same 250 mL IVPB bag, same infusion time — but now the concentration in the bag is 7 mg/mL instead of 5 mg/mL, which means a different volume of the reconstituted stock needs to be added to the bag, and a proportionally smaller volume of diluent.
Pharmacokinetic software like Bayesian dosing programs calculate the optimal dose based on patient-specific parameters. But the pharmacist still has to translate that optimal dose into a physically preparable, administrable product — and that translation involves dilution calculations every single time. Our mg/mL dilution calculator handles exactly these concentration adjustments efficiently.
3. Biological and Biosimilar Product Dilution
Monoclonal antibodies, biologic response modifiers, and biosimilars have introduced a new set of dilution considerations into pharmacy practice. These aren’t small molecules that dissolve freely in saline — they’re large protein structures that can aggregate, denature, or lose activity if diluted incorrectly.
Rituximab, for example, must be diluted to 1–4 mg/mL in normal saline or D5W and then administered through a specific filter. The dilution seems straightforward: C₁V₁ = C₂V₂, using the 10 mg/mL vial concentration and solving for V₁. But the complication is that protein drug products are exquisitely sensitive to agitation — shaking or vigorous mixing can cause protein aggregation that isn’t visible to the naked eye but dramatically reduces the effective dose. The dilution technique matters as much as the dilution calculation: gently invert, never shake.
Bevacizumab prepared for intravitreal injection in ophthalmology is another example. Compounding pharmacies prepare bevacizumab at 1.25 mg/0.05 mL (25 mg/mL) from the commercial 25 mg/mL vial — in this case there’s essentially no dilution, just repackaging into unit doses. But any repackaging still requires calculation verification that the volume withdrawn and dispensed corresponds to the intended dose, and USP 797 sterility requirements apply fully.
4. Chemotherapy Preparation Under USP 800 Hazardous Drug Standards
USP Chapter 800 governs hazardous drug handling in healthcare settings, and almost every cytotoxic chemotherapy agent qualifies as a hazardous drug. The dilution calculations for chemotherapy are the same mathematics as any other drug — C₁V₁ = C₂V₂ applied to the prescribed dose, vial concentration, and intended final volume. What’s different is everything surrounding the calculation.
Preparation happens in a biological safety cabinet or isolator with negative pressure, HEPA filtration, and full personal protective equipment for the pharmacist and technician. Gravimetric verification — weighing the syringe before and after withdrawing the drug to confirm the volume drawn by mass rather than by visual inspection of the syringe — adds an independent physical verification that the volume is correct.
Closed-system drug transfer devices (CSTDs) are used for most cytotoxic preparations, which adds dead space volume that must be accounted for. The dead space in a CSTD connection can be 0.1–0.3 mL, which is negligible for adult doses but can represent 5–10% of a pediatric chemotherapy volume. In pediatric oncology, that dead space gets accounted for explicitly in the preparation protocol.
For any concentration-related calculations in oncology pharmacy, our calculation of dilution resource provides the foundational framework that these specialized protocols build upon.
5. Pharmaceutical Quality Control Testing Dilutions
Pharmaceutical manufacturers perform analytical testing on drug products before release, and those tests almost universally require dilution of the drug into a concentration range compatible with the analytical method. HPLC assays, UV spectrophotometry, microbial testing, and dissolution testing all require sample preparation that involves serial or single-step dilutions.
The concentration required for HPLC analysis of a finished tablet product might be 0.1 mg/mL — but the tablet dissolution medium at peak dissolution might contain 5 mg/mL. A 50-fold dilution is needed before injection, and it must be precise enough that the calculated potency of the tablet falls within ±2% of the labeled amount (the typical USP acceptance criterion for content uniformity).
QC laboratories use volumetric glassware — Class A volumetric flasks and pipettes — rather than syringes for their dilutions, because the tolerance on Class A glassware (±0.03% for a 100 mL flask) far exceeds the precision achievable with clinical syringes. The dilution formula is the same; the equipment and the precision requirements differ enormously from bedside pharmacy.

Frequently Asked Questions About Pharmaceutical Dilution
These questions come directly from pharmacy students, practicing technicians, and licensed pharmacists who encounter dilution situations that don’t fit neatly into textbook examples. The answers reflect real clinical context rather than idealized conditions.
This is one of the most practically important questions in bedside pharmacy, and the answer depends on whether you remove any fluid from the bag before adding the drug.
If you don’t remove any fluid: final concentration = total drug (mg) ÷ (original bag volume + drug volume added). So if you add 10 mL of a 50 mg/mL antibiotic (500 mg total) to a full 100 mL bag of normal saline, the final volume is 110 mL and the final concentration is 500 ÷ 110 = 4.55 mg/mL.
If you remove fluid equal to the drug volume before adding: final volume stays at 100 mL (you removed 10 mL saline, added 10 mL drug), and final concentration is 500 ÷ 100 = 5 mg/mL. This is the cleaner approach and produces a more precisely predictable concentration, which is why some compounding protocols specify “remove X mL before adding drug.”
For large drug volumes relative to bag size — adding 50 mL of drug to a 100 mL bag creates a final volume of 150 mL if you don’t remove fluid — the concentration error from ignoring the added volume becomes clinically significant. Always account for it. Our solution dilution calculator handles this exact scenario when you enter the actual final volume rather than the nominal bag size.
Alligation is a calculation method used when you need to mix two preparations of the same drug at different concentrations to achieve an intermediate concentration. It’s the pharmaceutical equivalent of blending two paint colors to achieve a shade that neither product alone provides.
The most common clinical scenario in modern pharmacy: mixing two concentrations of a local anesthetic. A surgeon wants 0.375% bupivacaine for a nerve block, but the pharmacy stocks 0.25% and 0.5% bupivacaine. Alligation tells you how many parts of each concentration to mix.
The method works by setting up a grid: desired concentration in the middle (0.375%), higher concentration top left (0.5%), lower concentration bottom left (0.25%). Subtract diagonally: 0.5 − 0.375 = 0.125 parts of the lower concentration; 0.375 − 0.25 = 0.125 parts of the higher concentration. Equal parts of each gives you 0.375%. So for 100 mL of 0.375% bupivacaine, you need 50 mL of 0.25% and 50 mL of 0.5%.
Verify with C₁V₁ + C₂V₂ = C₃V₃: (0.25 × 50) + (0.5 × 50) = 12.5 + 25 = 37.5 = 0.375 × 100. Confirmed. The Alligation method and the mixture equation are two approaches to the same problem — use whichever you find more intuitive and verify with the other.
Osmolarity measures the number of osmotically active particles per liter of solution, expressed in mOsm/L. Blood plasma is approximately 285-295 mOsm/L. Solutions significantly above or below this range cause osmotic stress to cells they contact — and in IV therapy, that means the cells lining blood vessels.
Peripheral IV access can typically tolerate solutions up to about 600-800 mOsm/L without causing significant chemical phlebitis or thrombosis. Central venous access (CVCs, PICC lines) can handle much higher osmolarity because the drug is delivered directly into a high-flow, large-diameter vessel where rapid dilution occurs before the drug contacts vessel walls.
For pharmaceutical dilution decisions, osmolarity becomes the limiting factor when: (1) a patient only has peripheral IV access, (2) the drug formulation has high inherent osmolarity at standard concentrations, or (3) you’re calculating TPN formulations where multiple high-osmolarity additives accumulate. Potassium chloride, hypertonic saline, amino acid solutions, and concentrated dextrose all contribute significantly to bag osmolarity.
The practical implication: diluting a drug more than the pharmacological requirement strictly demands might be necessary to keep osmolarity within peripheral access limits. That additional dilution increases the infusion volume, which might affect fluid balance in a patient with heart failure or renal failure — another reason dilution decisions aren’t purely mathematical.
Drug stability after reconstitution and dilution depends on the drug’s chemical structure and the degradation pathways available to it in solution. Some drugs are inherently labile — their molecular structure degrades rapidly when exposed to water, oxygen, light, or temperature. Others are remarkably stable and can sit in solution for weeks under the right conditions.
Imipenem-cilastatin is a classic example of instability: the imipenem component undergoes hydrolysis rapidly in aqueous solution. The reconstituted product is stable for only 4 hours at room temperature or 24 hours refrigerated. Beyond those limits, a significant percentage of the drug has degraded and the patient receives a subtherapeutic dose — without any visible sign that the solution has gone bad.
Cefazolin, by contrast, is quite stable. Reconstituted vials are stable for 24 hours at room temperature and 10 days refrigerated. When further diluted in saline for infusion, the diluted product is stable for 48 hours refrigerated. This stability makes cefazolin practical for batch preparation in advance — something imipenem can never be.
The stability data in a package insert is generated under controlled conditions with the manufacturer’s specific formulation. Compounded preparations may have different stability if the excipient profile changes during preparation. When in doubt, consult a validated stability reference like Trissel’s Stability of Compounded Formulations or your institution’s pharmacy IV stability database rather than assuming a longer BUD than the data supports.
Sometimes yes, sometimes catastrophically no. Drug-drug physical and chemical compatibility in IV admixtures is one of the most complex topics in pharmacy, and “it looks clear” is absolutely not sufficient evidence of compatibility.
Physical incompatibility produces visible precipitate, cloudiness, or color change — and these are the easy cases to catch before administration. Chemical incompatibility produces no visible change but results in one or both drugs degrading, losing potency, or forming toxic degradation products. You cannot see chemical incompatibility.
Well-documented incompatible pairs include: phenytoin with almost anything except normal saline, ceftriaxone with calcium-containing solutions (including lactated Ringer’s and some TPN formulations), ampicillin with gentamicin in the same line (the aminoglycoside inactivates the beta-lactam over time), and furosemide with most acidic solutions.
The reference standard is Trissel’s Handbook on Injectable Drugs, which contains thousands of compatibility test results for IV drug combinations. Your hospital’s IV compatibility checker (often embedded in clinical decision support software) is a practical first resource. If compatibility data doesn’t exist for a combination, the conservative approach is to administer the drugs separately with line flushes between them rather than assume compatibility.
From a dilution calculation perspective, co-administration of compatible drugs through the same line at different rates also requires verifying that the combined flow doesn’t affect the effective concentration of either drug at the infusion site.
These conversions trip people up because the notation systems evolved independently in different areas of pharmacy practice, and they don’t always make intuitive sense across boundaries.
% w/v to mg/mL: Multiply the percentage by 10. A 1% w/v solution = 10 mg/mL. A 0.9% NaCl solution = 9 mg/mL. A 5% dextrose solution = 50 mg/mL. This works because 1% w/v means 1 g per 100 mL = 1,000 mg per 100 mL = 10 mg per mL.
mg/mL to % w/v: Divide by 10. Lidocaine 20 mg/mL = 2%. Bupivacaine 5 mg/mL = 0.5%.
Ratio to mg/mL: A ratio of 1:X means 1 g in X mL (assuming w/v). Epinephrine 1:1,000 = 1 g per 1,000 mL = 1 mg/mL. Epinephrine 1:10,000 = 1 g per 10,000 mL = 0.1 mg/mL. Atropine 1:200 (sometimes seen in older references) = 1 g per 200 mL = 5 mg/mL.
mg/mL to ppm: Convert to mg/L first (multiply mg/mL by 1,000), then remember that 1 mg/L = 1 ppm. So 1 mg/mL = 1,000 ppm. Most clinical drug concentrations are in the hundreds-to-thousands of ppm range — ppm is rarely the most practical unit for IV drug concentrations but is standard for trace elements and water-quality work.
Our dilution factor calculator includes unit conversion tools that help bridge these different expression systems without manual conversion steps.
“Q.s. ad” comes from the Latin quantum sufficit ad — meaning “a sufficient quantity to make.” In a compounding formula, “q.s. ad 100 mL” means “add enough vehicle (simple syrup, purified water, saline, whatever the base is) to bring the total volume to 100 mL.” It’s the instruction to add diluent to reach the final target volume.
The implication for dilution calculations: when a formula says q.s. ad, the diluent volume is not fixed — it’s whatever remains after all other ingredients are added. If you’ve added 15 mL of drug A, 5 mL of drug B, and 2 mL of a flavoring agent to a preparation that calls for q.s. ad 100 mL, you add 78 mL of base, not 100 mL of base.
The error happens when a compounder adds 100 mL of base to a preparation that already contains 22 mL of other components — producing 122 mL total volume at a final concentration that’s 18% lower than intended. For a medication where precise concentration matters, that’s a compounding failure. For a pediatric preparation, it might mean systematic underdosing across an entire batch.
The correct workflow: calculate the volume of all components first, sum them, subtract from the target volume, and add that calculated remainder of vehicle as the q.s. quantity. Document every volume added and verify the final volume after preparation.
The mathematics of dilution is identical across all three routes — C₁V₁ = C₂V₂ governs them all. What differs is the precision standard, the compatible vehicles, and the additional pharmaceutical considerations that frame the calculation.
Injectable preparations require the highest precision and the most stringent standards. Sterility is mandatory. Diluent compatibility is critical. Osmolarity and pH affect patient comfort and safety. Volume accuracy matters because the dose delivered is directly determined by the volume infused. The acceptable precision is typically ±5% for most preparations, ±2% for narrow-therapeutic-index drugs.
Oral liquid preparations have somewhat more forgiving precision requirements — ±10% is generally acceptable for many compounded oral products — because absorption variability from the GI tract introduces its own uncertainty. The vehicle (simple syrup, suspending agent, flavored base) must be compatible with the drug and palatable to the patient. Oral preparations also need preservatives for multi-dose products, which adds another chemical component to account for in the calculation.
Topical preparations present the most complex calculation challenges because they often involve non-aqueous bases (creams, ointments, gels) where volume measurements are replaced by weight measurements. A 2% hydrocortisone cream in a 454-gram (1 lb) jar contains 9.08 grams of hydrocortisone — a weight-based calculation. Diluting it 50% with an emollient base requires adding 454 grams of base, giving a final 1% preparation in 908 grams total. Our percentage dilution calculator handles these percentage-based calculations for all three dosage form types.
Weight-based dosing is where the dilution calculation chain begins — choose the wrong weight, and everything downstream is wrong. The choice between actual body weight (ABW), ideal body weight (IBW), and adjusted body weight (AdjBW) is a clinical pharmacology decision that the pharmacist must make or verify before calculating the dose and its dilution.
IBW is calculated from height: for males, IBW = 50 kg + 2.3 kg per inch over 5 feet; for females, IBW = 45.5 kg + 2.3 kg per inch over 5 feet. For patients whose ABW is within 20% of IBW, the distinction rarely matters. For significantly obese patients, using ABW for drugs that don’t distribute into adipose tissue (many hydrophilic drugs) can produce massive overdoses.
Aminoglycosides are the textbook case: gentamicin and tobramycin distribute into extracellular fluid but not adipose tissue. For obese patients, dosing uses adjusted body weight: AdjBW = IBW + 0.4 × (ABW − IBW). Using ABW directly for a 150 kg patient whose IBW is 70 kg would mean dosing based on 150 kg instead of IBW + adjustment of approximately 102 kg — a potential 47% overdose.
Once the correct weight is determined, the dose calculation (mg/kg × correct weight = total dose in mg) drives the subsequent dilution: total dose ÷ stock concentration = volume to withdraw, final volume − withdrawn volume = diluent to add. The dilution calculation is only as clinically valid as the weight selection that preceded it.
In pharmaceutical practice, these terms get used interchangeably in ways that create genuine confusion, and the confusion has contributed to medication errors. Here’s the precise distinction.
A dilution factor expresses how many times more dilute the final solution is compared to the original. A dilution factor of 10 means the final concentration is 1/10th of the starting concentration. If you start at 100 mg/mL and apply a dilution factor of 10, you end at 10 mg/mL. The formula is: final concentration = initial concentration ÷ dilution factor.
A dilution ratio expressed as 1:X in pharmaceutical contexts technically means 1 part drug in X total parts solution. So 1:10 means 1 mL drug in 10 mL total (1 mL drug + 9 mL diluent), giving a dilution factor of 10. However, some practitioners interpret 1:10 as 1 part drug added to 10 parts diluent (11 total parts), giving a dilution factor of 11. This ambiguity is exactly why ISMP recommends against ratio notation for drug concentrations.
The safest practice: express all pharmaceutical concentrations in mg/mL or % w/v, avoid ratio notation except where it’s mandated by a specific regulatory context (like epinephrine for anaphylaxis kits), and always verify your dilution factor using the C₁/C₂ ratio independently of however the original concentration was expressed. Our dilution ratio calculator includes clear notation guidance to prevent exactly this confusion.
Verification in pharmaceutical compounding is layered, and each layer catches a different type of error. No single verification method catches everything.
Independent pharmacist calculation check: A second pharmacist performs the calculation from scratch without seeing the first pharmacist’s work. They compare results. If they match, both are comfortable proceeding. If they don’t match, neither calculation should be used until the discrepancy is resolved.
Digital verification: Use a pharmaceutical dilution calculator (like this one) as the second calculation method if an independent pharmacist isn’t available. The digital and manual results should agree within rounding tolerance.
Volumetric verification: Examine the physical volumes. Does the volume withdrawn from the vial look consistent with the calculated volume? A 1 mL withdrawal should look like approximately 1/5th of a 5 mL syringe. Significant visual discrepancy is a signal to recheck.
Gravimetric verification: For chemotherapy and other high-alert preparations, weigh the syringe or bag before and after adding the drug. The weight difference, divided by the drug solution density (approximately 1 g/mL for most aqueous solutions), gives the volume added. This catches volumetric errors with much higher precision than visual inspection.
Label verification: Read the completed label against the original order before release. Drug name, concentration, total volume, rate (if applicable), patient name, beyond-use date — every field must match the verified order. A label error can mean the right product gets administered at the wrong rate or to the wrong patient.
Final product testing: For high-risk compounded sterile preparations, USP 797 may require potency testing before release, particularly for preparations where calculation errors cannot be detected by visual inspection or gravimetric methods alone.
Several USP chapters directly govern pharmaceutical compounding and the calculations underlying it. Understanding which chapters apply to your practice setting is part of operating within a compliant pharmacy program.
USP Chapter 795 covers non-sterile compounding — oral liquids, topical preparations, suppositories, and other non-injectable formulations. It addresses ingredient verification, calculations documentation, compounding procedures, quality controls, and BUD assignment for non-sterile preparations. Compounding pharmacies preparing oral suspensions, diluted creams, or custom-concentration solutions operate under 795.
USP Chapter 797 is the comprehensive standard for sterile compounding — IV preparations, ophthalmics, injectables. It specifies environmental controls (ISO air classification), personnel training and competency, preparation procedures, sterility testing, and BUD categories based on contamination risk. Every hospital pharmacy preparing IV medications operates under 797, whether or not they have a formal compounding designation.
USP Chapter 800 addresses hazardous drug handling, overlapping with 797 for sterile chemotherapy preparations. It mandates specific engineering controls, personal protective equipment, disposal procedures, and assessment programs for all healthcare settings handling hazardous drugs.
USP Chapter 1 (Injections and Implanted Drug Products) covers the quality standards for finished injectable products, including osmolarity, particulate matter, and pH specifications that diluted preparations must meet.
From a regulatory authority standpoint, the FDA oversees pharmaceutical manufacturing and compounding under 503A (patient-specific) and 503B (outsourcing facility) designations. State boards of pharmacy implement USP standards at the state level, with additional requirements that vary by jurisdiction.
Pharmaceutical Dilution Best Practices Checklist
After reviewing compounding SOPs across multiple institution types — community hospitals, academic medical centers, specialty compounding pharmacies, and retail settings — these are the practices that consistently distinguish error-resistant preparation workflows from those that rely on individual vigilance alone.
Before You Begin Any Calculation
During the Calculation
During Physical Preparation
Verification and Release
For a deeper reference on the mathematical foundations underlying each checklist item, our molarity dilution calculator and dilution factor calculator both provide the step-by-step breakdowns that turn checklist items into verifiable calculations.

Trusted Reference Resources for Pharmaceutical Dilution
No calculator or article replaces the authoritative references that govern pharmaceutical compounding and dilution standards. These are the sources that regulatory agencies, accreditation bodies, and professional organizations use as their evidentiary foundation.
USP (United States Pharmacopeia) — usp.org — The definitive standard for pharmaceutical compounding. Chapters 795, 797, and 800 govern non-sterile, sterile, and hazardous drug preparation respectively. If your pharmacy is accredited by any body, USP compliance is part of that accreditation.
ISMP (Institute for Safe Medication Practices) — ismp.org — Publishes the high-alert medication list, medication safety alerts, and best-practice guidelines for drug preparation. Their guidelines on concentrated electrolytes and the “do not crush” list are directly relevant to dilution practice.
ASHP (American Society of Health-System Pharmacists) — ashp.org — Publishes guidelines on compounding, pharmaceutical care, and medication-use policy. ASHP’s guidelines on compounding sterile preparations and its drug information resources are standard references in hospital pharmacy.
WHO (World Health Organization) — who.int — Provides global pharmaceutical quality standards and essential medicines guidelines. WHO’s Good Manufacturing Practices (GMP) guidelines inform pharmaceutical dilution standards in international settings and in manufacturing contexts.
CLSI (Clinical and Laboratory Standards Institute) — clsi.org — Governs dilution procedures in the clinical microbiology laboratory, including MIC testing methods. Essential for pharmacy microbiologists and those preparing antimicrobial susceptibility testing materials.
ACS (American Chemical Society) — acs.org — Provides peer-reviewed analytical chemistry standards that underpin pharmaceutical QC dilution procedures. Their analytical method validation guidelines inform how QC labs design and verify dilution procedures for potency testing.
On our own platform, the complete suite of dilution tools includes: solution dilution calculator, dilution ratio calculator, molarity dilution calculator, percent dilution calculator, mg/mL dilution calculator, cell dilution calculator, alcohol dilution calculator, and molarity calculator.
User Reviews & Ratings
📝 Share Your Experience with This Tool
Closing Thoughts on Pharmaceutical Dilution Mastery
There’s a particular kind of competence that develops in pharmacy practice over years of doing dilution calculations correctly — and then getting caught the one time you didn’t check carefully enough. Every experienced pharmacist has a story about a calculation that nearly went wrong, or one that did go wrong earlier in their career and left a permanent impression. Those moments aren’t signs of incompetence. They’re the moments that teach you why verification layers exist and why you never stop using them, no matter how confident you feel.
Pharmaceutical dilution is simultaneously one of the most routine and most consequential calculations in healthcare. Routine because you do it multiple times per shift, every shift. Consequential because the patient receiving the result of that calculation has no way to know whether it was done correctly. They trust the system. They trust the pharmacist. They trust that the bag hanging on their IV pole contains what the label says it contains at the concentration the label specifies.
That trust is the weight behind every pharmaceutical dilution calculation, and it’s the reason this calculator was built with step-by-step transparency rather than just a result. A black-box answer doesn’t let you understand what the calculator did. A step-by-step breakdown lets you follow the logic, catch a wrong input, and recognize when something doesn’t look right. That’s the difference between a tool that creates false confidence and one that genuinely supports safe practice.
If you’re early in your pharmacy training, keep practicing manual calculations even when calculators are available. The mental model you build through manual practice is what lets you recognize an absurd digital result and question it rather than trust it blindly. If you’re a seasoned practitioner, share tools like this with your students and technicians — not as replacements for calculation competency, but as verification resources that belong in every safe preparation workflow.
Your pharmaceutical dilution calculations matter to real people. Use every tool available to get them right, every time. Explore our full range of related tools: solution dilution calculator, dilution ratio calculator, mg/mL calculator, diluted EPS calculator, and alcohol dilution calculator.
🔒 Privacy Guarantee: This calculator runs entirely within your browser. No calculation data, drug names, patient parameters, or results are transmitted to any external server. Your work is completely private and never stored or shared.

Pingback: drug dose dilution calculator