Documentation sections
Series / Parallel Resistor, Capacitor & Inductor Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug series-parallel-resistor. Calculate the equivalent series and parallel combination of up to eight resistors, capacitors, or inductors. Also computes the voltage divider ratio for two-resistor networks.
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 |
|---|---|---|---|---|
| r1number | Ω | 0 … 1000000000 | 1000 | R1 (or C1 in nF / L1 in μH) |
| r2number | Ω | 0 … 1000000000 | 1000 | R2 (or C2 in nF / L2 in μH) |
| r3number | Ω | 0 … 1000000000 | 0 | Set to 0 to ignore. R3 for 3-resistor combinations. |
| r4number | Ω | 0 … 1000000000 | 0 | Set to 0 to ignore. |
| r5number | Ω | 0 … 1000000000 | 0 | Set to 0 to ignore. |
| r6number | Ω | 0 … 1000000000 | 0 | Set to 0 to ignore. |
| r7number | Ω | 0 … 1000000000 | 0 | Set to 0 to ignore. |
| r8number | Ω | 0 … 1000000000 | 0 | Set to 0 to ignore. |
| numPartsnumber | none | 1 … 8 | 4 | How many of R1–R8 are in the network (1–8); a position set to 0 is ignored |
| componentTypenumber | none | 0 … 2 | 0 | Component Type |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| seriesTotalheadline | Ω / nF / μH | Series Resistance (Ω) / Series Capacitance (nF) / Series Inductance (μH) |
| parallelTotal | Ω / nF / μH | Parallel Resistance (Ω) / Parallel Capacitance (nF) / Parallel Inductance (μH) |
| voltDividerRatio | V/V | Output voltage as a fraction of input voltage (Vout/Vin = R2/(R1+R2)). Only valid for two-resistor networks. |
| sumOfValues | Ω / nF / μH | The plain sum of the parts in use: the series total of resistors or inductors, the parallel total of capacitors. Each part’s share is its part of this sum. |
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.