By taking the sum of all debts owed, years of income needing replaced, mortgage balances remaining, and expenses needing funding, and then subtracting out savings and insurance policies that you already have. You can use the spreadsheet in this post to do a more detailed calculation.