# Transformer calculator > How many turns does a transformer need for this voltage? The ideal transformer: turns ratio, output voltage and the currents on both sides. Drag the output voltage and watch the winding grow. Calculate a transformer's output voltage from its turns, or the turns for a wanted voltage, with the load and supply currents and the power, drawn to scale. - Page: https://how.box/transformer/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/transformer/?f={f}&v1={v1}&n1={n1}&n2={n2}&v2={v2}&i2={i2}&eff={eff} - `f` (secondary_voltage, secondary_turns or primary_turns): secondary_voltage (default), secondary_turns or primary_turns. Example: `secondary_turns`. - `v1` (number 0 to 1e6): Primary RMS voltage, V. Example: `230`. - `n1` (number 0 to 1e6): Primary turns. Example: `460`. - `n2` (number 0 to 1e6): Secondary turns. Example: `24`. - `v2` (number 0 to 1e6): Secondary RMS voltage, V. Example: `12`. - `i2` (number 0 to 100000): Load current, A. Example: `2`. - `eff` (number 0 to 100): Efficiency, per cent. Example: `100`. Example answer: https://how.box/transformer/?f=secondary_turns&v1=230&n1=460&n2=24&v2=12&i2=2&eff=100 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `transformer_calculate`: Ideal transformer: V2/V1 = N2/N1 and the currents and power of a load. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"transformer_calculate","arguments":{"find":"secondary_turns","primary_voltage":230,"primary_turns":460,"secondary_turns":24,"secondary_voltage":12,"secondary_current":2,"efficiency":100}}}` - GET: https://how.box/mcp/run/transformer_calculate?find=secondary_turns&primary_voltage=230&primary_turns=460&secondary_turns=24&secondary_voltage=12&secondary_current=2&efficiency=100 ## How it works A transformer is two coils of wire around one iron core. Alternating current in the first coil makes a changing magnetic field in the core, and that changing field induces a voltage in the second coil. Every turn of wire picks up the same voltage, so the coil with more turns has the higher voltage. It only works with alternating current. The voltages are in the ratio of the turns: V₂ / V₁ = N₂ / N₁, where V is the voltage and N the number of turns of the primary (1, input) and secondary (2, output) coils. An ideal transformer loses no energy, so the power in equals the power out: V₁ I₁ = V₂ I₂, and stepping the voltage down steps the current up. For example, 230 V across 460 turns gives 230 × 24 / 460 = 12 V on a 24-turn secondary; a 2 A load then takes 24 W and draws only 24 / 230 ≈ 0.10 A from the mains. Real transformers lose a few per cent as heat in the windings and the core, and their output voltage sags a little under load; set the efficiency to see the extra supply current. The equations follow OpenStax University Physics, volume 2, section 15.6 (openstax.org). ## FAQ **Why do power lines use such high voltages?** For the same power, a higher voltage means a smaller current, and the heat lost in the wires grows with the square of the current. Step-up transformers raise the voltage for transmission and step-down transformers lower it again near homes. **Can a transformer work on DC?** No. A steady current makes a steady magnetic field, which induces no voltage. A transformer on DC acts only as a coil of wire and can overheat. **Does a step-down transformer make more power?** No. It trades voltage for current: the output current is higher by the same ratio as the voltage is lower, so the power stays the same (or slightly lower, because of losses). **Why does the turns count have decimals?** The calculator gives the exact ratio. A real winding has whole turns, so round to the nearest turn and check the resulting voltage. **What does the turns ratio tell me?** The voltage changes in the same ratio as the turns, and the current in the opposite ratio. A 20:1 step-down turns 230 V into 11.5 V and lets 20 times as much current flow on the output side. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)