✳tools.stBrowse tools
◈ Processed on your device
±

Expected value and risk

Calculate expectation and variance of a discrete probability distribution.

Free

Enter outcomes and their corresponding probabilities in matching order. The tool calculates the probability-weighted mean, then the weighted squared deviations and their square root.

◈ 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

Outcomes: 0,10
Probabilities (sum to 1): 0.5,0.5

Example result

{
  "expectedValue": 5,
  "variance": 25,
  "standardDeviation": 5
}

Limitations and details

Probabilities must lie in [0,1] and sum to one within 10⁻¹⁰; outputs describe the supplied distribution rather than guaranteed outcomes.

Inputs and options

Outcomes
Text
Probabilities (sum to 1)
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