20.10.2026General

How to calculate ROI on residential property

How to calculate ROI on residential property

Calculating ROI on residential property starts where the analysis of the return on a home in Madrid, which breaks down the three components of return, leaves off. Separating net yield, capital growth and the net cost of ownership is essential, but it is not enough to compare a home with a bond, a fund or any other investment. For that, those three components need to be turned into a cash flow model and summarised in a single comparable figure: the internal rate of return, or IRR.

The difference between yield and ROI is one of time perspective. Yield is a snapshot: how much the asset returns in a given year relative to what it cost. ROI is the full film of the investment, from the day of purchase to the day of sale, and it incorporates three things that yield ignores: the time horizon, financing and the exit value. It is the same home seen through two different lenses.

Most residential analyses stop at yield because the cash flow model seems complex. It is not. It is a twelve-row table that anyone can build in a spreadsheet. What it requires is not mathematical sophistication but discipline in the assumptions: what rent, what expenses, what capex, what capital growth and what exit cost.

This article builds that model step by step. It defines the initial investment, the annual cash flows and the exit value; brings in the mortgage; calculates the IRR; and tests it against several scenarios. All of this is done with a complete numerical example of a prime home in Madrid, calculated from start to finish and replicable in a spreadsheet.

From yield to ROI: why the time horizon changes the calculation

Yield measures how much an asset generates relative to what it costs, under stable conditions and at a given moment. It is useful for comparing two homes on the same day and under the same conditions. But it does not capture two dimensions that are decisive in property investment: time and exit.

Time matters because the value of the asset does not stand still. It appreciates or depreciates, and that change compounds as the horizon lengthens. A home with a net yield of 2.1% and capital growth of 3% a year does not deliver the same return when held for three years as when held for ten, even though its yield is identical in both cases.

Exit matters because getting in and out costs money. On a resale home in the Community of Madrid, the buyer pays 6% ITP (property transfer tax) plus notary and Land Registry fees, putting entry costs at around 6.5% of the price; on a new build, with 10% VAT (IVA) and AJD stamp duty, they exceed 10.5%. On sale, agency fees, municipal capital gains tax (plusvalía) and tax on the gain are added. These costs are not recovered immediately. If the home is sold after three years, they weigh heavily on the result; if it is sold after ten, their weight is spread across more years of rent and capital growth.

That is why adding net yield and annual capital growth together, as a quick approximation, overstates the real return: it ignores entry and exit costs and the timing of each cash flow. ROI corrects both. It builds the table of what comes in and goes out each year, including the initial investment and the sale value, and calculates the interest rate at which all those cash flows balance. As the example will show, the difference is not a minor detail.

The cash flow model: how to build the full calculation

The model is organised in three blocks: what goes out in year zero, what comes in and goes out in each year of ownership, and what is recovered in the year of sale.

The initial investment: everything that goes out in year 0

The initial investment is not the purchase price. It is the price plus all entry costs: the applicable tax (ITP on resale; VAT and AJD on new builds), notary, Land Registry and administrative agency fees, the fees of any purchase adviser and, where necessary, the initial capex to bring the home up to a lettable standard. The breakdown of each item can be found in the analysis of the real cost of buying a house in Madrid.

If the purchase is financed with a mortgage, ROI is calculated not on the total price but on the equity contributed: the part of the price not covered by the bank plus all entry costs, which are always paid from own funds.

Annual cash flows: income, costs and debt

Each year of the model includes the same items. Income is the monthly rent multiplied by twelve, minus vacancy: the months in which the home stands empty between one tenant and the next. In the prime segment, allowing for at least one month of vacancy a year is the prudent assumption, because the pool of tenants able to pay high rents is small.

Recurring operating costs are deducted from income: community fees, IBI (property tax), insurance, routine maintenance and, if outsourced, rental management. Then comes extraordinary capex, meaning significant non-recurring investments such as renewing the air conditioning after six years or the kitchen after twelve. These items are only reliable if they come from the technical inspection that determines the asset's maintenance capex and renovation potential; without it, the model has a hole that does not show up in the table.

If there is a mortgage, the full annual repayment, principal plus interest, also comes out of the cash flow. The result is net cash flow before tax. Taxation then modifies it: under IRPF (Spanish personal income tax), rental income is taxed as income from real estate capital, and expenses such as community fees, IBI, financing interest or depreciation of the property can be deducted, but not repayment of the loan principal. The exact calculation depends on each taxpayer and on whether the investment is made as an individual or through a company, and requires tax advice. For comparing assets with one another, the pre-tax model is a valid starting point, provided the same criterion is applied to all of them.

Exit value: the final year's cash flow

In the year of sale, the net disposal value is added to the operating cash flow: the estimated sale price, minus transaction costs (agency fees, municipal capital gains tax and, in an after-tax analysis, IRPF on the capital gain) and minus the outstanding mortgage principal, if any. The sale price is the most uncertain variable in the whole model, and it depends on the factors that determine the asset's real value, which shape the capital growth projected in the model. That is why it deserves its own sensitivity analysis.

With these three blocks, the example can be built. The assumptions are indicative and rounded, designed so that readers can replicate them, and correspond to a typical home comparable to the exclusive properties in Madrid offered in the best areas of the Salamanca district:

Assumptions for the example (illustrative figures)

A resale home of around 120 m² in Barrio de Salamanca, bought for €1,300,000 (about €10,800/m²). Entry costs: €78,000 in ITP (6%) and €3,500 in notary, Land Registry and administrative fees, a total of €81,500.

Rent of €3,800 a month (about €31.7/m²), with one month of vacancy a year: annual income of €41,800. Gross yield on the price: 3.5%.

Annual operating costs: community fees, €5,400; IBI, €1,500; insurance, €600; routine maintenance, €6,500 (0.5% of the price). Total: €14,000. Net operating income: €27,800 a year, a net yield of 2.1%.

Extraordinary capex of €25,000 in year 6 to renew building services. Rent and expenses constant throughout the period. Capital growth of 3% a year. Sale at the end of year 10, with agency costs of 3.63% (3% plus VAT).

Context benchmarks: in May 2026 idealista put the Castellana, Recoletos and Lista neighbourhoods at between €10,600 and €11,300/m² in asking price; according to Brains Real Estate, the average rent in the Salamanca district was €29.6/m² a month in the second quarter of 2026, the highest in the city. The model is calculated before income tax and does not include municipal capital gains tax.

With these assumptions, the cash flow table for a cash purchase looks like this:

Cash flows, purchase without financing

Year 0: −€1,381,500 (price plus entry costs).

Years 1 to 5 and 7 to 9: +€27,800 each year.

Year 6: +€2,800 (€27,800 of net income minus €25,000 of capex).

Year 10: +€1,711,472. This comprises €27,800 of net rent plus €1,683,672 of net sale proceeds: the home is worth €1,747,091 after ten years at 3%, less €63,419 in selling costs.

Resulting IRR: 3.68% a year.

Leverage and its effect on the return on equity

If the same home is bought with a 60% mortgage, the bank contributes €780,000 and the buyer puts in €520,000 plus the €81,500 of entry costs: €601,500 of equity. With a 25-year loan at a fixed rate of 3%, close to the 2.89% average recorded by the INE (National Statistics Institute) for fixed-rate mortgages signed in June 2026, the repayment is about €3,699 a month, €44,386 a year.

Cash flows, purchase with a 60% mortgage at 3%

Year 0: −€601,500 (equity plus entry costs).

Years 1 to 5 and 7 to 9: −€16,586 each year (€27,800 of net rent minus €44,386 of mortgage repayments).

Year 6: −€41,586 (including the €25,000 of capex).

Year 10: +€1,131,472. This comprises the year's −€16,586 cash flow plus €1,148,058 of net sale proceeds: the €1,683,672 net from the sale minus €535,613 of outstanding loan principal.

IRR on equity: 4.30% a year.

The mortgage raises the IRR from 3.68% to 4.30%. This is the amplifying effect of leverage: the same rent and the same capital growth are earned on a much smaller equity base. But the example also shows its cost. For ten years the rent does not cover the mortgage payment, and the owner has to put in just over €16,000 of their own money each year. The entire return is concentrated in the sale.

The rule that decides whether the mortgage adds or subtracts is simple: leverage creates value as long as the total return on the unfinanced asset exceeds the cost of debt, and destroys it when it is lower. In the example, the unlevered IRR is 3.68% and the debt costs 3%: there is a narrow margin in its favour. At a rate of 3.5%, the levered IRR falls to 3.89%, almost the same as without a mortgage. At 4%, it drops to 3.46%, below the cash purchase: at that cost, borrowing worsens the result. That break-even rate is the one worth calculating before deciding how much to finance.

Leverage also amplifies in both directions. If the home is sold ten years later for the same price it was bought for, the cash purchase retains a slightly positive IRR of 0.94%, thanks to the rent. The mortgaged purchase gives an IRR of −1.15%: the investor gets back less than they put in, because the interest paid has eaten into their capital. Higher returns in the favourable scenario and greater losses in the adverse one: that asymmetry is the inherent risk of financing, and it is what the sensitivity analysis must measure before signing.

IRR: the metric that allows the investment to be compared with any other asset class

IRR is the discount rate at which the net present value of all the model's cash flows equals zero. In other words, it is the annual compound interest rate to which the investment is equivalent when all its cash flows are taken into account, each in the year in which it occurs: the initial outlay, net rents, capex and sale value.

Formula

NPV = F0 + F1 / (1 + IRR) + F2 / (1 + IRR)² + … + Fn / (1 + IRR)ⁿ = 0

Where F0 is the initial investment (with a negative sign), F1 to Fn are the net cash flows for each year and Fn includes the net sale value.

In a spreadsheet, simply enter the cash flows from year 0 to year n in a row and apply the =IRR() function to that range, in both Excel and Google Sheets.

IRR cannot be solved by hand: the spreadsheet obtains it by successive approximation in a fraction of a second. The difficulty lies not in the calculation, but in properly building the table to which it is applied.

Interpreting it requires a point of comparison. The yield on the Spanish ten-year bond has hovered around 3.4–3.55% in 2026: 3.55% at the end of April and 3.395% at the auction in early July. The example's unlevered IRR of 3.68% barely exceeds that benchmark. An IRR is not equivalent to a risk-free return: a home is less liquid than a bond, requires management and depends on assumptions that may not hold. The useful question is not whether the IRR is positive, but whether the premium over the risk-free asset compensates for illiquidity, management and uncertainty. In the example, before tax and with constant rent, that premium is very narrow. It is a conclusion that the 3.5% gross yield did not reveal.

IRR has a technical limitation. When cash flows change sign several times, for example because of very high capex mid-period, there may be several mathematical solutions, and IRR ceases to be reliable. In such cases it is more robust to calculate the net present value at a discount rate set by the investor, such as their opportunity cost. In the example, discounting the cash flows at 3.4%, the NPV of the cash purchase is about €35,600, positive but modest on an investment of €1.38 million. For most residential investments, with regular cash flows, IRR is the appropriate metric.

Sensitivities: how to test the robustness of ROI before buying

An IRR calculated with a single set of assumptions is a starting point, not a conclusion. Each assumption may diverge from reality, and sensitivity analysis replaces the single figure with a range: the result in the base case, in a conservative case and in an adverse case. In prime residential property in Madrid, three variables move IRR more than any others.

The first is capital growth, the main driver of return in this segment. Using the same example and a ten-year horizon, these are the resulting IRRs:

10-year IRR by annual capital growth

No capital growth (0%): 0.94% cash; −1.15% with a 60% mortgage.

Capital growth of 1.5%: 2.31% cash; 1.71% with a mortgage.

Capital growth of 3%: 3.68% cash; 4.30% with a mortgage.

Capital growth of 4.5%: 5.07% cash; 6.71% with a mortgage.

Same model and same assumptions as in the example, changing only the rate of capital growth. Figures before tax.

A difference of one and a half points in annual capital growth moves the IRR by about 1.4 points for a cash purchase and by more than 2.5 with a mortgage. With low capital growth, such as 1.5%, financing no longer adds value but subtracts it.

The second variable is the horizon. If the same home is sold in year five instead of year ten, with all other assumptions unchanged, the IRR falls from 3.68% to 2.98% for a cash purchase and from 4.30% to 3.00% with a mortgage. Entry and selling costs have not had time to be diluted.

The third is vacancy. One additional month without a tenant, two a year instead of one, means €3,800 less income and reduces net yield by about 29 basis points. On IRR, the effect is a quarter of a point for a cash purchase (from 3.68% to 3.43%) and almost half a point with a mortgage (from 4.30% to 3.83%), because financing also amplifies missing income.

Taking all of this into account, the analysis must answer one specific question before signing: is the investment still acceptable in the adverse scenario? If, with low capital growth, higher vacancy and higher-than-expected capex, the IRR remains above the opportunity cost of capital, the investment has a margin of safety. If not, the price, the level of financing or the decision itself must be reviewed. Assets with the permanent features of the asset that underpin structural capital growth tend to show less dispersion between scenarios, and much of their value as an investment lies in that.

The effect of the asset's technical condition on ROI: what the spreadsheet does not see

The most common mistake in residential ROI models lies not in the formula but in the capex. A home with thirty-year-old air conditioning, old plumbing or outdated wiring may offer an attractive gross yield and yet require, in the first few years, an investment of tens of thousands of euros that the initial model did not include. That capex does not disappear from the ROI: it simply was not in the assumptions. In the example, the €25,000 in year 6 lowers the IRR. If the renovation cost €100,000 and came in year two, the result would change far more sharply.

That is why, before the assumptions are finalised, the architect's technical inspection should have answered three questions. First, what maintenance capex can be expected over the holding period. Second, what renovation potential the home has and how much it would cost to realise it. Third, whether there is any structural or building services problem that could push that capex above the forecast.

Technical condition can also work in your favour. An unrenovated resale home in a quality building has a price that does not yet reflect the value of the work. If the renovation is feasible and the difference between the renovated value and the sum of the purchase price and the cost of the works exceeds the return on an equivalent, already renovated home, the renovation potential improves the IRR from the outset. In the model, this translates into high capex in year 1 and a higher exit value. But the calculation is only as reliable as the estimate of the cost of the works, and only a prior technical analysis can produce that estimate. It is a good example of why, among exclusive homes in Madrid, two assets with the same price and the same rent can have very different IRRs.

Calculating ROI on residential property does not require being a financial analyst. It requires building the right model, with prudent assumptions backed by a technical inspection, and accepting what the result says even when it contradicts intuition. In the example, a prime home with a gross yield of 3.5% and capital growth of 3% produces an IRR of 3.68% without financing and 4.30% with it, before tax: far from the quick sum of net yield and capital growth, which pointed to just over 5%. IRR is the result of that process, not its starting point, and its true usefulness emerges in comparison: the same model, applied to an established flat in the city centre, a detached house in an upmarket suburb or a resale home to renovate, reveals which of them truly rewards the capital. That is the subject of the comparison between asset types that applies this model to specific cases in the Madrid market. For those buying to live in, the question is a different one, and it is answered by the decision framework for choosing between buying for own use and investing with an explicit return.

 

Share article

Talk to us

GV Real Estate Icon

If you would like to explore the current possibilities of the market with a team that prioritises discretion and rigour, please do not hesitate to contact us.

Contact us