How to give khums ?

It is wajib on your saving fix the date and on that day check your all saving and calculate value of the grocery left at home and calculate the value of all unused stuff unused gifts also then pay 20% of the whole amount with the Niyat of khums half goes to your marja which called sahme imam and half is sahme sadaat for poor practicing Sadaat