Use a return and number of periods that match. For a yearly return, enter years. The calculation assumes a constant return.
Deposits are made at the end of each period. Use the same period for the return and deposit amount.