A 40 amp breaker, standard ranges have a three conductor #8 copper wire installed, terminating in a three pole four wire grounding receptacle. NEMA number 14-50R.
Information that is being provide is for Educational Purpose, Any electric work that is needing to be done, should be done by a Licensed Electrician.
