Arduino Manual

...and take the bit where it says Quote:
it is possible to read analog values from 0-1024
with a pinch of salt!

1023, ha!