Vial to Units

About Vial to Units

A calculator for one job: turning a vial size, a volume of water and a prescribed dose into a concentration and a syringe marking.

What it does

You enter the amount printed on the vial, the water added to it and the dose on your prescription. The site divides and multiplies those numbers and shows the concentration, the volume to draw and the matching units on a U-100 insulin syringe. It can also run the other way, from units drawn back to the amount they contain.

The arithmetic is three lines long and is written out on the how it works page, so any result can be checked with a pocket calculator.

What it does not do

How results are tested

All calculations come from one small file of arithmetic. The calculator in your browser, the conversion charts on the site and an automated test suite all use that same file, so they cannot disagree with each other.

The tests compare the output with examples worked by hand, including these:

VialWaterDoseExpected result
10 mg2 mL2.5 mg5 mg/mL, 0.5 mL, 50 units
5 mg2 mL250 mcg2.5 mg/mL, 0.1 mL, 10 units
10 IU1 mL2 IU10 IU/mL, 0.2 mL, 20 units

The tests also cover the reverse direction, empty or zero inputs, and rounding. Results are shown to at most four significant figures.

A calculator can only be as right as the numbers typed into it. Check every result against your vial label and prescription, and ask your pharmacist if anything looks off.

More

Last updated