Skip to content

Instantly share code, notes, and snippets.

@mgius
Created August 2, 2013 17:58
Show Gist options
  • Save mgius/6141934 to your computer and use it in GitHub Desktop.
Save mgius/6141934 to your computer and use it in GitHub Desktop.
salary = 76000
rent = 1781 * 12 # average 2bdrm http://www.apartmentratings.com/rate?a=MSAAvgRentalPrice&msa=7362
food = 200 * 52 # based on my personal rate eating "well" adjusted for a family of three which is eating "budget"
clothing = 500 * 3 # mostly a guess, but I would suspect this is about right
gas = 40 * 52 # assumes a relatively short commute
federal_taxes = salary * .20 # based on tax rate from wikipedia, assumes some discounts
state_taxes = salary * .09 # eyeballing http://www.tax-brackets.org/californiataxtable
utilities = 160 * 12 # mostly based around my experience in SLO and now
cable_and_internet = 100 * 12 # comcast bundle
cell_service = 100 * 12 # assumes phone for each adult
retirement = salary * .10 # putting some away
vacation = 1500 * 3 # relatively budget vacation once per year
print (rent + food + clothing + gas + federal_taxes + state_taxes + utilities +
cable_and_internet + cell_service + retirement + vacation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment