✳tools.stBrowse tools
◈ Processed on your device
±

Weighted average

Calculate an average from values and nonnegative weights.

Free

Enter a value list and an equally long weight list in corresponding order. The result is the sum of value × weight divided by the total weight, with the weight total returned separately.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. Copy or download your result.

Worked example

Example input

Values: 80,90
Weights: 1,3

Example result

{
  "weightedAverage": 87.5,
  "totalWeight": 4
}

Limitations and details

Weights must be nonnegative with a positive sum; both lists must have matching lengths and no more than 10000 entries.

Inputs and options

Values
Text
Weights
Text

Frequently asked questions

Is this tool free and private?

Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.

Related tools