My question is... how do I figure out what size wire to use when I know the Amperage of the electrical device. Is there some form of electrical calculation?

For example I want to upgrade to a 200 amp panel from a 70 amp panel.