Skip to calculators
VolatileSharesFinancial calculators

Borrowing versus selling investments

Compare funding the same spending need by selling investments or taking a new portfolio-backed loan.

Private, no sign-upForward & reverse calculations
Location & display settings Optional

Optional local assumptions

Use a location-based example, not a personal profile. Nothing here is required to use a calculator. Review the assumptions before applying them.

Displaying USD. Choose a country to suggest its currency and review local assumptions. Existing calculator values are not changed automatically.

Example budget & local guidanceTerritory currencies: Unicode CLDR, checked 2 November 2026. A currency override does not change the selected country's inflation or legal guidance.

Changing currency converts money amounts, not percentages, ages or shares.

Loading daily exchange rates…

Opening your calculator...

My browser notebook (0 saved)

Saving is optional and off for every new calculation. Use the consent checkbox and Save on this browser in a calculated result. This notebook survives reloads on this browser profile only; it is not an account backup or a cloud sync.

Restoring makes the saved inputs the tool's new starting scenario. Prices, source references and financial assumptions are not refreshed. Market currency display uses the current dated exchange rates; Irish payroll stays in EUR. JSON exports keep the original USD/EUR inputs unchanged. Clear browser site data also removes this notebook.

Reading browser storage...

Explore another question
Browse all 28 calculators How your calculations stay private
Investment examples & Irish tax

Market examples start in USD; the Irish salary calculator always stays in EUR. Amounts and constant returns are fictional examples, not recommendations or forecasts. Keep near-term bills and emergency cash separate from stock-market scenarios, and test losses as well as growth. Borrowing and daily trading examples demonstrate risk, not default ways to fund living costs.

A current display conversion does not calculate the transaction-date EUR gains used for Irish tax. Direct shares, dividends and ETFs or funds can have different rules. US withholding may not settle Irish liability; US inheritance examples do not establish Irish treatment.

Privacy, precision & the free beta

Inputs, starting scenarios and pins remain in this open page unless you explicitly choose browser-only saving. Switching tools keeps your work; reset, a changed stock reference or reload clears working scenarios and pins. Optional named notebook snapshots survive reloads on this browser profile. Anyone with access to the profile can read them; do not save on a shared device. Restore, rename, delete, export and clear controls are in My browser notebook. Exports contain entered assumptions, so keep downloaded files private. Saving does not send inputs to the server or add them to URLs, and restoring does not refresh prices or financial assumptions. Stock links carry only ticker, reference price and retrieval date in the URL fragment. Editing clears the displayed result but keeps the starting scenario until reset or replaced.

Market currency is selected separately; Irish payroll remains in EUR. Your browser fetches public daily rates from ExchangeRate-API without sending calculator amounts. The source and UTC update date are shown; rates are indicative, not bank quotes or forecasts of future exchange rates. Switching currency converts the display without changing stored USD/EUR assumptions, percentages, ages or share counts. The retirement planning style is separate from currency and does not change jurisdiction-specific pension or tax rules. Saved JSON retains the original USD/EUR inputs; notebook displays use current dated rates. Values are rounded for display; calculations use unrounded values. Reverse goals round contributions up, and purchase prices or net cash outflow down, to cents in their original calculation currency; they explain impossible goals rather than supplying defaults.

Country selection chooses currency and requests public World Bank annual CPI using only a country code and historical years. Household size, rent and calculator amounts are not sent. Applying local assumptions updates matching unedited budget/inflation fields only. Lifestyle budgets are fictional examples, not measured country averages; you can edit them. Local tax, pension and borrowing links are guidance, not personal calculations. Saved input snapshots do not save the selected country or its guidance, and restored values are protected from country presets.

Facts, challenges and what-ifs are mathematical illustrations, not market evidence or AI predictions. Optional premium research may be considered later; paid enrollment remains closed during the educational beta.

Educational scenarios only, not personalized investment advice, trade instructions or predictions. Read the risk notice.

Guide, worked example & limitations
Free educational calculator guide

Borrowing vs Selling Investments Calculator: a practical guide

What are the costs of selling investments versus borrowing?

Compare funding the same spending need by selling investments or taking a new portfolio-backed loan.

By VolatileShares · Example version 1 · Updated . Hypothetical inputs, not financial recommendations or live company data.

A worked example, in plain English

The idea in 10 seconds: Selling may create a tax bill. Borrowing creates a debt bill. Neither route is free.

Immediate tax and continuing loan costs are not the whole decision.

The tax model is simplified. Loan approval and future after-tax sale values are not calculated.

Borrow-minus-sell one-year net value
$3,852.07
Gross investments to sell
$23,668.64
Estimated sale tax
$3,668.64
Walk me through the full calculation

To spend $20,000.00, selling requires $23,668.64 of investments, including $3,668.64 estimated gain tax and $0.00 fees. Borrowing instead leaves $20,000.00 of principal owed and costs $1,000.00 in one-year cash interest.

At the entered 5% one-year return, the sell branch leaves $185,147.93 and the borrow branch $189,000.00 after debt and outside cash interest, but before future taxes on remaining holdings. The difference is $3,852.07. Interest is not counted twice or treated as deductible. Test a loss and the separate collateral stress tool; this comparison is not a strategy recommendation.

The opening-limit check does not establish loan approval or protection from a future collateral call.

Inputs used for this example

These are the calculator's example defaults, not suggested amounts or rates. Market calculators initially display USD. Change currency in the toolbar without creating a personal profile. Under optional Location & display settings, choose an example country for its currency and available historical CPI. Review any example household size and rent assumption before explicitly applying local assumptions: matching unedited budget/inflation fields change, while edited or restored inputs are kept. Lifestyle budgets are fictional examples, not measured national averages. Local tax, pension and borrowing links are guidance, not personal calculations. Switching currency alone does not change percentages, ages or share counts.

Investment value now (USD)
200,000
Total amount originally paid (USD)
100,000
Cash needed for spending (USD)
20,000
Total selling fees (USD)
0
Illustrative tax on positive gains (%)
31
Yearly loan interest to try (%)
5
New-loan limit (% of collateral)
30
One-year investment gain or loss to try (%)
5

Work backwards from your goal

How much spending cash would this sale amount leave?

Start with an amount you could sell to find the spending cash left after tax and fees.

Choose Work backwards, enter your target and the few essential inputs, then choose Calculate my goal. The answer is checked with the same forward calculation and applied in one step. Example assumptions are disclosed under More options. Expand Calculation details & tools only if you want more detail. Impossible or out-of-range goals show an error instead of invented numbers. Long numbers display commas while editing; calculations and saved snapshots keep the original precision.

Works backwards from a gross sale to cash left after the entered tax and sale fees. The forward comparison also shows borrowing the same spending cash.

Return to the interactive calculator above →

How the calculation works

Taxable gain fraction = max(0, 1 - total cost basis / portfolio). Gross sale = (cash need + sale fees) / (1 - gain fraction x tax rate). One-year sell value = (portfolio - gross sale) x (1 + return). One-year borrow net value = portfolio x (1 + return) - cash need - annual cash interest.

What this cannot tell you

One-year, new-loan-only illustration using a uniform cost-basis fraction, not tax-lot selection or tax advice. Taxes apply only to positive realized gains; losses generate no modeled credit. Sale fees do not reduce modeled taxable gains. Cash interest is counted once as an outside cash cost. Remaining investments are valued before future sale taxes in both branches, so these are not after-tax liquidation values. No existing debt, loan fees, variable rates or forced-sale simulation.

Changing an assumption changes the example, not the future. Verify source dates and actual product, tax and lending terms before relying on any result. These tools do not replace appropriately qualified advice.

Sale tax applies to the gain, not automatically to all proceeds

If half a uniform-basis holding is gain and that gain is taxed at 20%, 10% of gross sale proceeds goes to modeled tax. Getting $9,000 cash with no fees needs a $10,000 gross sale. Borrowing replaces that immediate tax with debt and continuing costs.

Illustrative arithmetic, not market evidence or a promise of returns.

Keep a useful starting point

In the interactive calculator, compare different assumptions or explicitly save a named snapshot to My browser notebook. Saving is optional and browser-only, not an account or cloud backup. Revisit it on the same browser profile; restoring never refreshes prices or assumptions.

How calculator inputs and saved snapshots stay private

Analytics is off until you choose to allow it.