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.

Stock acquisition & cash comparison

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.

Purchase 1

Unique printable name, up to 60 characters.

Positive shares, up to six decimal places.

Positive price, up to six decimal places.

0 or more, up to two decimal places.

Purchase 2

Unique printable name, up to 60 characters.

Positive shares, up to six decimal places.

Positive price, up to six decimal places.

0 or more, up to two decimal places.

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.

Historical lots can have different fractional quantities. Check actual broker restrictions.

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.

Profit or loss after hypothetical liquidation
USD · top USD 7,377.8946Bottom USD -9,011.991
Equal-capital keep-cash and buy-more paths; markers and full values are explained below and in the table.
Hypothetical price per share: USD 0USD 80
  • 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)
All plotted prices and included break-even checkpoints. All monetary amounts USD; full exact fractions are in CSV.
Price / shareKeep-cash wealthBuy-more wealthKeep-cash P&LBuy-more P&LBuy minus keepKeep ROI %Buy ROI %
01,995-4.99101-7,012-9,011.991-1,999.991-77.850561-100.05541
0.42,054.476.958418-6,952.6-8,930.0416-1,977.4416-77.191074-99.145571
0.82,113.8158.90785-6,893.2-8,848.0922-1,954.8922-76.531587-98.235729
1.22,173.2240.85727-6,833.8-8,766.1427-1,932.3427-75.872099-97.325888
1.62,232.6322.8067-6,774.4-8,684.1933-1,909.7933-75.212612-96.416046
22,292404.75613-6,715-8,602.2439-1,887.2439-74.553125-95.506205
2.42,351.4486.70556-6,655.6-8,520.2944-1,864.6944-73.893638-94.596363
2.82,410.8568.65499-6,596.2-8,438.345-1,842.145-73.234151-93.686522
3.22,470.2650.60441-6,536.8-8,356.3956-1,819.5956-72.574664-92.77668
3.62,529.6732.55384-6,477.4-8,274.4462-1,797.0462-71.915177-91.866839
42,589814.50327-6,418-8,192.4967-1,774.4967-71.25569-90.956997
4.42,648.4896.4527-6,358.6-8,110.5473-1,751.9473-70.596203-90.047156
4.82,707.8978.40213-6,299.2-8,028.5979-1,729.3979-69.936716-89.137314
5.22,767.21,060.3516-6,239.8-7,946.6484-1,706.8484-69.277229-88.227472
5.62,826.61,142.301-6,180.4-7,864.699-1,684.299-68.617742-87.317631
62,8861,224.2504-6,121-7,782.7496-1,661.7496-67.958255-86.407789
6.42,945.41,306.1998-6,061.6-7,700.8002-1,639.2002-67.298768-85.497948
6.83,004.81,388.1493-6,002.2-7,618.8507-1,616.6507-66.639281-84.588106
7.23,064.21,470.0987-5,942.8-7,536.9013-1,594.1013-65.979793-83.678265
7.63,123.61,552.0481-5,883.4-7,454.9519-1,571.5519-65.320306-82.768423
83,1831,633.9976-5,824-7,373.0025-1,549.0025-64.660819-81.858582
8.43,242.41,715.947-5,764.6-7,291.053-1,526.453-64.001332-80.94874
8.83,301.81,797.8964-5,705.2-7,209.1036-1,503.9036-63.341845-80.038899
9.23,361.21,879.8458-5,645.8-7,127.1542-1,481.3542-62.682358-79.129057
9.63,420.61,961.7953-5,586.4-7,045.2047-1,458.8047-62.022871-78.219215
103,4802,043.7447-5,527-6,963.2553-1,436.2553-61.363384-77.309374
10.43,539.42,125.6941-5,467.6-6,881.3059-1,413.7059-60.703897-76.399532
10.83,598.82,207.6435-5,408.2-6,799.3565-1,391.1565-60.04441-75.489691
11.23,658.22,289.593-5,348.8-6,717.407-1,368.607-59.384923-74.579849
11.63,717.62,371.5424-5,289.4-6,635.4576-1,346.0576-58.725436-73.670008
123,7772,453.4918-5,230-6,553.5082-1,323.5082-58.065949-72.760166
12.43,836.42,535.4413-5,170.6-6,471.5587-1,300.9587-57.406462-71.850325
12.83,895.82,617.3907-5,111.2-6,389.6093-1,278.4093-56.746975-70.940483
13.23,955.22,699.3401-5,051.8-6,307.6599-1,255.8599-56.087488-70.030642
13.64,014.62,781.2895-4,992.4-6,225.7105-1,233.3105-55.428-69.1208
144,0742,863.239-4,933-6,143.761-1,210.761-54.768513-68.210958
14.44,133.42,945.1884-4,873.6-6,061.8116-1,188.2116-54.109026-67.301117
14.84,192.83,027.1378-4,814.2-5,979.8622-1,165.6622-53.449539-66.391275
15.24,252.23,109.0873-4,754.8-5,897.9127-1,143.1127-52.790052-65.481434
15.64,311.63,191.0367-4,695.4-5,815.9633-1,120.5633-52.130565-64.571592
164,3713,272.9861-4,636-5,734.0139-1,098.0139-51.471078-63.661751
16.44,430.43,354.9355-4,576.6-5,652.0645-1,075.4645-50.811591-62.751909
16.84,489.83,436.885-4,517.2-5,570.115-1,052.915-50.152104-61.842068
17.24,549.23,518.8344-4,457.8-5,488.1656-1,030.3656-49.492617-60.932226
17.64,608.63,600.7838-4,398.4-5,406.2162-1,007.8162-48.83313-60.022385
184,6683,682.7333-4,339-5,324.2668-985.26675-48.173643-59.112543
18.44,727.43,764.6827-4,279.6-5,242.3173-962.71732-47.514156-58.202701
18.84,786.83,846.6321-4,220.2-5,160.3679-940.16789-46.854669-57.29286
19.24,846.23,928.5815-4,160.8-5,078.4185-917.61847-46.195182-56.383018
19.64,905.64,010.531-4,101.4-4,996.469-895.06904-45.535694-55.473177
204,9654,092.4804-4,042-4,914.5196-872.51961-44.876207-54.563335
20.45,024.44,174.4298-3,982.6-4,832.5702-849.97018-44.21672-53.653494
20.85,083.84,256.3792-3,923.2-4,750.6208-827.42075-43.557233-52.743652
21.25,143.24,338.3287-3,863.8-4,668.6713-804.87133-42.897746-51.833811
21.65,202.64,420.2781-3,804.4-4,586.7219-782.3219-42.238259-50.923969
225,2624,502.2275-3,745-4,504.7725-759.77247-41.578772-50.014128
22.45,321.44,584.177-3,685.6-4,422.823-737.22304-40.919285-49.104286
22.85,380.84,666.1264-3,626.2-4,340.8736-714.67361-40.259798-48.194444
23.25,440.24,748.0758-3,566.8-4,258.9242-692.12419-39.600311-47.284603
23.65,499.64,830.0252-3,507.4-4,176.9748-669.57476-38.940824-46.374761
245,5594,911.9747-3,448-4,095.0253-647.02533-38.281337-45.46492
24.45,618.44,993.9241-3,388.6-4,013.0759-624.4759-37.62185-44.555078
24.85,677.85,075.8735-3,329.2-3,931.1265-601.92647-36.962363-43.645237
25.25,737.25,157.823-3,269.8-3,849.177-579.37705-36.302876-42.735395
25.65,796.65,239.7724-3,210.4-3,767.2276-556.82762-35.643388-41.825554
265,8565,321.7218-3,151-3,685.2782-534.27819-34.983901-40.915712
26.45,915.45,403.6712-3,091.6-3,603.3288-511.72876-34.324414-40.005871
26.85,974.85,485.6207-3,032.2-3,521.3793-489.17933-33.664927-39.096029
27.26,034.25,567.5701-2,972.8-3,439.4299-466.62991-33.00544-38.186187
27.66,093.65,649.5195-2,913.4-3,357.4805-444.08048-32.345953-37.276346
286,1535,731.469-2,854-3,275.5311-421.53105-31.686466-36.366504
28.46,212.45,813.4184-2,794.6-3,193.5816-398.98162-31.026979-35.456663
28.86,271.85,895.3678-2,735.2-3,111.6322-376.43219-30.367492-34.546821
29.26,331.25,977.3172-2,675.8-3,029.6828-353.88277-29.708005-33.63698
29.66,390.66,059.2667-2,616.4-2,947.7333-331.33334-29.048518-32.727138
306,4506,141.2161-2,557-2,865.7839-308.78391-28.389031-31.817297
30.46,509.46,223.1655-2,497.6-2,783.8345-286.23448-27.729544-30.907455
30.86,568.86,305.1149-2,438.2-2,701.8851-263.68505-27.070057-29.997614
31.26,628.26,387.0644-2,378.8-2,619.9356-241.13563-26.41057-29.087772
31.66,687.66,469.0138-2,319.4-2,537.9862-218.5862-25.751082-28.17793
326,7476,550.9632-2,260-2,456.0368-196.03677-25.091595-27.268089
32.46,806.46,632.9127-2,200.6-2,374.0873-173.48734-24.432108-26.358247
32.86,865.86,714.8621-2,141.2-2,292.1379-150.93791-23.772621-25.448406
33.26,925.26,796.8115-2,081.8-2,210.1885-128.38849-23.113134-24.538564
33.66,984.66,878.7609-2,022.4-2,128.2391-105.83906-22.453647-23.628723
347,0446,960.7104-1,963-2,046.2896-83.28963-21.79416-22.718881
34.47,103.47,042.6598-1,903.6-1,964.3402-60.740202-21.134673-21.80904
34.87,162.87,124.6092-1,844.2-1,882.3908-38.190774-20.475186-20.899198
35.27,222.27,206.5587-1,784.8-1,800.4413-15.641346-19.815699-19.989357
35.4774597,263.40267,263.4026-1,743.5974-1,743.59740-19.358248-19.358248
35.67,281.67,288.5081-1,725.4-1,718.49196.908082-19.156212-19.079515
367,3417,370.4575-1,666-1,636.542529.45751-18.496725-18.169673
36.47,400.47,452.4069-1,606.6-1,554.593152.006938-17.837238-17.259832
36.87,459.87,534.3564-1,547.2-1,472.643674.556366-17.177751-16.34999
37.27,519.27,616.3058-1,487.8-1,390.694297.105794-16.518264-15.440149
37.67,578.67,698.2552-1,428.4-1,308.7448119.65522-15.858777-14.530307
387,6387,780.2047-1,369-1,226.7954142.20465-15.199289-13.620466
38.47,697.47,862.1541-1,309.6-1,144.8459164.75408-14.539802-12.710624
38.87,756.87,944.1035-1,250.2-1,062.8965187.30351-13.880315-11.800783
39.27,816.28,026.0529-1,190.8-980.94707209.85293-13.220828-10.890941
39.67,875.68,108.0024-1,131.4-898.99764232.40236-12.561341-9.9810996
407,9358,189.9518-1,072-817.04821254.95179-11.901854-9.071258
40.47,994.48,271.9012-1,012.6-735.09878277.50122-11.242367-8.1614165
40.88,053.88,353.8506-953.2-653.14935300.05065-10.58288-7.2515749
41.28,113.28,435.8001-893.8-571.19993322.60007-9.9233929-6.3417334
41.68,172.68,517.7495-834.4-489.2505345.1495-9.2639059-5.4318918
428,2328,599.6989-775-407.30107367.69893-8.6044188-4.5220503
42.48,291.48,681.6484-715.6-325.35164390.24836-7.9449317-3.6122087
42.88,350.88,763.5978-656.2-243.40221412.79779-7.2854447-2.7023672
43.28,410.28,845.5472-596.8-161.45279435.34721-6.6259576-1.7925257
43.68,469.68,927.4966-537.4-79.503358457.89664-5.9664705-0.88268411
43.9880618,527.2279,007-479.7730479.773-5.32666820
448,5299,009.4461-4782.44607480.44607-5.30698350.027157433
44.48,588.49,091.3955-418.684.395498502.9955-4.64749640.93699898
44.88,647.89,173.3449-359.2166.34493525.54493-3.98800931.8468405
45.28,707.29,255.2944-299.8248.29435548.09435-3.32852232.7566821
45.68,766.69,337.2438-240.4330.24378570.64378-2.66903523.6665236
468,8269,419.1932-181412.19321593.19321-2.00954814.5763652
46.48,885.49,501.1426-121.6494.14264615.74264-1.35006115.4862067
46.88,944.89,583.0921-62.2576.09207638.29207-0.6905746.3960483
47.29,004.29,665.0415-2.8658.04149660.84149-0.0310869327.3058898
47.2188559,0079,668.90440661.90443661.9044307.348778
47.69,063.69,746.990956.6739.99092683.390920.628400138.2157313
489,1239,828.9404116821.94035705.940351.28788729.1255729
48.49,182.49,910.8898175.4903.88978728.489781.947374310.035414
48.89,241.89,992.8392234.8985.83921751.039212.606861310.945256
49.29,301.210,074.789294.21,067.7886773.588633.266348411.855098
49.69,360.610,156.738353.61,149.7381796.138063.925835512.764939
509,42010,238.6874131,231.6875818.687494.585322513.674781
50.49,479.410,320.637472.41,313.6369841.236925.244809614.584622
50.89,538.810,402.586531.81,395.5863863.786355.904296715.494464
51.29,598.210,484.536591.21,477.5358886.335776.563783716.404305
51.69,657.610,566.485650.61,559.4852908.88527.223270817.314147
529,71710,648.4357101,641.4346931.434637.882757918.223988
52.49,776.410,730.384769.41,723.3841953.984068.542244919.13383
52.89,835.810,812.333828.81,805.3335976.533499.20173220.043671
53.29,895.210,894.283888.21,887.2829999.082919.861219120.953513
53.69,954.610,976.232947.61,969.23231,021.632310.52070621.863355
5410,01411,058.1821,0072,051.18181,044.181811.18019322.773196
54.410,073.411,140.1311,066.42,133.13121,066.731211.8396823.683038
54.810,132.811,222.0811,125.82,215.08061,089.280612.49916724.592879
55.210,192.211,304.031,185.22,297.03011,111.830113.15865425.502721
55.610,251.611,385.9791,244.62,378.97951,134.379513.81814126.412562
5610,31111,467.9291,3042,460.92891,156.928914.47762927.322404
56.410,370.411,549.8781,363.42,542.87831,179.478315.13711628.232245
56.810,429.811,631.8281,422.82,624.82781,202.027815.79660329.142087
57.210,489.211,713.7771,482.22,706.77721,224.577216.4560930.051928
57.610,548.611,795.7271,541.62,788.72661,247.126617.11557730.96177
5810,60811,877.6761,6012,870.67611,269.676117.77506431.871612
58.410,667.411,959.6251,660.42,952.62551,292.225518.43455132.781453
58.810,726.812,041.5751,719.83,034.57491,314.774919.09403833.691295
59.210,786.212,123.5241,779.23,116.52431,337.324319.75352534.601136
59.610,845.612,205.4741,838.63,198.47381,359.873820.41301235.510978
6010,90512,287.4231,8983,280.42321,382.423221.07249936.420819
60.410,964.412,369.3731,957.43,362.37261,404.972621.73198637.330661
60.811,023.812,451.3222,016.83,444.3221,427.52222.39147338.240502
61.211,083.212,533.2712,076.23,526.27151,450.071523.0509639.150344
61.611,142.612,615.2212,135.63,608.22091,472.620923.71044740.060185
6211,20212,697.172,1953,690.17031,495.170324.36993440.970027
62.411,261.412,779.122,254.43,772.11981,517.719825.02942241.879869
62.811,320.812,861.0692,313.83,854.06921,540.269225.68890942.78971
63.211,380.212,943.0192,373.23,936.01861,562.818626.34839643.699552
63.611,439.613,024.9682,432.64,017.9681,585.36827.00788344.609393
6411,49913,106.9172,4924,099.91751,607.917527.6673745.519235
64.411,558.413,188.8672,551.44,181.86691,630.466928.32685746.429076
64.811,617.813,270.8162,610.84,263.81631,653.016328.98634447.338918
65.211,677.213,352.7662,670.24,345.76581,675.565829.64583148.248759
65.611,736.613,434.7152,729.64,427.71521,698.115230.30531849.158601
6611,79613,516.6652,7894,509.66461,720.664630.96480550.068442
66.411,855.413,598.6142,848.44,591.6141,743.21431.62429250.978284
66.811,914.813,680.5632,907.84,673.56351,765.763532.28377951.888126
67.211,974.213,762.5132,967.24,755.51291,788.312932.94326652.797967
67.612,033.613,844.4623,026.64,837.46231,810.862333.60275353.707809
6812,09313,926.4123,0864,919.41181,833.411834.2622454.61765
68.412,152.414,008.3613,145.45,001.36121,855.961234.92172855.527492
68.812,211.814,090.3113,204.85,083.31061,878.510635.58121556.437333
69.212,271.214,172.263,264.25,165.261,901.0636.24070257.347175
69.612,330.614,254.2093,323.65,247.20951,923.609536.90018958.257016
7012,39014,336.1593,3835,329.15891,946.158937.55967659.166858
70.412,449.414,418.1083,442.45,411.10831,968.708338.21916360.076699
70.812,508.814,500.0583,501.85,493.05771,991.257738.8786560.986541
71.212,568.214,582.0073,561.25,575.00722,013.807239.53813761.896383
71.612,627.614,663.9573,620.65,656.95662,036.356640.19762462.806224
7212,68714,745.9063,6805,738.9062,058.90640.85711163.716066
72.412,746.414,827.8553,739.45,820.85552,081.455541.51659864.625907
72.812,805.814,909.8053,798.85,902.80492,104.004942.17608565.535749
73.212,865.214,991.7543,858.25,984.75432,126.554342.83557266.44559
73.612,924.615,073.7043,917.66,066.70372,149.103743.49505967.355432
7412,98415,155.6533,9776,148.65322,171.653244.15454668.265273
74.413,043.415,237.6034,036.46,230.60262,194.202644.81403469.175115
74.813,102.815,319.5524,095.86,312.5522,216.75245.47352170.084956
75.213,162.215,401.5014,155.26,394.50152,239.301546.13300870.994798
75.613,221.615,483.4514,214.66,476.45092,261.850946.79249571.90464
7613,28115,565.44,2746,558.40032,284.400347.45198272.814481
76.413,340.415,647.354,333.46,640.34972,306.949748.11146973.724323
76.813,399.815,729.2994,392.86,722.29922,329.499248.77095674.634164
77.213,459.215,811.2494,452.26,804.24862,352.048649.43044375.544006
77.613,518.615,893.1984,511.66,886.1982,374.59850.0899376.453847
7813,57815,975.1474,5716,968.14752,397.147550.74941777.363689
78.413,637.416,057.0974,630.47,050.09692,419.696951.40890478.27353
78.813,696.816,139.0464,689.87,132.04632,442.246352.06839179.183372
79.213,756.216,220.9964,749.27,213.99572,464.795752.72787880.093213
79.613,815.616,302.9454,808.67,295.94522,487.345253.38736581.003055
8013,87516,384.8954,8687,377.89462,509.894654.04685281.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.

USD per share · top 50.05 · bottom 0
Cumulative average cost by purchase order; values and names are listed in the acquisition ledger.
Purchase 1Purchase 2
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
All historical lots remain held. Amounts USD, averages USD/share. Exact fractions are shown beneath rounded values.
PurchaseSharesPricePurchase feesLot outlayCumulative sharesCumulative outlayCumulative average
First purchase100
100/1
50
50/1
5
5/1
5,005
5005/1
100
100/1
5,005
5005/1
50.05
1001/20
Second purchase50
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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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