Display Potentiometer value as percentage

analogRead() will return a value between 0 and 1023

If I told you that it had just returned say 123, could you calculate that as a percentage of 1023 ?

If not, then I fear that programming is not for you