the calculation for wealth is this:
W=((Wp-S)*1.2+S)*(1-0.04e)
where Wp is the amount of wealth from last turn, S is the amount of wealth spent on reduction and research, e is the amount of times you are being embargoed+the amount of nations you are embargoing