\[\vec{B} = \frac{\mu_0I}{4\pi}\int_L\frac{d\vec{r}'\times\left(\vec{r}-\vec{r}'\right)}{\abs{\vec{r}-\vec{r}'}^3}\]\[\vec{B} = \frac{\mu_0}{4\pi}\int_S\frac{\vec{K}(\vec{r}')\times(\vec{r}-\vec{r}')}{\abs{\vec{r}-\vec{r}'}^3}d^2\vec{r}'\]\[\vec{B} = \frac{\mu_0}{4\pi}\int_V\frac{\vec{J}(\vec{r}')\times(\vec{r}-\vec{r}')}{\abs{\vec{r}-\vec{r}'}^3}d^3\vec{r}'\]