Does this give an accurate average or is it just for show?
Depends what you mean by “accurate” and why you want that accuracy. If you’re keen on measuring your mpg with decimal places, then it’s not that accurate and you need to do something else. But if you just want to ensure you’re driving as efficiently as possible (which is actually why it’s there), and be able to take action if your mpg starts dropping off, then it’s plenty accurate enough.