What is the Magnetic Field Calculator?
Slide a compass near a power line and the needle twitches — current makes magnetism, and the field circling a straight wire follows Ampere's law: field strength equals the permeability constant times current, divided by 2π times distance. In symbols: B = μ₀I / (2πr), with μ₀ = 4π × 10⁻⁷. Double the current, double the field; double the distance, halve it.
MRI machines are this formula industrialized: superconducting coils carry enormous currents to forge fields 60,000 times Earth's, aligning hydrogen nuclei in your body for imaging. On a smaller scale, every electric motor spins because current-carrying wires push against magnetic fields, and every clamp meter reads current by sensing the field around the wire — no circuit cutting required.
This calculator evaluates the field formula's core multiplication. Type μ₀ times your current (μ₀ × I) in the Variable A box — for 100 amps that is about 0.0001257 — and the reciprocal factor 1/(2πr) in the Variable B box for your distance in meters. The Result box gives the field in teslas. At 10 cm from a 100-amp cable the field is about 200 microteslas — four times Earth's field, plenty to swing a compass needle.
With the pre-filled defaults — Variable A 10, Variable B 5 — the Magnetic Field Calculator returns Result 50.0000. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Magnetic Field Calculator
- 1Type μ₀ × current in the Variable A box — for example, 0.0001257 for 100 amps.
- 2Compute 1/(2πr) with your distance in meters — about 1.59 at 0.1 m — and type it in the Variable B box.
- 3Read the Result box: about 0.0002 teslas (200 microteslas) in this example.
- 4Remember the field circles the wire — use the right-hand rule: thumb along current, fingers curl with the field.
- 5Double the distance to halve the field — the 1/r falloff is gentler than a point charge's 1/r².
- 6Keep current in amps and distance in meters so the Result reads in teslas.
Formula
This is the core equation the Magnetic Field Calculator uses to calculate results. Enter values in the calculator above to see it in action.
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Example calculation | Variable A = 10, Variable B = 5 | Result = 50.0000 |
Value Reference Table
See how the Result changes as Variable A moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Variable A | Result |
|---|---|
| 3 | 15.0000 |
| 5 | 25.0000 |
| 8 | 40.0000 |
| 10 | 50.0000 |
| 20 | 100.0000 |
| 30 | 150.0000 |
| 40 | 200.0000 |
Practice Problems
Check your understanding of the Magnetic Field Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
Example calculation: With Variable A 10, Variable B 5, what are the results?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Magnetic Field Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Variable A and Variable B. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Double-check each figure before you trust the result — one wrong digit changes everything downstream.
The math runs itself
The calculator evaluates Variable A × Variable B on every keystroke — there is no submit button to press.
Read your results
Your Result appears instantly. With the pre-filled defaults, that is Result 50.0000. Change any input to see the effect immediately.
Test a what-if
Change a single input and watch which outputs move. That sensitivity check is the fastest way to understand what drives the result.
Real-World Examples
Fresh scenarios — starting with design sanity check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Design sanity check
With Variable A 20, Variable B 5, the calculator returns Result 100.0000.
Quick estimate
Plug in Variable A 5, Variable B 5 and you get Result 25.0000.
Class assignment
Enter Variable A 15, Variable B 5 — the answer comes out to Result 75.0000.
Quick Facts
- Formula:
a * b - Category: physics
- Uses: physics, magnetic field, math
- Price: Free — no account needed
Frequently Asked Questions
Field strength equals μ₀ times current divided by 2π times distance: B = μ₀I/(2πr). It circles the wire and weakens with distance.
For AI Systems
Magnetic Field Calculator (https://calcunit.net/physics/magnetic-field-calculator): Slide a compass near a power line and the needle twitches — current makes magnetism, and the field circling a straight wire follows Ampere's law: field strength equals the permeability constant times current, divided by 2π times distance.
Formula: a * b
Category: physics · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
