{
  "title": "Weighted average calculator",
  "human_url": "https://happytails.ai/en/calculators/weighted-average/",
  "agent_url": "https://happytails.ai/agents/en/calculators/weighted-average/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/weighted-average.md",
  "content": "Weighted average calculator\nFind the average when some values count more than others.\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 Weighted average calculator\nEnter one value and its weight per line, separated by a comma. A weight can be a count, a percentage or relative importance. The weights do not have to add up to 100.\nA score of 80 with weight 1 and a score of 90 with weight 3 give a weighted average of 87.5. The weighted sum is 350 and the total weight is 4.\nUseful next steps\nAverage\nStandard deviation\nPercentage\nGive each value its weight\nEnter one value and its weight per line, separated by a comma. A weight can be a count, a percentage or relative importance. The weights do not have to add up to 100.\nTry a small example\nA score of 80 with weight 1 and a score of 90 with weight 3 give a weighted average of 87.5. The weighted sum is 350 and the total weight is 4.\nWhat to know\nSupports up to 1,000 rows. Values and weights must be finite and no larger than 1 trillion in magnitude. Weights cannot be negative and at least one must be positive. Zero weights exclude a value from the average. Results use 12 significant digits.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Average",
      "url": "https://happytails.ai/en/calculators/average/"
    },
    {
      "name": "Standard deviation",
      "url": "https://happytails.ai/en/calculators/standard-deviation/"
    },
    {
      "name": "Percentage",
      "url": "https://happytails.ai/en/calculators/percentage/"
    }
  ],
  "tool": {
    "id": "weighted-average",
    "category": "calculators",
    "built": true,
    "requirements": "Supports up to 1,000 rows. Values and weights must be finite and no larger than 1 trillion in magnitude. Weights cannot be negative and at least one must be positive. Zero weights exclude a value from the average. Results use 12 significant digits.",
    "implementation": {
      "fields": [],
      "live": true,
      "presentation": "metrics",
      "note": "Enter value, weight on each line. Weights can be counts, percentages or relative importance; they do not need to total 100. Up to 1,000 rows, finite values of magnitude at most 1 trillion, and nonnegative weights. Results use 12 significant digits.",
      "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": "# Weighted average calculator\n\n- Human page: https://happytails.ai/en/calculators/weighted-average/\n- Markdown: https://happytails.ai/en/calculators/weighted-average.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/weighted-average/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `weighted-average` |\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 value, weight on each line. Weights can be counts, percentages or relative importance; they do not need to total 100. Up to 1,000 rows, finite values of magnitude at most 1 trillion, and nonnegative weights. Results use 12 significant digits.\n\n### Inputs and settings\n\nText input: Your text.\n\nExample or placeholder shown in the interface (not a validated fixture):\n\n```text\nType or paste your input…\n```\n\nChange the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\n\nNo additional settings are declared for this tool.\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\nSupports up to 1,000 rows. Values and weights must be finite and no larger than 1 trillion in magnitude. Weights cannot be negative and at least one must be positive. Zero weights exclude a value from the average. Results use 12 significant digits.\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\": \"weighted-average\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"Supports up to 1,000 rows. Values and weights must be finite and no larger than 1 trillion in magnitude. Weights cannot be negative and at least one must be positive. Zero weights exclude a value from the average. Results use 12 significant digits.\",\n  \"implementation\": {\n    \"fields\": [],\n    \"live\": true,\n    \"presentation\": \"metrics\",\n    \"note\": \"Enter value, weight on each line. Weights can be counts, percentages or relative importance; they do not need to total 100. Up to 1,000 rows, finite values of magnitude at most 1 trillion, and nonnegative weights. Results use 12 significant digits.\",\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\nFind the average when some values count more than others.\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 Weighted average calculator\n\n1. Enter one value and its weight per line, separated by a comma. A weight can be a count, a percentage or relative importance. The weights do not have to add up to 100.\n2. A score of 80 with weight 1 and a score of 90 with weight 3 give a weighted average of 87.5. The weighted sum is 350 and the total weight is 4.\n\n## Useful next steps\n\n- [Average](https://happytails.ai/en/calculators/average/) ([Markdown](https://happytails.ai/en/calculators/average.md))\n\n- [Standard deviation](https://happytails.ai/en/calculators/standard-deviation/) ([Markdown](https://happytails.ai/en/calculators/standard-deviation.md))\n\n- [Percentage](https://happytails.ai/en/calculators/percentage/) ([Markdown](https://happytails.ai/en/calculators/percentage.md))\n\n## Give each value its weight\n\nEnter one value and its weight per line, separated by a comma. A weight can be a count, a percentage or relative importance. The weights do not have to add up to 100.\n\n### Try a small example\n\nA score of 80 with weight 1 and a score of 90 with weight 3 give a weighted average of 87.5. The weighted sum is 350 and the total weight is 4.\n\n### What to know\n\nSupports up to 1,000 rows. Values and weights must be finite and no larger than 1 trillion in magnitude. Weights cannot be negative and at least one must be positive. Zero weights exclude a value from the average. Results use 12 significant digits.\n"
}