This guide shows you how to convert a mass from grams (g) to milligrams (mg) using the simple factor of 1,000. You’ll learn the formula, see a step-by-step example, and get tips to avoid common mistakes. No special tools are needed—just basic arithmetic or the calculator below.
Formula
The conversion is a direct multiplication by 1,000 because the prefix “milli-” means one-thousandth. To convert grams to milligrams:
milligrams = grams × 1,000
Where:
- grams (g) – the mass you start with
- milligrams (mg) – the resulting mass, 1,000 times larger in numeric value
For example, 1 gram = 1,000 milligrams. This is a fixed SI prefix relationship, not a measured constant.
Worked Example
Using the default value of 2.5 g from the calculator:
- Start with the mass in grams: 2.5 g
- Multiply by 1,000: 2.5 × 1,000 = 2,500
- Attach the unit milligrams: 2,500 mg
So 2.5 g equals 2,500 mg. The calculator gives the same result.
Assumptions
- The conversion uses the exact SI definition: 1 g = 1,000 mg exactly.
- No rounding is applied; the result is exact for any input.
- The input mass is assumed to be in grams already, not kilograms or other units.
When to Use This Conversion
You’ll need this conversion whenever you work with small masses in science, cooking, or everyday measurements. For example, a medication label might list 500 mg, but your scale reads in grams—convert to compare. In a lab, you might measure 0.25 g of a reagent and need it in milligrams for a protocol. The conversion is also used in nutrition (e.g., sodium in mg vs. g) and in chemistry calculations where concentrations are expressed in mg/mL.
How to Read the Result
The result is the same mass expressed in smaller units. Because milligrams are smaller, the numeric value is larger: 1 g becomes 1,000 mg. If you convert 0.5 g, you get 500 mg. Always check that your result is bigger than the starting number—if it’s smaller, you likely divided instead of multiplied.
Common Mistakes
- Dividing instead of multiplying: Some people divide by 1,000 because they remember “milli” is small. But to go from grams to milligrams, you multiply by 1,000. Dividing would give 0.0025 mg for 2.5 g, which is wrong.
- Mixing up with kilograms: 1 kg = 1,000 g, but 1 g = 1,000 mg. Don’t confuse the two steps. If you have grams and need milligrams, it’s one step, not two.
- Forgetting the unit: Always write the unit (mg) after the number. A bare number is ambiguous.
- Rounding too early: If you’re doing multi-step calculations, keep extra digits until the end to avoid rounding errors.
Tips
- Use the calculator above for quick conversions, especially with decimals like 0.007 g (which becomes 7 mg).
- To convert back (mg to g), divide by 1,000. For example, 250 mg ÷ 1,000 = 0.25 g.
- When writing very small masses, use scientific notation: 0.0005 g = 0.5 mg = 5 × 10⁻¹ mg.
- In a lab, always double-check your unit conversions before mixing reagents—a factor of 1,000 error can ruin an experiment.
Troubleshooting
If your result seems off, check the following:
- Did you enter the mass in grams? If you entered a value in kilograms, multiply by 1,000 first to get grams, then by 1,000 again to get milligrams.
- Did you use the right factor? The conversion factor is exactly 1,000, not 100 or 10,000.
- Is your calculator set to the right mode? Some calculators have a unit conversion mode; make sure you’re using the correct direction.
- Are you reading the result correctly? 2,500 mg might be written as 2,500 or 2.5 × 10³ mg. Both are correct.
Frequently Asked Questions
How many milligrams are in a gram?
Exactly 1,000 milligrams in one gram. This is a fixed SI definition.
Is 1 gram equal to 1000 mg or 100 mg?
1 gram equals 1,000 milligrams. The prefix “milli” always means one-thousandth, so 1 g = 1,000 mg.
How do you convert 0.5 grams to milligrams?
Multiply 0.5 by 1,000: 0.5 × 1,000 = 500 mg.
What is the difference between grams and milligrams?
A milligram is one-thousandth of a gram. Milligrams are used for very small masses, like medication doses or trace elements.
Can you convert grams to milligrams without a calculator?
Yes, just move the decimal point three places to the right. For example, 2.5 g becomes 2500 mg (move the decimal three places: 2.5 → 25 → 250 → 2500).
How do you convert milligrams back to grams?
Divide by 1,000. For instance, 750 mg ÷ 1,000 = 0.75 g.
Related
Formula used
in m | Mass in grams | g | 2.5 | 0 out mg | Mass in milligrams | mg | m * 1000 | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Normality to g/L Converter & Formula29.220 g/L
- Normality to meq/mL Conversion Calculator1.0000 meq/mL
- Normality Test Results: How to Analyze Them
- Normality Test Q-Q Plot: How to Read It
- Normality Slay the Spire?
- Normality Test for Paired t Test: How to Check