Is weighted average cost a tax basis?
Not necessarily. Tax rules vary and this tool does not apply tax-lot law.
Finance Calculator
Calculate weighted average purchase cost across multiple stock-buy lots with fees and optional market value.
Calculator
The result is calculated from the values entered. Currency conversion pages may request ECB reference rates; other pages calculate locally.
The calculator combines multiple purchase lots into a weighted average purchase cost.
Enter the assumptions, add rows where the page supports them, choose Calculate, then review the result card, detailed table, visual comparison and CSV export.
Weighted average cost = total lot cost / total shares. Unrealized return = (market value - total cost) / total cost x 100.
Each lot includes shares, purchase price and fees. Current market price is optional for unrealized result context.
FIFO, LIFO and jurisdiction-specific tax-lot rules are not applied.
Sales are not included.
Calculate each lot cost.
Sum shares, gross purchases and fees.
Divide total cost by total shares.
Compare against optional current market value.
The weighted average purchase cost is a planning metric, not automatically a legal tax basis.
100 shares at 50 plus 10 fee and 50 shares at 40 plus 5 fee gives 150 shares, 7,015 total cost and 46.766667 weighted average cost.
The tool excludes sales, taxes, wash sale rules, corporate actions and live quotes.
NexaCalc does not ask for account numbers, bank credentials, saved portfolios or authentication for these tools. Currency pages may request a public ECB reference-rate file from the server-side adapter.
This calculator provides mathematical estimates for general education and planning. It is not financial, lending, employment, tax, investment or trading advice.
Not necessarily. Tax rules vary and this tool does not apply tax-lot law.
The engine supports up to 100 purchase lots.
No. It is a deterministic calculator for education and planning, not financial, lending, employment, tax, investment or trading advice.
No. The page does not create accounts or store debt, salary, budget, currency or stock inputs as saved plans.
Actual agreements, rates, fees, dates, taxes, provider rules, payroll rules and market prices can differ from the simplified assumptions entered.
Yes. Pages with schedules or tables offer CSV export from the displayed calculation rows.
The shared engine uses Decimal.js for financial math and rounds values only for display and export.
No. Phase 4 intentionally excludes income tax, capital-gains tax, withholding tax and jurisdiction-specific deductions.
Finance Phase 4 references and formula families reviewed on June 23, 2026.
This calculator provides mathematical estimates for general education and planning. It is not financial, lending, employment, tax, investment or trading advice.
Stock prices, fees and dividends can change. Results do not include tax and are not a recommendation to buy, hold or sell an investment.