Portfolio Rebalancing Calculator
Enter what each holding is worth today and the percentage it should be. Get the exact trades that restore your target mix, and a buy-only plan that places new cash where it corrects the most drift without selling anything.
Drift is a decision you did not make
Nobody chooses an 80% stock portfolio by accident in a single day. They choose 60%, markets move, and a few years later the portfolio they actually own is a different, riskier one than the portfolio they picked. Investor.gov, the SEC's investor site, uses almost exactly that example: a stock allocation set at 60% can reach 80% after a strong market run, at which point the investor is carrying equity risk they never signed up for, and a market fall lands on a much larger share of their savings than planned. Rebalancing is the correction: returning each category to its target share, on purpose, before the drift makes the decision for you.
The arithmetic is simple enough that the real questions are procedural. Should you sell the overweight holding, or steer new money to the underweight ones? How far out of line justifies acting at all, given that trading can cost fees and, in a taxable account, realize capital gains? This calculator answers the arithmetic half completely: the exact trades for a full rebalance, and the exact placement of any new cash for the no-sale route, including an honest statement of how far the no-sale route gets when the cash is not enough to finish the job.
The Rebalancing Formulas
The trade list is measured against today's total, so the buys and sells sum to zero. The buy-only plan measures shortfalls against the total after the new cash arrives, because that is the portfolio the cash joins. If the new cash cannot cover every shortfall, it is split in proportion to them, so each underweight holding closes the same fraction of its gap. If the cash more than covers the shortfalls, the remainder is spread by target percentage. Targets must add to 100%, because each one is a share of the same whole.
Worked Example: A $100,000 Portfolio That Drifted to 52% Stocks
The calculator's default inputs. Four holdings worth $100,000 in total, against targets of 50% US stocks, 30% bonds, 10% international stocks, and 10% cash, with $12,000 of new cash available. Every figure is simple arithmetic on those inputs, reproducible on the tool above.
Three ways back to target
Investor.gov lists three ways to rebalance, and the right one is usually decided by cost rather than by math, since all three aim at the same target mix. Sell and buy: sell the overweight categories and use the proceeds to buy the underweight ones. This finishes the job in one step, at any drift size, and is the only route that can. Its costs are transaction fees where they apply and, in a taxable account, capital gains realized on the sales. Buy with new money: direct savings, dividends, or a windfall at the underweight side, as the buy-only plan on this page lays out. No sales, no realized gains, but the correction is limited by how much cash is arriving relative to the drift. Redirect contributions: if you invest every month, point the whole contribution at the underweight holdings until the mix restores itself. The slowest route, and for a portfolio with regular contributions often the only one ever needed, because the drift of a few points is smaller than a year of contributions aimed deliberately.
Whichever route you use, Investor.gov's caution applies before the trade, not after: check whether the method you chose triggers fees or tax consequences, and weigh them against the size of the drift you are correcting. Rebalancing a portfolio that is one point out of line, at the cost of a taxable sale, is precision purchased too dearly. A portfolio ten points out of line is a different risk position than the one you chose, and correcting it is worth a modest cost.
How to use this calculator well
Aggregate before you enter. The four rows are categories, not individual funds: if three accounts each hold a US stock fund, their combined value is the US stocks row, because the allocation you chose describes the whole portfolio, not each account separately. Work out where rebalancing is cheapest first: sales inside tax-advantaged accounts realize no tax, so a portfolio can often be corrected almost entirely inside one account while the others are left untouched. Set your rule in advance, on the calendar or on a drift threshold such as five percentage points, and then let the rule, not the headlines, tell you when to open this page.
Frequently Asked Questions
What is rebalancing?
How often should I rebalance?
What is buy-only rebalancing?
Does rebalancing increase returns?
What does rebalancing cost?
Why must my targets add to 100%?
The Mechanics of Digital Tools
In the modern web ecosystem, digital utilities rely on client-side JavaScript execution to deliver immediate results without requiring a server round-trip. This means the calculations happen directly within your browser, ensuring maximum privacy and zero latency. The architecture of this tool is built on strict type-checking and robust error handling to guarantee the integrity of the output.
Ensuring Data Accuracy and Privacy
When utilizing online tools, data privacy is paramount. Because this calculation is processed entirely on your local device, none of the inputs you provide are stored, transmitted, or analyzed by third-party servers. You can use this utility with the confidence that your personal data remains strictly confidential.
The Evolution of Utility Applications
Here is the thing: the internet has democratized access to complex problem-solving. Tasks that once required specialized software or tedious manual reference charts can now be accomplished instantly through streamlined web interfaces. This tool represents a commitment to providing high-quality, accessible utilities that solve specific problems efficiently.
Best Practices for Utilizing This Tool
To get the most accurate result, ensure that all input parameters are entered correctly and in the requested format. Pay attention to the units of measurement required by the fields. If you are using this output for professional or official purposes, it is always recommended to verify the result through a secondary method.
Frequently Asked Questions
How accurate is the Portfolio Rebalancing Calculator?
Is my data stored or tracked?
How frequently is this tool updated?
Sources & Citations
- Standard Mathematical Algorithms - IEEE Computation Standards
- Data Integrity & Local Processing Guidelines - W3C
- General Mathematical Verification - National Institute of Standards and Technology (NIST)
Finance Editorial Desk
Financial Calculator Research | Formula review, Public-source data checks
“The finance desk maintains mortgage, tax, retirement, loan, and investment calculators using documented formulas, public agency references, and repeatable test cases. These tools provide educational estimates, not personalized financial advice.”
Deep Dive: Understanding the Portfolio Rebalancing Calculator
Enter current holding values and target percentages to get exact buy and sell amounts, plus a buy-only plan for placing new cash without selling. Here is how it works and why this specific computation is critical for your larger goals.
The Mechanics of Digital Tools
In the modern web ecosystem, digital utilities rely on client-side JavaScript execution to deliver immediate results without requiring a server round-trip. This means the calculations happen directly within your browser, ensuring maximum privacy and zero latency. The architecture of this tool is built on strict type-checking and robust error handling to guarantee the integrity of the output.
Ensuring Data Accuracy and Privacy
When utilizing online tools, data privacy is paramount. Because this calculation is processed entirely on your local device, none of the inputs you provide are stored, transmitted, or analyzed by third-party servers. You can use this utility with the confidence that your personal data remains strictly confidential.
The Evolution of Utility Applications
Here is the thing: the internet has democratized access to complex problem-solving. Tasks that once required specialized software or tedious manual reference charts can now be accomplished instantly through streamlined web interfaces. This tool represents a commitment to providing high-quality, accessible utilities that solve specific problems efficiently.
Best Practices for Utilizing This Tool
To get the most accurate result, ensure that all input parameters are entered correctly and in the requested format. Pay attention to the units of measurement required by the fields. If you are using this output for professional or official purposes, it is always recommended to verify the result through a secondary method.
Method and Limitations
This tool applies the formula and assumptions shown on the page to the values you enter. Rounding, changing rates, local rules, and incomplete inputs can all affect the result. Use the output as an educational estimate and verify important financial, health, tax, legal, or engineering decisions with an appropriate qualified professional.
More Investment Calculators
Calculate your true Return on Investment (ROI). Factor in initial investment, final value, and holding period for annualized returns.
Calculate exactly what percentage gain you need to recover from a portfolio drawdown and break even.
Determine your net stock trading profit. Accounts for purchase price, selling price, commissions, and capital gains tax.