This is nice. I definitely played around with some calculators like this when I was deciding to buy a house a few years ago.
Off the top of my head, some things I'd add to make this more useful to a wide audience:
- I don't know what I pay in state income and sales taxes. But I do know my income and my state's tax rate; income tax could be derived from that. I'm not sure how you'd estimate sales tax, though - you'd have to know how much of my spending is taxable.
- I've heard a rule of thumb that home maintenance costs are 1% of the home's value per year; maybe default to that, especially since a first-time home owner doesn't really know what those costs are. However, older houses will require more maintenance and that cost probably scales with square footage, not cost.
- you're assuming a 30-year mortgage - I'd put in the ability to change mortgage length. (Also, maybe a link to somewhere where I can find out what mortgage rates are.)