BTW, totally negligible but if you're interested in how accurate the /2 approximation is, the exact formula for perfectly even contributions (i.e. you contribute fractions of cents every instant) would be
Total savings * Return * (1/ln(1 + Return) - 1/Return)
instead of
Total savings * Return * 0.5
which is very close to a factor of 0.5 for low interest rates:
Annual return (Front load) | Annual return (Even contributions) |
1% | 0.4991708% |
2% | 0.9966996% |
3% | 1.4926104% |
4% | 1.9869268% |
5% | 2.4796716% |
6% | 2.9708672% |
7% | 3.4605355% |
8% | 3.9486977% |
9% | 4.4353747% |
10% | 4.9205869% |
11% | 5.4043540% |
12% | 5.8866956% |
15% | 7.3253544% |
20% | 9.6962990% |
25% | 12.0355029% |
30% | 14.3448406% |
40% | 18.8805365% |
50% | 23.3151731% |
75% | 34.0205220% |
100% | 44.2695041% |
You need to do an integral to get to this result. Getting the value for investing evenly every trading day or after each paycheck would be a little trickier, but doable with some code.