If the air filter is dirty, it passes less air into the engine. It can impact your gas mileage – by as much as 10 % – and it will also affect the engine performance. Your engine needs oxygen for fuel to combust.