Loan-to-Invest Calculator
Finance kits
Compare borrowing a lump sum to invest at once against dollar-cost averaging — see the break-even return rate and the gap in annualized returns.
Pick any exposure between 1× and 2×, then see whether a loan or a 2× ETF blend gets you there better — and how rebalancing frequency, your loan rate, and the ETF's costs tip the balance.
Underlying index
Target exposure
Both routes hold the same target exposure on the same index. The ETF blend pays the fund's expense ratio plus its institutional financing; the loan pays your own loan rate. Whoever's all-in cost is lower wins.
Capital & horizon
Final outcome
The "2× ETF" column holds the 2× ETF blended with the 1× index, rebalanced daily, sized to your target exposure (at 1× it's all index, at 2× it's all ETF). "Loan · daily/monthly/…" is a margin loan at the target exposure rebalanced at that cadence; "never" is buy-and-hold — its leverage drifts with the market.
Median growth by strategy (log scale)
Median of 500 daily-reset Monte Carlo paths per strategy, all driven by the same simulated index. Models returns and costs only — not margin-maintenance rules, taxes or borrowing limits.
This is a free side project I built in my spare time. If it saved you time or helped you think through a decision, buying me a coffee keeps the lights on!
Built by indigo.la.ringo · AppicLab ·
More small utilities from AppicLab
Finance kits
Compare borrowing a lump sum to invest at once against dollar-cost averaging — see the break-even return rate and the gap in annualized returns.
Finance kits
Enter your savings, expenses, and return rate to calculate when you can reach Financial Independence (FIRE).
Finance kits
Compare the long-term net wealth of renting versus buying a home. Find the break-even year and see which option comes out ahead.
This calculator answers a practical leverage question: to hold, say, 1.5× the index, are you better off borrowing to buy 1.5× of it, or blending a daily-reset 2× ETF with the plain index to the same exposure? Mechanically the two are the same machine when rebalanced daily — they differ only by cost, so the loan wins when your loan rate undercuts the ETF's expense ratio plus financing, and loses when it doesn't (retail loan rates often do lose). Rebalance the loan less often and it pulls away from the ETF: it escapes some of the daily volatility decay that bleeds leveraged funds in choppy markets, but its leverage drifts with the market and a buy-and-hold loan can be margin-called to zero before you ever rebalance. Set an index's return and volatility, a target exposure from 1× to 2×, your loan rate, the ETF's financing rate and its expense ratio, and a daily Monte Carlo lays the ETF blend beside the loan at four rebalancing frequencies — comparing median wealth, CAGR, drawdown, volatility and the share of paths wiped out.
About the Author
indigo.la.ringo
A software engineer chasing the slash-career dream. Was trying to figure out my relationship with the world — now being forced to figure out my relationship with AI. Lately, obsessed with figuring out the relationship between people and money. Either way, whatever answer I land on, it's fine.