Select a category and enter your values below
To convert from Gram (g) to Milligram (mg), use the following formula:
Milligram (mg)
= 1000× Gram (g)
Let's convert 5 Gram (g) to Milligram (mg).
Using the formula:
5 × 1000 = 5000
Therefore, 5 Gram (g) is equal to 5000 Milligram (mg).
How many grams are in one milligram? One Milligram (mg) contains 0.001 Grams (g) — the inverse of the factor above. Multiplying by 1000 takes you from grams to milligrams; multiplying by 0.001 brings you back.
Put in words: one gram equals 1000 milligrams, so the gram is the larger unit of this pair. Converting between them never changes the amount of weight being measured — only the size of the unit you count it in.
A gram (g) is a base unit of mass in the metric system. The plural form is grams.
The gram was initially defined in 1795 by the French National Convention.
Its first definition was based on the mass of one cubic centimeter of pure water at the temperature of its maximum density, which is approximately 4 degrees Celsius (4 °C).
This practical, water-based definition was a revolutionary step toward a standardized and universal system of measurement, moving away from the inconsistent and often confusing units of time.
A gram is much smaller than an ounce, the standard unit of mass in the imperial and US customary systems.
One ounce equals approximately 28.35 grams, which is why grams are preferred for scientific work and for measuring small amounts, such as spices or medicine.
The metric system's decimal structure (for example, 1,000 grams in a kilogram) also makes calculations simpler than in the imperial system.
Although the gram was once tied to water, it's no longer linked to any physical object.
Since 2019, the kilogram — and therefore the gram — is defined by a fundamental constant, the Planck constant (h).
That shift makes the unit stable and reproducible in any properly equipped laboratory, without relying on the old International Prototype of the Kilogram.
The gram is the unit people use, but it is not the one the system is built on. The kilogram is the SI base unit of mass — the only base unit whose name carries a prefix.
This is a historical accident with practical consequences. Because the base unit already contains "kilo", SI prefixes are stacked on the gram rather than the kilogram: a millionth of a kilogram is a milligram, not a "microkilogram". The rule to remember is that prefixes always attach to gram, so the ladder runs microgram → milligram → gram → kilogram → megagram, where a megagram is what almost everyone calls a tonne.
The gram's dominance in the kitchen comes from a property the imperial system cannot match: it measures mass, not volume.
A cup of flour can vary by 20% depending on whether it was scooped or spooned and how much it has settled; 120 grams of flour is 120 grams every time. This is why baking recipes — where ratios decide whether a dough works — moved to grams long before general cooking did, and why kitchen scales displaced measuring cups in professional practice.
Nutrition labelling relies on the same unit worldwide. Macronutrients are declared in grams per serving or per 100 g, with sodium and micronutrients in milligrams and vitamins often in micrograms. The per-100-gram convention exists specifically so that two products in different package sizes can be compared directly, without arithmetic.
A milligram, abbreviated as mg, is a tiny unit of mass in the metric system.
It's equal to one-thousandth of a gram (0.001 g). While incredibly small, the milligram plays a massive role in our daily health, from the medicine we take to the food we eat.
The milligram (mg) is a critical unit of measurement for quantifying the active ingredients in medications. Its small size allows for the precise dosage needed to make a drug effective and safe.
Why is dosage in mg so important?
You'll see milligram (mg) dosages clearly listed on standard medications, such as aspirin, ibuprofen, and prescription pills.
When you read a nutrition facts label, you'll see many vitamins and minerals listed in milligrams (mg).
Essential nutrients like Vitamin C, iron, calcium, and sodium are all measured in mg to help you understand your daily intake. For example, the recommended daily allowance of Vitamin C for an adult is around 75-90 mg. Understanding these measurements is key to maintaining a balanced and healthy diet.
It can be difficult to picture just how small a milligram is. Here's a simple way to visualize it:
The name itself gives a clue: it combines the Latin prefix "milli" (meaning "thousandth") with the base unit, gram. This means there are 1,000 milligrams in one gram.
Here are some quick reference conversions from Gram (g) to Milligram (mg):
| Grams | Milligrams |
|---|---|
| 0.000001 g | 0.001 mg |
| 0.001 g | 1 mg |
| 0.1 g | 100 mg |
| 1 g | 1000 mg |
| 2 g | 2000 mg |
| 3 g | 3000 mg |
| 4 g | 4000 mg |
| 5 g | 5000 mg |
| 6 g | 6000 mg |
| 7 g | 7000 mg |
| 8 g | 8000 mg |
| 9 g | 9000 mg |
| 10 g | 104 mg |
| 20 g | 20000 mg |
| 30 g | 30000 mg |
| 40 g | 40000 mg |
| 50 g | 50000 mg |
| 100 g | 105 mg |
| 1000 g | 106 mg |
| 10000 g | 107 mg |
For all Weight converters, choose units using the From/To dropdowns above.