RD maturity formula
M = R × ((1+r)^n − 1) / (1 − (1+r)^(−1)), where R = monthly deposit, r = monthly rate, n = total months. This is the standard 'future value of annuity due' formula, slightly different from the SIP formula because RD assumes deposits at the start of each month.