Free calculator
Enter your loan, the number of months already paid and the amount you want to repay: the calculator gives the principal still owed, the interest avoided, the penalty charged by the bank and, as you choose, the new duration or the new monthly payment.
Indicative simulation, neither a loan offer nor financial or tax advice. Everything is calculated in your browser: no data is sent or stored.
Example in Morocco: 1,000,000 MAD at 5% over 20 years. After 5 years, about 834,550 MAD is still owed; repaying 200,000 MAD and keeping the same payment ends the loan 4 years and 8 months earlier and avoids about 175,500 MAD of interest, for a penalty of about 830 MAD.
After k payments: C × (1 + t)^k − M × ((1 + t)^k − 1) / t, where C is the amount borrowed, M the payment and t the annual rate divided by 12.
The interest still to be paid under the current schedule is compared with the new schedule, once the amount repaid is deducted.
Keeping the same payment ends the loan sooner and saves the most interest. Keeping the same duration lowers the payment.
Number of months × amount repaid × monthly rate, capped where applicable at a percentage of the principal owed. It is deducted from the saving.
Penalties searched online on 24 November 2026. In Morocco, sources disagree (1 or 2 months of interest): the calculator keeps 1 month, quoted by the press about the ministerial order, and lets you change it. The loan contract prevails.
Updated on 24 November 2026
Mostly early in the loan, when the payment is mostly interest, and if your loan rate is higher than what the money would earn if invested.
For a fixed-rate mortgage, the press quotes a cap of one month of interest on the amount repaid; another site says two months. Check your contract.
At most 6 months of interest on the amount repaid, without exceeding 3% of the principal owed. Some contracts provide none.
Shortening the duration saves more interest. Lowering the payment leaves more room each month. Compare both with the calculator.
The Immobilog CRM keeps each client's project and financing, so you can offer the right property at the right time.