How to use this calculator
- Enter Installment amount ($)。
- Enter Number of periods。
- Enter First price ($)。
- Enter Last price ($)。
Leave any field blank and the calculator solves for it from the remaining values — every quantity is reversible.
The calculator then returns: Total shares、Average cost。
What is it
SIP Average Cost — Enter Installment amount, Number of periods, First price and Last price to get Total shares and Average cost — or leave any field blank to solve for it. Personal-finance calculators link income, spending and savings goals to answer "can I afford it", "how long will it take" and "how much should I set aside". The core question it answers is: Total shares and Average cost. With Installment amount = 2,000 $, Number of periods = 36 and First price = 10 $, Total shares is 198.
Formula
| Variable | Inputs | Unit |
|---|---|---|
monthlyInvest | Installment amount | $ |
periods | Number of periods | |
firstPrice | First price | $ |
lastPrice | Last price | $ |
totalShares | Total shares | |
averagePrice | Average cost | $ |
(function(){var s=0,i=0;i<periods;i=i+1;s=s+monthlyInvest/(firstPrice+(lastPrice-firstPrice)*i/(periods-1));return s;})()monthlyInvest*periods/totalSharesThe relationship is solved in every direction, so any one unknown field can be derived.
Worked example
Using the default inputs:
- Installment amount = 2000 $
- Number of periods = 36
- First price = 10 $
- Last price = 13 $
Formula used: (function(){var s=0,i=0;i<periods;i=i+1;s=s+monthlyInvest/(firstPrice+(lastPrice-firstPrice)*i/(periods-1));return s;})()
Answer:
- Total shares = 198.3
- Average cost = 363.09 $
Example 1 (default inputs):Suppose Installment amount = 2,000 $, Number of periods = 36, First price = 10 $, Last price = 13 $; then giving Total shares = 198, Average cost = 363 $.
Example 2 (one input changed):If you change Installment amount to 3,000,giving Total shares = 297, Average cost = 363 $.
Additional information
Assumptions and limitations
- Results are only as good as your assumptions (inflation, return, horizon) and are sensitive to them. Run both a conservative and an optimistic set of inputs and read the range, not the point.
- Good for: getting a directionally correct order of magnitude quickly, or comparing two scenarios.
- Not good for: using it as the sole basis for a decision, or for official filings, contract pricing and legal documents — those need a full model with your actual clauses and local rules.