Free calculator

What you keep when you sell your property.

Start from the sale price: the calculator deducts the agency commission, the capital gains tax, the loan still to repay and its penalty, then your other costs. You see the amount that will actually reach your account.

MAD
%

As a percentage of the price, taxes included. Morocco: often 2.5% before tax, 3% with the 20% VAT. Enter 0 if the buyer pays it.

Capital gains tax

Amount of the tax
MAD

Coefficient of the purchase year (for 2026: order no. 230.26). Example: 1.296 for a purchase in 2010.

Main residence

Estimate with flat-rate purchase costs (15% in Morocco, 7.5% in France) and no works. For a detailed calculation, use the capital gains calculator.

MAD

Loan and costs

MAD

Principal still owed on the day of the sale, given by your bank. 0 if you have no loan.

%
months

In months of interest on the principal owed. In Morocco, the most cited practice is one month for a fixed rate.

MAD

Release of the mortgage, surveys, tax clearance, moving: according to your quotes.

—

Agency commission
—
Capital gains tax
—
Loan repaid
—
Early repayment penalty
—
Other costs
—
Total deducted from the price
—
Share of the price you keep
—

Indicative simulation, neither a loan offer nor financial or tax advice. Everything is calculated in your browser: no data is sent or stored.

How it is calculated

Example

Example in Morocco: a property bought for 950,000 MAD in 2010 and sold for 1,500,000 MAD, 3% commission, 400,000 MAD of loan still owed at 5%. Commission 45,000 MAD, tax 45,000 MAD (3% minimum), loan 400,000 MAD and a one-month interest penalty of 1,667 MAD: you keep about 1,008,333 MAD, 67% of the price.

  1. The commission

    Commission = sale price × percentage you pay, taxes included.

  2. The tax

    Estimated with the rules of the capital gains calculator: in Morocco, 20% of the revalued profit, 3% minimum of the price; in France, 19% + 17.2% after the holding allowances, plus the surcharge. Flat-rate purchase costs, no works.

  3. The loan

    The principal still owed is repaid at the sale. The penalty is calculated in months of interest (Morocco), or as 6 months of interest capped at 3% of the principal (France).

  4. What you keep

    Sale price − commission − tax − loan − penalty − other costs.

Frequently asked questions

  1. What is deducted from the sale price?

    The agency commission if you pay it, the capital gains tax, the loan still to repay with its penalty, and the costs of the sale (mortgage release, surveys).

  2. Who pays the capital gains tax?

    The seller. In Morocco as in France, it is usually declared and paid by the notary at the sale, out of the price, before the rest is paid to you.

  3. Are there penalties for repaying the loan when selling?

    Often yes: in Morocco, the most cited practice is one month of interest for a fixed rate; in France, at most 6 months of interest, within 3% of the principal owed.