PHAR-131 · Lesson 2 of 12 · 29 min

Ratio, proportion and dimensional analysis

▶ Video coming soon A video version of this lesson is on the way.

Marcus Delacroix-Whyte, a fictional second-year pharmacy technician student, likes to work calculations in his head. During a practice session at the fictional Fenwick Hollow Hospital pharmacy, he is asked how many milliliters of an oral suspension labeled 250 mg per 5 mL will deliver a hypothetical adult dose of 0.5 g. He answers '2 mL' almost immediately. His preceptor asks him to show the work, and he discovers that he divided the wrong way and forgot to convert grams to milligrams. The correct answer is 10 mL, five times his first guess. The point of this lesson is not that mental arithmetic is bad, but that every calculation needs a structure that keeps units visible and makes errors obvious. Three structures dominate pharmacy practice: ratio and proportion, the formula method and dimensional analysis. This lesson focuses on the first and the last; lesson 4 applies all three to dosing.

Ratios and what they describe

A ratio compares two quantities. In pharmacy, the most important ratios describe how much drug is contained in a given amount of a product. A suspension labeled 250 mg per 5 mL contains the ratio 250 mg : 5 mL. A tablet labeled 10 mg contains the ratio 10 mg : 1 tablet. An intravenous bag containing 25,000 units of heparin in 250 mL contains the ratio 25,000 units : 250 mL, which simplifies to 100 units : 1 mL. A ratio can be written with a colon, as a fraction (250 mg / 5 mL) or in words (250 mg per 5 mL). All three forms mean the same thing, and each can be flipped (5 mL / 250 mg) without changing the relationship, which is what makes ratios such powerful tools for calculation.

Ratios can be simplified by dividing both parts by the same number. 250 mg : 5 mL simplifies to 50 mg : 1 mL, which is the concentration in milligrams per milliliter. Simplifying to a 'per one' ratio is often the clearest way to understand a product and is how many concentrations are labeled, particularly for injectable drugs. A label of 50 mg per mL immediately tells you that each milliliter contains 50 mg.

Proportions

A proportion is a statement that two ratios are equal. If 250 mg is contained in 5 mL, then 500 mg is contained in some unknown volume x, and the proportion is written 250 mg : 5 mL = 500 mg : x mL, or as fractions, 250 mg / 5 mL = 500 mg / x mL. Solving a proportion means finding the unknown. With fractions, you cross-multiply: 250 multiplied by x equals 5 multiplied by 500, so 250x = 2,500 and x = 10 mL. With the colon form, the traditional rule is that the product of the means (the two inside terms) equals the product of the extremes (the two outside terms), which gives exactly the same equation.

Three boxes. The first reads 'What you have: 250 mg : 5 mL'. An equals sign leads to the second box, 'What you need: 500 mg : x mL'. An arrow leads to the third box, 'Cross-multiply: 250 x = 2,500, x = 10 mL'. A note reads that units on each side must match.
Figure 1. Setting up and solving a proportion. The same units must occupy the same positions on both sides.

The single most important rule for proportions is that the units must be in the same positions on both sides. If milligrams are on top on the left, milligrams must be on top on the right; if milliliters are on the bottom on the left, milliliters must be on the bottom on the right. Marcus's first error came from writing 250 mg / 5 mL = x mL / 0.5 g, which mixes the units in every position. A second rule is that the units in matching positions must be identical, not merely similar: if one side is in grams and the other in milligrams, convert first.

Worked problem

Solving a proportion for a tablet dose

A hypothetical adult order asks for 15 mg of an oral drug. The tablets available contain 7.5 mg each. How many tablets are needed?

Show solution
  1. Write what you have as a ratio: 7.5 mg : 1 tablet.
  2. Write what you need with the unknown in the same position: 15 mg : x tablets.
  3. Set the proportion: 7.5 mg / 1 tablet = 15 mg / x tablets.
  4. Cross-multiply: 7.5x = 15, so x = 2.
  5. Estimate: 15 is twice 7.5, so two tablets makes sense.

Answer: 2 tablets.

Worked problem

Solving a proportion for a liquid volume

A hypothetical adult order asks for 40 mg of a drug available as an injection containing 10 mg per mL. What volume is needed?

Show solution
  1. Have: 10 mg : 1 mL. Need: 40 mg : x mL.
  2. 10 mg / 1 mL = 40 mg / x mL.
  3. Cross-multiply: 10x = 40, so x = 4 mL.
  4. Estimate: 40 mg is four times 10 mg, so four milliliters fits.

Answer: 4 mL.

Proportions are intuitive and work well for simple two-step problems. Their weakness appears when a problem needs several conversions: a dose ordered in grams, a product labeled in milligrams per 5 mL and an answer needed in teaspoons would require several proportions solved one after the other, with a chance of error at each step. Dimensional analysis handles such problems in a single line.

Dimensional analysis

Dimensional analysis, sometimes called the factor-label method or unit-factor method, treats every quantity as a number with its unit attached and multiplies a chain of conversion factors arranged so that unwanted units cancel. A conversion factor is any ratio of two equal quantities, such as 1,000 mg / 1 g, 5 mL / 250 mg or 1 kg / 2.2 lb. Because the numerator and denominator are equal, each factor equals one, so multiplying by it changes the units without changing the actual amount. The method is widely used in chemistry and nursing and pharmacy education because it makes the logic of each step visible.

The procedure has four steps. First, identify the unit you want in the answer, such as mL. Second, start with the given quantity, usually the ordered dose. Third, multiply by conversion factors, each placed so that the unit you want to cancel appears in the opposite position (top versus bottom) from where it appeared before. Fourth, when only the desired unit remains, do the arithmetic: multiply all the numerators, multiply all the denominators and divide.

A chain of three fractions multiplied together: 0.5 g over dose, times 1,000 mg over 1 g, times 5 mL over 250 mg, equals 10 mL. Red strokes cancel g against g and mg against mg. A caption reads that g cancels g, mg cancels mg, and only mL is left.
Figure 2. Dimensional analysis for a hypothetical order of 0.5 g of a suspension labeled 250 mg per 5 mL.

Worked problem

Marcus's problem by dimensional analysis

A hypothetical adult order asks for 0.5 g of an oral suspension labeled 250 mg per 5 mL. How many milliliters?

Show solution
  1. Desired unit: mL.
  2. Start with the order: 0.5 g.
  3. Cancel grams with 1,000 mg / 1 g: 0.5 g multiplied by 1,000 mg / 1 g leaves mg.
  4. Cancel milligrams with 5 mL / 250 mg: now only mL remains.
  5. Arithmetic: 0.5 multiplied by 1,000 multiplied by 5 = 2,500; divided by 250 = 10.

Answer: 10 mL.

Notice that the second factor, 5 mL / 250 mg, is the label strength written upside down compared with how it appears on the bottle. Flipping it is not a trick; it is required so that milligrams cancel. If you write 250 mg / 5 mL instead, the units left at the end would be mg squared per mL, which is meaningless and immediately signals an error. This self-checking property is the main advantage of dimensional analysis: an incorrect setup produces nonsense units.

Multi-step problems

Dimensional analysis becomes even more valuable when a problem involves weight, time or several products. Consider a hypothetical adult order for 2 mg per kg of a drug for a person weighing 154 lb, with the product available as 50 mg per mL. The chain starts with the dose per kilogram, converts pounds to kilograms, multiplies by the weight and then converts milligrams to milliliters. All the conversions appear in one line, and each can be checked separately.

Worked problem

A weight-based volume in one line

Hypothetical adult order: 2 mg/kg intravenously once. Weight 154 lb. Product: 50 mg per mL. What volume is needed?

Show solution
  1. Desired unit: mL.
  2. Start with the weight: 154 lb multiplied by 1 kg / 2.2 lb = 70 kg.
  3. Multiply by the dose rate: 70 kg multiplied by 2 mg / 1 kg = 140 mg.
  4. Convert to volume: 140 mg multiplied by 1 mL / 50 mg = 2.8 mL.
  5. Written as one chain: 154 lb x (1 kg / 2.2 lb) x (2 mg / 1 kg) x (1 mL / 50 mg) = 2.8 mL.

Answer: 2.8 mL.

Time conversions fit into the same framework. An infusion of 1,000 mL over 8 hours runs at 1,000 mL / 8 h = 125 mL/h. If a gravity infusion set delivers 15 drops per mL, the drip rate is 125 mL/h multiplied by 15 drops / 1 mL multiplied by 1 h / 60 min, which equals about 31 drops per minute. Lesson 9 develops these calculations further, but the method is identical: write the units, cancel them and check what remains.

Three calculation methods. Many pharmacy professionals learn all three and use a second method to check the first.
MethodHow it worksStrengthsWatch out for
Ratio and proportionSet two equal ratios and cross-multiply to find the unknownIntuitive; good for single-step problemsMismatched units in matching positions; several proportions needed for multi-step problems
Formula method (D/H x Q)Desired dose divided by dose on hand, multiplied by the quantity containing itFast and familiar for routine dosesUnits must be converted before using the formula; easy to apply blindly
Dimensional analysisMultiply a chain of conversion factors so that units cancelHandles multi-step problems in one line; incorrect setups give nonsense unitsTakes practice to set up; arithmetic errors still possible

Choosing a method and checking with a second

No method is safer in every situation. What matters is that you use one consistently, write the units at every step and check the answer with an estimate or a second method. Many organizations ask staff to perform high-risk calculations, such as those for chemotherapy, insulin infusions, heparin infusions and concentrated electrolytes, by one method and have a second person repeat them independently, preferably without seeing the first answer. Independence matters: a checker who simply follows the first person's working is likely to repeat the same mistake.

Estimation is the quickest second method. Before calculating, round the numbers to something easy and predict the answer. For 0.5 g of a 250 mg per 5 mL suspension, 0.5 g is 500 mg, which is two times 250 mg, so the volume should be about two times 5 mL, or 10 mL. Marcus's '2 mL' fails this check at once. Estimation will not catch an error of a few percent, but it reliably catches errors of a factor of 10 or more, which are the ones most likely to cause serious harm.

Percentages, fractions and decimals in calculations

Many calculations involve converting between fractions, decimals and percents. A fraction such as 3/4 equals the decimal 0.75, and a percent is a fraction of 100, so 0.75 is 75 percent. To convert a decimal to a percent, multiply by 100; to convert a percent to a decimal, divide by 100. These conversions appear in percentage concentrations (lesson 6), in markups and discounts in pharmacy business calculations, and in statements such as 'reduce the dose by 25 percent', which means giving 75 percent, or 0.75 times, the previous dose.

Worked problem

Applying a percentage change

A hypothetical adult's daily dose of a drug is 400 mg. The prescriber asks for a 25 percent reduction. What is the new dose?

Show solution
  1. A 25 percent reduction leaves 100 minus 25 = 75 percent of the original dose.
  2. 75 percent as a decimal is 0.75.
  3. 0.75 multiplied by 400 mg = 300 mg.
  4. Check: 25 percent of 400 is 100, and 400 minus 100 = 300.

Answer: 300 mg per day.

Significant figures and precision

Calculated answers should not imply more precision than the data support. If a weight is known only to the nearest kilogram, reporting a dose to four decimal places suggests an accuracy that does not exist. In practice, pharmacy calculations carry extra decimal places through intermediate steps and round only the final answer to a measurable amount. Rounding at each step can accumulate errors, particularly in long dimensional analysis chains. When the final answer must be rounded, follow the organization's rules and the limits of the measuring device, as described in lesson 1.

Common mistakes

  • MistakePlacing different units in matching positions of a proportion, such as mg over mL on one side and mL over mg on the other.

    InsteadKeep like units in like positions on both sides before cross-multiplying.

  • MistakeUsing the label strength right side up in dimensional analysis so that units fail to cancel.

    InsteadFlip the factor so that the unit you need to remove appears in the opposite position.

  • MistakeMixing grams and milligrams in the same proportion.

    InsteadConvert to a single unit before setting up the proportion.

  • MistakeChecking a colleague's calculation by reading their working.

    InsteadRecalculate independently, ideally without seeing their answer first.

  • MistakeRounding after every step of a long calculation.

    InsteadCarry extra decimals and round only the final answer.

Summary and key terms

  • A ratio compares two quantities; label strengths such as 250 mg per 5 mL are ratios.
  • A proportion sets two ratios equal; keep the same units in the same positions and cross-multiply.
  • Dimensional analysis multiplies conversion factors so that unwanted units cancel; nonsense units reveal setup errors.
  • Multi-step problems involving weight, time and concentration can be solved in a single dimensional analysis chain.
  • Every calculation is checked with an estimate, and high-risk calculations are independently double-checked.
  • Carry extra decimal places and round only the final answer to a measurable quantity.
Ratio
A comparison of two quantities, such as 250 mg : 5 mL.
Proportion
A statement that two ratios are equal, used to solve for an unknown.
Cross-multiplication
Multiplying the numerator of each fraction by the denominator of the other to solve a proportion.
Dimensional analysis
A calculation method that multiplies conversion factors so that units cancel, leaving the desired unit.
Conversion factor
A ratio of two equal quantities in different units, equal to one.
Independent double check
A second person's separate calculation of the same problem without relying on the first person's working.
Estimation
Rounding numbers to predict the approximate size of an answer before calculating.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. A product contains 125 mg per 5 mL. Simplify to mg per mL.

    Show answer

    125 divided by 5 = 25 mg per mL.

  2. Hypothetical order: 300 mg. Available: 150 mg tablets. Use a proportion to find the number of tablets.

    Show answer

    150 mg / 1 tablet = 300 mg / x; x = 2 tablets.

  3. Hypothetical order: 0.25 g. Available: 125 mg per 5 mL. Use dimensional analysis.

    Show answer

    0.25 g x 1,000 mg/g x 5 mL/125 mg = 10 mL.

  4. Hypothetical order: 1.5 mg/kg for a 60 kg adult. Product: 30 mg per mL. What volume?

    Show answer

    60 x 1.5 = 90 mg; 90 / 30 = 3 mL.

  5. Convert 0.125 to a percent.

    Show answer

    0.125 x 100 = 12.5 percent.

  6. A colleague calculated 0.8 mL for a dose of 40 mg from a 50 mg per mL vial. Is it correct?

    Show answer

    Yes: 40 / 50 = 0.8 mL; estimate: a little less than 1 mL, which fits.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz