Math & Numbers
Transformer Turns Ratio Calculator
Ideal transformer ratio: a = N₁/N₂ = V₁/V₂ = I₂/I₁. Given turns, voltage, or current on either side, compute a and the corresponding voltage/current on the other side; verifies V₁·I₁ = V₂·I₂.
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/transformer-turns-ratio' \
-H 'Content-Type: application/json' \
-d '{"mode":"turns","N1":1000,"N2":250,"V1":230,"V2":0,"I1":0,"I2":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/transformer-turns-ratioParameters
| Name | Type | Required | Description |
|---|---|---|---|
| mode | select | No | — |
| N1 | number | No | Required for Turns mode. |
| N2 | number | No | Required for Turns mode. |
| V1 | number | No | Required for Voltage mode; optional anchor in other modes. |
| V2 | number | No | Required for Voltage mode; optional anchor in other modes. |
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-transformer-turns-ratio": {
"name": "transformer-turns-ratio",
"description": "Ideal transformer ratio: a = N₁/N₂ = V₁/V₂ = I₂/I₁. Given turns, voltage, or current on either side, compute a and the corresponding voltage/current on the other side; verifies V₁·I₁ = V₂·I₂.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=transformer-turns-ratio",
"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": "transformer-turns-ratio",
"arguments": {
"mode": "turns",
"N1": 1000,
"N2": 250,
"V1": 230,
"V2": 0,
"I1": 0,
"I2": 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]