{
  "title": "Ingredient density converter",
  "human_url": "https://happytails.ai/en/calculators/ingredient-density-converter/",
  "agent_url": "https://happytails.ai/agents/en/calculators/ingredient-density-converter/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/ingredient-density-converter.md",
  "content": "Ingredient density converter\nConvert ingredient mass and volume using a named density that you measured or chose.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Ingredient density converter\nEnter the measurements and assumptions for this recipe or plan.\nReview the calculated quantities and their stated basis.\nDownload the report and verify it against your measured result.\nUseful next steps\nBaker's percentage calculator\nPreferment calculator\nName the assumption\nGive your density a useful label, such as the ingredient and how it was packed. The starting 0.5 g/mL is an editable example, not a verified ingredient database.\nKeep cup definitions explicit\nUS cups and 250 mL metric cups are separate. Packing, moisture and particle size can change bulk density, so the same ingredient name does not guarantee the same grams per cup.\nSave the result\nDownload CSV and a text or JSON report with the calculation and its assumptions. Processing stays on your device. Check measurements and selected units before using the result.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Baker's percentage calculator",
      "url": "https://happytails.ai/en/calculators/bakers-percentage-calculator/"
    },
    {
      "name": "Preferment calculator",
      "url": "https://happytails.ai/en/calculators/preferment-calculator/"
    }
  ],
  "tool": {
    "id": "ingredient-density-converter",
    "category": "calculators",
    "built": true,
    "requirements": "Positive density up to 100 g/mL and a label up to 80 characters. Uses entered bulk density without a lookup or hidden water-density assumption.",
    "implementation": {
      "fields": [
        {
          "key": "mode",
          "label": "Convert",
          "value": "Mass to volume",
          "type": "select",
          "values": [
            "Mass to volume",
            "Volume to mass"
          ]
        },
        {
          "key": "label",
          "label": "Ingredient and measurement assumption",
          "value": "Measured ingredient sample",
          "type": "text"
        },
        {
          "key": "density",
          "label": "Measured density (g/mL)",
          "value": 0.5,
          "type": "number",
          "min": 1e-06,
          "max": 100,
          "step": "any"
        },
        {
          "key": "amount",
          "label": "Quantity to convert",
          "value": 100,
          "type": "number",
          "min": 0,
          "max": 100000000,
          "step": "any"
        },
        {
          "key": "massUnit",
          "label": "Mass unit",
          "value": "g",
          "type": "select",
          "values": [
            "g",
            "kg",
            "oz",
            "lb"
          ]
        },
        {
          "key": "volumeUnit",
          "label": "Volume unit",
          "value": "US cup",
          "type": "select",
          "values": [
            "mL",
            "L",
            "US cup",
            "metric cup (250 mL)",
            "US tbsp",
            "metric tbsp (15 mL)",
            "US tsp",
            "US fl oz",
            "Imp fl oz"
          ]
        }
      ],
      "input": false,
      "live": true,
      "presentation": "metrics",
      "note": "Enter a measured bulk density for the ingredient in its actual packed state. This is not a density lookup; the starting density is only an editable example. Calculated on your device. Changing units keeps the entered numbers.",
      "experience": {
        "automatic": true,
        "single": false,
        "inputMaxLength": 1000000,
        "inputMode": "text",
        "label": "Your text",
        "placeholder": "Type or paste your input…",
        "help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
        "action": null
      },
      "mode": "automatic",
      "interactive": false
    },
    "execution": "Browser interface",
    "api": null,
    "browser_agent": {
      "supported": true,
      "name": "run_current_tool",
      "discovery": "WebMCP on the human page in a supporting browser",
      "verification": "See audit/API-AUDIT.md; availability is not verification"
    }
  },
  "markdown": "# Ingredient density converter\n\n- Human page: https://happytails.ai/en/calculators/ingredient-density-converter/\n- Markdown: https://happytails.ai/en/calculators/ingredient-density-converter.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/ingredient-density-converter/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `ingredient-density-converter` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Automatic updates after valid input or file selection. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nEnter a measured bulk density for the ingredient in its actual packed state. This is not a density lookup; the starting density is only an editable example. Calculated on your device. Changing units keeps the entered numbers.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `mode` | Convert | select | \"Mass to volume\" | Allowed: Mass to volume, Volume to mass |\n| `label` | Ingredient and measurement assumption | text | \"Measured ingredient sample\" |  |\n| `density` | Measured density (g/mL) | number | 0.5 | min=1e-06 max=100 step=any |\n| `amount` | Quantity to convert | number | 100 | min=0 max=100000000 step=any |\n| `massUnit` | Mass unit | select | \"g\" | Allowed: g, kg, oz, lb |\n| `volumeUnit` | Volume unit | select | \"US cup\" | Allowed: mL, L, US cup, metric cup (250 mL), US tbsp, metric tbsp (15 mL), US tsp, US fl oz, Imp fl oz |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nPositive density up to 100 g/mL and a label up to 80 characters. Uses entered bulk density without a lookup or hidden water-density assumption.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"ingredient-density-converter\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"Positive density up to 100 g/mL and a label up to 80 characters. Uses entered bulk density without a lookup or hidden water-density assumption.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"mode\",\n        \"label\": \"Convert\",\n        \"value\": \"Mass to volume\",\n        \"type\": \"select\",\n        \"values\": [\n          \"Mass to volume\",\n          \"Volume to mass\"\n        ]\n      },\n      {\n        \"key\": \"label\",\n        \"label\": \"Ingredient and measurement assumption\",\n        \"value\": \"Measured ingredient sample\",\n        \"type\": \"text\"\n      },\n      {\n        \"key\": \"density\",\n        \"label\": \"Measured density (g/mL)\",\n        \"value\": 0.5,\n        \"type\": \"number\",\n        \"min\": 1e-06,\n        \"max\": 100,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"amount\",\n        \"label\": \"Quantity to convert\",\n        \"value\": 100,\n        \"type\": \"number\",\n        \"min\": 0,\n        \"max\": 100000000,\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"massUnit\",\n        \"label\": \"Mass unit\",\n        \"value\": \"g\",\n        \"type\": \"select\",\n        \"values\": [\n          \"g\",\n          \"kg\",\n          \"oz\",\n          \"lb\"\n        ]\n      },\n      {\n        \"key\": \"volumeUnit\",\n        \"label\": \"Volume unit\",\n        \"value\": \"US cup\",\n        \"type\": \"select\",\n        \"values\": [\n          \"mL\",\n          \"L\",\n          \"US cup\",\n          \"metric cup (250 mL)\",\n          \"US tbsp\",\n          \"metric tbsp (15 mL)\",\n          \"US tsp\",\n          \"US fl oz\",\n          \"Imp fl oz\"\n        ]\n      }\n    ],\n    \"input\": false,\n    \"live\": true,\n    \"presentation\": \"metrics\",\n    \"note\": \"Enter a measured bulk density for the ingredient in its actual packed state. This is not a density lookup; the starting density is only an editable example. Calculated on your device. Changing units keeps the entered numbers.\",\n    \"experience\": {\n      \"automatic\": true,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\",\n      \"action\": null\n    },\n    \"mode\": \"automatic\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nConvert ingredient mass and volume using a named density that you measured or chose.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Ingredient density converter\n\n1. Enter the measurements and assumptions for this recipe or plan.\n2. Review the calculated quantities and their stated basis.\n3. Download the report and verify it against your measured result.\n\n## Useful next steps\n\n- [Baker's percentage calculator](https://happytails.ai/en/calculators/bakers-percentage-calculator/) ([Markdown](https://happytails.ai/en/calculators/bakers-percentage-calculator.md))\n\n- [Preferment calculator](https://happytails.ai/en/calculators/preferment-calculator/) ([Markdown](https://happytails.ai/en/calculators/preferment-calculator.md))\n\n## Name the assumption\n\nGive your density a useful label, such as the ingredient and how it was packed. The starting 0.5 g/mL is an editable example, not a verified ingredient database.\n\n### Keep cup definitions explicit\n\nUS cups and 250 mL metric cups are separate. Packing, moisture and particle size can change bulk density, so the same ingredient name does not guarantee the same grams per cup.\n\n### Save the result\n\nDownload CSV and a text or JSON report with the calculation and its assumptions. Processing stays on your device. Check measurements and selected units before using the result.\n"
}