# Forecast accuracy calculator

- Human page: https://happytails.ai/en/business-tools/forecast-accuracy-calculator/
- Markdown: https://happytails.ai/en/business-tools/forecast-accuracy-calculator.md
- Structured JSON: https://happytails.ai/agents/en/business-tools/forecast-accuracy-calculator/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `forecast-accuracy-calculator` |
| Category | business-tools |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Use the visible action or interactive controls. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Paste CSV with a header and 1 to 5000 actual and forecast pairs. Choose two distinct column names. Use dot decimals, no thousands separators, and at most six decimal places; values may be negative and must be within ±1000000000. Error is forecast minus actual, so positive bias means overforecasting. MAPE excludes zero actuals and reports its included and excluded counts. WAPE divides total absolute error by total absolute actual values. An undefined percentage is shown as Not defined. Percentage errors may be misleading for signed quantities or actuals near zero. Rows are equally weighted; this is not a forecasting model or a universal accuracy score. Complete JSON and CSV include every row, summary metric and assumption. Processing stays on your device.

### Inputs and settings

Text input: Your text.

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

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

Up to 1,000,000 characters. Review the settings before running.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `actualColumn` | Actual column | text | "actual" |  |
| `forecastColumn` | Forecast column | text | "forecast" |  |
| `separator` | CSV separator | select | "," | Allowed: ,, ;, 	 |

### 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

Paste CSV with a header and 1 to 5000 actual and forecast pairs. Choose two distinct column names. Use dot decimals, no thousands separators, and at most six decimal places; values may be negative and must be within ±1000000000. Error is forecast minus actual, so positive bias means overforecasting. MAPE excludes zero actuals and reports its included and excluded counts. WAPE divides total absolute error by total absolute actual values. An undefined percentage is shown as Not defined. Percentage errors may be misleading for signed quantities or actuals near zero. Rows are equally weighted; this is not a forecasting model or a universal accuracy score. Complete JSON and CSV include every row, summary metric and assumption. Processing stays on your device. CSV accepts at most 100 columns and 100000 cells through the shared parser. Extra columns are ignored and not copied into the report. Calculations use floating-point arithmetic. A disposable local worker has a 10-second timeout.

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

### Complete machine-readable capability record

```json
{
  "id": "forecast-accuracy-calculator",
  "category": "business-tools",
  "built": true,
  "requirements": "Paste CSV with a header and 1 to 5000 actual and forecast pairs. Choose two distinct column names. Use dot decimals, no thousands separators, and at most six decimal places; values may be negative and must be within ±1000000000. Error is forecast minus actual, so positive bias means overforecasting. MAPE excludes zero actuals and reports its included and excluded counts. WAPE divides total absolute error by total absolute actual values. An undefined percentage is shown as Not defined. Percentage errors may be misleading for signed quantities or actuals near zero. Rows are equally weighted; this is not a forecasting model or a universal accuracy score. Complete JSON and CSV include every row, summary metric and assumption. Processing stays on your device. CSV accepts at most 100 columns and 100000 cells through the shared parser. Extra columns are ignored and not copied into the report. Calculations use floating-point arithmetic. A disposable local worker has a 10-second timeout.",
  "implementation": {
    "fields": [
      {
        "key": "actualColumn",
        "label": "Actual column",
        "value": "actual",
        "type": "text",
        "maxLength": 200
      },
      {
        "key": "forecastColumn",
        "label": "Forecast column",
        "value": "forecast",
        "type": "text",
        "maxLength": 200
      },
      {
        "key": "separator",
        "label": "CSV separator",
        "value": ",",
        "type": "select",
        "values": [
          ",",
          ";",
          "\t"
        ],
        "labels": {
          ",": "Comma",
          ";": "Semicolon",
          "\t": "Tab"
        }
      }
    ],
    "presentation": "metrics",
    "inputMaxLength": 1000000,
    "inputErrorCode": "FORECAST_INPUT",
    "note": "Paste CSV with a header and 1 to 5000 actual and forecast pairs. Choose two distinct column names. Use dot decimals, no thousands separators, and at most six decimal places; values may be negative and must be within ±1000000000. Error is forecast minus actual, so positive bias means overforecasting. MAPE excludes zero actuals and reports its included and excluded counts. WAPE divides total absolute error by total absolute actual values. An undefined percentage is shown as Not defined. Percentage errors may be misleading for signed quantities or actuals near zero. Rows are equally weighted; this is not a forecasting model or a universal accuracy score. Complete JSON and CSV include every row, summary metric and assumption. Processing stays on your device.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 1,000,000 characters. Review the settings before running.",
      "action": null
    },
    "mode": "explicit",
    "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

Compare actual values with forecasts using MAE, RMSE, signed bias, MAPE and WAPE. Inspect every error and download the full report.

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 Forecast accuracy calculator

1. Paste CSV with actual and forecast columns. Match each pair to the same period or item.
2. Select the CSV separator and the exact actual and forecast column names.
3. Compare error metrics, inspect the row table and download the complete JSON or CSV.

## Useful next steps

- [CSV viewer](https://happytails.ai/en/data-tools/csv-viewer/) ([Markdown](https://happytails.ai/en/data-tools/csv-viewer.md))

- [CSV column selector](https://happytails.ai/en/data-tools/csv-column-selector/) ([Markdown](https://happytails.ai/en/data-tools/csv-column-selector.md))

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

## Measure error without hiding its definition

For each row, error equals forecast minus actual. MAE averages absolute errors. RMSE is the square root of the average squared error. Mean signed bias averages signed errors, so positive values indicate overforecasting. Errors use the same units as the supplied values.

### Handle zero actuals explicitly

MAPE averages 100 times absolute error divided by absolute actual over nonzero actual rows only. Both the included and excluded counts are shown. WAPE is 100 times total absolute error divided by total absolute actual. A zero denominator gives an undefined percentage, not zero accuracy. Percentages can exceed 100.

### Compare equivalent observations

Use the same periods, forecast horizons and units for each pair. The tool does not verify temporal alignment or create forecasts. Small actual values can dominate MAPE, and percentage interpretations may be inappropriate for signed quantities. Evaluate held-out forecasts and compare suitable baselines before judging a model.
