Elysia Tools Docs
EN
Language
ZHESPTRUFRDEEN
Back to site
Browse tools

Math & Numbers

RLC Impedance & Phase Angle Calculator

Compute complex impedance, magnitude |Z| and phase angle φ for series or parallel RLC circuits: X_L=2πfL, X_C=1/(2πfC), |Z|=√(R²+X²), φ=atan2(X,R). Supports any subset of R/L/C and an optional linear frequency sweep.

json· JSON resultOpen tool

Quick start

Call this tool from your code in three languages.

cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/impedance-calculator' \
  -H 'Content-Type: application/json' \
  -d '{"topology":"series","R":100,"L":0.1,"C":0.00001,"frequency":50,"sweepEnable":false,"sweepStart":0,"sweepEnd":0,"sweepPoints":10,"decimalPlaces":4}'

API reference

Send a POST request with your inputs as JSON. File parameters require a separate upload first.

Endpoint

HTTP
POST https://api.elysiatools.com/en/api/tools/impedance-calculator

Parameters

NameTypeRequiredDescription
topologyselectNo—
RnumberNoOptional. At least one of R/L/C must be provided.
LnumberNoOptional. At least one of R/L/C must be provided.
CnumberNoOptional. At least one of R/L/C must be provided.
frequencynumberYesOperating frequency (Hz). Also used as the single-point value when sweep is disabled.

MCP integration

Add this tool to your Model Context Protocol server so AI agents can list and call it.

Server configuration

Add this block to your MCP client configuration:

mcp.json
{
  "mcpServers": {
    "elysiatools-impedance-calculator": {
      "name": "impedance-calculator",
      "description": "Compute complex impedance, magnitude |Z| and phase angle φ for series or parallel RLC circuits: X_L=2πfL, X_C=1/(2πfC), |Z|=√(R²+X²), φ=atan2(X,R). Supports any subset of R/L/C and an optional linear frequency sweep.",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=impedance-calculator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

List available tools

After connecting to the SSE endpoint, list the exposed tools:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Call this tool

Invoke the tool by its id, passing arguments built from its parameters:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "impedance-calculator",
    "arguments": {
  "topology": "series",
  "R": 100,
  "L": 0.1,
  "C": 0.00001,
  "frequency": 50,
  "sweepEnable": false,
  "sweepStart": 0,
  "sweepEnd": 0,
  "sweepPoints": 10,
  "decimalPlaces": 4
}
  }
}
Chain multiple tools in one session with a comma-separated toolId list, e.g. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (max 20).

Questions or issues? Contact [email protected]

Browse toolsOpen tool

© 2026 Elysia Tools. Developer documentation.

Back to siteBrowse tools
sweepEnablecheckboxNoIf checked, sample N points from Sweep Start to Sweep End and return a curve array.
sweepStartnumberNoRequired when sweep is enabled.
sweepEndnumberNoRequired when sweep is enabled.
sweepPointsnumberNoNumber of points in the sweep (2–50). Required when sweep is enabled.
decimalPlacesnumberNo—

Response format

JSON result

JSON
{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}