{
  "input": {
    "drinkType": "nitro-cold-brew",
    "sugarForward": false,
    "costMode": "per-keg",
    "kegSizeId": "sixtel",
    "kegGallons": 5.16,
    "costPerKeg": 90,
    "costPerGallon": 12,
    "servingSizeOz": 8,
    "pricePerServing": 5.5,
    "servingsPerDay": 20,
    "daysOpenPerWeek": 7,
    "wastePercent": 8,
    "kegeratorCost": 1299,
    "faucetCost": 129,
    "regulatorCost": 99,
    "gasSystem": "n2-tank",
    "gasSystemCost": 189,
    "gasCostPerMonth": 25,
    "cleaningCostMode": "per-clean",
    "cleaningCostPerClean": 18,
    "cleaningCostPerMonthOverride": null
  },
  "constants": {
    "ozPerGallon": 128,
    "weeksPerMonth": 4.348214,
    "weeksPerYear": 52.17857142857143
  },
  "drink": {
    "id": "nitro-cold-brew",
    "label": "Nitro cold brew",
    "suggestedGas": "n2-tank",
    "suggestedFaucet": "stout"
  },
  "keg": {
    "productCostPerKeg": 90,
    "theoreticalServingsPerKeg": 82.56,
    "usableServingsPerKeg": 75.9552,
    "kegsPerMonth": 8.0146
  },
  "volume": {
    "servingsPerWeek": 140,
    "servingsPerMonth": 608.75,
    "cleansPerMonth": 4.3482
  },
  "unitCosts": {
    "productCostPerServing": 1.1849,
    "gasCostPerServing": 0.0411,
    "cleaningCostPerServing": 0.1286,
    "costPerServing": 1.3545
  },
  "results": {
    "costPerServing": 1.35,
    "grossMarginPct": 75.4,
    "monthlyRevenue": 3348.13,
    "monthlyProductCost": 721.31,
    "monthlyGasCost": 25,
    "monthlyCleaningCost": 78.27,
    "monthlyCosts": 824.58,
    "monthlyProfit": 2523.54,
    "capex": 1716,
    "paybackMonths": 0.68,
    "paybackWeeks": 2.96,
    "paybackStatus": "finite"
  },
  "schedule": {
    "drinkType": "nitro-cold-brew",
    "drinkLabel": "Nitro cold brew",
    "headline": "Weekly caustic cleaning, monthly acid cleaning",
    "summary": "Clean nitro cold brew lines with a caustic (alkaline) draught-line cleaner every 7 days, and run an acid cleaning about every 30 days. Completely disassemble and hand-clean the stout/nitro faucet—including the restrictor plate—on every cleaning cycle. Coffee oils, sugars, and milk-based drinks (if you pour them on the same line) leave residue faster than beer.",
    "steps": [
      "Push remaining product from the lines with cool or lukewarm water. Do not send hot caustic through a line still holding cold brew—heat can curdle dairy or cook coffee solids into the tubing.",
      "Circulate a caustic draught-line cleaner mixed to the manufacturer's directions (beer-system practice is typically a 2% caustic solution at about 80–110°F) for at least 15 minutes, or static-soak per the cleaner label if you use a cleaning canister.",
      "Fully disassemble the stout/nitro faucet and restrictor plate; hand-clean all parts. These nozzles trap liquid and are prone to microbial growth.",
      "Flush with fresh water until the rinse water pH matches your tap water and no visible debris remains.",
      "Once a month, run an acid line cleaner (in addition to, not instead of, caustic) to remove mineral scale, then rinse thoroughly.",
      "Log every cleaning. Follow your local health department if it requires a tighter schedule."
    ],
    "causticEveryDays": 7,
    "acidEveryDays": 30,
    "faucetService": "every-clean",
    "nitroFaucetTeardown": true,
    "citations": [
      {
        "label": "Brewers Association Draught Beer Quality Manual",
        "note": "For beer, the BA recommends cleaning and servicing draught lines at least every 14 days, plus a quarterly acid cleaning, and complete faucet disassembly on every cleaning cycle—including nitro faucets and restrictor plates. The manual addresses beer, not coffee; weekly caustic for cold brew is a conservative food-service practice because coffee soils build up faster.",
        "url": "https://www.brewersassociation.org/educational-publications/draught-beer-quality-manual/"
      }
    ],
    "generatedOn": "2026-11-29",
    "horizonDays": 84,
    "events": [
      {
        "dayOffset": 0,
        "date": "2026-11-29",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate",
          "Acid line cleaning (in addition to caustic)"
        ]
      },
      {
        "dayOffset": 7,
        "date": "2026-12-06",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 14,
        "date": "2026-12-13",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 21,
        "date": "2026-12-20",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 28,
        "date": "2026-12-27",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 30,
        "date": "2026-12-29",
        "weekday": "Tue",
        "tasks": [
          "Acid line cleaning (in addition to caustic)"
        ]
      },
      {
        "dayOffset": 35,
        "date": "2027-01-03",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 42,
        "date": "2027-01-10",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 49,
        "date": "2027-01-17",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 56,
        "date": "2027-01-24",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 60,
        "date": "2027-01-28",
        "weekday": "Thu",
        "tasks": [
          "Acid line cleaning (in addition to caustic)"
        ]
      },
      {
        "dayOffset": 63,
        "date": "2027-01-31",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 70,
        "date": "2027-02-07",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      },
      {
        "dayOffset": 77,
        "date": "2027-02-14",
        "weekday": "Sun",
        "tasks": [
          "Caustic (alkaline) line cleaning",
          "Disassemble and hand-clean faucet and nitro restrictor plate"
        ]
      }
    ],
    "plainText": "Line cleaning schedule for Nitro cold brew on tap\nGenerated 2026-11-29 · next 12 weeks\nWeekly caustic cleaning, monthly acid cleaning\n\nClean nitro cold brew lines with a caustic (alkaline) draught-line cleaner every 7 days, and run an acid cleaning about every 30 days. Completely disassemble and hand-clean the stout/nitro faucet—including the restrictor plate—on every cleaning cycle. Coffee oils, sugars, and milk-based drinks (if you pour them on the same line) leave residue faster than beer.\n\nHow to clean:\n1. Push remaining product from the lines with cool or lukewarm water. Do not send hot caustic through a line still holding cold brew—heat can curdle dairy or cook coffee solids into the tubing.\n2. Circulate a caustic draught-line cleaner mixed to the manufacturer's directions (beer-system practice is typically a 2% caustic solution at about 80–110°F) for at least 15 minutes, or static-soak per the cleaner label if you use a cleaning canister.\n3. Fully disassemble the stout/nitro faucet and restrictor plate; hand-clean all parts. These nozzles trap liquid and are prone to microbial growth.\n4. Flush with fresh water until the rinse water pH matches your tap water and no visible debris remains.\n5. Once a month, run an acid line cleaner (in addition to, not instead of, caustic) to remove mineral scale, then rinse thoroughly.\n6. Log every cleaning. Follow your local health department if it requires a tighter schedule.\n\nCalendar:\n2026-11-29 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate; Acid line cleaning (in addition to caustic)\n2026-12-06 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2026-12-13 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2026-12-20 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2026-12-27 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2026-12-29 (Tue): Acid line cleaning (in addition to caustic)\n2027-01-03 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2027-01-10 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2027-01-17 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2027-01-24 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2027-01-28 (Thu): Acid line cleaning (in addition to caustic)\n2027-01-31 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2027-02-07 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n2027-02-14 (Sun): Caustic (alkaline) line cleaning; Disassemble and hand-clean faucet and nitro restrictor plate\n\nGuidance notes:\n- Brewers Association Draught Beer Quality Manual: For beer, the BA recommends cleaning and servicing draught lines at least every 14 days, plus a quarterly acid cleaning, and complete faucet disassembly on every cleaning cycle—including nitro faucets and restrictor plates. The manual addresses beer, not coffee; weekly caustic for cold brew is a conservative food-service practice because coffee soils build up faster. https://www.brewersassociation.org/educational-publications/draught-beer-quality-manual/\n\nThis is general public guidance for planning, not a health-code or legal standard. Follow your local health department and cleaner manufacturer directions. Never mix caustic and acid in the same solution."
  },
  "formulas": {
    "theoreticalServingsPerKeg": "kegGallons * 128 / servingSizeOz",
    "usableServingsPerKeg": "theoreticalServingsPerKeg * (1 - wastePercent / 100)",
    "productCostPerKeg": "costMode === 'per-gallon' ? costPerGallon * kegGallons : costPerKeg",
    "productCostPerServing": "productCostPerKeg / usableServingsPerKeg",
    "servingsPerMonth": "servingsPerDay * daysOpenPerWeek * (365.25 / 7) / 12",
    "cleansPerMonth": "(365.25 / causticEveryDays) / 12",
    "cleaningCostPerMonth": "cleaningCostMode === 'monthly' ? cleaningCostPerMonth : cleaningCostPerClean * cleansPerMonth",
    "gasCostPerServing": "gasCostPerMonth / servingsPerMonth",
    "cleaningCostPerServing": "cleaningCostPerMonth / servingsPerMonth",
    "costPerServing": "productCostPerServing + gasCostPerServing + cleaningCostPerServing",
    "grossMarginPct": "(pricePerServing - costPerServing) / pricePerServing * 100",
    "monthlyRevenue": "servingsPerMonth * pricePerServing",
    "monthlyProductCost": "servingsPerMonth * productCostPerServing",
    "monthlyCosts": "monthlyProductCost + gasCostPerMonth + cleaningCostPerMonth",
    "monthlyProfit": "monthlyRevenue - monthlyCosts",
    "capex": "kegeratorCost + faucetCost + regulatorCost + gasSystemCost",
    "paybackMonths": "capex / monthlyProfit  (null if monthlyProfit <= 0)",
    "paybackWeeks": "paybackMonths * (365.25 / 7 / 12)"
  },
  "meta": {
    "source": "on-tap-roi-calculator",
    "version": "1.0.0",
    "documentation": "/nitro/llms.txt",
    "formulas": "/nitro/formulas.json"
  }
}