Home › Calculators › Portfolio Rebalancing Calculator

Portfolio Rebalancing Calculator

List your holdings with their current value and target percentage, optionally add new cash, and get the exact amount to buy or sell in each one to get back to your target asset allocation. A buy-only mode invests new money without selling anything.

Last updated:

$

Use a negative number for a withdrawal.

pts

Flag holdings this many points away from target.

Method
Enter your values to see the result.
Advertisement
Advertisement

How to use the Portfolio Rebalancing Calculator

  1. Type each holding on its own line: name, current value, target % (targets must add up to 100).
  2. Add new cash you plan to invest, or a negative amount for a withdrawal.
  3. Choose the method: full rebalance (buys and sells) or buy only with the new cash.
  4. Optionally set a band, such as 5 points, to see which holdings are far enough off target to act on.
  5. Follow the action column in the plan, then copy it or download it as CSV.

Rebalancing formulas

  • Total = sum of current values + new cash (or − withdrawal)
  • Current % = holding value ÷ current portfolio value × 100
  • Drift = current % − target % (percentage points)
  • Target value = total × target % ÷ 100
  • Trade = target value − current value (positive = buy, negative = sell)
  • Buy only: buyi = new cash × gapi ÷ sum of gaps, where gapi = max(0, target value − current value)

Example: a $100,000 portfolio with stocks at $72,000 and bonds at $28,000 and a 60/40 target. Stocks should be $60,000, so sell $12,000; bonds should be $40,000, so buy $12,000.

Common target allocations

PortfolioStocksBondsTypical use
Aggressive90%10%Long horizon, high risk tolerance
Growth80%20%Long horizon
Balanced (classic 60/40)60%40%Moderate risk
Conservative40%60%Shorter horizon or lower risk
Income20%80%Capital preservation

These mixes are common illustrations, not recommendations. The right allocation depends on your goals, horizon and risk tolerance.

Frequently asked questions

How do you calculate how much to buy or sell to rebalance?

Add the new cash to your current total, multiply that total by each holding's target percentage to get its target value, then subtract the holding's current value. A positive result is the amount to buy; a negative result is the amount to sell.

What is portfolio drift?

Drift is the gap between a holding's current weight and its target weight, in percentage points. If stocks are meant to be 60% but have grown to 68%, they have drifted +8 points and the portfolio is riskier than planned.

How does buy-only rebalancing work?

Instead of selling winners, the new cash is split among underweight holdings in proportion to how far each one is below its target value. Nothing is sold, which can avoid taxes and trading costs. If the cash is not enough to close every gap, the portfolio moves closer to target but not all the way.

How often should I rebalance?

Common approaches are on a schedule (once or twice a year) or when a holding drifts beyond a band such as 5 percentage points. Rebalancing too often adds costs; rarely rebalancing lets risk creep away from your plan. The band field flags holdings past your threshold.

Does rebalancing have tax consequences?

Selling in a taxable account can realize capital gains. Many investors rebalance inside tax-advantaged accounts, direct new contributions and dividends to underweight assets, or use buy-only rebalancing to limit sales. Check the rules where you live.

Can I include cash or individual stocks?

Yes. Each line can be any holding: a fund, a stock, a bond ladder or a cash position. Just give each a target percentage so that all targets total 100%.

Is my portfolio data uploaded?

No. The calculation runs in your browser. Your inputs are only remembered in this browser so they are there next time.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Expense Ratio CalculatorSee how much fund fees cost over time and compare up to 3 expense ratios.Investment Return CalculatorProject investment growth with monthly contributions, nominal vs real after inflation.Stock Average CalculatorAverage cost of several stock buys, plus how many shares to buy to reach a target average.Sharpe Ratio CalculatorSharpe and Sortino ratios from a return and volatility, or from a list of returns.EMI CalculatorMonthly EMI, total interest and month-by-month schedule, reducing or flat rate.SIP CalculatorMaturity value, invested amount and returns of a monthly SIP, with optional annual step-up.Compound Interest CalculatorSee how savings and investments grow over time.401(k) CalculatorProject your 401(k) balance with employer match and growth.Retirement CalculatorProject retirement savings and see your shortfall or surplus.Savings Goal CalculatorMonthly deposit needed to reach a savings goal by a deadline.Inflation CalculatorValue of a dollar between any two years using US CPI data.CAGR CalculatorCompound annual growth rate, or solve for a target end value.FIRE CalculatorFind your FIRE number, years to financial independence and Coast FIRE target.Simple Interest CalculatorCalculate simple interest and final amount, or solve for principal, rate or time.APY CalculatorTurn an interest rate into APY and project savings growth with monthly deposits.CD CalculatorFind a CD's maturity value, interest earned, APY vs APR and early-withdrawal penalty.ROI CalculatorWork out ROI and annualized ROI, and compare up to three investments side by side.Dividend CalculatorProject dividend income with yield, dividend growth and DRIP reinvestment over time.Net Worth CalculatorList assets and debts by category to get your net worth, debt ratio, donut charts and history.Credit Card Interest CalculatorSee how long minimum payments take, the total interest and how much a fixed payment saves.EOQ CalculatorEconomic order quantity, orders per year, reorder point, safety stock and a total cost curve.Rental Yield CalculatorCalculate gross and net rental yield for a buy-to-let or rental property.Roth IRA CalculatorProject your Roth IRA balance at retirement with contribution limits, catch-up and growth.Present Value CalculatorFind what a future sum or a series of payments is worth today at a discount rate.Future Value CalculatorCalculate the future value of savings with compounding, regular payments and payment timing.NPV CalculatorCalculate net present value, PV table, profitability index and payback from cash flows.IRR CalculatorFind the internal rate of return of cash flows, with an NPV profile chart and optional MIRR.Rule of 72 CalculatorEstimate how long money takes to double with the rule of 72, 70 and 69.3 vs. the exact answer.Annuity CalculatorCalculate annuity payouts from a lump sum, or how an annuity grows with regular contributions.Savings CalculatorSee how savings grow with an initial deposit, monthly deposits and compound interest.Interest Rate CalculatorSolve a loan's interest rate (APR) from the amount, payment and term using Newton's method.Yield to Maturity CalculatorFind a bond's yield to maturity, current yield and yield to call from its price and coupon.Bond Price CalculatorPrice a bond from its coupon, yield and term, with premium or discount and a cash flow table.Position Size CalculatorHow many shares or units to trade so a stop-loss risks only a set share of your account.EPS CalculatorBasic and diluted earnings per share from net income, preferred dividends and share count.CAPM CalculatorExpected return from the risk-free rate, beta and market return using the CAPM formula.Effective Annual Rate CalculatorConvert a nominal rate to the effective annual rate (EAR / APY) for any compounding, or back.Dividend Reinvestment CalculatorProject a DRIP: portfolio value, shares and income with and without reinvesting dividends.Required Rate of Return CalculatorAnnual return needed to reach a savings goal from current savings, contributions and years.72(t) SEPP CalculatorPenalty-free early IRA payments under 72(t): RMD, amortization and annuitization methods.College Savings CalculatorProject future college costs and see how much you need to save each month to pay for them.Retirement Withdrawal CalculatorSee how many years your retirement savings last with withdrawals, returns and inflation.Daily Interest CalculatorInterest per day and total interest for any number of days, simple or compounded daily.Reorder Point CalculatorReorder point from daily demand, lead time and safety stock, with days until the next order.Zakat CalculatorCalculate 2.5% zakat on cash, gold, silver and investments against the gold or silver nisab.Cash on Cash Return CalculatorCash-on-cash return on a rental: yearly pre-tax cash flow divided by the cash you invested.Coast FIRE CalculatorCoast FIRE number today, whether you have reached it and how long until you can coast.Continuous Compound Interest CalculatorFuture value with A = Pe^rt and a comparison with annual, monthly and daily compounding.Email Marketing ROI CalculatorOpens, clicks, orders, revenue, ROI and revenue per email from your list and rates.401k Employer Match CalculatorWork out your 401k employer match, total contribution, vesting and match left on the table.Fibonacci Retracement CalculatorFibonacci retracement and extension price levels from a swing high and low.Pip Value CalculatorForex pip value per lot and for any number of pips, in your account currency.HSA CalculatorEstimate HSA tax savings and project your health savings account balance over time.Lump Sum vs Payments CalculatorCompare a lump sum with periodic payments: present value, best option and break-even rate.Millionaire CalculatorSee when your savings will reach $1 million or any goal, with inflation adjustment.Opportunity Cost CalculatorCompare buying now with investing the money: see the future value you give up.PPF CalculatorPPF maturity amount and interest for 15 years or with 5-year extensions, year by year.Recurring Deposit CalculatorRD maturity value and interest with quarterly compounding and a monthly breakdown.Real Rate of Return CalculatorInflation-adjusted and after-tax real return using the Fisher equation.Risk Reward Ratio CalculatorRisk, reward, R:R ratio and break-even win rate from entry, stop loss and take profit.Employee Stock Option CalculatorVested options, exercise cost, intrinsic value and potential gain from your grant.Stock Split CalculatorNew share count, price and cost basis after a forward or reverse stock split.SWP CalculatorSystematic withdrawal plan: yearly balance, total withdrawn and when the corpus runs out.Traditional vs Roth IRA CalculatorCompare the after-tax value of a Traditional and a Roth IRA and see which wins and by how much.Treasury Bill CalculatorT-bill price, discount rate, investment rate (bond equivalent yield) and interest earned.XIRR CalculatorAnnualized return (XIRR) for investments and withdrawals on irregular dates.Crypto ConverterConvert Bitcoin, Ethereum and top coins to USD, EUR and each other with live prices.Dividend Yield CalculatorFind a stock's dividend yield, yield on cost and the income your shares pay each year.
See all 127 Investing & Retirement Calculators →