Impact factors are calculated by dividing the number of citations in a given year to articles published in the previous two years by the total number of citable items published in those two years. For example, if a journal had 1000 citations in 2022 to articles published in 2020 and 2021, and 200 articles were published in those two years, the impact factor for 2022 would be 5.0.