{
  "id": "g-cm3-to-kg-m3",
  "version": "17e56eade95c",
  "status": "published",
  "name": "g/cm3 to Kg/m3 Converter",
  "question": "How do I convert g/cm3 to kg/m3?",
  "summary": "Converts grams per cubic centimeter (g/cm³) to kilograms per cubic meter (kg/m³) and back, with the exact unit definitions.",
  "category": "convert",
  "subcategory": "units",
  "url": "https://www.acalculator.org/convert/g-cm3-to-kg-m3",
  "markdown": "https://www.acalculator.org/convert/g-cm3-to-kg-m3.md",
  "kind": "formulas",
  "method": "kg/m³ = g/cm³ × 1000 (the same as g/cm³ ÷ 0.001)",
  "assumptions": [
    "1 gram per cubic centimeter = 1000 kilograms per cubic meter, from the exact definitions in NIST SP 811.",
    "Exact on the typed decimals: at most 6 decimal places (6 significant digits below 0.0001), rounded half up; an answer of 1 billion or more shows at most 15 significant digits."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "value": {
        "title": "Grams per cubic centimeter (g/cm³)",
        "description": "The amount in grams per cubic centimeter to convert.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000000
      },
      "result": {
        "title": "Kilograms per cubic meter (kg/m³)",
        "description": "The same amount in kilograms per cubic meter.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000000000
      }
    }
  },
  "solve": {
    "fillAny": 1,
    "variables": [
      "value",
      "result"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "value": {
      "label": "Grams per cubic centimeter (g/cm³)",
      "description": "The amount in grams per cubic centimeter to convert.",
      "format": "number"
    },
    "result": {
      "label": "Kilograms per cubic meter (kg/m³)",
      "description": "The amount in kilograms per cubic meter.",
      "format": "number"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "value": 1
    },
    "outputs": {
      "result": 1000
    },
    "text": "1 g/cm³ = 1,000 kg/m³."
  },
  "examples": [
    {
      "given": {
        "value": 1
      },
      "expect": {
        "result": 1000
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "value": 2.7
      },
      "expect": {
        "result": 2700
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "result": 2700
      },
      "expect": {
        "value": 2.7
      },
      "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: Factors for Units Listed Alphabetically (bold factors are exact), retrieved 2026-10-19. https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b8",
    "NIST SP 811 (2008), Chapter 4, Table 5: SI prefixes (kilo 10³, centi 10⁻², milli 10⁻³), retrieved 2026-10-19. https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-4-two-classes-si-units-and-si-prefixes",
    "NIST SP 811 (2008), Chapter 4, Table 6: the liter, 1 L = 1 dm³ = 10⁻³ m³, retrieved 2026-10-19. https://www.nist.gov/pml/special-publication-811/nist-guide-si-chapter-4-two-classes-si-units-and-si-prefixes"
  ],
  "related": [
    "kg-m3-to-g-cm3",
    "kg-m3-to-lb-ft3"
  ],
  "changelog": []
}
