Money & investing

Portfolio rebalance trades with cash contribution calculator

Rebalancing after a contribution differs from simply trading the current portfolio back to target percentages.

Your numbers

Use the stated row format and consistent units. Enter explicit zeros where needed; do not use thousands separators, quoted cells or commas in names.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Try it, understand it

Explore the result

Rebalancing after a contribution differs from simply trading the current portfolio back to target percentages. The new cash changes the total value to which every target weight applies.

Worked example comparison
ExampleOutputWhat to notice
Worked exampleTotal purchases under exact value rebalancing150 currency unitsCurrent values six hundred and four hundred total one thousand. Adding one hundred makes the target portfolio eleven hundred. At fifty percent each, both targets are five hundred fifty. The first asset sells fifty and the second buys one hundred fifty. Net purchases are one hundred, exactly matching the cash contribution; applying targets to the old total would miss that cash allocation.
Compare a changed assumptionTotal purchases under exact value rebalancing1,000 currency unitsAdd more cash and inspect when the overweight asset can be left unsold.

Check your understanding

Why can there be sales even when new cash is added?

A sufficiently overweight asset can still exceed its target share of the enlarged portfolio.

Predict the comparison before running it

Add more cash and inspect when the overweight asset can be left unsold.

Behind the numbers

How this calculation works

Rebalancing after a contribution differs from simply trading the current portfolio back to target percentages. The new cash changes the total value to which every target weight applies. This page calculates exact value purchases and sales for user-selected targets. It shows both sides of the trade plan and verifies that net purchases equal the external cash change.

THE FORMULATarget value = (sum current values + external cash) × target weight; trade = target − current

A worked example

Current values six hundred and four hundred total one thousand. Adding one hundred makes the target portfolio eleven hundred. At fifty percent each, both targets are five hundred fifty. The first asset sells fifty and the second buys one hundred fifty. Net purchases are one hundred, exactly matching the cash contribution; applying targets to the old total would miss that cash allocation.

Good to know

No market prices, integer share rounding, transaction fees, tax lots or capital-gains taxes are included. Those constraints can prevent an actual order list from matching the exact value solution. Target weights remain user assumptions. The page does not optimize an allocation, forecast returns or recommend a trade; it reconciles the arithmetic of the stated scenario.

What this calculation answers

Rebalancing after a contribution differs from simply trading the current portfolio back to target percentages. The new cash changes the total value to which every target weight applies.

This page calculates exact value purchases and sales for user-selected targets. It shows both sides of the trade plan and verifies that net purchases equal the external cash change.

The Portfolio covariance risk and component contributions calculator evaluates a separate risk model. Target weights in this rebalance are entered choices, not an optimized allocation derived from that risk calculation.

Use the right input conventions

Enter every included asset’s current value and target percentage using one currency. Target weights must sum to one hundred percent. A negative cash entry represents a withdrawal rather than a short position.

The model is long only and the withdrawal cannot exceed the complete entered portfolio. Values and trades are fractional currency amounts, not rounded share orders or executable instructions.

Interpret the result

A positive signed trade is a purchase and a negative trade a sale. Total purchases minus total sales must equal the contribution, or the negative withdrawal amount. That conservation check catches inconsistent target arithmetic.

An asset with target weight zero is fully sold in this model. The tool does not infer whether a zero target is suitable or account for the consequences of selling it.

Work through the example

Current values six hundred and four hundred total one thousand. Adding one hundred makes the target portfolio eleven hundred. At fifty percent each, both targets are five hundred fifty.

The first asset sells fifty and the second buys one hundred fifty. Net purchases are one hundred, exactly matching the cash contribution; applying targets to the old total would miss that cash allocation.

Where the model stops

No market prices, integer share rounding, transaction fees, tax lots or capital-gains taxes are included. Those constraints can prevent an actual order list from matching the exact value solution.

Target weights remain user assumptions. The page does not optimize an allocation, forecast returns or recommend a trade; it reconciles the arithmetic of the stated scenario.

A few questions, answered

Why can there be sales even when new cash is added?

A sufficiently overweight asset can still exceed its target share of the enlarged portfolio.

What changes in the comparison?

Add more cash and inspect when the overweight asset can be left unsold.

Find your calculator

Start typing to explore the library.