The relationship between resistance R and resistivity

is

where L is the length of the wire and A its cross section.
The radius of the wire is half the diameter:

and the cross section is

From the first equation, we can then find the length of the wire when

(copper resistivity:

)
