1nTest · strategy backtester and trading bot builder

Compound interest calculator for trading

How a trading account grows when each period's return is reinvested — by month, week or trade, with regular deposits.

Starting balance
Return per period
%
Periods
Deposit each period
Final balance
20,327.94
Growth
+103.3%
0
Balance10,000.00
2
Balance10,609.00
4
Balance11,255.09
6
Balance11,940.52
8
Balance12,667.70
10
Balance13,439.16
12
Balance14,257.61
14
Balance15,125.90
16
Balance16,047.06
18
Balance17,024.33
20
Balance18,061.11
22
Balance19,161.03
24
Balance20,327.94
Does the strategy itself have an edge?

Build the entry conditions without code and test them on years of history: the result in R, losing streaks, drawdown — before you risk the account.

Run a backtest

How it is calculated

Balance after a period = balance × (1 + return) + deposit. Returns compound: 3% a month for 24 months is about +103%, not +72%.

The same arithmetic works against you: a strategy's losing periods compound too. Use the drawdown recovery calculator to see how much a drop of a given size takes to win back.

Questions

Is a fixed monthly return realistic?

No strategy returns the same every month. The calculator shows the arithmetic of reinvestment; real equity curves have losing months and drawdowns. A backtest shows the actual sequence for your strategy.

Should I risk a share of the current balance?

Risking a share of the current balance compounds both ways: positions grow after wins and shrink after losses. 1nTest backtests show both fixed and compounding risk side by side.

What period should I enter?

Any: month, week or even trade. Enter the average return for that period and the number of periods.

Put this calculator on your site

Free, no registration. Copy the code into your page:

<iframe src="https://1ntest.com/en/embed/compound" width="100%" height="760" style="border:0;max-width:960px" loading="lazy" title="1nTest"></iframe>

For education. The figures are measured for one commission-charging broker at the reference date and are not a quote; your broker's conditions may differ.

← All calculators