2010 Mazda 3S 5-Door getting crappy gas mileage...and I'm not just saying this because of gas prices

How are you measuring your fuel mileage? Are you going solely on the computer, or are you filling your tank(make sure you don’t fill it anymore after the pump clicks off), then taking miles driven divided by gallons used?