Stock Average Cost & Additional-Buy Calculator
Combine open purchase lots for one stock or other cash-funded long holding, then see how an additional purchase changes shares, total outlay and economic average cost. This stock average calculator includes entered transaction fees and a supplied whole-share or fractional-share increment. Compare buying more with retaining the same extra budget in cash across hypothetical prices, using equal starting capital for both paths. A target-average inverse, cumulative purchase chart, scenario inspector, complete ledgers and exact-value CSV make the arithmetic inspectable. All amounts are in USD. Prices and fees are your assumptions; the calculator does not fetch quotes or submit an order. The displayed acquisition average is an economic summary, separate from the tax-lot basis used when shares are sold.
See the average. Understand the dollars at risk.
Combine purchase lots, plan an additional buy and compare its outcome with keeping the same extra budget in cash.
Your open purchase lots
Use one stock or fund in one USD account. Enter only shares you still hold, their purchase prices and historical purchase fees. Supply split-adjusted quantities and prices when needed; the tool does not process corporate actions.
Set the additional purchase and comparison
0–1 billion, at most two decimal places. The same budget is available to both comparison paths.
Positive, up to 1 million, at most six decimal places. This is an entered scenario price.
Charged once only if additional shares are purchased; up to two decimal places.
0–100%, up to four decimal places, charged on share purchase principal.
0–1 million, at most six decimal places. Used by the separate minimum-purchase calculation.
Charged once per hypothetical liquidation in each path; up to two decimal places.
0–99.99%, up to four decimal places, charged on gross hypothetical sale proceeds.
0–1 million, at most six decimal places. Values remain available outside the chart range.
0–1 million, at most six decimal places.
Must exceed the chart low price; at most six decimal places.
Comparison updated. After-purchase economic average USD 43.524019 per share.
What the additional purchase changes
Existing economic average / share
USD 46.713333
150 shares · USD 7,007 acquisition outlay
After buying within the extra budget
USD 43.524019
206.943 shares · USD 9,006.991 acquisition outlay
Economic average includes entered purchase fees. A lower average can accompany greater dollar exposure and losses. This average does not establish tax-lot basis.
How the extra budget is used
- Additional shares
- 56.943
- Share purchase principal
- USD 1,993.005
- Purchase fees
- USD 6.98601
- Total additional outlay
- USD 1,999.991
- Cash left after purchase
- USD 0.00899
- Equal capital in both paths
- USD 9,007
Minimum purchase for your target average
Uses the entered purchase price, fee schedule and share increment. This target is a constraint you supplied. It starts from the existing position and is separate from the budget-limited purchase.
Target can be met within the entered budget.
- Minimum additional shares
- 45.913
- Required additional outlay
- USD 1,613.1689
- Achieved economic average
- USD 43.999984
- Budget headroom
- USD 386.83109
Negative headroom is the additional capital shortfall. The inverse target purchase is separate from the budget-limited scenario.
Exact target quantities
- Shares
- 45913/1000
- Required outlay (USD)
- 161316891/100000
- Achieved average (USD/share)
- 862016891/19591300
Buy more or keep the extra budget in cash
Keep-cash retains the full budget. Buy-more retains only its unspent cash. Both include the historical outlay when calculating profit or loss.
- Solid blue: keep budget in cash · circle break-even
- Dashed purple: buy more · square break-even
- Triangle: buy versus cash crossover
- Keep-cash P&L break-even: USD 47.218855 per share
- Buy-more P&L break-even: USD 43.988061 per share
- Buy versus cash crossover: USD 35.477459 per share
Prices are illustrative scenarios. Each path uses the same total starting capital. Cash earns zero; liquidation includes the entered sale fees. Full values are available in the inspector and table.
At USD 42 per share
Keep cash
- Net sale receipts
- USD 6,232
- Liquidation wealth + cash
- USD 8,232
- Profit or loss
- USD -775
- Return on equal starting capital
- -8.6044188%
Buy more
- Net sale receipts
- USD 8,599.6899
- Liquidation wealth + cash
- USD 8,599.6989
- Profit or loss
- USD -407.30107
- Return on equal starting capital
- -4.5220503%
Buy-more minus keep-cash wealth: USD 367.69893
Full scenario table (204 prices)
| Price / share | Keep-cash wealth | Buy-more wealth | Keep-cash P&L | Buy-more P&L | Buy minus keep | Keep ROI % | Buy ROI % |
|---|---|---|---|---|---|---|---|
| 0 | 1,995 | -4.99101 | -7,012 | -9,011.991 | -1,999.991 | -77.850561 | -100.05541 |
| 0.4 | 2,054.4 | 76.958418 | -6,952.6 | -8,930.0416 | -1,977.4416 | -77.191074 | -99.145571 |
| 0.8 | 2,113.8 | 158.90785 | -6,893.2 | -8,848.0922 | -1,954.8922 | -76.531587 | -98.235729 |
| 1.2 | 2,173.2 | 240.85727 | -6,833.8 | -8,766.1427 | -1,932.3427 | -75.872099 | -97.325888 |
| 1.6 | 2,232.6 | 322.8067 | -6,774.4 | -8,684.1933 | -1,909.7933 | -75.212612 | -96.416046 |
| 2 | 2,292 | 404.75613 | -6,715 | -8,602.2439 | -1,887.2439 | -74.553125 | -95.506205 |
| 2.4 | 2,351.4 | 486.70556 | -6,655.6 | -8,520.2944 | -1,864.6944 | -73.893638 | -94.596363 |
| 2.8 | 2,410.8 | 568.65499 | -6,596.2 | -8,438.345 | -1,842.145 | -73.234151 | -93.686522 |
| 3.2 | 2,470.2 | 650.60441 | -6,536.8 | -8,356.3956 | -1,819.5956 | -72.574664 | -92.77668 |
| 3.6 | 2,529.6 | 732.55384 | -6,477.4 | -8,274.4462 | -1,797.0462 | -71.915177 | -91.866839 |
| 4 | 2,589 | 814.50327 | -6,418 | -8,192.4967 | -1,774.4967 | -71.25569 | -90.956997 |
| 4.4 | 2,648.4 | 896.4527 | -6,358.6 | -8,110.5473 | -1,751.9473 | -70.596203 | -90.047156 |
| 4.8 | 2,707.8 | 978.40213 | -6,299.2 | -8,028.5979 | -1,729.3979 | -69.936716 | -89.137314 |
| 5.2 | 2,767.2 | 1,060.3516 | -6,239.8 | -7,946.6484 | -1,706.8484 | -69.277229 | -88.227472 |
| 5.6 | 2,826.6 | 1,142.301 | -6,180.4 | -7,864.699 | -1,684.299 | -68.617742 | -87.317631 |
| 6 | 2,886 | 1,224.2504 | -6,121 | -7,782.7496 | -1,661.7496 | -67.958255 | -86.407789 |
| 6.4 | 2,945.4 | 1,306.1998 | -6,061.6 | -7,700.8002 | -1,639.2002 | -67.298768 | -85.497948 |
| 6.8 | 3,004.8 | 1,388.1493 | -6,002.2 | -7,618.8507 | -1,616.6507 | -66.639281 | -84.588106 |
| 7.2 | 3,064.2 | 1,470.0987 | -5,942.8 | -7,536.9013 | -1,594.1013 | -65.979793 | -83.678265 |
| 7.6 | 3,123.6 | 1,552.0481 | -5,883.4 | -7,454.9519 | -1,571.5519 | -65.320306 | -82.768423 |
| 8 | 3,183 | 1,633.9976 | -5,824 | -7,373.0025 | -1,549.0025 | -64.660819 | -81.858582 |
| 8.4 | 3,242.4 | 1,715.947 | -5,764.6 | -7,291.053 | -1,526.453 | -64.001332 | -80.94874 |
| 8.8 | 3,301.8 | 1,797.8964 | -5,705.2 | -7,209.1036 | -1,503.9036 | -63.341845 | -80.038899 |
| 9.2 | 3,361.2 | 1,879.8458 | -5,645.8 | -7,127.1542 | -1,481.3542 | -62.682358 | -79.129057 |
| 9.6 | 3,420.6 | 1,961.7953 | -5,586.4 | -7,045.2047 | -1,458.8047 | -62.022871 | -78.219215 |
| 10 | 3,480 | 2,043.7447 | -5,527 | -6,963.2553 | -1,436.2553 | -61.363384 | -77.309374 |
| 10.4 | 3,539.4 | 2,125.6941 | -5,467.6 | -6,881.3059 | -1,413.7059 | -60.703897 | -76.399532 |
| 10.8 | 3,598.8 | 2,207.6435 | -5,408.2 | -6,799.3565 | -1,391.1565 | -60.04441 | -75.489691 |
| 11.2 | 3,658.2 | 2,289.593 | -5,348.8 | -6,717.407 | -1,368.607 | -59.384923 | -74.579849 |
| 11.6 | 3,717.6 | 2,371.5424 | -5,289.4 | -6,635.4576 | -1,346.0576 | -58.725436 | -73.670008 |
| 12 | 3,777 | 2,453.4918 | -5,230 | -6,553.5082 | -1,323.5082 | -58.065949 | -72.760166 |
| 12.4 | 3,836.4 | 2,535.4413 | -5,170.6 | -6,471.5587 | -1,300.9587 | -57.406462 | -71.850325 |
| 12.8 | 3,895.8 | 2,617.3907 | -5,111.2 | -6,389.6093 | -1,278.4093 | -56.746975 | -70.940483 |
| 13.2 | 3,955.2 | 2,699.3401 | -5,051.8 | -6,307.6599 | -1,255.8599 | -56.087488 | -70.030642 |
| 13.6 | 4,014.6 | 2,781.2895 | -4,992.4 | -6,225.7105 | -1,233.3105 | -55.428 | -69.1208 |
| 14 | 4,074 | 2,863.239 | -4,933 | -6,143.761 | -1,210.761 | -54.768513 | -68.210958 |
| 14.4 | 4,133.4 | 2,945.1884 | -4,873.6 | -6,061.8116 | -1,188.2116 | -54.109026 | -67.301117 |
| 14.8 | 4,192.8 | 3,027.1378 | -4,814.2 | -5,979.8622 | -1,165.6622 | -53.449539 | -66.391275 |
| 15.2 | 4,252.2 | 3,109.0873 | -4,754.8 | -5,897.9127 | -1,143.1127 | -52.790052 | -65.481434 |
| 15.6 | 4,311.6 | 3,191.0367 | -4,695.4 | -5,815.9633 | -1,120.5633 | -52.130565 | -64.571592 |
| 16 | 4,371 | 3,272.9861 | -4,636 | -5,734.0139 | -1,098.0139 | -51.471078 | -63.661751 |
| 16.4 | 4,430.4 | 3,354.9355 | -4,576.6 | -5,652.0645 | -1,075.4645 | -50.811591 | -62.751909 |
| 16.8 | 4,489.8 | 3,436.885 | -4,517.2 | -5,570.115 | -1,052.915 | -50.152104 | -61.842068 |
| 17.2 | 4,549.2 | 3,518.8344 | -4,457.8 | -5,488.1656 | -1,030.3656 | -49.492617 | -60.932226 |
| 17.6 | 4,608.6 | 3,600.7838 | -4,398.4 | -5,406.2162 | -1,007.8162 | -48.83313 | -60.022385 |
| 18 | 4,668 | 3,682.7333 | -4,339 | -5,324.2668 | -985.26675 | -48.173643 | -59.112543 |
| 18.4 | 4,727.4 | 3,764.6827 | -4,279.6 | -5,242.3173 | -962.71732 | -47.514156 | -58.202701 |
| 18.8 | 4,786.8 | 3,846.6321 | -4,220.2 | -5,160.3679 | -940.16789 | -46.854669 | -57.29286 |
| 19.2 | 4,846.2 | 3,928.5815 | -4,160.8 | -5,078.4185 | -917.61847 | -46.195182 | -56.383018 |
| 19.6 | 4,905.6 | 4,010.531 | -4,101.4 | -4,996.469 | -895.06904 | -45.535694 | -55.473177 |
| 20 | 4,965 | 4,092.4804 | -4,042 | -4,914.5196 | -872.51961 | -44.876207 | -54.563335 |
| 20.4 | 5,024.4 | 4,174.4298 | -3,982.6 | -4,832.5702 | -849.97018 | -44.21672 | -53.653494 |
| 20.8 | 5,083.8 | 4,256.3792 | -3,923.2 | -4,750.6208 | -827.42075 | -43.557233 | -52.743652 |
| 21.2 | 5,143.2 | 4,338.3287 | -3,863.8 | -4,668.6713 | -804.87133 | -42.897746 | -51.833811 |
| 21.6 | 5,202.6 | 4,420.2781 | -3,804.4 | -4,586.7219 | -782.3219 | -42.238259 | -50.923969 |
| 22 | 5,262 | 4,502.2275 | -3,745 | -4,504.7725 | -759.77247 | -41.578772 | -50.014128 |
| 22.4 | 5,321.4 | 4,584.177 | -3,685.6 | -4,422.823 | -737.22304 | -40.919285 | -49.104286 |
| 22.8 | 5,380.8 | 4,666.1264 | -3,626.2 | -4,340.8736 | -714.67361 | -40.259798 | -48.194444 |
| 23.2 | 5,440.2 | 4,748.0758 | -3,566.8 | -4,258.9242 | -692.12419 | -39.600311 | -47.284603 |
| 23.6 | 5,499.6 | 4,830.0252 | -3,507.4 | -4,176.9748 | -669.57476 | -38.940824 | -46.374761 |
| 24 | 5,559 | 4,911.9747 | -3,448 | -4,095.0253 | -647.02533 | -38.281337 | -45.46492 |
| 24.4 | 5,618.4 | 4,993.9241 | -3,388.6 | -4,013.0759 | -624.4759 | -37.62185 | -44.555078 |
| 24.8 | 5,677.8 | 5,075.8735 | -3,329.2 | -3,931.1265 | -601.92647 | -36.962363 | -43.645237 |
| 25.2 | 5,737.2 | 5,157.823 | -3,269.8 | -3,849.177 | -579.37705 | -36.302876 | -42.735395 |
| 25.6 | 5,796.6 | 5,239.7724 | -3,210.4 | -3,767.2276 | -556.82762 | -35.643388 | -41.825554 |
| 26 | 5,856 | 5,321.7218 | -3,151 | -3,685.2782 | -534.27819 | -34.983901 | -40.915712 |
| 26.4 | 5,915.4 | 5,403.6712 | -3,091.6 | -3,603.3288 | -511.72876 | -34.324414 | -40.005871 |
| 26.8 | 5,974.8 | 5,485.6207 | -3,032.2 | -3,521.3793 | -489.17933 | -33.664927 | -39.096029 |
| 27.2 | 6,034.2 | 5,567.5701 | -2,972.8 | -3,439.4299 | -466.62991 | -33.00544 | -38.186187 |
| 27.6 | 6,093.6 | 5,649.5195 | -2,913.4 | -3,357.4805 | -444.08048 | -32.345953 | -37.276346 |
| 28 | 6,153 | 5,731.469 | -2,854 | -3,275.5311 | -421.53105 | -31.686466 | -36.366504 |
| 28.4 | 6,212.4 | 5,813.4184 | -2,794.6 | -3,193.5816 | -398.98162 | -31.026979 | -35.456663 |
| 28.8 | 6,271.8 | 5,895.3678 | -2,735.2 | -3,111.6322 | -376.43219 | -30.367492 | -34.546821 |
| 29.2 | 6,331.2 | 5,977.3172 | -2,675.8 | -3,029.6828 | -353.88277 | -29.708005 | -33.63698 |
| 29.6 | 6,390.6 | 6,059.2667 | -2,616.4 | -2,947.7333 | -331.33334 | -29.048518 | -32.727138 |
| 30 | 6,450 | 6,141.2161 | -2,557 | -2,865.7839 | -308.78391 | -28.389031 | -31.817297 |
| 30.4 | 6,509.4 | 6,223.1655 | -2,497.6 | -2,783.8345 | -286.23448 | -27.729544 | -30.907455 |
| 30.8 | 6,568.8 | 6,305.1149 | -2,438.2 | -2,701.8851 | -263.68505 | -27.070057 | -29.997614 |
| 31.2 | 6,628.2 | 6,387.0644 | -2,378.8 | -2,619.9356 | -241.13563 | -26.41057 | -29.087772 |
| 31.6 | 6,687.6 | 6,469.0138 | -2,319.4 | -2,537.9862 | -218.5862 | -25.751082 | -28.17793 |
| 32 | 6,747 | 6,550.9632 | -2,260 | -2,456.0368 | -196.03677 | -25.091595 | -27.268089 |
| 32.4 | 6,806.4 | 6,632.9127 | -2,200.6 | -2,374.0873 | -173.48734 | -24.432108 | -26.358247 |
| 32.8 | 6,865.8 | 6,714.8621 | -2,141.2 | -2,292.1379 | -150.93791 | -23.772621 | -25.448406 |
| 33.2 | 6,925.2 | 6,796.8115 | -2,081.8 | -2,210.1885 | -128.38849 | -23.113134 | -24.538564 |
| 33.6 | 6,984.6 | 6,878.7609 | -2,022.4 | -2,128.2391 | -105.83906 | -22.453647 | -23.628723 |
| 34 | 7,044 | 6,960.7104 | -1,963 | -2,046.2896 | -83.28963 | -21.79416 | -22.718881 |
| 34.4 | 7,103.4 | 7,042.6598 | -1,903.6 | -1,964.3402 | -60.740202 | -21.134673 | -21.80904 |
| 34.8 | 7,162.8 | 7,124.6092 | -1,844.2 | -1,882.3908 | -38.190774 | -20.475186 | -20.899198 |
| 35.2 | 7,222.2 | 7,206.5587 | -1,784.8 | -1,800.4413 | -15.641346 | -19.815699 | -19.989357 |
| 35.477459 | 7,263.4026 | 7,263.4026 | -1,743.5974 | -1,743.5974 | 0 | -19.358248 | -19.358248 |
| 35.6 | 7,281.6 | 7,288.5081 | -1,725.4 | -1,718.4919 | 6.908082 | -19.156212 | -19.079515 |
| 36 | 7,341 | 7,370.4575 | -1,666 | -1,636.5425 | 29.45751 | -18.496725 | -18.169673 |
| 36.4 | 7,400.4 | 7,452.4069 | -1,606.6 | -1,554.5931 | 52.006938 | -17.837238 | -17.259832 |
| 36.8 | 7,459.8 | 7,534.3564 | -1,547.2 | -1,472.6436 | 74.556366 | -17.177751 | -16.34999 |
| 37.2 | 7,519.2 | 7,616.3058 | -1,487.8 | -1,390.6942 | 97.105794 | -16.518264 | -15.440149 |
| 37.6 | 7,578.6 | 7,698.2552 | -1,428.4 | -1,308.7448 | 119.65522 | -15.858777 | -14.530307 |
| 38 | 7,638 | 7,780.2047 | -1,369 | -1,226.7954 | 142.20465 | -15.199289 | -13.620466 |
| 38.4 | 7,697.4 | 7,862.1541 | -1,309.6 | -1,144.8459 | 164.75408 | -14.539802 | -12.710624 |
| 38.8 | 7,756.8 | 7,944.1035 | -1,250.2 | -1,062.8965 | 187.30351 | -13.880315 | -11.800783 |
| 39.2 | 7,816.2 | 8,026.0529 | -1,190.8 | -980.94707 | 209.85293 | -13.220828 | -10.890941 |
| 39.6 | 7,875.6 | 8,108.0024 | -1,131.4 | -898.99764 | 232.40236 | -12.561341 | -9.9810996 |
| 40 | 7,935 | 8,189.9518 | -1,072 | -817.04821 | 254.95179 | -11.901854 | -9.071258 |
| 40.4 | 7,994.4 | 8,271.9012 | -1,012.6 | -735.09878 | 277.50122 | -11.242367 | -8.1614165 |
| 40.8 | 8,053.8 | 8,353.8506 | -953.2 | -653.14935 | 300.05065 | -10.58288 | -7.2515749 |
| 41.2 | 8,113.2 | 8,435.8001 | -893.8 | -571.19993 | 322.60007 | -9.9233929 | -6.3417334 |
| 41.6 | 8,172.6 | 8,517.7495 | -834.4 | -489.2505 | 345.1495 | -9.2639059 | -5.4318918 |
| 42 | 8,232 | 8,599.6989 | -775 | -407.30107 | 367.69893 | -8.6044188 | -4.5220503 |
| 42.4 | 8,291.4 | 8,681.6484 | -715.6 | -325.35164 | 390.24836 | -7.9449317 | -3.6122087 |
| 42.8 | 8,350.8 | 8,763.5978 | -656.2 | -243.40221 | 412.79779 | -7.2854447 | -2.7023672 |
| 43.2 | 8,410.2 | 8,845.5472 | -596.8 | -161.45279 | 435.34721 | -6.6259576 | -1.7925257 |
| 43.6 | 8,469.6 | 8,927.4966 | -537.4 | -79.503358 | 457.89664 | -5.9664705 | -0.88268411 |
| 43.988061 | 8,527.227 | 9,007 | -479.773 | 0 | 479.773 | -5.3266682 | 0 |
| 44 | 8,529 | 9,009.4461 | -478 | 2.44607 | 480.44607 | -5.3069835 | 0.027157433 |
| 44.4 | 8,588.4 | 9,091.3955 | -418.6 | 84.395498 | 502.9955 | -4.6474964 | 0.93699898 |
| 44.8 | 8,647.8 | 9,173.3449 | -359.2 | 166.34493 | 525.54493 | -3.9880093 | 1.8468405 |
| 45.2 | 8,707.2 | 9,255.2944 | -299.8 | 248.29435 | 548.09435 | -3.3285223 | 2.7566821 |
| 45.6 | 8,766.6 | 9,337.2438 | -240.4 | 330.24378 | 570.64378 | -2.6690352 | 3.6665236 |
| 46 | 8,826 | 9,419.1932 | -181 | 412.19321 | 593.19321 | -2.0095481 | 4.5763652 |
| 46.4 | 8,885.4 | 9,501.1426 | -121.6 | 494.14264 | 615.74264 | -1.3500611 | 5.4862067 |
| 46.8 | 8,944.8 | 9,583.0921 | -62.2 | 576.09207 | 638.29207 | -0.690574 | 6.3960483 |
| 47.2 | 9,004.2 | 9,665.0415 | -2.8 | 658.04149 | 660.84149 | -0.031086932 | 7.3058898 |
| 47.218855 | 9,007 | 9,668.9044 | 0 | 661.90443 | 661.90443 | 0 | 7.348778 |
| 47.6 | 9,063.6 | 9,746.9909 | 56.6 | 739.99092 | 683.39092 | 0.62840013 | 8.2157313 |
| 48 | 9,123 | 9,828.9404 | 116 | 821.94035 | 705.94035 | 1.2878872 | 9.1255729 |
| 48.4 | 9,182.4 | 9,910.8898 | 175.4 | 903.88978 | 728.48978 | 1.9473743 | 10.035414 |
| 48.8 | 9,241.8 | 9,992.8392 | 234.8 | 985.83921 | 751.03921 | 2.6068613 | 10.945256 |
| 49.2 | 9,301.2 | 10,074.789 | 294.2 | 1,067.7886 | 773.58863 | 3.2663484 | 11.855098 |
| 49.6 | 9,360.6 | 10,156.738 | 353.6 | 1,149.7381 | 796.13806 | 3.9258355 | 12.764939 |
| 50 | 9,420 | 10,238.687 | 413 | 1,231.6875 | 818.68749 | 4.5853225 | 13.674781 |
| 50.4 | 9,479.4 | 10,320.637 | 472.4 | 1,313.6369 | 841.23692 | 5.2448096 | 14.584622 |
| 50.8 | 9,538.8 | 10,402.586 | 531.8 | 1,395.5863 | 863.78635 | 5.9042967 | 15.494464 |
| 51.2 | 9,598.2 | 10,484.536 | 591.2 | 1,477.5358 | 886.33577 | 6.5637837 | 16.404305 |
| 51.6 | 9,657.6 | 10,566.485 | 650.6 | 1,559.4852 | 908.8852 | 7.2232708 | 17.314147 |
| 52 | 9,717 | 10,648.435 | 710 | 1,641.4346 | 931.43463 | 7.8827579 | 18.223988 |
| 52.4 | 9,776.4 | 10,730.384 | 769.4 | 1,723.3841 | 953.98406 | 8.5422449 | 19.13383 |
| 52.8 | 9,835.8 | 10,812.333 | 828.8 | 1,805.3335 | 976.53349 | 9.201732 | 20.043671 |
| 53.2 | 9,895.2 | 10,894.283 | 888.2 | 1,887.2829 | 999.08291 | 9.8612191 | 20.953513 |
| 53.6 | 9,954.6 | 10,976.232 | 947.6 | 1,969.2323 | 1,021.6323 | 10.520706 | 21.863355 |
| 54 | 10,014 | 11,058.182 | 1,007 | 2,051.1818 | 1,044.1818 | 11.180193 | 22.773196 |
| 54.4 | 10,073.4 | 11,140.131 | 1,066.4 | 2,133.1312 | 1,066.7312 | 11.83968 | 23.683038 |
| 54.8 | 10,132.8 | 11,222.081 | 1,125.8 | 2,215.0806 | 1,089.2806 | 12.499167 | 24.592879 |
| 55.2 | 10,192.2 | 11,304.03 | 1,185.2 | 2,297.0301 | 1,111.8301 | 13.158654 | 25.502721 |
| 55.6 | 10,251.6 | 11,385.979 | 1,244.6 | 2,378.9795 | 1,134.3795 | 13.818141 | 26.412562 |
| 56 | 10,311 | 11,467.929 | 1,304 | 2,460.9289 | 1,156.9289 | 14.477629 | 27.322404 |
| 56.4 | 10,370.4 | 11,549.878 | 1,363.4 | 2,542.8783 | 1,179.4783 | 15.137116 | 28.232245 |
| 56.8 | 10,429.8 | 11,631.828 | 1,422.8 | 2,624.8278 | 1,202.0278 | 15.796603 | 29.142087 |
| 57.2 | 10,489.2 | 11,713.777 | 1,482.2 | 2,706.7772 | 1,224.5772 | 16.45609 | 30.051928 |
| 57.6 | 10,548.6 | 11,795.727 | 1,541.6 | 2,788.7266 | 1,247.1266 | 17.115577 | 30.96177 |
| 58 | 10,608 | 11,877.676 | 1,601 | 2,870.6761 | 1,269.6761 | 17.775064 | 31.871612 |
| 58.4 | 10,667.4 | 11,959.625 | 1,660.4 | 2,952.6255 | 1,292.2255 | 18.434551 | 32.781453 |
| 58.8 | 10,726.8 | 12,041.575 | 1,719.8 | 3,034.5749 | 1,314.7749 | 19.094038 | 33.691295 |
| 59.2 | 10,786.2 | 12,123.524 | 1,779.2 | 3,116.5243 | 1,337.3243 | 19.753525 | 34.601136 |
| 59.6 | 10,845.6 | 12,205.474 | 1,838.6 | 3,198.4738 | 1,359.8738 | 20.413012 | 35.510978 |
| 60 | 10,905 | 12,287.423 | 1,898 | 3,280.4232 | 1,382.4232 | 21.072499 | 36.420819 |
| 60.4 | 10,964.4 | 12,369.373 | 1,957.4 | 3,362.3726 | 1,404.9726 | 21.731986 | 37.330661 |
| 60.8 | 11,023.8 | 12,451.322 | 2,016.8 | 3,444.322 | 1,427.522 | 22.391473 | 38.240502 |
| 61.2 | 11,083.2 | 12,533.271 | 2,076.2 | 3,526.2715 | 1,450.0715 | 23.05096 | 39.150344 |
| 61.6 | 11,142.6 | 12,615.221 | 2,135.6 | 3,608.2209 | 1,472.6209 | 23.710447 | 40.060185 |
| 62 | 11,202 | 12,697.17 | 2,195 | 3,690.1703 | 1,495.1703 | 24.369934 | 40.970027 |
| 62.4 | 11,261.4 | 12,779.12 | 2,254.4 | 3,772.1198 | 1,517.7198 | 25.029422 | 41.879869 |
| 62.8 | 11,320.8 | 12,861.069 | 2,313.8 | 3,854.0692 | 1,540.2692 | 25.688909 | 42.78971 |
| 63.2 | 11,380.2 | 12,943.019 | 2,373.2 | 3,936.0186 | 1,562.8186 | 26.348396 | 43.699552 |
| 63.6 | 11,439.6 | 13,024.968 | 2,432.6 | 4,017.968 | 1,585.368 | 27.007883 | 44.609393 |
| 64 | 11,499 | 13,106.917 | 2,492 | 4,099.9175 | 1,607.9175 | 27.66737 | 45.519235 |
| 64.4 | 11,558.4 | 13,188.867 | 2,551.4 | 4,181.8669 | 1,630.4669 | 28.326857 | 46.429076 |
| 64.8 | 11,617.8 | 13,270.816 | 2,610.8 | 4,263.8163 | 1,653.0163 | 28.986344 | 47.338918 |
| 65.2 | 11,677.2 | 13,352.766 | 2,670.2 | 4,345.7658 | 1,675.5658 | 29.645831 | 48.248759 |
| 65.6 | 11,736.6 | 13,434.715 | 2,729.6 | 4,427.7152 | 1,698.1152 | 30.305318 | 49.158601 |
| 66 | 11,796 | 13,516.665 | 2,789 | 4,509.6646 | 1,720.6646 | 30.964805 | 50.068442 |
| 66.4 | 11,855.4 | 13,598.614 | 2,848.4 | 4,591.614 | 1,743.214 | 31.624292 | 50.978284 |
| 66.8 | 11,914.8 | 13,680.563 | 2,907.8 | 4,673.5635 | 1,765.7635 | 32.283779 | 51.888126 |
| 67.2 | 11,974.2 | 13,762.513 | 2,967.2 | 4,755.5129 | 1,788.3129 | 32.943266 | 52.797967 |
| 67.6 | 12,033.6 | 13,844.462 | 3,026.6 | 4,837.4623 | 1,810.8623 | 33.602753 | 53.707809 |
| 68 | 12,093 | 13,926.412 | 3,086 | 4,919.4118 | 1,833.4118 | 34.26224 | 54.61765 |
| 68.4 | 12,152.4 | 14,008.361 | 3,145.4 | 5,001.3612 | 1,855.9612 | 34.921728 | 55.527492 |
| 68.8 | 12,211.8 | 14,090.311 | 3,204.8 | 5,083.3106 | 1,878.5106 | 35.581215 | 56.437333 |
| 69.2 | 12,271.2 | 14,172.26 | 3,264.2 | 5,165.26 | 1,901.06 | 36.240702 | 57.347175 |
| 69.6 | 12,330.6 | 14,254.209 | 3,323.6 | 5,247.2095 | 1,923.6095 | 36.900189 | 58.257016 |
| 70 | 12,390 | 14,336.159 | 3,383 | 5,329.1589 | 1,946.1589 | 37.559676 | 59.166858 |
| 70.4 | 12,449.4 | 14,418.108 | 3,442.4 | 5,411.1083 | 1,968.7083 | 38.219163 | 60.076699 |
| 70.8 | 12,508.8 | 14,500.058 | 3,501.8 | 5,493.0577 | 1,991.2577 | 38.87865 | 60.986541 |
| 71.2 | 12,568.2 | 14,582.007 | 3,561.2 | 5,575.0072 | 2,013.8072 | 39.538137 | 61.896383 |
| 71.6 | 12,627.6 | 14,663.957 | 3,620.6 | 5,656.9566 | 2,036.3566 | 40.197624 | 62.806224 |
| 72 | 12,687 | 14,745.906 | 3,680 | 5,738.906 | 2,058.906 | 40.857111 | 63.716066 |
| 72.4 | 12,746.4 | 14,827.855 | 3,739.4 | 5,820.8555 | 2,081.4555 | 41.516598 | 64.625907 |
| 72.8 | 12,805.8 | 14,909.805 | 3,798.8 | 5,902.8049 | 2,104.0049 | 42.176085 | 65.535749 |
| 73.2 | 12,865.2 | 14,991.754 | 3,858.2 | 5,984.7543 | 2,126.5543 | 42.835572 | 66.44559 |
| 73.6 | 12,924.6 | 15,073.704 | 3,917.6 | 6,066.7037 | 2,149.1037 | 43.495059 | 67.355432 |
| 74 | 12,984 | 15,155.653 | 3,977 | 6,148.6532 | 2,171.6532 | 44.154546 | 68.265273 |
| 74.4 | 13,043.4 | 15,237.603 | 4,036.4 | 6,230.6026 | 2,194.2026 | 44.814034 | 69.175115 |
| 74.8 | 13,102.8 | 15,319.552 | 4,095.8 | 6,312.552 | 2,216.752 | 45.473521 | 70.084956 |
| 75.2 | 13,162.2 | 15,401.501 | 4,155.2 | 6,394.5015 | 2,239.3015 | 46.133008 | 70.994798 |
| 75.6 | 13,221.6 | 15,483.451 | 4,214.6 | 6,476.4509 | 2,261.8509 | 46.792495 | 71.90464 |
| 76 | 13,281 | 15,565.4 | 4,274 | 6,558.4003 | 2,284.4003 | 47.451982 | 72.814481 |
| 76.4 | 13,340.4 | 15,647.35 | 4,333.4 | 6,640.3497 | 2,306.9497 | 48.111469 | 73.724323 |
| 76.8 | 13,399.8 | 15,729.299 | 4,392.8 | 6,722.2992 | 2,329.4992 | 48.770956 | 74.634164 |
| 77.2 | 13,459.2 | 15,811.249 | 4,452.2 | 6,804.2486 | 2,352.0486 | 49.430443 | 75.544006 |
| 77.6 | 13,518.6 | 15,893.198 | 4,511.6 | 6,886.198 | 2,374.598 | 50.08993 | 76.453847 |
| 78 | 13,578 | 15,975.147 | 4,571 | 6,968.1475 | 2,397.1475 | 50.749417 | 77.363689 |
| 78.4 | 13,637.4 | 16,057.097 | 4,630.4 | 7,050.0969 | 2,419.6969 | 51.408904 | 78.27353 |
| 78.8 | 13,696.8 | 16,139.046 | 4,689.8 | 7,132.0463 | 2,442.2463 | 52.068391 | 79.183372 |
| 79.2 | 13,756.2 | 16,220.996 | 4,749.2 | 7,213.9957 | 2,464.7957 | 52.727878 | 80.093213 |
| 79.6 | 13,815.6 | 16,302.945 | 4,808.6 | 7,295.9452 | 2,487.3452 | 53.387365 | 81.003055 |
| 80 | 13,875 | 16,384.895 | 4,868 | 7,377.8946 | 2,509.8946 | 54.046852 | 81.912897 |
How the existing average was built
Cumulative fee-inclusive economic average after each entered purchase. The horizontal axis is purchase order, not elapsed time. Reordering changes this path while preserving aggregate cost.
- Shares-only weighted purchase price
- USD 46.666667 / share
- Total historical purchase fees
- USD 7
- Historical acquisition principal
- USD 7,000
Acquisition ledger with exact values
| Purchase | Shares | Price | Purchase fees | Lot outlay | Cumulative shares | Cumulative outlay | Cumulative average |
|---|---|---|---|---|---|---|---|
| First purchase | 100 100/1 | 50 50/1 | 5 5/1 | 5,005 5005/1 | 100 100/1 | 5,005 5005/1 | 50.05 1001/20 |
| Second purchase | 50 50/1 | 40 40/1 | 2 2/1 | 2,002 2002/1 | 150 150/1 | 7,007 7007/1 | 46.713333 7007/150 |
Keep the complete comparison
Export includes every input, purchase lot, exact fraction, target, break-even price and scenario, regardless of the chart view.
Read the comparison with its assumptions
- One cash-funded long position in one instrument, all entered lots still held. All amounts USD; no live prices or currency conversion.
- Average cost is economic acquisition outlay per share, including entered purchase fees. It is not tax-lot basis; no FIFO election, wash-sale adjustment or tax calculation is performed.
- Additional shares are rounded down to the entered share increment within the budget. No new purchase means no purchase fees. Broker increments, minimums and execution may differ.
- Both alternatives start with the same historical outlay plus extra budget. The keep-cash path retains the entire budget; the buy path retains the unspent remainder. Cash earns zero.
- Both alternatives hypothetically liquidate the whole position once at each scenario price, with the entered percentage and fixed sale fees. Negative proceeds after fees remain visible.
- Target average is an arithmetic constraint, not a recommended price, quantity or strategy. A lower average can accompany greater dollar exposure and losses.
- No dividends, corporate actions, partial sales, tax, borrowing, ongoing expenses, interest, FX or execution slippage are included.
- Exact rational calculations determine increments and thresholds; display is rounded to eight significant digits. Export includes exact fractions and approximate numeric values.
How to use this calculator
- Enter each open purchase lot’s name, shares, purchase price and total purchase fee. Include only shares still held in the same instrument, using USD throughout. Add or remove lots to match the position you want to compare.
- Set Extra purchase budget (USD), Additional purchase price (USD/share), Fixed additional purchase fee (USD), Additional purchase fee (%) and Additional share increment. Review the shares that fit within the budget, purchase spending, unspent cash and new economic average cost.
- Enter Target economic average (USD/share) to calculate the minimum additional purchase on the selected share increment. Read the required spending and budget headroom, or the explicit already-met or unreachable state.
- Set Fixed full-position sale fee (USD), Full-position sale fee (%), Inspector price (USD/share), Chart low price (USD/share) and Chart high price (USD/share). Compare buying more with keeping the same extra budget in zero-interest cash, using the same starting capital and one hypothetical complete sale in each path.
- Inspect the purchase-cost path and scenario chart, switch between profit/loss and wealth, and review the exact inspector, break-even thresholds and complete tables. A lower average alone does not tell you which path performs better at a particular price.
- Download the full CSV or open its copyable fallback to retain inputs, assumptions, exact fractions and every scenario. Reconcile actual records with broker confirmations and applicable tax-lot rules; this workspace does not submit transactions.
The Formula
The mathematical logic powering this calculation is:
For each open purchase lot i, let qᵢ be shares, pᵢ the purchase price per share and fᵢ its total purchase fee. Principal = qᵢpᵢ and lot outlay = qᵢpᵢ + fᵢ. Total shares S = Σqᵢ; principal G = Σqᵢpᵢ; acquisition outlay C = G + Σfᵢ. Gross weighted purchase price = G/S. Fee-inclusive economic average cost = C/S. All lots must concern one instrument, remain fully held and use USD. The cumulative lot chart follows the entered order; reordering lots changes that path but preserves totals.
For extra budget B, new purchase price p, fixed purchase fee f, percentage purchase fee b and share increment h, let k = p(1 + b/100). Additional shares q = h × max(0, floor((B − f)/(kh))). A positive purchase spends qk + f, comprising qp principal plus f + qpb/100 fees. If q is zero, no new purchase occurs and its fees and spending are zero. Residual cash = B − spending. No intermediate cent rounding occurs; actual brokerage minimums, precision, fee rounding and execution can differ. After purchase, shares = S + q, outlay = C + spending, and economic average = (C + spending)/(S + q).
Both alternatives start with the same capital C + B. At hypothetical future share price P, percentage sale fee e and fixed sale fee g, Keep cash wealth = PS(1 − e/100) − g + B. Buy more wealth = P(S + q)(1 − e/100) − g + B − spending. Each path sells its complete holding once, pays the supplied sale charges once and retains its cash. Cash earns zero. Profit or loss = wealth − (C + B), and return on equal starting capital = profit or loss / (C + B) × 100. Buy-minus-keep wealth = qP(1 − e/100) − spending. Negative modeled sale receipts after fees are retained rather than clamped.
Keep cash profit/loss breaks even at P = (C + g)/(S(1 − e/100)); Buy more breaks even at P = (C + spending + g)/((S + q)(1 − e/100)). If q is positive, incremental buy-versus-cash crossover is spending/(q(1 − e/100)). Above that crossover the additional shares beat the zero-interest cash alternative under these assumptions; below it they underperform. When no new shares are bought, the two paths coincide and there is no unique crossover. These are arithmetic price thresholds, not forecasts or execution guarantees.
For target economic average t, an already-met target needs zero additional shares. If the current average exceeds t and t ≤ k, no finite additional purchase at this price and fee schedule can reach it. Otherwise the minimum purchase on increment h is h × ceil((C + f − tS)/((t − k)h)). Required spending = required shares × k + f. The inverse reports achieved average, required spending and budget headroom even when the requirement exceeds the entered budget; it does not clamp an unaffordable result to a supposed solution.
The scenario curve contains 201 equally spaced exact prices between the entered chart low and high prices, plus the inspector and finite break-even/crossover checkpoints that fall within that interval. The inspector remains calculated when its price lies outside the chart. Roots outside the chart retain their numerical values but have no in-range marker. All model arithmetic is reduced rational arithmetic; charts use numeric coordinates. Display uses eight significant digits and scientific notation for small nonzero values. CSV retains exact fractions alongside approximate numeric values.
Supports 1–20 open lots, positive lot shares up to 1000000000 and positive purchase prices up to USD 1000000, each with at most six decimal places. Lot fees, extra budget and fixed fees are USD 0–1000000000 with at most two decimal places. Purchase percentage fees are 0–100%; sale percentage fees are 0–99.99%, with at most four decimal places. Additional-share increments are 1, 0.001 or 0.000001. Target average, inspected price and chart endpoints are USD 0–1000000 with at most six decimal places; chart high must exceed chart low. Required target quantities can exceed the editable lot bounds and are shown without clamping. Blank or malformed required drafts invalidate dependent results.
This is a hypothetical cash-flow comparison for a long holding, excluding partial sales, taxes, tax-lot elections, wash-sale adjustments, dividends, corporate actions, borrowing, ongoing expenses, interest, FX and execution slippage. An economic average does not establish allowable tax basis. The IRS generally requires specific-share identification or FIFO for stock sales, with stated exceptions for certain mutual fund shares and dividend reinvestment plans. The SEC notes that fractional-share availability and execution differ by broker. A single additional purchase is not a scheduled dollar-cost-averaging strategy, and a lower average cost can accompany larger dollar exposure and losses.Worked Example
If you input:
- Open purchase lots: 100 shares at USD 50 + USD 5 fee; 50 at USD 40 + USD 2 fee
- Extra purchase budget / Additional purchase price: USD 2000 / USD 35 per share
- Additional purchase fees / share increment: USD 3 + 0.2% of principal / 0.001 share
- Sale fee / target average: USD 5 + 1% of sale proceeds / USD 44 per share
- Inspector price / Chart low–high prices: USD 42 / USD 0–80 per share
Result:
The 150 existing shares have USD 7000 principal and USD 7 fees: USD 7007 outlay and USD 46.713333 economic average cost per share. The USD 2000 budget buys 56.943 additional shares for USD 1993.005 principal plus USD 6.98601 fees, spending about USD 1,999.991 and retaining USD 0.00899 cash. The resulting 206.943 shares have an economic average of USD 43.524019. Reaching the separate USD 44 target needs at least 45.913 additional shares and about USD 1,613.1689 spending on this increment; achieved average is USD 43.999984, with USD 386.83109 budget headroom. Both comparison paths start with USD 9007 capital. At a hypothetical USD 42 sale price, Keep cash wealth is USD 8232 and loss is USD 775; Buy more wealth is about USD 8,599.6989 and loss is USD 407.30107. Buying more is ahead by USD 367.69893 in that scenario, while both paths still have a loss. The incremental buy-versus-cash crossover is USD 35.477459 per share. Display values are rounded; exact fractions are retained in the export.
Frequently Asked Questions
How is stock average cost different from the simple average of purchase prices?
Each price is weighted by the number of shares bought at that price. Buying 100 shares at USD 50 and 50 at USD 40 gives a gross weighted price of USD 46.666667, rather than USD 45. Purchase fees increase the economic outlay per share. In the default example, USD 7 of total fees raises the economic average to USD 46.713333.
Does this economic average determine my tax basis when I sell?
No. This tool summarizes total entered acquisition outlay per share without choosing sold lots or applying tax adjustments. The IRS explains that stock-sale basis generally depends on properly identifying the shares sold, or FIFO when identification is inadequate. Average basis generally cannot be used for stock sales except certain mutual fund shares and dividend reinvestment plans. Check your actual records and applicable rules.
Why does buying at a lower price not guarantee a better result?
The additional purchase commits more of the budget to price risk. A lower fee-inclusive average can coexist with a larger dollar loss if the scenario price falls far enough. The equal-capital comparison retains the full extra budget as cash in one path and the purchase remainder in the other, then applies the same sale assumptions. The crossover price shows where the additional shares and retained cash produce equal wealth.
Why can the purchase leave cash unspent?
The budget must cover the fixed purchase charge, percentage purchase charge and a whole number of the selected share increment. The model rounds additional shares down on that grid and keeps the residual cash. If the budget cannot buy even one increment plus fees, no purchase occurs and no new purchase fee is charged. Actual broker minimums, rounding and eligibility can differ.
Why can a target average be unreachable or need more than my budget?
When the target is below the current average, the effective marginal purchase cost must be below the target for a finite purchase to reach it. A target at or below the new price including its percentage fee cannot be reached in that case. A reachable target can still require more capital than the entered budget; the calculator shows the minimum shares, required spending and shortfall without replacing the answer with an affordable but insufficient quantity.
What do the break-even and crossover prices mean?
Each path’s break-even price makes its total hypothetical wealth equal to historical outlay plus the extra budget, after entered sale fees. The incremental crossover makes buying more and keeping cash equally valuable. Those are different questions: buying more can outperform cash while both paths still show a loss. Thresholds remain available even when they fall outside the chart range.
Does this model dollar-cost averaging or use live prices?
It uses the purchase lots and one hypothetical additional purchase that you enter. FINRA describes dollar-cost averaging as equal-amount investments at regular intervals; this workspace does not create or evaluate that schedule. It does not fetch live quotes, estimate fair value, forecast price probabilities or assess whether a purchase is suitable.
Which fees and account changes are included?
Entered historical purchase fees, one new fixed/percentage purchase charge, and one fixed/percentage complete-sale charge per comparison path are included. There is no intermediate monetary rounding. The model excludes dividends, corporate actions, taxes, partial sales, borrowing, ongoing account or fund expenses, interest and currency conversion. Enter a reconciled still-held position and use actual confirmations for final records.
Similar Calculators
Weighted Average Calculator
Calculate a weighted average from values that do not all contribute equally.
Dividend Calculator
Compare cash dividends with dividend reinvestment. Model fractional shares, new contributions, payout frequency and changing prices, with wealth charts and a payment ledger.
ROI Calculator
Calculate Return on Investment (ROI) to measure the profitability of any investment.
Stock Capital Gains Tax Calculator & Lot Sale Planner
Compare stock lots by trade date, basis and sale proceeds. See 2026 or 2027 short- and long-term capital gains, federal tax changes and after-tax cash.
