There is a smple calculation in every pipe support suppliers cataloue , for example you may go to Anvil website. Now a days , the supports and expansion loop calculations are done on piping flexibility analysis software like ceaser, CAE or some thing of that sort.