Weighted Average Calculator
Calculate weighted averages with various methods including weighted mean, median, variance and sensitivity analysis
API Documentation
Request Endpoint
POST /en/api/tools/weighted-average-calculator
Request Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| dataInput | textarea | Yes | - |
| inputFormat | select | Yes | - |
| calculationMethod | select | Yes | - |
| normalizeWeights | checkbox | No | Normalize weights so they sum to 1.0 |
| includeMedian | checkbox | No | Calculate weighted median (more computationally intensive) |
| includeMode | checkbox | No | Find the most frequent value by weight |
| sensitivityAnalysis | checkbox | No | Analyze how sensitive the result is to weight changes |
| compareWithSimple | checkbox | No | Show comparison with unweighted simple average |
| decimalPlaces | number | No | Number of decimal places in results (0-8) |
Response Format
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}
Text:
Text
AI MCP Documentation
Add this tool to your MCP server configuration:
{
"mcpServers": {
"elysiatools-weighted-average-calculator": {
"name": "weighted-average-calculator",
"description": "Calculate weighted averages with various methods including weighted mean, median, variance and sensitivity analysis",
"baseUrl": "https://elysiatools.com/mcp/sse?toolId=weighted-average-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}
You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.
If you encounter any issues, please contact us at [email protected]