Grams to Milligrams Converter
Convert g to mg — and why a trailing zero is banned on a prescription.
Updated
milligrams
1,000mg
1 g = 1,000 mg
Advertisement
In short
How many milligrams are in a gram?
Exactly 1,000, so multiply grams by 1,000: 0.5 g is 500 mg. Below the milligram the same step repeats — 1 mg is 1,000 micrograms — and that lower step is where a misread prefix becomes a thousandfold overdose rather than a rounding error.
Write quantities under one milligram in micrograms where you can. A number with no decimal point cannot lose one.
grams to milligrams — quick reference
| grams (g) | milligrams (mg) |
|---|---|
| 0.1 g | 100 mg |
| 0.3 g | 250 mg |
| 0.5 g | 500 mg |
| 1 g | 1,000 mg |
| 2 g | 2,000 mg |
| 5 g | 5,000 mg |
| 10 g | 10,000 mg |
| 25 g | 25,000 mg |
The formula, worked line by line
One multiplication by an exact power of ten. There is no constant to choose and no rounding to disclose; the only decisions on this page are about direction and notation, and both of those are decisions a calculator cannot make for you.
“Going down the ladder multiplies. Going up divides. Each step is exactly one thousand.”
Stated that plainly it sounds impossible to get wrong, and it is still the commonest error in the area. The reason is that the units look alike, the prefixes are single letters, and nothing in the result tells you that you went the wrong way — a wrong answer looks exactly like a right one.
milligrams = grams x 1,000
milli- = 10^-3, micro- = 10^-6
0.5 g x 1,000 = 500 mg
1 g = 1,000 mg = 1,000,000 mcg
mg to mL is not a conversion - it needs a concentration- Grams
- 0.5 g
- Milligrams
- 500 mg
- Micrograms
- 500,000 mcg
- Kilograms
- 0.0005 kg
- Milligrams
- 500 mg
Four correct answers, one obviously best. Five hundred milligrams needs no decimal point and no exponent, which is the practical test for whether you have picked the right unit.
Case sensitivity is not pedantry
Unit symbols are defined marks, not abbreviations, and their case is part of the definition. Lower-case mg is a milligram; capital Mg is a megagram, which is a tonne — a billion times larger. In a chemistry context Mg is magnesium instead. There is no reading in which the capital is a harmless variant.
Where the ladder stops being enough
- Mass to volume
- needs a density or concentration
- Mass to dose
- needs the prescription, not a converter
- Mass to moles
- needs the molar mass
- Mass of active ingredient
- is not the mass of the tablet
Every row is a place where a unit converter will happily return a number that answers a different question from the one being asked.
How to use the grams to milligrams converter
Multiply by a thousand. The prefix milli- is defined as exactly one thousandth, so the factor carries no uncertainty and the conversion cannot introduce error. Everything worth saying on this page is about which direction you are going and how the answer should be written down.
Direction is the first thing to get right, because the two directions are a millionfold apart when confused. Grams to milligrams multiplies. Milligrams to grams divides. Reverse them and 0.5 g becomes 0.0005 instead of 500, which is not a near miss in any sense.
1,000
Milligrams in a gram
multiply going down
1,000,000
Micrograms in a gram
two steps of a thousand
0.5 g
Is 500 mg
and 500,000 mcg
Advertisement
The ladder is uniform, which is both its strength and its risk. Microgram, milligram, gram, kilogram — each step is exactly a thousand, so there is only one rule to remember, and a slip at any rung produces exactly the same size of error as a slip at any other. Nothing about the arithmetic warns you when you are on the wrong rung.
Notation carries real weight below the gram. A trailing zero is prohibited on medication documentation because 5.0 mg read with the point missed becomes 50 mg. A leading zero is required because .5 mg read the same way becomes 5 mg. Each is a tenfold error produced by one lost mark on a page.
- 1 g
- 1,000 mg = 1,000,000 mcg
- 0.5 g
- 500 mg = 500,000 mcg
- 0.1 g
- 100 mg = 100,000 mcg
- 0.025 g
- 25 mg = 25,000 mcg
- 0.001 g
- 1 mg = 1,000 mcg
Read the middle column and the numbers are comfortable. Read the left and they are decimals with leading zeros, which is exactly why doses below a gram are quoted in milligrams.
Go the other way, milligrams to grams
The dividing direction has its own traps, including the microgram step and why mass never converts to volume on its own.
Open the mg to g converter →Grams converted to milligrams, with the microgram column so the whole ladder is visible at once.
| Grams | Milligrams | Micrograms |
|---|---|---|
| 0.001 g | 1 mg | 1,000 mcg |
| 0.005 g | 5 mg | 5,000 mcg |
| 0.01 g | 10 mg | 10,000 mcg |
| 0.025 g | 25 mg | 25,000 mcg |
| 0.05 g | 50 mg | 50,000 mcg |
| 0.1 g | 100 mg | 100,000 mcg |
| 0.25 g | 250 mg | 250,000 mcg |
| 0.5 g | 500 mg | 500,000 mcg |
| 1 g | 1,000 mg | 1,000,000 mcg |
| 2 g | 2,000 mg | 2,000,000 mcg |
| 5 g | 5,000 mg | 5,000,000 mcg |
| 10 g | 10,000 mg | 10,000,000 mcg |
Advertisement
Choosing the unit that reads safely
There is usually a choice of unit for the same quantity, and they are not equally safe to write. A quarter of a milligram can be written 0.25 mg or 250 mcg. Both are correct. Only one of them survives a bad photocopy, a smudge, or a reader skimming quickly, because only one has no decimal point to lose.
- As grams
- 0.00025 g — four leading zeros
- As milligrams
- 0.25 mg — one decimal point
- As micrograms
- 250 mcg — no decimal at all
- Written badly
- .25 mg — reads as 25 if the point is lost
- The safest form
- 250 mcg
The general rule is to pick the unit that puts the number between one and a thousand. It is the same instinct that makes people say 500 grams rather than 0.5 kilograms, and here it has consequences beyond readability.
The microgram symbol is a separate hazard. Written with the Greek letter mu it can be mistaken for an m, turning micrograms into milligrams — a factor of a thousand. Safety guidance therefore asks for the word microgram or the abbreviation mcg instead, and that recommendation exists because the misreading has happened.
The kilogram is the odd one out
The metric system has exactly one untidy corner and this is it. The kilogram is the SI base unit of mass, and its name already contains a prefix. Prefixes cannot be stacked, so multiples and submultiples are built on the gram instead: a millionth of a kilogram is a milligram, never a microkilogram.
Do
- Attach prefixes to the gram, never to the kilogram
- Choose the unit that keeps the number above one
- Write micrograms as mcg or spell the word out
- Keep the case exact, since mg and Mg are different units
Don't
- Write microkilogram, which is not a valid unit
- Add a trailing zero after a decimal point
- Omit the leading zero before a decimal point
- Convert milligrams to millilitres without a concentration
Since 2019 the kilogram itself has been defined by fixing the Planck constant rather than by a platinum-iridium cylinder near Paris. For everyday purposes nothing changed: the redefinition was arranged so existing mass values carried across unaltered, and the old prototype is still kept, now as an object whose mass is measured rather than assumed.
Every grams value, worked out
208 common grams figures each get their own page, with the answer, the arithmetic, what rounding costs, and the nearest real-world reference point on the scale.
1 to 9 g
10 to 99 g
Advertisement
Questions people ask
How many milligrams are in a gram?
Exactly 1,000, because the prefix milli- is defined as one thousandth. So half a gram is 500 mg and a tenth of a gram is 100 mg. Going down another rung, one milligram is 1,000 micrograms, which makes a gram one million micrograms.
How many mg is 0.5 g?
500 mg. Multiply by a thousand when going from grams to milligrams, and divide when going the other way. Getting the direction wrong is not a small error: 0.5 g treated as a division gives 0.0005, which is a millionfold away from the right answer.
Should I write 0.25 mg or 250 mcg?
Where you have the choice, 250 mcg. They are the same quantity, but a number with no decimal point cannot lose one, and a lost decimal point is a tenfold error. The general rule is to pick whichever unit puts the figure between one and a thousand.
Is a microkilogram the same as a milligram?
They would be the same size, but microkilogram is not a valid unit. The kilogram is the only SI base unit whose name already contains a prefix, and prefixes cannot be stacked, so all multiples of mass are built on the gram. A millionth of a kilogram is written 1 mg.
How do I convert grams to millilitres?
You need a density. Grams measure mass and millilitres measure volume, so the bridge between them is how much the substance weighs per unit of volume. Water is close to 1 g per mL, which is why the two are often treated as interchangeable, but that is a property of water rather than a conversion rule.
Sources
Where the constants and formulas on this page come from. Each line names the figure it backs.
SI prefixes are exact powers of ten and attach to the gram, because the kilogram is the only base unit whose name already contains a prefix.
The International System of Units (SI), 9th edition — Bureau International des Poids et Mesures
Trailing zeros after a decimal point and absent leading zeros are listed as error-prone dose designations.
List of Error-Prone Abbreviations, Symbols, and Dose Designations — Institute for Safe Medication Practices
The kilogram has been defined since 2019 by fixing the Planck constant, with existing mass values carried over unchanged.
Resolution 1 of the 26th CGPM (2018) — Bureau International des Poids et Mesures
Related guides
Unit Converters
How Many Decimals to Keep When Converting Units
The factor is exact to nine digits. The measurement you typed is good to one. Only one of those two limits the answer, and it is not the factor.
August 19, 2026 · 9 min read
Unit Converters
Converting Temperature Differences: Why 10 °C of Change Is 18 °F, Not 50
A day that warms from 10 °C to 20 °C warms by 18 °F, not 50. The 32 belongs to temperatures — a difference never sees it.
August 16, 2026 · 9 min read
Dates & Time
Time and a Half: The Regular Rate Is Not Your Hourly Wage
Every explanation says multiply your hourly rate by 1.5. That is the wrong number the moment a bonus, a shift differential, or a second pay rate enters the week.
August 30, 2026 · 8 min read