Here's the equation:

First of all once you received your salary, you must removed from it your savings and tithes/Donations. Then the remaining will be for your expenses.

Just my two cents! :)

God Bless!