https://www.lingq.com/lesson/lesson-18-analyzing-cost-benefits-431411/
However, companies can make an informed decision about an investment by calculating the cost of the investment, comparing it to the potential profit, then factoring in the amount of time it could take to make that profit.
What is the meaning of "factoring" in the above context? What can I use instead of factoring there? and may I have some simple example sentences in plain English about the using of the word "factoring"