Peace be upon you. If you wish to pay Khums based on the price, the standard is the price at the end of the Khums year. You can pay Khums on the item by giving one-fifth of the remaining quantity. For example, if you have 10 liters of fuel, you would pay 2 liters as Khums.