Multiple Stock Sales Calculator — Free Online | EverydayCalcSkip to main content
everydaycalc.

Find calculators and file viewers

Press Esc to close · / or Ctrl+K to open

Home›Stocks & Investing›Multiple Stock Sales Calculator
Stocks & Investing

Multiple Stock Sales Calculator

Calculate realized profit and remaining shares after up to three staggered sales, using one average-cost basis and explicit sale fees.

✦ INSTANT CALCULATION

Multiple Stock Sales Calculator

YOUR RESULT
—
My saved calculations

Save a calculation with a title and note. Nothing is saved until you choose Save.

Saved calculations ↗

Only this browser on this device. Clearing site data will remove saved calculations. Export a backup to keep or move your records.

Excel, CSV, and TXT are readable exports. Only JSON can restore saved inputs, notes and A/B comparison in EverydayCalc.

JSON backups may contain personal or health information. Store them privately.

ⓘ Estimates only — not financial advice. Results depend on the values and units you enter.

Engine-verified calculation

Finance decision diagnostics

Additional domain checks derived from your calculated result.

Fraction of holdings sold—
Remaining cost basis—

Figures reflect your entered assumptions and denominated amounts. No market forecasts, jurisdictional tax rules or investment advice.

Verified financial series

Engine-backed charts from your current inputs.

Verified financial seriesAll figures are conditional calculations, not forecasts, trading advice or jurisdiction-specific tax estimates.
All figures are conditional calculations, not forecasts, trading advice or jurisdiction-specific tax estimates.
View exact chart values

All figures are conditional calculations, not forecasts, trading advice or jurisdiction-specific tax estimates.

What changes if one input changes?

45,000: 1,625,000 KRW · 50,000: 1,000,000 KRW · 55,000: 375,000 KRW

How this calculator works

Total shares sold = sum of sale-round quantities, which may not exceed shares originally held. Total gross proceeds = sum of sold shares × their selling prices. Deduct the entered percentage sale commission and sale-side transaction tax, then deduct sold shares × your original average acquisition cost. The result is realized profit (or loss). Remaining cost basis = unsold shares × that same average cost. This illustrates average-cost accounting only; brokers and tax jurisdictions may require FIFO or lot-specific reporting, and personal capital gains tax is not included. A zero-share sale round is ignored.

Formula and reasoning

G = Σ(nᵢPᵢ)×(1−f_s/100−t/100) − Σ(nᵢ)×P_avg

  1. 1. Start with the measurements
    Shares sold in round 150Sale price in round 155000Shares sold in round 275Sale price in round 260000Shares sold in round 30Sale price in round 365000Average acquisition cost per share50000Sell commission (%)0Sell transaction tax (%)0
  2. 2. Substitute into the formula

    Shares sold in round 1 = 50 ? Sale price in round 1 = 55000 ? Shares sold in round 2 = 75 ? Sale price in round 2 = 60000 ? Shares sold in round 3 = 0 ? Sale price in round 3 = 65000 ? Average acquisition cost per share = 50000 ? Sell commission (%) = 0 ? Sell transaction tax (%) = 0

  3. 3. Check the computed answer

    Result for the sample inputs1,000,000 KRW

Worked example

Holding 200 shares at average cost 50,000, then selling 50 at 55,000 and 75 at 60,000 with zero sale fees, realizes 1,000,000 in profit. The remaining 75 shares carry 3,750,000 in average-cost basis.

Frequently asked questions

Does this use FIFO tax lots?

No. It uses one average acquisition cost for each sold share. Consult your broker for actual tax-lot accounting.

What happens if I try to sell more than I own?

The calculator stops with an input error instead of reporting a misleading profit.

Results are informational and assume the stated inputs and formulas. Double-check critical financial or engineering decisions with a qualified professional.

Add this calculator to your website

Share a working calculator on your blog or website. Choose a fixed size or let the height fit the content.

Fixed height

Works on websites that accept iframe HTML.

Responsive height

Automatically adjusts the height. Your website must allow scripts.

Open calculator preview ↗

Powered by EverydayCalc