# Weighted average calculator

- Human page: https://happytails.ai/en/calculators/weighted-average/
- Markdown: https://happytails.ai/en/calculators/weighted-average.md
- Structured JSON: https://happytails.ai/agents/en/calculators/weighted-average/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `weighted-average` |
| Category | calculators |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Automatic updates after valid input or file selection. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

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.

### Inputs and settings

Text input: Your text.

Example or placeholder shown in the interface (not a validated fixture):

```text
Type or paste your input…
```

Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.

No additional settings are declared for this tool.

### Browser-agent workflow

1. Open the human page in a browser that supports WebMCP.
2. Discover the interface exposed by that page; use its actual schema.
3. Select files on the page first when the tool requires files.
4. Call `run_current_tool` with valid input and settings.
5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.

Calls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.

### Planning specification

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.

This describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.

### Complete machine-readable capability record

```json
{
  "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"
  }
}
```

## Page guide

Find the average when some values count more than others.

How can we improve this tool?

Report a problem or share an idea.

Please leave out private information. Your message and the tool name go to our team via PostHog.

### How to use Weighted average calculator

1. 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.
2. 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.

## Useful next steps

- [Average](https://happytails.ai/en/calculators/average/) ([Markdown](https://happytails.ai/en/calculators/average.md))

- [Standard deviation](https://happytails.ai/en/calculators/standard-deviation/) ([Markdown](https://happytails.ai/en/calculators/standard-deviation.md))

- [Percentage](https://happytails.ai/en/calculators/percentage/) ([Markdown](https://happytails.ai/en/calculators/percentage.md))

## Give each value its weight

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.

### Try a small example

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.

### What to know

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.
