How many milligrams are in a gram?
One gram is 1,000 milligrams. The NIST list of SI prefixes defines milli as one thousandth, so a milligram is one thousandth of a gram. The relation is exact and nothing is rounded. Multiply grams by 1,000 to get milligrams, or divide milligrams by 1,000 to get grams.
Milligrams = grams × 1,000
Grams = milligrams ÷ 1,000
In practice, move the decimal point three places. Grams to milligrams: move it right. Milligrams to grams: move it left. A kilogram is 1,000 g, so it holds 1,000,000 mg.
How do you convert mg to g and g to mg?
Divide milligrams by 1,000 to get grams, and multiply grams by 1,000 to get milligrams. A result in grams is always the smaller number, and a result in milligrams is always the larger one. Write the unit next to every number to avoid mixing them up.
- 250 mg ÷ 1,000 = 0.25 g.
- 0.75 g × 1,000 = 750 mg.
- 4,500 mg ÷ 1,000 = 4.5 g.
| Milligrams | Grams |
|---|---|
| 1 mg | 0.001 |
| 10 mg | 0.01 |
| 100 mg | 0.1 |
| 250 mg | 0.25 |
| 500 mg | 0.5 |
| 750 mg | 0.75 |
| 1,000 mg | 1 |
| 2,500 mg | 2.5 |
| 5,000 mg | 5 |
| 10,000 mg | 10 |
Every row is the milligram value divided by 1,000. The same rule holds for any size: 1 mg is 0.001 g, and 1,000,000 mg is 1,000 g, or 1 kg.
The usual slips are moving the decimal the wrong way and misreading the unit. Half a gram is 500 mg, not 0.0005 mg. Ask whether the answer should be a bigger or a smaller number, then check it against that.
How many milligrams are in an ounce?
One ounce is 28,349.523125 milligrams. NIST defines the avoirdupois pound as exactly 0.45359237 kilogram and lists 16 ounces to the pound, so an ounce is 453.59237 g ÷ 16 = 28.349523125 g. Multiply grams by 1,000 for milligrams. The value is exact, with no rounding in it.
| Ounces | Grams | Milligrams |
|---|---|---|
| 1/8 oz | 3.54 | 3,544 |
| 1/4 oz | 7.09 | 7,087 |
| 1/2 oz | 14.17 | 14,175 |
| 1 oz | 28.35 | 28,350 |
| 2 oz | 56.7 | 56,699 |
| 4 oz | 113.4 | 113,398 |
| 8 oz | 226.8 | 226,796 |
| 16 oz | 453.59 | 453,592 |
Method: ounces × 28.349523125 g gives grams, rounded to two decimals, and grams × 1,000 gives milligrams, rounded to whole numbers. NIST prints the ounce as 28.349 52 g in its SP 811 table, which is the same value rounded.
Worked example: a recipe asks for 2.5 oz and your scale shows grams. 2.5 × 28.349523125 = 70.874 g, which is 70,874 mg. A scale with a 1 g step reads 71 g, 126 mg high. One with a 0.1 g step reads 70.9 g. To check, go back: 70.874 ÷ 28.3495 = 2.5 oz.
How many ounces are in a gram or a milligram?
One gram is 0.035274 ounce, and one milligram is 0.0000353 ounce. To get ounces, divide grams by 28.3495, or milligrams by 28,349.5. These reverse values are rounded because the division does not end. Keep at least three decimals when the result feeds another calculation.
| Grams | Milligrams | Ounces |
|---|---|---|
| 1 g | 1,000 | 0.035 |
| 5 g | 5,000 | 0.176 |
| 10 g | 10,000 | 0.353 |
| 25 g | 25,000 | 0.882 |
| 50 g | 50,000 | 1.764 |
| 100 g | 100,000 | 3.527 |
| 250 g | 250,000 | 8.818 |
| 500 g | 500,000 | 17.637 |
Example: 50 g is 50 ÷ 28.3495 = 1.764 oz. For whole pounds, see the guide on grams in a pound, and for charts of ounces to grams the guide on grams in an ounce.
How much does rounding change a recipe weight?
Using 28 g for an ounce comes up 349.5 mg short per ounce, or 1.23%. On 16 ounces that is 5.6 g less than the true weight. The gap is small for one recipe but adds up across large batches.
Your scale rounds too. A scale that shows whole grams displays one ounce (28.35 g) as 28 g, a gap of 0.35 g, or 350 mg. Display steps differ from one scale to the next, so read your own manual. The table assumes the scale rounds to its nearest step.
| Display step | Step in milligrams | Largest rounding gap | Smallest amount for a gap of 5% or less |
|---|---|---|---|
| 1 g | 1,000 mg | 500 mg | 10 g |
| 0.1 g | 100 mg | 50 mg | 1 g |
| 0.01 g | 10 mg | 5 mg | 0.1 g |
Method: the largest gap is half the display step, and the smallest amount is the step divided by 2, then by 0.05. Below that amount, rounding alone is more than 5% of what you weighed. Weigh small amounts on a finer scale, or weigh a larger batch and divide.
When a recipe is written in ounces and your scale shows grams, multiply by 28.3495. The grams to cups converter handles ingredient by ingredient weights, and the cups to ounces converter covers volume. To resize a whole recipe, use the recipe scaling calculator.
How do mg, mcg and kg fit together?
Each step on the ladder is a factor of 1,000. NIST lists kilo as a thousand and micro as a millionth, so a kilogram is 1,000 g, a gram is 1,000 mg, and a milligram is 1,000 micrograms. The symbol for micro is the Greek letter μ, so a microgram is μg.
| Unit | In grams | In milligrams | In micrograms |
|---|---|---|---|
| 1 kilogram (kg) | 1,000 | 1,000,000 | 1,000,000,000 |
| 1 gram (g) | 1 | 1,000 | 1,000,000 |
| 1 milligram (mg) | 0.001 | 1 | 1,000 |
| 1 microgram (μg) | 0.000001 | 0.001 | 1 |
Method: each row is that unit in grams, then multiplied by 1,000 and by 1,000,000. Going down a row divides by 1,000, and going up multiplies by 1,000. Skipping a row means a factor of 1,000,000.
Packages in the United States spell micrograms differently. The FDA rule for the Nutrition Facts label says amounts are appended with a g for grams, mg for milligrams, or mcg for micrograms. That is a spelling difference, not a different unit. This guide only converts the units. It does not say how much of anything to take.
How do you read mg and g on a nutrition label?
Read the unit letter first. The FDA label rule uses g for grams, mg for milligrams and mcg for micrograms, and it lists total fat in grams but cholesterol and sodium in milligrams. The same amount written in mg is a number 1,000 times larger than when it is written in g, so 1 g and 1,000 mg are equal.
Worked example, a made-up label that lists 190 mg of sodium per serving and 8 servings in the package.
- 190 mg × 8 servings = 1,520 mg for the package.
- 1,520 mg ÷ 1,000 = 1.52 g.
- The label amount is rounded. The FDA rule for sodium listed above 140 mg uses the nearest 10 mg, so 190 mg means 185 mg up to just under 195 mg.
That makes the package total between 1,480 mg and 1,560 mg, or 1.48 g to 1.56 g, not exactly 1.52 g. A label is a rounded figure, so treat your total as a close estimate. To see it in ounces, 1,520 mg ÷ 28,349.5 = 0.054 oz. The kilograms to pounds converter covers the larger units.
Frequently asked questions
How many milligrams are in half a gram?
500 mg. Half of 1,000 is 500, and a quarter gram is 250 mg.
How many grams is 2,500 mg?
2.5 g. Divide milligrams by 1,000, or move the decimal point three places left.
How many milligrams are in a kilogram?
1,000,000 mg, because a kilogram is 1,000 g and each gram is 1,000 mg.
Is a milligram the same as a milliliter?
No. A milligram measures weight and a milliliter measures volume. Converting one to the other depends on the ingredient, so use a weight chart for it.
How many milligrams are in an ounce?
28,349.5 mg, from 28.3495 g per ounce. Rounded to a whole number, it is 28,350 mg.
Sources
- NIST: Metric (SI) Prefixesnist.gov
- NIST: Handbook 44 (2026), Appendix B, Units and Systems of Measurementnist.gov
- NIST: Handbook 44 (2026), Appendix C, General Tables of Units of Measurementnist.gov
- NIST: Guide to the SI (SP 811), Appendix B.8, Factors for Units Listed Alphabeticallynist.gov
- U.S. Code of Federal Regulations: 21 CFR 101.9, Nutrition labeling of foodlaw.cornell.edu