Such amount is an income like any other income you get, which can be utilized for your livelihood along with your family and any reasonable expense. If on the day of your yearly Khums, any thing remains from it, just like any lawful income, that remaining amount will be applicable for Khums calculation.
Wassalam.