MetricCalc

Grams to Milligrams Converter

Enter a mass in grams to convert it to milligrams. You can also use the scale-resolution check to see how the converted value compares with the precision of the original measurement.

This calculator converts mass only. It does not calculate or recommend medication, supplement, or ingredient doses.

Enter zero or a positive value. Keep the leading zero in small decimals—for example, write 0.025 g rather than .025 g.

0.125 g × 1,000 = 125 mg

Automatic: exact whole values stay whole; decimals show up to 8 places.

Start with a small-mass example

Select a sample gram value, then replace it with the amount from your label, worksheet, or scale. The examples are provided only to show how the conversion works and should not be treated as recommended quantities or doses.

Check the source scale's resolution

A 0.001 g scale changes in 1 mg steps. The entered 0.125 g aligns with that increment.

Convert a larger gram amount to ounces

Choose the right converter

Choose the converter that matches the unit you already have and the result you need.

Convert a nutrient value only when it is already given by mass

If a nutrition label or trusted source lists 0.3 g of sodium, you can convert that value directly:

0.3 g = 300 mg

The conversion changes only the unit. It does not change what the value represents.

Do not use the total weight of a food to estimate the amount of a nutrient inside it. For example, a 5 g serving weighs 5,000 mg in total, but that does not mean it contains 5,000 mg of sodium, calcium, protein, or any other nutrient. Always start with the nutrient amount given on the label or in a reliable source, then convert that value between grams and milligrams if needed.

Match the milligram result to your scale

Converting grams to milligrams is exact, but the result should still match the precision of the scale you used. A scale with 0.01 g resolution changes in steps of 10 mg. It can show values such as 0.12 g or 0.13 g, but it cannot directly measure 0.125 g.

A scale with 0.001 g resolution changes in 1 mg steps, so a reading of 0.125 g matches 125 mg.

Use the source-resolution check above to compare the converted value with the smallest change your scale can display. This shows the scale's resolution only. It does not confirm that the scale is correctly calibrated or fully accurate.

Scale repeated quantities before rounding

When the same amount is used several times, calculate the full quantity first and convert the total. For example, if one prototype uses 0.075 g of pigment and you need 20:

0.075 g x 20 = 1.5 g = 1,500 mg

Keeping the original gram value until the final step is especially useful when a quantity has more decimal places and would otherwise need rounding before multiplication.

Common grams-to-milligrams values

Exact gram and milligram relationships. The context column explains how measurement resolution affects their practical use.
Grams (g) Milligrams (mg) How to read it
0.001 1 The smallest gram value equal to one whole milligram.
0.005 5 Requires a source measurement capable of resolving 0.005 g.
0.010 10 One step on a scale that resolves 0.01 g.
0.025 25 Exact conversion; whether it is measurable depends on the scale.
0.050 50 A twentieth of a gram.
0.100 100 A tenth of a gram.
0.250 250 A quarter of a gram.
0.500 500 Half a gram.

How the conversion and rounding work

The prefix milli means one-thousandth, so 1 milligram = 0.001 gram and 1 gram = 1,000 milligrams.

To convert grams to milligrams, multiply by 1,000:

milligrams = grams x 1,000

Automatic mode keeps whole-milligram results simple and shows decimal places only when needed. You can also choose whole numbers or one, two, or three decimal places. If rounding would make a very small nonzero value appear as zero, the calculator keeps extra digits. Rounding changes only how the result is displayed. It does not make the original measurement more accurate.

This calculator converts mass only. For medicines or supplements, do not use a grams-to-milligrams conversion to work out a dose. Product weight, active-ingredient amount, concentration, and serving size can describe different things. Follow the information on the product label or instructions from a qualified healthcare professional.

Common questions about grams and milligrams

How many milligrams are in 0.1 gram?

There are exactly 100 mg in 0.1 g. To convert grams to milligrams, multiply the gram value by 1,000. For example, 0.1 g x 1,000 = 100 mg.

How many grams are in 1 milligram?

1 mg = 0.001 g. To convert milligrams back to grams, divide by 1,000. For example, 1 mg ÷ 1,000 = 0.001 g.

Does converting grams to milligrams make a measurement more precise?

No. Writing 0.1 g as 100 mg changes the unit, not the precision of the measurement. For example, a scale that measures in 0.1 g steps is effectively changing in 100 mg steps. Showing the result in milligrams does not make that scale accurate to the nearest 1 mg.

Can I convert milligrams to milliliters?

Not with a simple unit conversion. Milligrams measure mass, while milliliters measure volume. Converting between them requires information about the substance, such as its density or a known concentration.

Can this converter determine a medicine or supplement dose?

No. This calculator only converts a mass already given in grams into milligrams. It cannot determine how much medicine or supplement should be taken. Values such as mg per tablet, mg per mL, concentration, serving size, and active-ingredient amount describe different things. Follow the product instructions and advice from a qualified healthcare professional when deciding a dose.