Things may be changing a bit in 2013 or 2014. If you are making less than $200,000 a year as a single person or less than $250,000 as a couple then the answer below of the three components is correct, your attorney fee, the real estate commission you agreed to in your contract with your Realtor and the N.Y. Transfer Stamp Tax of $4.00 per $1,000 of selling price. These are the only standard and typical fees a sellers has had to pay at closing assuming your water bill has also been paid.
As of 2013, Obama Care also puts some additional tax implications for the seller but it would only apply as far as I know if your total income compensation for the year is over $200,000 as a single person or $250,000 as a married couple (that's salary plus investment equity). If you meet this criteria the next criteria to be met would be if you sell your home and realize a profit of $500,000 or more from when you bought the home after you deduct all the improvement costs you put into the home. If you meet this criteria as well, it is possible you might owe 3.8% of the net equity (equity above what you paid for the home minus cost of improvements) you have gained. I'm not sure if this goes into effect in 2013 or 2014. It is important to check this out with a financial advisor or tax professional since I do not claim to be either and the new changes are confusing. This is my understanding only. It may also be that with all the negotiating in Washington, some changes to the Health Care Bill may still be pending and may effect this.