my gas gauge reading is wrong. . my fuel mileage reading is off. on 2005 GMC Sierra 1500

when i put gas in the feature that tells me how many more miles i can travel is always wrong. It will read 120 miles left, and I travel 10 miles and am out of gas.

1 answer
poss fuel tank sending unit but have gauge sweep test perform 1st as to test gauge