What is a milligrams to grams converter?
A milligrams to grams converter is a small online tool that takes a mass written in milligrams (mg) and rewrites it in grams (g). Both units belong to the metric system, so the relationship between them is fixed and never depends on the substance being weighed. Because a gram is the larger unit, any value in milligrams becomes a smaller number once expressed in grams.
This converter is handy for nutrition labels, medication doses, laboratory work, and any situation where a measurement is recorded in milligrams but you need the equivalent in grams. Type a value into either field and the other side updates automatically.
Formula
The conversion rests on a single fixed factor: there are 1,000 milligrams in one gram.
To go the other direction, multiply instead:
How to convert milligrams to grams
- Start with your mass in milligrams.
- Divide that number by 1,000.
- The result is the same mass expressed in grams.
The base factor to remember is that 1 mg = 0.001 g. Equivalently, 1 g = 1,000 mg. Dividing by 1,000 simply shifts the decimal point three places to the left.
Worked examples
Example 1 — 1 mg to grams
So 1 milligram equals 0.001 grams.
Example 2 — 1 g back to milligrams (reverse)
So 1 gram equals 1,000 milligrams, confirming the conversion works both ways.
Example 3 — 250 mg to grams
A common 250 mg dose is therefore a quarter of a gram.
FAQ
How many grams are in a milligram?
There are 0.001 grams in one milligram. Put another way, it takes 1,000 milligrams to make a single gram.
Is converting milligrams to grams ever inexact?
No. Both units are defined within the metric system, so dividing by exactly 1,000 always gives an exact result with no rounding error.
For related conversions, see the grams to kilograms converter and the ounces to milligrams converter.