What is the average time it takes to complete a straightforward real estate transaction?

How much time you spend closing depends on several factors. Wanted to know the factors.