homerphish,
Different types of expansion tanks have different methods to sizing them properly. Is it Diaphragm, Open/Closed, Bladder-type? I'm assuming it's a bladder-type expansion tank, if it is here's the equation:
Vt=Vs x [(v2/v1)-1]-3a(t2-t1)/1-(P1/P2)
Vt=volume of expansion tank, gal.
Vs=Volume of Water in system, gal.
t1=lower temperature, F
t2=higher temperature, F
P1=pressure at lower temperature, psia
P2=pressure at higher temperature, psia
v1=specific volume of water at lower temperature, ft^3/lb
v2=specific volume of water at higher temperature, ft^3/lb
a=linear coefficient of thermal expansion, in./in. F
=6.5x10^-6 in/in F for steel
=9.5x10^-6 in/in F for copper
good luck