# Scientific calculator

- Human page: https://happytails.ai/en/calculators/scientific-calculator/
- Markdown: https://happytails.ai/en/calculators/scientific-calculator.md
- Structured JSON: https://happytails.ai/agents/en/calculators/scientific-calculator/index.json
- Visibility: public

## Tool capabilities

| Property | Value |
| --- | --- |
| Tool ID | `scientific-calculator` |
| Category | calculators |
| Implementation | Registered implementation. Registration alone is not a production-quality guarantee. |
| Browser execution | Automatic updates after valid input or file selection. |
| Browser processing | Browser; see tool notes for network behavior. |
| HTTP API | Not callable through HTTP. |
| Browser-agent interface | run_current_tool |

### Implementation notes

Real-number arithmetic with parentheses, +, -, *, /, ^, factorial ! and postfix %. Functions: sin, cos, tan, asin, acos, atan, sqrt, log (base 10), ln, exp, abs, floor and ceil. Use explicit multiplication, such as 2*pi. Results use floating-point arithmetic and 12 significant digits.

### Inputs and settings

Text input: Expression.

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

```text
sqrt(144) + 2^3
```

Use explicit multiplication, parentheses and the functions listed below. Results update as you type. Up to 1,000,000 characters.

| Setting | Meaning | Control type | Default | Constraints |
| --- | --- | --- | --- | --- |
| `angle` | Angle unit | select | "Degrees" | Allowed: Degrees, Radians |

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

The calculator supports real numbers, parentheses, factorials and postfix percentages. It uses floating-point arithmetic, rounds to 12 significant digits and rejects undefined results. It does not solve symbolic equations.

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

### Complete machine-readable capability record

```json
{
  "id": "scientific-calculator",
  "category": "calculators",
  "built": true,
  "requirements": "The calculator supports real numbers, parentheses, factorials and postfix percentages. It uses floating-point arithmetic, rounds to 12 significant digits and rejects undefined results. It does not solve symbolic equations.",
  "implementation": {
    "fields": [
      {
        "key": "angle",
        "label": "Angle unit",
        "value": "Degrees",
        "type": "select",
        "values": [
          "Degrees",
          "Radians"
        ]
      }
    ],
    "live": true,
    "presentation": "metrics",
    "note": "Real-number arithmetic with parentheses, +, -, *, /, ^, factorial ! and postfix %. Functions: sin, cos, tan, asin, acos, atan, sqrt, log (base 10), ln, exp, abs, floor and ceil. Use explicit multiplication, such as 2*pi. Results use floating-point arithmetic and 12 significant digits.",
    "experience": {
      "automatic": true,
      "single": true,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Expression",
      "placeholder": "sqrt(144) + 2^3",
      "help": "Use explicit multiplication, parentheses and the functions listed below. 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"
  }
}
```

## Page guide

A proper calculator for powers, roots and trigonometry.

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 Scientific calculator

1. Enter expression in the input field.
2. The result updates as you type. Adjust the available settings if needed.
3. Review the result, then use Copy result or a download link when available.

## Useful next steps

- [Quadratic formula calculator](https://happytails.ai/en/calculators/quadratic-formula/) ([Markdown](https://happytails.ai/en/calculators/quadratic-formula.md))

- [Pythagorean theorem calculator](https://happytails.ai/en/calculators/pythagorean-theorem/) ([Markdown](https://happytails.ai/en/calculators/pythagorean-theorem.md))

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

## How to use it

Enter an expression, choose degrees or radians, and the answer updates as you type. Use the keypad or your keyboard. Multiplication must be explicit: write 2\*pi, not 2pi.

### A worked example

sqrt(144) + 2^3 = 20. In degrees, sin(30) = 0.5. Powers bind before unary minus, so -2^2 = -4.

### What to know

The calculator supports real numbers, parentheses, factorials and postfix percentages. It uses floating-point arithmetic, rounds to 12 significant digits and rejects undefined results. It does not solve symbolic equations.
