happytails.ai

Ingredient density converter

Open Ingredient density converter on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.

Tool capabilities

{
  "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.",
      "helpParts": [
        "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"
  }
}

Page guide

Convert ingredient mass and volume using a named density that you measured or chose.

How to use Ingredient density converter
  1. Enter the measurements and assumptions for this recipe or plan.
  2. Review the calculated quantities and their stated basis.
  3. Download the report and verify it against your measured result.

Useful next steps

Name the assumption

Give 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.

Keep cup definitions explicit

US 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.

Save the result

Download 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.