HomeConvertersWeightGrams to Milligrams conversion
Weight conversion

Grams to Milligrams conversion

Convert grams (g) to milligrams (mg). Exact SI: 1 g = 1000 mg. Formula, examples, and g↔mg chart. Switch g → mg or mg → g. Runs locally in your browser.

Instant result
Result

Enter values to convert.

Inputs
Mode
Formula

Formulas

Core equations used by this converter.

g → mgmg = g × 1000
Exact factor1 g = 1000 mg
mg → gg = mg ÷ 1000
iLinear conversion using factor 1000. Prefer the exact factor over rounded multipliers when precision matters.

How to use

1

Choose g → mg or mg → g

Use the tabs to switch direction. Forward mode needs grams; reverse uses the opposite unit.

2

Enter the value

Type a non-negative value in the active unit field.

3

Convert and read the result

Use Convert or let the result update automatically.

Example conversions

Common values with formula and result.

ϟ

1 g

1 g

1 × 1000
1000 mg
ϟ

10 g

10 g

10 × 1000
10000 mg
ϟ

50 g

50 g

50 × 1000
50000 mg
ϟ

100 g

100 g

100 × 1000
100000 mg

Grams to Milligrams conversion specification

Version 1.1.0 · Engine tested

Calculation status
  • Engine tested 4 published cases
  • Named expert review Not performed
  • Calculation version 1.1.0

Review policy

Definition
Grams (g) converts to mg using a fixed linear factor. Convert grams (g) to milligrams (mg). Exact SI: 1 g = 1000 mg. Formula, examples, and g↔mg chart.
What it calculates
Value between g and mg. Switch direction with the converter tabs.
Inputs
  • Grams (g) or reverse unit (mg)
Outputs
  • Converted value in mg or g
Formula
mg = g × 1000 · 1 g = 1000 mg
Grams to milligrams conversion table
Grams (g)Milligrams (mg)
0.001 g1 mg
0.01 g10 mg
0.1 g100 mg
0.5 g500 mg
1 g1000 mg
5 g5000 mg
10 g10000 mg
Assumptions
  • Conversion runs locally in the browser; values are not uploaded.
  • Uses the standard factor/definition for these units.
Units
  • g → mg
  • mg → g
Boundary conditions
  • Empty or non-numeric input yields no valid result.
  • Non-negative values are expected for physical quantities.
Example
1 g → 1000 mg
Validation cases
  • 1 g → 1000 mg
  • 10 g → 10000 mg
  • 50 g → 50000 mg
  • 100 g → 100000 mg
Sources
  • SI / international unit definitions where applicable
  • CalculatorX conversion factors (local runtime)
Calculation version
1.1.0

Background

Interpretation and common distinctions.

Use the converter tabs to switch direction when available. Results for Grams to Milligrams conversion update locally in your browser.

Frequently asked questions

Key distinctions behind the conversion.

How do you convert using Grams to Milligrams conversion?

Use 1 g = 1000.0000000000001 mg. Example: 2 g to milligrams → 2000 mg.

Can I switch direction?

Use the converter tabs when available, or open the related reverse tool from Related.

Does this run online or locally?

Calculation runs locally in your browser. Values are not uploaded.

How precise are the results?

Results follow the formulas on this page. Round to the precision your use case needs.