The three main factors that affect the resistance in a wire are the material of the wire (different materials have different resistivities), the length of the wire (longer wires have higher resistance), and the cross-sectional area of the wire (thicker wires have lower resistance).