Milligrams to Grams Calculator
Convert milligrams and grams instantly — accurate to the decimal, in both directions, with micrograms included.
- 100% free
- No signup
- Instant results
- Runs in your browser
Milligrams → Grams
0.5g
500 mg = 0.5 g
Common values
Both sides weigh exactly the same — only the unit changes.
Full mcg → mg → g chain
- Micrograms
- 500,000 mcg
- Milligrams
- 500 mg
- Grams
- 0.5 g
Move the decimal point 3 places to the left
Dividing by 1,000 — milligrams to grams.
Results update as you type. There is no submit button and nothing is sent to a server.
How do you convert milligrams to grams?
To convert milligrams to grams, divide the number of milligrams by 1,000. There are exactly 1,000 milligrams in 1 gram, so 500 mg ÷ 1,000 = 0.5 g. To go the other way, multiply grams by 1,000: 2 g × 1,000 = 2,000 mg. The quickest mental shortcut is to move the decimal point three places — left for milligrams to grams, right for grams to milligrams.
milligrams ÷ 1,000 = grams · grams × 1,000 = milligrams
Last updated:
Most-searched conversions
100 mg
0.1 g
250 mg
0.25 g
500 mg
0.5 g
1,000 mg
1 g
2,000 mg
2 g
0.5 g
500 mg
Overview
What this milligrams to grams converter does
This is a free milligrams to grams calculator that converts metric weight in real time. Type any value and the result appears immediately — you can convert milligrams to grams, convert grams to milligrams, and step through the full microgram to milligram to gram chain without reloading the page or pressing a button.
The conversion itself never changes: 1 gram equals 1,000 milligrams, and 1 milligram equals 1,000 micrograms. Because those factors are exact SI definitions, a milligram-to-gram conversion is not an estimate. There is no density to account for, no ingredient-specific variation and no regional difference — the arithmetic is identical everywhere in the world.
People reach for this tool for very different reasons. Students checking science homework need the method, not just the answer. Caregivers and healthcare workers cross-check that a label printed in milligrams matches a dose written in grams. Anyone reading a nutrition facts panel runs into sodium in milligrams next to sugars in grams. Jewellers and lab technicians work at the small end of the scale where micrograms start to matter.
Whatever brought you here, the answer below the input is exact. If you mainly need the opposite direction, the grams to milligrams calculator is set up for it, and the conversion chart covers the values people look up most often.
Benefits
Why use this calculator
Live results, zero delay
The answer updates on every keystroke. No submit button, no page reload, no waiting on a server response.
Exact, not approximate
Conversion shifts the decimal point rather than multiplying floating-point numbers, so results carry no rounding drift — even at 0.0001 g.
Works in both directions
Convert milligrams to grams or grams to milligrams. Swap the units and your current answer carries across as the new input.
Full mcg → mg → g chain
Micrograms are included as a first-class unit, and every value is shown in all three units at once.
Private by design
The calculation runs entirely in your browser. Nothing you type is transmitted, logged or stored anywhere.
Free, forever, no signup
No account, no paywall, no usage limit and no install. Open the page and convert.
Guide
How to use the milligrams to grams calculator
- 1
Type your value
Enter any number in the input field — whole numbers, decimals and comma-grouped values such as 1,500 all work. You can also tap one of the common-value chips.
- 2
Choose your units
Pick the unit you are converting from and the unit you want. Milligrams, grams and micrograms are all available on either side, and Swap units reverses the direction instantly.
- 3
Read the result — it is already there
The answer updates live as you type. The balance illustration settles level to show both sides are the same mass, and the panel beside it lists your value in all three units at once.
- 4
Copy it if you need it
Use the copy button to put the full equation — for example
500 mg = 0.5 g— on your clipboard.
The mental shortcut
Metric weight conversion is never really multiplication — it is only moving a decimal point. Milligrams to grams moves it three places left. Grams to milligrams moves it three places right. Micrograms to grams moves it six.
Remember that every whole number has an invisible decimal point at the end: 250 is really 250. — move that point three places left and you get 0.250, which is 0.25 g.
Examples
Worked examples
500 mg = 0.5 g
A common single-tablet strength. Two of them contain 1 g of active ingredient in total — which is why some packs print 1000 mg instead.
1 g = 1,000 mg
The definition the whole calculator rests on. A standard paperclip weighs roughly 1 gram, so a paperclip is about a thousand milligrams.
2,000 mg = 2 g
The daily sodium figure quoted on many nutrition labels. Two grams of sodium is a genuinely small mass — roughly half a level teaspoon of table salt.
250 mg = 0.25 g
A quarter of a gram. Useful when one label lists a quarter-gram dose and another lists 250 mg — they are identical.
1,000 mcg = 1 mg
Supplement labels often print 1000 mcg because it reads as a bigger number than 1 mg, even though the two are exactly the same amount.
25 mcg = 0.000025 g
A typical vitamin D figure. In grams it is an unreadable string of zeros, which is precisely why micrograms exist as a unit.
Accuracy & methodology
How the conversion is calculated
Every result on this site uses the exact SI relationships between metric weight units. These are definitions, not measured values, so they carry no uncertainty:
Because each step is a clean power of ten, converting between these units only relocates the decimal point. That means a conversion is lossless: convert milligrams to grams and back again, any number of times, and you recover the original figure exactly.
- 1 gram = 1,000 milligrams
- 1 milligram = 1,000 micrograms
- 1 gram = 1,000,000 micrograms
Why we do not use ordinary decimal maths
Most calculators multiply floating-point numbers, which introduces small errors — a naive implementation converting 0.1 mg to grams can return 0.00010000000000000002. This calculator performs the conversion by shifting digits in the number's decimal representation instead, so the answer is exact at any magnitude.
Rounding and display precision. Results display up to ten decimal places. Values below 1 automatically keep at least four significant digits, so a microgram-to-gram conversion shows as 0.000025 g rather than collapsing to 0 on screen. Rounding, where it occurs, is half-up and affects display only — never the underlying value.
Details
Where the metric prefixes come from
micro- (µ, mcg)
From the Greek *mikrós*, “small”. Means one millionth. Medicine labels write it as mcg rather than µg because a handwritten µ can be misread as an m — a mistake that would multiply a dose by a thousand.
milli- (m, mg)
From the Latin *mille*, “thousand”. Means one thousandth. The same prefix gives you millimetre and millilitre, and it behaves identically in all of them — always a factor of 1,000.
gram (g)
The base unit here, from the Greek *grámma*. Formally the SI base unit of mass is the kilogram, which makes the gram one thousandth of it — the same factor of 1,000 appearing one rung further up the ladder.
Why precision matters more in some contexts than others
A few grams either way in a recipe changes almost nothing. In medicine the tolerances are orders of magnitude tighter: a decimal point in the wrong place turns 5 mg into 50 mg, a tenfold error. That difference in stakes is why pharmacy and laboratory work states quantities in the smallest sensible unit and double-checks every conversion, while a kitchen scale rounding to the nearest gram is perfectly adequate.
Relationships
How the units relate to each other
Micrograms, milligrams and grams sit on one continuous ladder, and every rung is a factor of 1,000. Step up a rung and the number gets 1,000 times smaller; step down and it gets 1,000 times bigger. Nothing else changes.
That is why the same technique works for every pair: mcg to mg is three decimal places, mg to g is three decimal places, and mcg to g is the two steps combined — six places. Kilograms continue the same pattern one rung above grams.
For the values people search for most — 100 mg, 250 mg, 500 mg, 1,000 mg, 2,000 mg and their gram equivalents — the common conversions chart lists them all in a single table.
- 1 microgram (mcg)0.000001 gone millionth of a gram
- 1 milligram (mg)0.001 gone thousandth of a gram
- 1 gram (g)1 gabout one paperclip
- 1 kilogram (kg)1,000 g1,000,000 milligrams
Applications
Who uses a milligrams to grams converter
Students
Science and maths homework runs on metric conversion. The decimal-shift illustration shows the method, not just the answer.
Caregivers & healthcare workers
Cross-checking that a label printed in milligrams matches a dose written in grams — always alongside, never instead of, professional verification.
Nutrition label readers
Facts panels mix units freely: sodium in milligrams, sugars and protein in grams. Converting puts them on the same footing.
Jewellers & lab technicians
Work at the small end of the scale, where the difference between milligrams and micrograms is the difference between right and wrong.
Answers
Frequently asked questions
There are exactly 1,000 milligrams in 1 gram. This is a fixed SI definition, not an approximation or an estimate — it is the same in every country, for every substance, and it never varies with temperature, density or context.
1 g = 1,000 mg
Yes. 1,000 milligrams is exactly equal to 1 gram. A label reading 1000 mg and a label reading 1 g describe an identical mass. Manufacturers often print 1000 mg instead of 1 g simply because it looks like a larger, rounder number.
1,000 mg = 1 g
A milligram is one thousandth of a gram. The prefix milli- means 1/1000, so a milligram is a very small unit — roughly the weight of a single grain of fine sand. A gram is 1,000 times heavier, about the weight of a standard paperclip.
1 mg = 0.001 g
One milligram is 0.001 grams — one thousandth of a gram. To picture it, if a gram is a paperclip, a milligram is about one thousandth of that paperclip. You would need 1,000 individual milligrams to build up a single gram.
1 mg = 0.001 g
A gram is bigger — 1,000 times bigger than a milligram. Whenever you convert milligrams into grams the number always gets smaller, and whenever you convert grams into milligrams the number always gets larger. That is a quick way to sanity-check any answer.
Divide the number of milligrams by 1,000. For example, 500 mg ÷ 1,000 = 0.5 g. The quickest way to do it in your head is to move the decimal point three places to the left: 500. becomes 0.500, which is 0.5 g.
milligrams ÷ 1,000 = grams
Multiply the number of grams by 1,000. For example, 2 g × 1,000 = 2,000 mg. In your head, move the decimal point three places to the right and fill any gaps with zeros: 2. becomes 2000., which is 2,000 mg.
grams × 1,000 = milligrams
You divide. Milligrams are smaller than grams, so converting to grams must produce a smaller number — divide by 1,000. Going the other way, grams to milligrams, you multiply by 1,000. If your answer moved in the wrong direction, you used the wrong operation.
mg → g: divide by 1,000 · g → mg: multiply by 1,000
Move the decimal point three places to the left. Metric conversion is never real multiplication — it is only decimal-point movement. 250 mg becomes 0.250 g, 1,500 mg becomes 1.5 g. Going from grams to milligrams, move the point three places right instead.
Every number has an invisible decimal point at its end: 250 is really 250. — that is the point you are moving.
There are exactly 1,000 micrograms in 1 milligram, and 1,000,000 micrograms in 1 gram. Micrograms sit one step below milligrams on the same metric ladder, so the same rule applies: each step is a factor of 1,000, or three decimal places.
1 mg = 1,000 mcg · 1 g = 1,000,000 mcg
Divide micrograms by 1,000,000, or move the decimal point six places to the left. For example, 500 mcg ÷ 1,000,000 = 0.0005 g. You can also do it in two steps: micrograms to milligrams first, then milligrams to grams.
micrograms ÷ 1,000,000 = grams
Yes. 500 milligrams is exactly 0.5 grams, or half a gram. Two 500 mg tablets therefore contain 1 gram of active ingredient in total. Divide 500 by 1,000 to confirm: the answer is 0.5 g.
500 mg ÷ 1,000 = 0.5 g
Because active ingredient amounts are small and milligrams avoid awkward decimals. A 500 mg tablet is easier to read and harder to misread than 0.5 g. Milligrams also let manufacturers express precise strengths — 375 mg, 62.5 mg — as whole or simple numbers.
They state the same amount in different units — 500 mg and 0.5 g are identical. Different manufacturers and different countries follow different labelling conventions. Converting both to the same unit before comparing is the reliable way to check two products match.
Use it to convert units, not to decide a dose. The arithmetic here is exact, but choosing or adjusting a dose depends on the patient, the product and the prescription. Always confirm any dose against the label and with a pharmacist, doctor or nurse.
This site is a general reference tool and is not a substitute for professional medical or pharmacy verification.
A standard paperclip weighs roughly 1 gram, as does a single raisin, a dollar bill, or a quarter teaspoon of sugar. Because 1 g = 1,000 mg, a paperclip is also a useful mental picture for what a thousand milligrams actually amounts to.
It is exact. The conversion uses the fixed SI relationship 1 g = 1,000 mg and shifts the decimal point rather than multiplying floating-point numbers, so results carry no rounding drift. Enter 0.1 mg and you get 0.0001 g exactly, not an approximation.
Yes — completely free, with no sign-up, no account and no usage limit. There is nothing to install and nothing to pay for. You can convert as many values as you like, in either direction, including micrograms.
No. Every calculation runs entirely inside your browser using client-side JavaScript. The numbers you type are never transmitted to a server, never logged and never stored. Close the tab and nothing remains.
Yes. The calculator is bidirectional — use the Swap units button to reverse the direction instantly, and the current result carries across as the new input. You can also select micrograms on either side to convert across the full mcg, mg and g chain.
Looking for something else? See all questions in the FAQ hub.
Security & privacy
Your numbers stay on your device
Nothing is sent to a server
The conversion runs as JavaScript inside your browser. The values you type never leave your device and are never transmitted, logged or stored.
No account, no tracking of inputs
There is no sign-up, no login and no user profile. We do not associate any calculation with any person.
Served over HTTPS
The whole site is delivered over an encrypted connection with no mixed content, so nothing can be altered in transit.
Convert your measurement now
Whether you are checking a tablet strength against a label, reading a nutrition panel, or working through a homework problem, the answer takes one keystroke. Scroll back up to the calculator, or jump to the chart for the values people look up most — 100 mg, 500 mg, 1,000 mg and everything in between.