LogoS&P 500 Investment Calculator
  • How it Works
  • Methodology
  • FAQs
  • Blog
Try Calculator

Portfolio Rebalancing Calculator

Enter your asset amounts, your own target weights and new cash. Compare an allocation that allows buys and sells with one that only adds new cash. The starting stock and bond amounts are an illustrative example, not a recommended portfolio.

Illustrative example — edit the inputs to explore your own assumptions.

Your inputs

Use 2–20 assets. Amounts must be from 0 to 1,000,000,000,000; weights from 0% to 100%. The weight sum must be within 0.01 percentage points of 100%; accepted weights are normalized to 100%. Names are optional labels, not securities selected by this tool.

Asset 1
Asset 2

Display symbol only. No exchange rates, FX fees or taxes are included.

Inputs stay in this page’s memory. They are not saved or added to the URL. Refreshing resets the form.

Calculation results

Last applied allocation: Allow buys and sells; new cash $0.00; display currency USD. Amounts are nominal at this allocation time, with no growth or inflation adjustment.

Current total
$10,000.00
New cash allocated
$0.00
Final total
$10,000.00

Positive amounts are buys; negative amounts are sells. Net trades equal new cash. Final weights may differ slightly from the targets after cent rounding. These amounts are a hypothetical calculation, not trade instructions.

Calculations use unrounded inputs. For the cent display, the current total and new cash are rounded separately; current row cents are reconciled to the rounded current total. Allocation residual cents go to the largest remaining target gap, with ties in row order. Final displayed amounts equal current displayed amounts plus allocated cents. Final weights and deviations use those displayed amounts; target amounts are references rounded independently. Fractional-cent inputs can therefore differ slightly from displayed amounts. N/A means a zero total has no defined weights or deviation; pp means percentage points.

Applied asset labels and allocation. Positive = buy or add; negative = sell. Target weights are normalized.
AssetCurrent amountCurrent weightTarget weightTarget amount (reference)Buy / sell / addFinal amountFinal weightFinal minus target (pp)
Stock$6,000.0060.00%60.00%$6,000.00$0.00$6,000.0060.00%0.00 pp
Bond$4,000.0040.00%40.00%$4,000.00$0.00$4,000.0040.00%0.00 pp

Results use the stated assumptions and model. They are educational, not financial advice or predictions.

Browse all calculators

How this allocation model works

Let V be the sum of current asset amounts and D the new cash. Normalize your accepted weights to sum to 1. Each target amount is weight × (V + D). In buy-and-sell mode, the unrounded trade is target amount minus current amount; the sum of trades is D.

In new-cash-only mode, calculate each positive gap as max(0, target amount − current amount). Allocate D in proportion to those gaps without selling. If all current assets are zero, allocate D by the normalized target weights. With no new cash, this mode makes no changes. A zero final total has no defined percentage allocation.

Example: Stock 8,000 and Bond 2,000, your targets 60% / 40%, and new cash 1,000. Allowing buys and sells gives targets 6,600 / 4,400 and trades −1,400 / +2,400. New cash only adds 0 / 1,000, leaving 8,000 / 3,000: about 72.73% / 27.27%, a deviation of +12.73 / −12.73 percentage points.

Hypothetical and educational only, not financial advice or a prediction. Targets are entirely yours; this tool does not recommend allocations, select assets or execute orders. It does not model taxes, fees, shares, prices, growth or inflation. Asset names and inputs remain in this page’s memory; refreshing restores the example.

FAQ

Does this calculator recommend a portfolio?

No. You supply all asset labels and target weights. The stock and bond example is editable and is not an allocation recommendation.

Will adding cash always reach my targets?

No. New cash only is split by positive target gaps. It cannot reduce an existing overweight holding by selling. Review final weights and the remaining deviation.

Are the results actual orders or saved holdings?

No. This is an amount-only model with no security prices, share quantities, taxes, fees or broker connection. Inputs are not saved or shared in a URL; refreshing restores the example.

Related calculators and methods

Review the assumptions and explore a separate question.

  • Compare investment fee assumptions
  • S&P 500 investment calculator
  • S&P 500 methodology and limitations
  • All calculators
Logo© 2026 All Rights Reserved.
Support the projectContactMethodologyCookiePrivacyTerms