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
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
- 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.
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. SI Units: Mass — National Institute of Standards and Technology. Accessed Nov 14, 2026.
- 2. The International System of Units: Prefixes — International Bureau of Weights and Measures. Accessed Nov 14, 2026.
