Enter the milligram amount and select the drug or substance into the calculator to determine the equivalent units, or use the reference information below to understand the mg to units conversion factor for common medications and vitamins.

mg to units Converter

Enter a value in milligrams and select a substance to calculate the equivalent units.

Built-in options use typical reference conversions. Always verify the exact manufacturer labeling before applying a conversion in practice.

mg to Units Formula

The following formula is used to calculate units from a given amount in milligrams for a specific substance.

U = mg \times F

Variables:

  • U is the number of units or international units (IU)
  • mg is the amount in milligrams
  • F is the conversion factor in units per mg

To calculate the units, multiply the number of milligrams by the substance-specific conversion factor. To reverse the conversion, divide the number of units by the units-per-mg factor.

What is mg to Units Conversion?

Milligrams (mg) measure mass, while units or IU measure biologic activity or assigned potency. Because of this, there is no single universal conversion from mg to units. Each drug, vitamin, or biologic substance has its own standardized relationship between mass and activity, often expressed as units per mg.

For example, unfractionated heparin is commonly referenced as 100 units per mg, while vitamin D₃ is commonly referenced as 40,000 IU per mg. That means the same mg value can produce a very different units value depending on the selected substance.

This calculator uses typical reference factors for unfractionated heparin, vitamin D₃, vitamin A, vitamin E, polymyxin B, and oxytocin. Actual product strengths may differ, so product labeling should always be checked before clinical, laboratory, or dosing use.

How to Calculate mg to Units?

The following steps outline how to calculate units from milligrams.


  1. First, determine the amount in milligrams (mg).
  2. Next, identify the drug or substance you are converting.
  3. Find the appropriate conversion factor in units per mg for that substance.
  4. Multiply the mg value by the units-per-mg factor using the formula U = mg × F.
  5. Finally, compare the result against the specific product label or formulary reference.

Example Problem:

Use the following variables as an example problem to test your knowledge.

Milligrams (mg) = 10

Substance = Unfractionated heparin

Conversion Factor (F) = 100 units per mg

Units (U) = 10 × 100 = 1,000 units

mg to Units Conversion Table

The table below shows how a 10 mg dose of several substances converts to units using common reference factors.

SubstanceUnits per mg10 mg in units
Unfractionated heparin100 units/mg1,000 units
Vitamin D₃ (cholecalciferol)40,000 IU/mg400,000 IU
Vitamin A (retinol)3,333.33 IU/mg33,333.33 IU
Vitamin E (d-alpha-tocopherol)1.49 IU/mg14.93 IU
Polymyxin B10,000 units/mg100,000 units
Oxytocin500 IU/mg5,000 IU

Typical reference values used in this calculator include 100 units per mg for unfractionated heparin, 40,000 IU per mg for vitamin D₃, about 3,333.33 IU per mg for vitamin A, about 1.49 IU per mg for vitamin E, 10,000 units per mg for polymyxin B, and 500 IU per mg for oxytocin.

Laboratories, formularies, and package inserts may display either mg, units, or both. Understanding the relevant units-per-mg factor helps you move between the two systems more confidently, but clinical use should always be based on verified product-specific information.