The suggested route is basically dependant on your time and preferences. Example routes are listed at the boat’s page.
A trip to Szentendre is usually 3 hours, 2 hours to Szentendre and 1 hour to return to Budapest. (In case of the MS Klara boat, the total sum is 4 hours.)