Impact factor is calculated by dividing number of citations for last two years in journal to number of articles for last two years in journal. If the articles citations are higher then definitely it will increase the impact factor of the journal.
Researcher’s mostly used impact factor as benchmark for the quality of a journal.
For more information, watch this video. It illustrate the impact factor in detail.