{
  "id": "1-grams-to-kg",
  "version": "cf2651d3dafd",
  "status": "published",
  "name": "1 grams to kg",
  "question": "What is 1 grams to kg?",
  "summary": "Converts grams (g) to kilograms (kg) and back, with the exact unit definitions.",
  "category": "convert",
  "subcategory": "units",
  "url": "https://www.acalculator.org/convert/1-grams-to-kg",
  "markdown": "https://www.acalculator.org/convert/1-grams-to-kg.md",
  "kind": "formulas",
  "method": "kg = g × 0.001",
  "assumptions": [
    "1 gram = 0.001 kilograms, from the exact definitions in NIST SP 811.",
    "The answer shows at most 6 decimal places; the calculation keeps full precision."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "value": {
        "title": "Grams (g)",
        "description": "The amount in grams to convert.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000000
      },
      "result": {
        "title": "Kilograms (kg)",
        "description": "The same amount in kilograms.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000
      }
    }
  },
  "solve": {
    "fillAny": 1,
    "variables": [
      "value",
      "result"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "value": {
      "label": "Grams (g)",
      "description": "The amount in grams to convert.",
      "format": "number"
    },
    "result": {
      "label": "Kilograms (kg)",
      "description": "The amount in kilograms.",
      "format": "number"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "value": 1
    },
    "outputs": {
      "result": 0.001
    },
    "text": "1 g = 0.001 kg."
  },
  "examples": [
    {
      "given": {
        "value": 1
      },
      "expect": {
        "result": 0.001
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "value": 500
      },
      "expect": {
        "result": 0.5
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "result": 0.5
      },
      "expect": {
        "value": 500
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    }
  ],
  "sources": [
    "NIST SP 811 (2008), Guide for the Use of the International System of Units, Appendix B.8. https://www.nist.gov/pml/special-publication-811"
  ],
  "related": [
    "grams-to-kg",
    "kg-to-grams"
  ],
  "changelog": []
}
