Magnetic Field Calculator
Calculate the magnetic field of a straight wire, a current loop or a solenoid.
Calculate the magnetic field of a straight wire, a current loop or a solenoid.
Results
Enter your details and click Calculate to see your results.
About This Calculator
Wire: μ₀I/(2πr). Loop: μ₀NI/(2r). Solenoid: μ₀NI/L.
Example
Example: the default inputs → Field: B = 0.00004 T (0.4 gauss · 40 μT).
Assumptions
Ideal physics model (SI units unless stated) — real systems have losses and extra effects.
Frequently Asked Questions
What is the field 5 cm from a 10 A wire?
40 μT.
What is μ₀?
1.2566 × 10⁻⁶ N/A².
Related Calculators
About the Author

Imran Hossain
Professional SEO, Digital Marketer Specialist
I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist
View full profile