Convert grams to milligrams

Content last reviewed:

Type a value in grams and read the result in milligrams. One gram splits into a thousand milligrams, so 0.25 g comes out as 250 mg. The result appears as you type, and below you will find a table of decimal grams and every mass unit.

g
mg
to

How do you convert grams to milligrams?

Multiply the number of grams by a thousand and you get the result in milligrams. Half a gram works out to 500 mg.


You can do the same in your head. Move the decimal point three places to the right and the number is ready. That turns 0.25 g into 250 mg, and 1.5 g into 1,500 mg.


Formula: milligrams = grams × 1,000


Four fractions of a gram come up most often, because that is how small masses are written in recipes and on labels. A tenth of a gram is 100 mg. A quarter of a gram is 250 mg. Half a gram is 500 mg. Three quarters of a gram is 750 mg.


The same thousand works in the other direction, only there it divides. Two thousand milligrams give 2 g, and the milligrams to grams converter will do that for you.


The result is exact down to the last digit, because a gram splits into a thousand milligrams by the definition of the prefix[1], and a thousand is a whole number.


For larger masses the grams to kilograms converter gives the same weight in kilograms, and at the deli counter the grams to ounces converter handles the swap to ounces.

What is a gram, and where does its value come from?

A gram is one thousandth of a kilogram. The SI base unit of mass is the kilogram[2], even though it is the name “gram” that all the prefixes attach to.


That rule keeps the whole notation tidy. The name of the base unit already carries the prefix “kilo”, so every further prefix goes to the gram. One millionth of a kilogram is called a milligram because of it, and is written 1 mg.


The kilogram itself has rested on a constant of nature since 2019. Its definition fixes the numerical value of the Planck constant at 6.62607015 × 10⁻³⁴ expressed in joule seconds[2]. Before that the standard was a platinum-iridium cylinder kept outside Paris.


The gram has been a base unit itself, only in a different system of measurement. In the CGS system, built on the centimeter, the gram and the second, it stood in the place of the unit of mass[1]. The kilogram took that role over when SI settled on the meter, the kilogram and the second.

How many milligrams is a given number of grams?

The table starts at one thousandth of a gram, because fractions of a gram are the values most often turned into milligrams — 0.25 g or 0.05 g off a label or out of a recipe. The kilogram column shows the same mass one step up, so all three units are visible at once. An ordinary sheet of paper gives the gram a scale you can hold. An A4 sheet measures 210 by 297 millimeters[3], which is 0.0624 square meters. Grammage states how much one square meter of paper weighs, so at a grammage of 80 that sheet weighs 4.99 grams. In milligrams that is 4,990 mg.
GramsMilligramsKilograms
0.001 g1 mg0.000001 kg
0.002 g2 mg0.000002 kg
0.005 g5 mg0.000005 kg
0.01 g10 mg0.00001 kg
0.02 g20 mg0.00002 kg
0.025 g25 mg0.000025 kg
0.03 g30 mg0.00003 kg
0.04 g40 mg0.00004 kg
0.05 g50 mg0.00005 kg
0.06 g60 mg0.00006 kg
0.075 g75 mg0.000075 kg
0.08 g80 mg0.00008 kg
0.1 g100 mg0.0001 kg
0.12 g120 mg0.00012 kg
0.125 g125 mg0.000125 kg
0.15 g150 mg0.00015 kg
0.2 g200 mg0.0002 kg
0.25 g250 mg0.00025 kg
0.3 g300 mg0.0003 kg
0.35 g350 mg0.00035 kg
0.4 g400 mg0.0004 kg
0.45 g450 mg0.00045 kg
0.5 g500 mg0.0005 kg
0.6 g600 mg0.0006 kg
0.65 g650 mg0.00065 kg
0.7 g700 mg0.0007 kg
0.75 g750 mg0.00075 kg
0.8 g800 mg0.0008 kg
0.9 g900 mg0.0009 kg
1 g1,000 mg0.001 kg
1.1 g1,100 mg0.0011 kg
1.2 g1,200 mg0.0012 kg
1.25 g1,250 mg0.00125 kg
1.5 g1,500 mg0.0015 kg
1.6 g1,600 mg0.0016 kg
1.8 g1,800 mg0.0018 kg
2 g2,000 mg0.002 kg
2.3 g2,300 mg0.0023 kg
2.5 g2,500 mg0.0025 kg
3 g3,000 mg0.003 kg
3.5 g3,500 mg0.0035 kg
4 g4,000 mg0.004 kg
4.5 g4,500 mg0.0045 kg
5 g5,000 mg0.005 kg
6 g6,000 mg0.006 kg
7 g7,000 mg0.007 kg
7.5 g7,500 mg0.0075 kg
8 g8,000 mg0.008 kg
9 g9,000 mg0.009 kg
10 g10,000 mg0.01 kg
12 g12,000 mg0.012 kg
15 g15,000 mg0.015 kg
20 g20,000 mg0.02 kg
25 g25,000 mg0.025 kg
30 g30,000 mg0.03 kg
35 g35,000 mg0.035 kg
50 g50,000 mg0.05 kg
65 g65,000 mg0.065 kg
100 g100,000 mg0.1 kg
250 g250,000 mg0.25 kg
300 g300,000 mg0.3 kg
500 g500,000 mg0.5 kg
1,000 g1,000,000 mg1 kg

Values below one hundredth of a gram are written in milligrams so the number does not open with a run of zeros. Five thousandths of a gram simply reads as 5 mg. American paper works the other way round and is sold by basis weight in pounds per ream rather than by grammage, so a sheet of Letter paper carries no gram figure on the wrapper.

A digital kitchen scale with a tomato on the platform, the display reading 314 g
This kitchen scale reads 314 grams, which is 314,000 milligrams. The casing carries the marking 5Kg × 1g, meaning it weighs up to five kilograms in steps of one gram. A single gram is the smallest step it can tell apart, and a thousand milligrams fit inside it. Photo: Jacek Halicki, CC BY-SA 4.0.

How many grams and milligrams are in the units from microgram to kilogram?

SI prefixes shift a unit by powers of ten, so every mass unit follows one pattern[4]. The prefix symbol always stands in front of the gram symbol, which lets the unit symbol show straight away how many orders of magnitude separate it from the gram.
UnitSymbolIn gramsIn milligrams
Microgramµg0.000001 g0.001 mg
Milligrammg0.001 g1 mg
Centigramcg0.01 g10 mg
Decigramdg0.1 g100 mg
Gramg1 g1,000 mg
Decagramdag10 g10,000 mg
Hectogramhg100 g100,000 mg
Kilogramkg1,000 g1,000,000 mg

The centigram and the decigram survive mainly in school exercises and older tables; trade settled on the milligram and the gram instead. The decagram is a Central European habit rather than an English-speaking one, so the kilograms to grams converter works instead with the recipe and label amounts an English-speaking kitchen actually uses.

Kitchen scale weights marked 500 g, 200 g, 100 g, 50 g, 20 g, 10 g and 5 g, with pound and ounce weights beside them
The metric weights on the left carry markings from 500 g down to 5 g, and their pound and ounce counterparts lie on the right. The lightest metric weight in the set is 5 grams, that is 5,000 milligrams. Below that value a kitchen stops measuring mass with weights and starts reading it off a display. Photo: Kmtextor, CC BY-SA 4.0.

How many milligrams of sodium are in a given amount of salt?

A British label states salt in grams, while an American one states sodium in milligrams, so the same food can show two very different numbers. The World Health Organization (WHO) advises adults to stay below 5 grams of salt a day, which comes to 2,000 milligrams of sodium[5]. Salt is sodium multiplied by 2.5, so grams of salt turn into milligrams of sodium by multiplying by 400.
SaltMilligrams of saltMilligrams of sodium
1 g1,000 mg400 mg
1.5 g1,500 mg600 mg
2 g2,000 mg800 mg
2.5 g2,500 mg1,000 mg
3 g3,000 mg1,200 mg
4 g4,000 mg1,600 mg
5 g5,000 mg2,000 mg
6 g6,000 mg2,400 mg
8 g8,000 mg3,200 mg
10 g10,000 mg4,000 mg

The row at five grams is the WHO threshold[5]. On the American side the FDA sets the Daily Value for sodium at 2,300 mg[6], which is 5.75 grams of salt, and prints it on the label in milligrams rather than in grams.

How do you write grams and milligrams in scientific notation?

Scientific notation writes a number as a multiplier times a power of ten, so units with prefixes fit into it directly. A milligram is 10⁻³ grams, because the prefix “milli” means exactly one thousandth[4].


Going from grams to milligrams the exponent is positive. One gram is 1 × 10³ mg. Half a gram is 5 × 10² mg. One hundredth of a gram is 1 × 10¹ mg, that is 10 mg.


The other way round the exponent drops below zero. One milligram is 1 × 10⁻³ g, a hundred milligrams are 1 × 10⁻¹ g, and one microgram is 1 × 10⁻⁶ g.


Spreadsheets and scientific calculators write the power with the letter E. The value 1E-03 means 0.001 there, so a cell showing 2.5E-03 g holds two and a half milligrams.

Sources

  1. GramWikipedia
  2. KilogramWikipedia
  3. ISO 216Wikipedia
  4. SI prefixesBureau International des Poids et Mesures (BIPM)
  5. Salt reductionWorld Health Organization (WHO)
  6. Daily Value and Percent Daily Value on the Nutrition and Supplement Facts LabelsU.S. Food and Drug Administration

Every figure in the tables was computed from the unit definitions and checked arithmetically before publication. Historical values and the names of local units come from the sources listed above.

Content last reviewed: · written and checked by the Arteon team

Common questions about converting grams to milligrams

How many milligrams are in one gram?

A thousand. One gram is 1,000 mg, because the prefix “milli” means one thousandth. The same relation carries on upwards, so a kilogram holds a million milligrams.

How many milligrams is 0.5 g?

500 mg. You multiply 0.5 by 1,000, which in decimal notation comes down to moving the point three places to the right. The same route turns 0.25 g into 250 mg and 0.05 g into 50 mg.

Do you multiply or divide to convert grams to milligrams?

You multiply by a thousand. A milligram is smaller than a gram, so the same mass described in milligrams carries the larger number. The other way round, from milligrams to grams, you divide by a thousand.

How many milligrams is 0.25 g?

250 mg. A quarter of a gram is 250 milligrams, because a thousand divided by four gives 250.

Why do prefixes attach to the gram when the base unit is the kilogram?

Because the name of the base unit already contains the prefix “kilo”. SI therefore adds every further prefix to the name “gram”, which is how one millionth of a kilogram comes to be called a milligram and written mg.

How many milligrams of sodium are in a gram of salt?

400 mg. Salt is sodium multiplied by 2.5, so a gram of salt, that is 1,000 mg, divided by 2.5 gives 400 mg of sodium.

How do you write one gram in milligrams in scientific notation?

As 1 × 10³ mg. The exponent 3 means multiplication by a thousand. In a spreadsheet the same value reads 1E+03.

Arteon free tool screenshot: Convert grams to milligrams

Help us improve these tools

Have an idea for a feature, found a bug or want to suggest another tool? Write to us — we reply within 24 hours.