(((rate - (cost*(1+(tariff/100))))/rate)*100)