A study published in the Lancet Public Health journal calculated average life expectancy for men and women in 6,791 communities across the UK from 2002 to 2019.
Places were split by Middle Super Output Area (MSOA), geographic locations containing at least 5,000 people.
Even though some of these areas are a stones throw away from each other, the disparity in the figures are large.
The gallery covers selected areas across Portsmouth, Fareham, Gosport and Havant.
Click through all the gallery pages to find out the life expectancy for men and women in your area.
You can now subscribe here for unlimited access to our online coverage, including Pompey, for less than 13p a day.