Grams to Milligrams Converter

Convert grams (g) to milligrams (mg) with the calculator below. Enter a value in either field for an instant result.

10 g equals 10000 mg.

Grams to Milligrams Conversion Table

Use these common values as a quick reference.

Grams (g)Milligrams (mg)
0.01 g10 mg
0.1 g100 mg
1 g1000 mg
2 g2000 mg
5 g5000 mg
10 g10000 mg
20 g20000 mg
50 g50000 mg
100 g100000 mg
1000 g1000000 mg

How to Convert Gram to Milligram

Conversion: 1 g = 1000 mg.

Formula: milligrams = grams × 1000

  1. Enter the gram value.
  2. Apply the conversion formula shown above.
  3. Round the result only as much as your use requires.

Example: 10 g = 10000 mg.

Understanding the Gram to Milligram Conversion

One gram equals 1000 mg. Because this factor is greater than one, the numerical value usually becomes larger when converting from g to mg, even though the measured quantity does not change.

Mass conversions are useful when a label, scale or specification uses a different measurement system. In everyday language people often say “weight,” while these units technically describe mass. For ordinary conversion work, the same numerical unit relationship applies.

Gram is commonly used for food, ingredients and lightweight objects, while Milligram is commonly used for medicine, nutrition labels and small samples. Converting between them makes measurements easier to compare without changing the quantity being described.

Forward relationship1 g = 1000 mg
Reverse relationship1 mg = 0.001 g
CategoryWeight & Mass

Worked Gram to Milligram Examples

These examples show how the conversion works for several practical values.

  1. 0.5 g: 0.5 × 1000 = 500 mg.
  2. 3 g: 3 × 1000 = 3000 mg.
  3. 25 g: 25 × 1000 = 25000 mg.

Accuracy, Precision and Rounding

Everyday Units stores each unit as a factor relative to a shared base unit—Kilogram. The entered value is converted to that base and then to milligram.

The calculator normally shows up to ten significant digits and removes unnecessary trailing zeros. This balances accuracy with readability. If the result will be used in engineering, science, medicine, trade or another precision-sensitive setting, follow the rounding and tolerance rules required for that specific use.

Common mistakes to avoid

  • Check that the selected symbols match the units shown in the source measurement.
  • Do not round the conversion factor before completing the calculation.
  • Keep the unit symbol beside the number so the result cannot be mistaken for another measurement.

About the Units

Gram (g)

Definition: One gram is equal to 0.001 kg in the converter’s base system.

History and origin: The gram was a foundational unit in the early metric system.

Current use: This unit is commonly used for food, ingredients and lightweight objects.

Milligram (mg)

Definition: One milligram is equal to 0.000001 kg in the converter’s base system.

History and origin: The prefix milli means one thousandth.

Current use: This unit is commonly used for medicine, nutrition labels and small samples.

Frequently Asked Questions

How many milligrams are in one gram?

One gram is 1000 mg. The calculator uses this relationship for every value entered.

What is the reverse milligram to gram conversion?

One milligram equals 0.001 g. Use the reverse-conversion link below to open that calculator directly.

Can I convert decimal and very small values?

Yes. Enter integers, decimals, or very small values in either field. Results use sensible precision, with scientific notation only when it improves readability.

How should I round the result?

Keep the full calculator result during intermediate work, then round once at the end. Everyday estimates may need only two or three decimal places, while technical work may require more significant digits.

Is the gram to milligram conversion accurate?

The calculation uses the centralized conversion constant shown on this page. Everyday Units converts through the category’s base unit and keeps more precision internally than is normally needed for display.

How This Calculator Works

All calculations happen locally in your browser. No conversion request is sent to an external service. The same centralized unit definitions power the calculator, formula, examples and tables, which helps keep the figures consistent across every related page. Read our conversion methodology and sources for standards, assumptions and rounding details.

For a quick check, compare the forward and reverse relationships above: converting a value to mg and back to g should return the original measurement, apart from normal display rounding.

Need the reverse conversion? Milligrams to Grams

Popular Weight & Mass Conversions