When you receive some extra money it may be difficult to determine whether you should invest the funds or use them to pay towards liabilities. Financial theory recommends that if your after-tax return on investments is greater than your after-tax cost of debt then you should invest. Use this calculator to help analyze your situation.