{
  "id": "16-cups-to-gallons",
  "version": "04de08a9f7c0",
  "status": "published",
  "name": "16 cups to gallons",
  "question": "What is 16 cups to gallons?",
  "summary": "Converts cups (cup) to gallons (gal) and back, with the exact unit definitions.",
  "category": "convert",
  "subcategory": "cooking",
  "url": "https://www.acalculator.org/convert/16-cups-to-gallons",
  "markdown": "https://www.acalculator.org/convert/16-cups-to-gallons.md",
  "kind": "formulas",
  "method": "gal = cup × 0.0625 (the same as cup ÷ 16)",
  "assumptions": [
    "1 cup = 0.0625 gallons, from the exact definitions in NIST SP 811.",
    "Cups, ounces, tablespoons, pints, quarts, and gallons are US customary units: 1 US cup is 8 US fluid ounces.",
    "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": "Cups (cup)",
        "description": "The amount in cups to convert.",
        "type": "number",
        "minimum": 0,
        "maximum": 1000000000000
      },
      "result": {
        "title": "Gallons (gal)",
        "description": "The same amount in gallons.",
        "type": "number",
        "minimum": 0,
        "maximum": 62500000000
      }
    }
  },
  "solve": {
    "fillAny": 1,
    "variables": [
      "value",
      "result"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "value": {
      "label": "Cups (cup)",
      "description": "The amount in cups to convert.",
      "format": "number"
    },
    "result": {
      "label": "Gallons (gal)",
      "description": "The amount in gallons.",
      "format": "number"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "value": 16
    },
    "outputs": {
      "result": 1
    },
    "text": "16 cup = 1 gal."
  },
  "examples": [
    {
      "given": {
        "value": 1
      },
      "expect": {
        "result": 0.0625
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "value": 16
      },
      "expect": {
        "result": 1
      },
      "source": "exact unit definitions in NIST SP 811 (2008), Appendix B.8"
    },
    {
      "given": {
        "result": 1
      },
      "expect": {
        "value": 16
      },
      "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": [
    "cups-to-gallons",
    "gallons-to-cups"
  ],
  "changelog": []
}
