{
  "entity_type": "unit_conversion_page",
  "id": "mg-to-grams",
  "name": "Milligrams to Grams",
  "title": "Milligrams to Grams Converter (mg to g)",
  "description": "Convert milligrams to grams: 1 mg = 0.001 g. Exact conversion factor, formula, 22-row table and worked examples, with JSON API and MCP access.",
  "quantity": "mass",
  "quantity_name": "Mass",
  "base_unit": "kg",
  "from_unit": {
    "symbol": "mg",
    "display": "mg",
    "name": "milligrams",
    "singular": "milligram"
  },
  "to_unit": {
    "symbol": "g",
    "display": "g",
    "name": "grams",
    "singular": "gram"
  },
  "linear": true,
  "factor": 0.001,
  "inverse_factor": 1000,
  "formula": "grams = milligrams × 0.001",
  "reverse_formula": "milligrams = grams × 1000",
  "unit_relation": "1 mg = 0.001 g",
  "examples": [
    {
      "value": 5,
      "result": 0.005,
      "text": "5 mg = 0.005 g"
    },
    {
      "value": 12.5,
      "result": 0.0125,
      "text": "12.5 mg = 0.0125 g"
    },
    {
      "value": 100,
      "result": 0.1,
      "text": "100 mg = 0.1 g"
    }
  ],
  "table": [
    {
      "mg": 1,
      "g": 0.001
    },
    {
      "mg": 2,
      "g": 0.002
    },
    {
      "mg": 3,
      "g": 0.003
    },
    {
      "mg": 4,
      "g": 0.004
    },
    {
      "mg": 5,
      "g": 0.005
    },
    {
      "mg": 6,
      "g": 0.006
    },
    {
      "mg": 7,
      "g": 0.007
    },
    {
      "mg": 8,
      "g": 0.008
    },
    {
      "mg": 9,
      "g": 0.009
    },
    {
      "mg": 10,
      "g": 0.01
    },
    {
      "mg": 15,
      "g": 0.015
    },
    {
      "mg": 20,
      "g": 0.02
    },
    {
      "mg": 25,
      "g": 0.025
    },
    {
      "mg": 30,
      "g": 0.03
    },
    {
      "mg": 40,
      "g": 0.04
    },
    {
      "mg": 50,
      "g": 0.05
    },
    {
      "mg": 75,
      "g": 0.075
    },
    {
      "mg": 100,
      "g": 0.1
    },
    {
      "mg": 200,
      "g": 0.2
    },
    {
      "mg": 250,
      "g": 0.25
    },
    {
      "mg": 500,
      "g": 0.5
    },
    {
      "mg": 1000,
      "g": 1
    }
  ],
  "faq": [
    {
      "q": "How many grams are in one milligram?",
      "a": "1 mg = 0.001 g. The factor comes from the SI definitions of both units (NIST SP 811 / BIPM), so it is exact or correct to at least 10 significant figures."
    },
    {
      "q": "What is the formula to convert milligrams to grams?",
      "a": "Multiply the value in milligrams by 0.001: grams = milligrams × 0.001. For example, 5 mg = 0.005 g."
    },
    {
      "q": "How do I convert grams back to milligrams?",
      "a": "Multiply by the inverse factor 1000 (milligrams = grams × 1000), or use the grams-to-milligrams page."
    }
  ],
  "sources": [
    {
      "name": "NIST Special Publication 811 – Guide for the Use of the International System of Units (SI), Appendix B conversion factors",
      "url": "https://www.nist.gov/pml/special-publication-811",
      "type": "standard",
      "retrieved_at": "2026-09-24"
    },
    {
      "name": "BIPM – The International System of Units (SI Brochure, 9th edition)",
      "url": "https://www.bipm.org/en/publications/si-brochure",
      "type": "standard",
      "retrieved_at": "2026-09-24"
    },
    {
      "name": "Wikipedia – Conversion of units",
      "url": "https://en.wikipedia.org/wiki/Conversion_of_units",
      "type": "reference",
      "retrieved_at": "2026-09-24"
    }
  ],
  "freshness": {
    "type": "static",
    "max_age_seconds": null,
    "note": "Fixed conversion factors (NIST/BIPM definitions); results never go stale."
  },
  "api": {
    "convert": "https://tttkmbb.com/api/v1/convert?value=5&from_unit=mg&to_unit=g",
    "calculator": "https://tttkmbb.com/api/v1/calculate/mass?value=5&from_unit=mg&to_unit=g",
    "mcp_tool": "convert_units",
    "mcp_arguments": {
      "value": 5,
      "from_unit": "mg",
      "to_unit": "g"
    }
  },
  "links": {
    "html": "https://tttkmbb.com/conversion/mg-to-grams",
    "markdown": "https://tttkmbb.com/conversion/mg-to-grams.md",
    "json": "https://tttkmbb.com/conversion/mg-to-grams.json",
    "reverse": "https://tttkmbb.com/conversion/grams-to-mg",
    "quantity_converter": "https://tttkmbb.com/conversion/mass",
    "units": "https://tttkmbb.com/api/v1/units?quantity=mass"
  },
  "timestamp": "2026-09-24"
}