Session duration is typically measured using web analytics tools like Google Analytics. These tools track the time from when a user first arrives on a site until they leave or become inactive. The average session duration is then calculated by dividing the total amount of time spent by users on the site by the number of sessions.