Documentation sections
Reactance Calculator — XL and XC
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug reactance-calculator. Calculate inductive reactance (XL = 2πfL) and capacitive reactance (XC = 1/2πfC) for any frequency. Also computes the LC resonant frequency where XL = XC. Essential for filter and impedance matching design.
Inputs
Send every one of these in inputs, in the units shown. Most are required: a call without one is refused (400) and costs nothing; one the calculator can do without takes the default shown. An input outside its range is still computed and flagged in the provenance.
| Name | Unit | Range | Default | Description |
|---|---|---|---|---|
| frequencynumber | Hz | 1 … 100000000000 | 1000000 | Frequency |
| inductancenumber | µH | 0.001 … 1000000000 | 10 | Inductance |
| capacitancenumber | pF | 0.001 … 1000000000000 | 100 | Capacitance |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| XLheadline | Ω | Inductive Reactance |
| XC | Ω | Capacitive Reactance |
| f_res_MHz | MHz | Frequency at which XL equals XC: f_res = 1/(2π√LC) |
Calling it
- Calculate: one call, the request and response in full, and its errors.
- Batch: this calculator with others, or a sweep, in one request.
- Solve for a target: the value of one input that brings an output to a target.