Stock Average Cost Calculator|股票补仓成本计算器

股票补仓成本计算器 | Stock Average Cost Calculator

股票补仓成本计算器 Stock Average Cost Calculator

输入多次买入(补仓)记录,自动计算加权平均成本、总持仓与当前浮动盈亏比例。
Enter multiple buy trades to calculate weighted average cost, total shares, and unrealized P/L.

1. 输入参数 · Inputs
序号 No.
买入价 Price
股数 Shares
操作 Action
只支持“买入/补仓”的平均成本:每笔输入“成交价 + 股数”,工具会用“总成本 / 总股数”算加权平均成本。
Buy-only average cost: enter price + shares for each buy, the tool computes weighted average cost as total cost / total shares.

若你要把卖出也算进来(含已实现盈亏),需要不同模型(FIFO/LIFO/平均法),这里先保持简单与通用。
If you need to include sells (realized P/L), you’ll need FIFO/LIFO/average accounting. This tool keeps it simple.
留空也可以:仍会输出平均成本与持仓规模,只是不计算市价盈亏。
You can leave it empty: average cost and position size will still be calculated.
这里的“盈亏”是未实现盈亏(浮动盈亏),计算方式:
(当前价 − 平均成本) × 总股数。
P/L here is unrealized: (current price − avg cost) × total shares.
费率 % / Fee rate (%)
每笔固定 / Per trade
默认 0:不计手续费。若填写费率,则每笔成本 = 价格×股数×(1+费率)。若填写每笔固定费用,会在每笔成本上叠加。
Default 0: no fees. If rate is set, each trade cost = price×shares×(1+rate). If per-trade fee is set, it’s added per trade.
很多市场/券商的成本结构不同(佣金/平台费/印花税/交易征费等)。本工具提供两个最常见的简化项:
① 费率:按成交金额的百分比;② 每笔固定:每次交易固定收取。
Broker costs vary by market. This tool offers two common simplified inputs: rate and flat per-trade fee.
3. 使用说明 · Notes
  • 这是什么工具? / What is this tool?
    这是一个“补仓平均成本(加权平均)”计算器:你买入同一只股票/ETF 多次,价格不同、股数不同, 你的真实持仓成本不是简单平均,而是按股数加权后的平均成本。
    This calculator computes the weighted average cost across multiple buy trades. It is not a simple average of prices.
  • 平均成本怎么算? / How is average cost computed?
    每笔买入成本 = 买入价 × 股数(若填写手续费,会叠加费率与每笔固定费用)。
    总成本 = 所有买入成本之和;总股数 = 所有买入股数之和;平均成本 = 总成本 ÷ 总股数。
    Trade cost = price × shares (plus optional fees). Total cost = sum of trade costs. Avg cost = total cost ÷ total shares.
  • 为什么要看“当前价”? / Why enter current price?
    填写当前价后,你会得到:当前市值、浮动盈亏(未实现盈亏)与盈亏比例。
    这能帮助你快速回答:“我现在整体是赚还是亏?亏/赚了多少?”
    With current price, you get market value and unrealized P/L, answering: “Am I up or down overall, and by how much?”
  • 手续费要不要填? / Should I include fees?
    如果你的市场/券商交易成本明显(例如每笔固定佣金、平台费、或按成交金额收取比例费用),建议填写, 这样平均成本会更贴近真实。
    If your broker fees are material, include them for a more realistic average cost.
  • 常见误区 / Common pitfalls
    ① 把“均价”当成“简单平均”——这是最常见错误;真实均价必须加权。
    ② 忽略手续费——在频繁小额补仓时,手续费会显著抬高成本。
    ③ 把卖出也混进来——卖出会涉及持仓成本法(FIFO/LIFO/移动平均),需要另一个工具。
    1) Using simple average instead of weighted average. 2) Ignoring fees for frequent small trades. 3) Mixing sells into buy-only logic.
  • 如何用它做“补仓决策”? / How to use it for averaging down/up?
    你可以先填入已有持仓的买入记录,看到当前平均成本;然后“新增一笔假设买入”,看看新的平均成本会变成多少。
    这能让你提前评估:补仓后需要股价回到哪里才回本(接近新均价)。
    You can add a hypothetical new buy to preview how your avg cost changes and where your break-even level may be.

说明:本工具为教育与测算用途,默认只处理“买入/补仓”的加权平均成本,不包含卖出、分红再投、拆股合股、 融资利息、税务等复杂因素。结果不构成任何投资建议。
Note: Educational/estimation use only. Buy-trades only. It does not model sells, dividends reinvestment, splits, taxes, margin interest, etc. This is not investment advice.