Short answer

Add the estimated financing cost and other trade costs to your purchase outlay. Divide by the number of shares to estimate a simple break-even sale price before tax.

Use the broker's interest method

Read the annual rate, day-count convention, charging period and any tiers. Use the expected debit balance rather than the total market value of the position. Price and holding time affect different parts of the analysis, so test a longer holding period and a higher interest rate as separate inputs. Include commissions or sale charges if applicable. Margin requirements and a forced liquidation can affect the result before an investor reaches the planned break-even date.

Worked example or comparison
Basis Evidence or calculation
Worked example or comparison Illustration with simple 365-day interest. A $5,000 debit at 10% for 30 days costs about $41.10. On 100 shares bought at $100, that adds about $0.41 per share.

Frequently asked question

Can I use the same calculation if the margin balance changes?

Apply the broker's method to each day's balance or use the broker's accrued interest if it is available.

Source

Primary reference · finra.org

Related guide

Commission-free trading costs: calculate FX, spread and recurring fees