Portfolio rebalancing calculator

Compare current holdings with your target allocation. Calculate buys and sells, or allocate new money without selling, with a separate fee reserve.

Inputs

Hypothetical example. Replace these inputs with your own.

Rebalancing mode
Asset 1

Select an identity to inspect stored references. Example numbers remain hypothetical until you explicitly apply values. Stored references are disabled on this site. Enter prices and supply manually.

Asset 2

Select an identity to inspect stored references. Example numbers remain hypothetical until you explicitly apply values. Stored references are disabled on this site. Enter prices and supply manually.

Result

Calculation result

Example result

Starting holdings value
1,000 USD
New cash contribution
100 USD
Cash set aside as fee reserve
10 USD
Modeled holdings after allocation
1,090 USD
Total planned buys
345 USD
Total planned sells
255 USD
Largest absolute target drift
0 percentage points
  • Estimates before exchange lot sizes and actual costs. The fee reserve remains outside modeled holdings as cash set aside, not an expense or a charged fee.
  • Targets are normalized to total 100%. Include cash as an asset row at price 1 if cash itself has a target weight. This is a one-time allocation plan, not a portfolio ledger, order or target recommendation.
Calculation breakdown
AssetCurrent value · USDCurrent weight · %Normalized target weight · %Target value · USDBuy / sell value · USDUnits change · unitsFinal quantity · unitsFinal value · USDFinal weight · %Target drift · percentage points
Asset A8008050545-255-2.555.45545500
Asset B20020505453453.455.45545500

Saved scenarios

Save inputs on this device. Prices and balances stay out of the URL. For DCA, journal and correlation scenarios, provide the matching CSV again to calculate.

Saving requires browser storage and Web Locks.

Formula and worked example

Target holdings total = current portfolio + contribution − cash reserve. Full rebalancing buys or sells to each normalized target. Contribute-only allocates new investable cash in proportion to positive deficits, without selling. Reserve stays outside holdings and is not an assumed expense.

Hypothetical example: $800 in A and $200 in B, with $100 new cash and $10 reserve, leave $1,090 to allocate. At 50/50 targets, sell $255 of A and buy $345 of B. Contribute-only buys $90 of B and leaves weights about 73.3945%/26.6055%. Estimates exclude exchange lot sizes, actual costs and taxes.

These estimates use bounded decimal arithmetic. They are scenario calculations, not trading instructions or forecasts.

Methodology sources: Portfolio holdings and costs

How to use this tool

Enter holdings and target weights, then choose full or contribution-only rebalancing. Keep new contributions separate from the cash you want to reserve.

Why can contribution-only mode leave the portfolio off target?

New money may be too small to reach the supplied weights without selling an overweight holding. The result shows the remaining difference.

This website is developed by Zack White and Vincent Hale.