How to calculate the impact of import and export tariffs.