- Home
- Physics
- Magnetism & induction
- Solenoid Magnetic Field Calculator
Solenoid Magnetic Field Calculator
Field inside a long coil from turns, length and current, or the current needed.
Practice questions
Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.
A solenoid 25 cm long has 500 turns and carries 2 A. Find the field inside.
What current gives a field of 10 mT in a 50 cm solenoid with 1000 turns?
Worked example
Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.
Question: A solenoid 25 cm long has 500 turns and carries 2 A. Find the field inside.
- Write the given values in SI units
- Put the values into the formula
- Write the given values in SI units
N = 500 L = 25 cm = 0.25 m I = 2 A μ0 = 4π × 10−7 T m/A To find: B (Magnetic field) - Put the values into the formula
B = μ0 NL I = (1.257 × 10−6) × 5000.25 × 2 = 0.005027 T (= 5.027 mT)
Terms used on this page
New to a word in the question or the solution? Here it is in simple language.
- Electric current (I)
- The flow of electric charge through a wire, measured in amperes (A). A phone charger gives roughly 1 to 3 A.
Symbols in this solver
What each box asks for, and its unit.
| Symbol | What it means | SI unit |
|---|---|---|
| N | Number of turns | (no unit) |
| L | Length of the coil | m (or km, cm, mm, R⊕, AU) |
| I | Current | A (or mA) |
| B | Magnetic field | T (or mT, µT, G) |
Formula & concept
Field inside a long coil from its number of turns, length and current, or the current needed for a given field.
Key idea: Inside a long solenoid the field is strong and almost the same everywhere. Put an iron core inside and it becomes an electromagnet hundreds of times stronger.
What it can find
Choose the unknown with the “What do you want to find?” buttons: magnetic field, current, number of turns. The formula is rearranged for you and every step is shown.
How to use this calculator
- Choose what you want to find. Its box turns orange.
- Type the known values from your question and pick the unit for each one.
- Press Solve step by step.
- Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
- Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
- Stuck on a word? The terms section explains it in simple language.