You're not correct. If you were, mpg calculators would be perfectly accurate. It calculates how much gas you're using based on a number of factors. That equation is used across the vehicle range so does not necessarily take into account all the variations of the engine configuration.
The manual measuring method is most accurate. You know how many miles you drove and you know how much gas you put in.