We use cookies to keep you signed in. Cookie policy
We use cookies
CalculatorAI uses cookies to keep you signed in and remember your preferences. Optional cookies help us understand how the site is used. Cookie policy
Weighted Cost Basis & DCA
Average Buy Price
Unrealized P&L: +$32,500.00 (+16.67%)
Invested vs Current Value
Drop in a paystub, bank statement or screenshot — the AI reads it and fills these fields for you.
Portfolio Tracker is where this stops being a one-off number: keep your real balances there and the projection updates itself.
Describe an invoice and the AI writes it. PDF without watermarks, free.
Average buy price is useful when you keep adding to the same position and want one clean entry number. It is especially helpful for recurring buys and dollar-cost averaging, but tax reporting rules can be stricter than a simple weighted average.
The IRS says basis generally starts with what you paid and can include commissions and transfer fees. That matters if you want the number to match realized gain reporting. See IRS Topic 703.
For ordinary stocks bought at different times, you may need specific identification or FIFO instead of a simple average. The IRS stock basis FAQ explains the distinction.
Current price does not change your average cost. It only changes unrealized profit or loss. Keep those two ideas separate when evaluating whether to add, trim, or hold.
Use this calculator to understand your blended entry and live P&L. Use broker records and tax rules when you need an official basis method.
How-to guides that use this tool