Gram to Milligram Converter

Convert grams to milligrams (g to mg) instantly with this free online weight converter. Enter any value in the Gram field and get the equivalent in Milligram immediately. This converter handles any quantity — from tiny fractions to large numbers — with full precision. No signup, no ads in the widget, and the conversion runs entirely in your browser for instant results.

The conversion factor is exact: 1 g = 1000 mg. To convert grams to milligrams, multiply your Gram value by 1000. For example, 10 g = 10000 mg. You can also reverse the calculation: 1 mg = 0.001 g.

Quick conversion table

Gram (g) Milligram (mg)
1 g 1000 mg
5 g 5000 mg
10 g 10000 mg
25 g 25000 mg
50 g 50000 mg
100 g 100000 mg

Use the swap button to reverse the direction, or choose a different unit from the dropdown menus to convert within the weight category.

Result —
Formula —

Formula

Gram to Milligram conversion:
1 g = 1000 mg
milligrams = grams × 1000
1 mg = 0.001 g
grams = milligrams × 0.001

Example

Example: Convert 10 g to mg: 10 g × 1000 = 10000 mg So, 10 g is about 10000 mg. To convert back, multiply by 0.001: 10000 mg × 0.001 = 10 g.

How to Use

  1. Enter the value you want to convert in the Gram field
  2. The result in Milligram appears instantly below
  3. Use the dropdown menus to change units if needed
  4. Click 'Swap Units' to reverse the conversion direction
  5. Copy the result or adjust the input for a new conversion

Frequently Asked Questions

How do I convert grams to milligrams?

Enter the value in Gram (g) in the 'From' field. The equivalent in Milligram (mg) appears instantly in the 'To' field. The converter uses precise conversion factors and updates in real time as you type.

What is the formula to convert g to mg?

1 g = 1000 mg, so milligrams = grams × 1000. To convert back, 1 mg = 0.001 g. The full formula and a worked example are shown on this page.

How many milligrams are in one Gram?

1 g = 1000 mg.

Is this Gram to Milligram converter free?

Yes, completely free with no signup, no limits, and no ads in the converter widget. You can convert as many values as you need. The tool runs entirely in your browser, so your data never leaves your device.

Can I convert milligrams back to grams?

Yes. Click the 'Swap Units' button to reverse the direction. You can also use the dropdown menus to select any other weight unit for either field.

How accurate is the g to mg conversion?

The converter uses high-precision conversion factors (up to 8 decimal places). Results are displayed with up to 6 decimal places, with trailing zeros removed for readability. For scientific or engineering work, always verify with official standards.