Yoctograms to Milligrams Converter — yg to mg

Convert Yoctogram (yg) to Milligram (mg) using the exact conversion factor (1 yoctogram = 1e-21 milligram). See the formula, worked examples, and conversion table.

Yoctograms to Milligrams converter

Converter

Mass/Weight Converter

Convert SI mass, imperial weight, jewelry, atomic, and astronomy mass units.

Result 1 yoctogram = 1e-21 milligram
Advertisement Converter ad slot

Reserved below the result so the calculator remains usable.

From definition

Yoctogram is 1e-24 gram units.

To definition

Milligram is 0.001 gram units.

Formula

Result = input x 1e-27 / 1e-6.

Mass uses the kilogram as the base unit.

Advertisement Ad slot: content top (728x90)

Reserved above the conversion cards and below the converter.

About Converting Yoctograms to Milligrams

Weight conversions between Yoctogram and Milligram come up constantly in everyday commerce, shipping, and cooking, since US packaging is usually labeled in pounds while most of the rest of the world uses kilograms. Specifically: Yoctogram is 1e-24 gram units, and milligram is 0.001 gram units.

Formula

milligrams = yoctograms × 1e-21

This factor comes from each unit's defined relationship to the category's base unit: 1 yoctogram equals 1e-27 base units, and 1 milligram equals 0.000001 base units, so dividing one by the other gives the direct yoctogram-to-milligram factor of 1e-21.

Simple example

1 yg × 1e-21 = 1e-21 mg

1 yoctogram = 1e-21 milligrams.

Real-world example

50 yg × 1e-21 = 5e-20 mg

50 yoctograms = 5e-20 milligrams.

Conversion table

Yoctogram (yg)Milligram (mg)
1 yg1e-21 mg
5 yg5e-21 mg
10 yg1e-20 mg
25 yg2.5e-20 mg
50 yg5e-20 mg
100 yg1e-19 mg

Reverse conversion: Milligram to Yoctogram

1e-21 mg × 1e+21 = 1 yg

1e-21 milligrams = 1 yoctogram.

yoctograms = milligrams × 1e+21

For a page dedicated to this direction, see Milligram to Yoctogram.

Understanding the Yoctogram (yg)

Yoctogram is 1e-24 gram units.

Understanding the Milligram (mg)

Milligram is 0.001 gram units.

Advertisement Ad slot: content middle (728x90)

Reserved between the cards and the FAQ so the page stays balanced.

Frequently asked questions

How many milligrams are in 1 yoctogram?

1 yoctogram equals 1e-21 milligrams, using the exact defined conversion factor rather than an estimate.

How do I convert yoctogram to milligram?

Multiply the yoctogram value by 1e-21. The converter above does this instantly to whatever precision you set.

How do I convert milligram back to yoctogram?

Use the reverse factor: 1 milligram equals 1e+21 yoctograms. You can also use the swap control in the converter above to flip the direction instantly.

What is a yoctogram?

Yoctogram (yg) is a unit of mass/weight.

What is a milligram?

Milligram (mg) is a unit of mass/weight.

Is the yoctogram to milligram conversion exact?

Yes. Both yoctogram and milligram are defined by fixed standards rather than physical artifacts, so the factor of 1e-21 used above is exact to as many digits as you choose to display.