ConvertReference.org

Milligram To Gram Converter

mg

Review And Reference Information

Verified by the ConvertReference Technical Standards Team

ConvertReference Technical Standards Team

All values and formulas are validated through our editorial review process and cross-checked against internationally recognized reference standards (NIST, BIPM, CODATA).

View Editorial Standards & Report Corrections

Last reviewed: December 07, 2025

Conversion Factors

1 milligram = 0.001 gram
1 gram = 1000 milligram

(Exact factors: 0.001 and 1000)

Sources: NIST · BIPM

About This Milligram And Gram Converter

Welcome to our quick unit helper for milligrams and grams. Use the swap button to switch between milligrams and grams. This simple interface makes it easy to compare values across units. Explore measurements with confidence and accuracy in one place.

What Are Milligrams And Grams?

What Is A Milligram?

Milligram (mg) is a unit of mass in the SI metric system. It equals one thousandth of a gram (1 mg = 0.001 g = 0.000001 kg). Symbol: mg. Real-world example: a typical aspirin tablet weighs about 325 mg.

What Is A Gram?

The gram is a unit of mass in the metric system (SI). It is not a base SI unit; the SI base unit for mass is the kilogram. 1 g equals 0.001 kg. Symbol: g. Example: a standard paperclip weighs about 1 gram.

When To Use Milligram Vs Gram

Milligram Usage

Milligram is a standard SI unit of mass used worldwide in medicine, pharmacology, nutrition labeling, and scientific measurement. It appears on drug dosages and product labels. Primary users include the United States, United Kingdom, Canada, and Australia.

Gram Usage

The gram is used worldwide as a unit of mass in science, education, healthcare, and food labeling. It is commonly used in the United States, United Kingdom, Germany, and Japan.

How To Convert Between Milligrams And Grams

Conversion Formulas

Milligram to Gram:
milligram × 0.001 = gram

Gram to Milligram:
gram × 1000 = milligram

Step-by-Step Guide

Milligram to Gram

  1. Take your value in milligrams.
  2. Multiply by 0.001.
  3. The result is in grams.

Gram to Milligram

  1. Take your value in grams.
  2. Multiply by 1000.
  3. The result is in milligrams.

Example: Convert 31.6979 milligrams to grams.

  • Exact: 31.6979 × 0.001 = 0.0316978638492223 grams.
  • Rounded: approximately 0.0316979 grams.

Example: Convert 5 grams to milligrams.

  • Exact: 5 × 1000 = 5000 milligrams.

History & Context

During the late eighteenth century, French scientists and lawmakers created the metric system to simplify trade and science. They chose a small unit of mass called the gram and a family of related units for everyday use. The gram became a standard weight in many lands, shaping education, industry, and commerce as countries adopted the new language of measurement. In laboratories and medicine, smaller units such as the milligram appeared to describe tiny masses with accuracy, reflecting a growing need for careful quantification across fields and nations.

Practical Use

On an online unit converter page, a pharmacist might need to convert milligrams to grams to interpret a dose listed in grams. For example, a medication label could state 0.5 g, which must be converted to 500 mg to match the system's milligram records. In another scenario, a technician might convert grams to milligrams when preparing a precise formulation, such as 0.75 g becoming 750 mg. These conversions help ensure accurate dosing and measurement in medical and lab settings.

Common Mistakes When Converting Between Milligrams And Grams

  • Treating milligrams and grams as the same unit.
  • Multiplying when you should divide during the conversion.
  • Confusing the milli prefix with a larger unit.
  • Rounding values during the conversion.

Mental Shortcuts For Quick Conversions

mg to g: move the decimal three places left (divide by 1000). g to mg: move the decimal three places right (multiply by 1000). This is for estimation only; use a precise converter in most situations.

Milligrams And Grams Conversion Graph

Milligrams and Grams Conversion Graph
Conversion graph showing the relationship between milligrams and grams.

Conversion Table For Milligram And Gram

Common conversion values
Milligrams Grams
15.84890.0158489
31.69790.0316979
79.24470.0792447
158.4890.158489
316.9790.316979
792.4470.792447
1584.891.58489
3962.233.96223
7924.477.92447
15848.915.8489

Values are rounded for display; internal calculations use the exact conversion factors between milligram and gram (0.001 and 1000).

Dataset & API Access

Programmatic Access

Free JSON API with stable endpoints and predictable keys for automated bidirectional conversions.

Endpoint: https://convertreference.org/api/v1/convert/milligram-to-gram.json

Content Type: application/json

Documentation: View API docs

Licensing

License: CC0 1.0 Universal (Public Domain)

See all datasets

Data & Editorial Process

All numerical values and formulas are generated from the Pint scientific unit library (v0.25), using constants consistent with the BIPM SI Brochure (9th Edition) and NIST Special Publication 811. Explanatory text is drafted with AI assistance and reviewed by ConvertReference editors for clarity and accuracy. This converter is completely free to use, and all calculations are performed locally in your browser and never sent to a server.

  • 2025-12-07 – Generated: Page created using Pint v0.25 verified constants.
  • 2025-12-07 – Reviewed: Verified by ConvertReference editors; no numerical changes required.