Documentation sections
Transformer Turns Ratio Calculator
POSThttps://rftools.io/ api/ py/ v1/ calculate
Slug transformer-turns-ratio. Calculate transformer turns ratio, secondary current, apparent power, and real power delivered. Accounts for transformer efficiency.
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 |
|---|---|---|---|---|
| vPrimarynumber | V | 0.1 … 100000 | 120 | Primary (input) winding voltage |
| vSecondarynumber | V | 0.1 … 100000 | 12 | Secondary (output) winding voltage |
| iPrimarynumber | A | 0.0001 … 10000 | 0.1 | Primary winding current |
| efficiencynumber | % | 1 … 100 | 95 | Transformer efficiency (typical: 90-99% for power transformers) |
Outputs
Returned in values, by key. A value that is unbounded or undefined is null.
| Field | Unit | Description |
|---|---|---|
| turnsRatioheadline | none | Transformer turns ratio Np/Ns = Vp/Vs |
| iSecondary | A | Secondary winding current accounting for efficiency |
| apparentPower | VA | Apparent power on primary side: Vp × Ip |
| realPower | W | Real power delivered to secondary: VA × efficiency |
| couplingFactor | none | Magnetic coupling factor (approximated from efficiency) |
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.