To go well with pretty much all resolution i think the best will be 800px width.
But you have to understand that these days people have around 19 to 24 screens size. And for that they have a bigger resolution.
There is no actual perfect size. But there IS a size that will please many people. See if now you have a 24inch screen for your PC you gonna have a HUGE resolution i donno, i don't have one but i am guessing around 1800x1000 something like that i guess well imagine a website with a 1800px width :/ first NO ONE has enough content to hold every corners of the site but more than that who ever has less than a 1800x1000 resolution will have to scroll the screen to see the entire site.
Now take it as if you have a 17screen and you run a resolution of 800x600 or around that ( i do not know the perfect scren resolution size) and you make your site 800px width well who ever is above you in resolution wich means people having more than a 17screen (more likely) they will see your site without scrolling.
All the sites i have made in the past and still these days are NOT bigger than a 1000px because thats what most people hold, and for who ever have a smaler screen and smaller resolution which is a very few people thant they will have to scroll.
I know that many many many people run around 1024x768, when i say many... is many, well i personaly never saw anyone lower than that, so its fine i guess. And gain if they have a bigger resolution than they will see your site perfectly.
But as trippin said above its really up to you... does your site need to be big ? small ? large... long ? its up to you, but to be nice to everyone i guess to not go over 1000px, at least not until a year or so when pretty much lots of people will Kill the 17inch monitor and have a 19minimum where they will use 1200x800 reso

or better everyone has a 24