Skip to main content

Free health tool

Grams to Milligrams (g to mg) Converter

Express a known mass in grams or milligrams without changing the amount.

  • Free
  • Instant result
  • No account

Calculate your result

Enter the number only. Use the direction that matches the unit on your label.

Accepted range: 0 to 1000000 g

Your result will appear here

Nothing is saved or added to the URL.

Diagram of equal weights labeled 1 g and 1,000 mg, showing the same mass in both units.

What this result means

One gram equals exactly 1,000 milligrams. Multiply grams by 1,000 to get milligrams, or divide milligrams by 1,000 to get grams. Choose the unit printed next to your starting number. [1][2]

Start with the unit printed on the label

Choose g → mg for a value already in grams. Choose mg → g for a value in milligrams. A gram is the larger unit, so the same mass is written with a larger number in mg. [1][2]

Match the named ingredient and serving size before comparing labels. If a label gives 0.75 g per serving, the result is 750 mg per serving. Converting the unit does not change one serving into two. [1]

Check for a slash in the unit

A plain mg value gives a mass. A label in mg/mL gives a mass per volume. The denominator carries information, so a number in mg/mL cannot be entered as a mass without the matching volume. Milliliters alone describe volume. [1][2]

Read the result and its precision

The formula changes the unit. Any rounding on the original label still applies. Enter a plain number such as 0.75. The calculator rejects negative values, commas and entries such as “<1 mg”. [1][2]

Entries and results stay in your browser memory. The share control copies the page address without your numbers. Reset or reload the page to clear your entry.

Formula and assumptions

Formula
mg = g Ă— 1,000. g = mg Ă· 1,000. [1][2]
Version
Grams and milligrams mass conversion, si-grams-milligrams-v1
Rounding
Round once to six decimal places, with halfway values rounded up. A positive result that would round to zero displays as less than 0.000001 in the selected unit.
Worked example
A label lists 0.75 g for one serving. Multiply by 1,000 to get 750 mg for that same serving. Choose mg → g and enter 750 to convert it back to 0.75 g. [1][2]

Who this is for — and when not to use it

Intended use

Convert a known nonnegative mass between g and mg for labels, recipes or specifications.

Not intended for

Use a different tool for volume, concentration or activity units. The conversion provides no serving recommendation or medicine or supplement dose.

Exclusions

  • Values given only as an inequality
  • Volumes, concentrations such as mg/mL, and international units
  • Any decision about medicine or supplement dosing

Evidence sources

  1. 1. SI Units: Mass — National Institute of Standards and Technology. Accessed Nov 14, 2026.
  2. 2. The International System of Units: Prefixes — International Bureau of Weights and Measures. Accessed Nov 14, 2026.