{
  "title": "Percent error calculator",
  "human_url": "https://happytails.ai/en/calculators/percent-error/",
  "agent_url": "https://happytails.ai/agents/en/calculators/percent-error/",
  "language": "en",
  "markdown_url": "https://happytails.ai/en/calculators/percent-error.md",
  "content": "Percent error calculator\nCompare a measurement with an accepted value and see the size and direction of its error.\nHow can we improve this tool?\nReport a problem or share an idea.\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\nHow to use Percent error calculator\nEnter the measured value and the accepted reference in the same units. The main percent error is nonnegative. The signed result shows whether the measurement is higher or lower than the reference.\nA measurement of 9.5 against an accepted value of 10 has an absolute error of 0.5 and a percent error of 5%. Its signed percent error is -5%.\nUseful next steps\nPercentage difference calculator\nPercentage change\nRounding\nCompare measured and accepted values\nEnter the measured value and the accepted reference in the same units. The main percent error is nonnegative. The signed result shows whether the measurement is higher or lower than the reference.\nTry a small example\nA measurement of 9.5 against an accepted value of 10 has an absolute error of 0.5 and a percent error of 5%. Its signed percent error is -5%.\nWhat to know\nPercent error divides the absolute difference by the absolute reference value, then multiplies by 100. A zero reference is undefined and is rejected. Negative references are supported. Both inputs are limited to magnitude 1 trillion; use Percentage difference to compare two values without a reference.",
  "content_format": "text/plain",
  "visibility": "public",
  "links": [
    {
      "name": "Percentage difference calculator",
      "url": "https://happytails.ai/en/calculators/percentage-difference/"
    },
    {
      "name": "Percentage change",
      "url": "https://happytails.ai/en/calculators/percentage-change/"
    },
    {
      "name": "Rounding",
      "url": "https://happytails.ai/en/calculators/rounding/"
    }
  ],
  "tool": {
    "id": "percent-error",
    "category": "calculators",
    "built": true,
    "requirements": "Percent error divides the absolute difference by the absolute reference value, then multiplies by 100. A zero reference is undefined and is rejected. Negative references are supported. Both inputs are limited to magnitude 1 trillion; use Percentage difference to compare two values without a reference.",
    "implementation": {
      "fields": [
        {
          "key": "measured",
          "label": "Measured value",
          "value": 9.5,
          "type": "number",
          "step": "any"
        },
        {
          "key": "accepted",
          "label": "Accepted value",
          "value": 10,
          "type": "number",
          "step": "any"
        }
      ],
      "input": false,
      "live": true,
      "presentation": "metrics",
      "note": "Absolute percent error = |measured - accepted| / |accepted| × 100. The signed result shows whether the measurement is higher or lower. The accepted value must be nonzero; both values are limited to magnitude 1 trillion.",
      "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"
    }
  },
  "markdown": "# Percent error calculator\n\n- Human page: https://happytails.ai/en/calculators/percent-error/\n- Markdown: https://happytails.ai/en/calculators/percent-error.md\n- Structured JSON: https://happytails.ai/agents/en/calculators/percent-error/index.json\n- Visibility: public\n\n## Tool capabilities\n\n| Property | Value |\n| --- | --- |\n| Tool ID | `percent-error` |\n| Category | calculators |\n| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |\n| Browser execution | Automatic updates after valid input or file selection. |\n| Browser processing | Browser; see tool notes for network behavior. |\n| HTTP API | Not callable through HTTP. |\n| Browser-agent interface | run_current_tool |\n\n### Implementation notes\n\nAbsolute percent error = |measured - accepted| / |accepted| × 100. The signed result shows whether the measurement is higher or lower. The accepted value must be nonzero; both values are limited to magnitude 1 trillion.\n\n### Inputs and settings\n\nNo free-text input is required. Use the file inputs and/or settings below.\n\n| Setting | Meaning | Control type | Default | Constraints |\n| --- | --- | --- | --- | --- |\n| `measured` | Measured value | number | 9.5 | step=any |\n| `accepted` | Accepted value | number | 10 | step=any |\n\n### Browser-agent workflow\n\n1. Open the human page in a browser that supports WebMCP.\n2. Discover the interface exposed by that page; use its actual schema.\n3. Select files on the page first when the tool requires files.\n4. Call `run_current_tool` with valid input and settings.\n5. Inspect the returned result or error and the displayed output. Retrieve files from the displayed download links.\n\nCalls do not automatically copy or download results. Browser permissions still apply. Interface availability alone is not proof of successful execution.\n\n### Planning specification\n\nPercent error divides the absolute difference by the absolute reference value, then multiplies by 100. A zero reference is undefined and is rejected. Negative references are supported. Both inputs are limited to magnitude 1 trillion; use Percentage difference to compare two values without a reference.\n\nThis describes intended requirements. Use the implementation notes, interface schema and observed output to determine current support.\n\n### Complete machine-readable capability record\n\n```json\n{\n  \"id\": \"percent-error\",\n  \"category\": \"calculators\",\n  \"built\": true,\n  \"requirements\": \"Percent error divides the absolute difference by the absolute reference value, then multiplies by 100. A zero reference is undefined and is rejected. Negative references are supported. Both inputs are limited to magnitude 1 trillion; use Percentage difference to compare two values without a reference.\",\n  \"implementation\": {\n    \"fields\": [\n      {\n        \"key\": \"measured\",\n        \"label\": \"Measured value\",\n        \"value\": 9.5,\n        \"type\": \"number\",\n        \"step\": \"any\"\n      },\n      {\n        \"key\": \"accepted\",\n        \"label\": \"Accepted value\",\n        \"value\": 10,\n        \"type\": \"number\",\n        \"step\": \"any\"\n      }\n    ],\n    \"input\": false,\n    \"live\": true,\n    \"presentation\": \"metrics\",\n    \"note\": \"Absolute percent error = |measured - accepted| / |accepted| × 100. The signed result shows whether the measurement is higher or lower. The accepted value must be nonzero; both values are limited to magnitude 1 trillion.\",\n    \"experience\": {\n      \"automatic\": true,\n      \"single\": false,\n      \"inputMaxLength\": 1000000,\n      \"inputMode\": \"text\",\n      \"label\": \"Your text\",\n      \"placeholder\": \"Type or paste your input…\",\n      \"help\": \"Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.\",\n      \"action\": null\n    },\n    \"mode\": \"automatic\",\n    \"interactive\": false\n  },\n  \"execution\": \"Browser interface\",\n  \"api\": null,\n  \"browser_agent\": {\n    \"supported\": true,\n    \"name\": \"run_current_tool\",\n    \"discovery\": \"WebMCP on the human page in a supporting browser\",\n    \"verification\": \"See audit/API-AUDIT.md; availability is not verification\"\n  }\n}\n```\n\n## Page guide\n\nCompare a measurement with an accepted value and see the size and direction of its error.\n\nHow can we improve this tool?\n\nReport a problem or share an idea.\n\nPlease leave out private information. Your message and the tool name go to our team via PostHog.\n\n### How to use Percent error calculator\n\n1. Enter the measured value and the accepted reference in the same units. The main percent error is nonnegative. The signed result shows whether the measurement is higher or lower than the reference.\n2. A measurement of 9.5 against an accepted value of 10 has an absolute error of 0.5 and a percent error of 5%. Its signed percent error is -5%.\n\n## Useful next steps\n\n- [Percentage difference calculator](https://happytails.ai/en/calculators/percentage-difference/) ([Markdown](https://happytails.ai/en/calculators/percentage-difference.md))\n\n- [Percentage change](https://happytails.ai/en/calculators/percentage-change/) ([Markdown](https://happytails.ai/en/calculators/percentage-change.md))\n\n- [Rounding](https://happytails.ai/en/calculators/rounding/) ([Markdown](https://happytails.ai/en/calculators/rounding.md))\n\n## Compare measured and accepted values\n\nEnter the measured value and the accepted reference in the same units. The main percent error is nonnegative. The signed result shows whether the measurement is higher or lower than the reference.\n\n### Try a small example\n\nA measurement of 9.5 against an accepted value of 10 has an absolute error of 0.5 and a percent error of 5%. Its signed percent error is -5%.\n\n### What to know\n\nPercent error divides the absolute difference by the absolute reference value, then multiplies by 100. A zero reference is undefined and is rejected. Negative references are supported. Both inputs are limited to magnitude 1 trillion; use Percentage difference to compare two values without a reference.\n"
}