API & MCP

Everything a person can do on Ohmforge Microstrip & Stripline Impedance Calculator, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Ohmforge Microstrip & Stripline Impedance Calculator

Characteristic impedance of a PCB trace: surface microstrip with the Hammerstad–Jensen equations (thickness correction included) or a centred stripline with Wheeler's formula, plus effective permittivity, propagation delay and guided wavelength. Synthesis mode solves the trace width for a target impedance such as 50 Ω with Brent's root finder; every result is cross-checked against an independent formula and the IPC-2141 rule of thumb.

Inputs of Ohmforge Microstrip & Stripline Impedance Calculator
FieldTypeDefaultDescription
structureselect (microstrip, stripline)"microstrip"Line
taskselect (analyze, synthesize)"analyze"Task
widthMmnumber0.3Trace width W. Analysis only.
heightMmnumber0.17Dielectric height h (microstrip) or plane spacing b (stripline). Microstrip: from the trace to its reference plane. Stripline: total distance between the two planes.
thicknessUmnumber35Copper thickness t. 35 µm = 1 oz/ft², 18 µm = ½ oz; 0 = ideal thin strip.
ernumber4.3Relative permittivity εr. FR-4 about 4.2–4.6 (falls with frequency), Rogers RO4350B 3.66, PTFE 2.2. Use the laminate maker's value at your frequency.
targetZ0number50Target impedance. Synthesis only.
frequencyMHznumber0Frequency (optional). For the guided wavelength; 0 = skip.

Example request

FR-4: 0.3 mm trace on 0.17 mm prepreg

curl -X POST https://ohmforgemicrostripimpedance.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"structure":"microstrip","task":"analyze","widthMm":0.3,"heightMm":0.17,"thicknessUm":35,"er":4.3,"frequencyMHz":1000}'

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "ohmforge-microstrip-impedance": { "type": "http", "url": "https://ohmforgemicrostripimpedance.usefulweb.site/mcp" }
  }
}