The Biot-Savart Law
We finally answer how strong the magnetic field around a current-carrying wire actually is — meet the Biot-Savart law and let's calculate some fields together, hehe!
Up until now, we explored how a moving charge reacts to a magnetic field B and how it feels a force!
Since a moving charge is current, if we say we learned “a wire carrying current reacts to a magnetic field like this!”
this time we’ll answer the question, “we ‘discovered’ that a constant magnetic field is created around a wire carrying a constant current.
So?? How big is the magnetic field that gets created? Is it related to the strength of the current??? How related is it???”
That answer will be given to us by the ‘Biot-Savart law’.
Alright, let’s get started.
When a current i flows through a damn tiny piece of wire of length dl (a part of the wire),
a magnetic field is formed at a distance r from that wire,
and how much????

(I used the Greek letter eta, but as I mentioned before, there’s no way to write a script-r in Naver’s equation editor,
so I decided to use eta, which has a similar shape.
Script-r is relative-r, which represents the vector r-r’. The r vector and r’ vector are based on the origin)
Each dl creates a magnetic field like that at that distance, so if we add up all the dB(r)s?
Since the dls are continuous, we can use an integral to add them all up, right?

This equation IS the Biot-Savart law hehehe
The coefficient mu-zero is called the permeability of vacuum and its value is 4 pi times ten to the minus 7, with units [N/A^2]
And the unit of magnetic field B is [N/A·m] or [T (Tesla)], we use~~~~
(For info about the coefficient, it’s probably better to get it from a book hehe)
Alright, from here on we’ll use the Biot-Savart law
to calculate the magnetic field at various (points), one by one.
It’s not hard hehe

In a situation like this, let’s use the Biot-Savart law to calculate the magnetic field at point P.


For each dl we set the variables like this
and organize step by step



What if it was an infinitely long wire?!?!?!
If you’re curious about the magnetic field, you can just set theta1 and theta2 from -90 degrees to 90 degrees.
Ahhh~~~ when current i flows through an infinitely long wire, at a perpendicular distance s, the magnetic field is mu-zero i over 2 pi s?
It’s inversely proportional to the distance, not to the square of the distance~
This makes me remember what I learned in high school physics class:
![]()
This is how we were taught.
Let me do one more.

When current i flows through a circular loop wire of radius R, let’s do a quantitative analysis of the magnetic field at a distance z from the center of the circle using the Biot-Savart law!!!
First, let’s write down the formula again and dive in


Alright, just like what we did above,
we’re gonna add up the magnetic field from each dl~~~
if we express the variables dl and relative-r in terms of R and z which we know, we’ll need to unify them, right?
The picture on the left draws the magnetic field dB from dl.
If we add up those dBs in a circle — woosh~, only the z direction will matter and the horizontal component will all cancel out and disappear,
so we might as well just pull out only the z component and integrate heh

![]()

Questions or corrections?
Did a step lose you, or does a number look off? Email me or use the contact page. Include the note title and the step or figure you mean.
Feedback goes to me privately by email; it is not posted as a public comment.