# Magnetic field of the straight wire

## Description

The magnetic field generated by the electric current, around a straight wire, is related to the electric current and the distance “r” from the wire. (The conductor is considered infinite length, when the distance r is very small compared to its length.)

Related formulas## Variables

B | Magnetic field (T) |

μ_{0} | magnetic constant |

π | pi |

I | Electric current (A) |

r | Distance from the wire (m) |

## Categories

### External links