The resistance depends on the shape  and the material of which it is composed.resistivity rhow is an intrinsic property of a material  and directlyy proportional to the total resistance r
Resistivity :- Electrical resistivity (also known as resistivity, specific electrical resistance, or volumeresistivity) is an intrinsic property that quantifies how strongly a given material opposes the flow of electric current. A low resistivity indicates a material that readily allows the movement of electric charge.

Resistance :- 
The electrical resistance of an electrical conductor is the opposition to the passage of an electric current through that conductor. The inverse quantity is electrical conductance, the ease with which an electric current passes