How customs duty is calculated?

Customs Duty payable = Quantity of imported/exported goods × Tax-inclusive price × Rate (or Amount of duty per unit)