Cellwise Start free

Excel guide · 5 min read

How to calculate cap rate in Excel

Quick answerCap rate = yearly net operating income (NOI) / property price. NOI is rent after vacancy minus operating expenses, before any mortgage payment. With monthly rent in C2, vacancy % in D2, monthly expenses in E2 and price in B2: =(C2*12*(1-D2)-E2*12)/B2. The Oak St duplex earns $21,300 of NOI on $310,000, a 6.87% cap rate.

Sample data

Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.

ABCDEFGHIJK
1PropertyPriceMonthly rentVacancy %Monthly expensesYearly NOICap rateMortgage (not in NOI)SettingValue
2Oak St duplex31000029000.05980213000.0687096774191650Target cap rate (yours)0.065
3Elm Ave house26500021000.05720153000.0577358490571410
4Pine Rd triplex42000039000.071360272040.0647714285712240
5Birch Ct condo18900016500.04610116880.0618412698411010
6Cedar Ln fourplex54500052000.081900346080.0635009174312900

Download this sheet as an Excel practice file (.xlsx)

Step 1: Net operating income from rent, vacancy and expenses

Put one row per property: price, monthly rent, a vacancy % and monthly operating expenses. Vacancy goes in its own column because no rental is full every month. 5% means you expect about 18 empty days a year, plus rent you never collect. Use your own estimate for the area; the sheet only does the arithmetic.

Operating expenses are the costs of running the property: property tax, insurance, repairs and maintenance, property management, HOA fees and any utilities the owner pays. For the Oak St duplex they come to $980 a month.

NOI is yearly rent after vacancy minus yearly expenses. $2,900 x 12 is $34,800 of rent; 5% vacancy leaves $33,060; take away $11,760 of expenses and NOI is $21,300. Keep everything yearly: a monthly NOI divided by a price gives a cap rate twelve times too small.

=C2*12*(1-D2)-E2*12

Result: 21300 shows as $21,300 with Currency format

21300: the Oak St duplex's yearly net operating income.

Step 2: Cap rate, and comparing listings

Divide NOI by price and format the cell as a percentage. With NOI in column F, =F2/B2 copied down gives a cap rate for every listing: Oak St 6.87%, Pine Rd 6.48%, Cedar Ln 6.35%, Birch Ct 6.18% and Elm Ave 5.77%.

In Excel 365, =SORTBY(A2:A6,G2:G6,-1) lists the properties from highest to lowest cap rate, and =XLOOKUP(MAX(G2:G6),G2:G6,A2:A6) names the top one. A higher cap rate means more income per dollar of price. It often comes with older buildings, weaker areas or more work, so it's a way to compare listings, not a verdict on which to buy.

Use the price you'd actually pay. Add closing costs and any repairs you must do on day one, and Oak St's cap rate drops: with $9,000 of costs on top, $21,300 / $319,000 is 6.68%.

=F2/B2

Result: 0.068709677419 shows as 6.87% with Percent format

About 0.0687: the Oak St duplex's cap rate.

Why the mortgage payment stays out of NOI

NOI leaves out the loan on purpose. Cap rate describes the property as if you paid cash, so two buyers with different down payments and interest rates get the same cap rate for the same building. That's what makes it useful for comparing listings.

What the loan does to your own pocket is cash flow, a separate number: NOI / 12 minus the monthly mortgage. Oak St's $1,775 of monthly NOI less a $1,650 payment leaves about $125 a month. Elm Ave comes out at -$135 and Birch Ct at -$36: positive cap rates with negative cash flow, because the mortgage takes all of the NOI and more.

If you subtract the mortgage before dividing, Oak St's "cap rate" becomes 0.48%. That number means nothing to anyone else, because it depends on your loan. Keep the two calculations in separate columns. The real-estate hub's rental template also works out cash-on-cash return, the number that does include your financing.

=F2/12-H2

Result: 125 shows as $125 with Currency format

125: Oak St's monthly cash flow after the mortgage, which is not part of cap rate.

The price a target cap rate implies

Flip the formula to ask a different question: what price gives the cap rate I want? Price = NOI / target cap rate. Put your target in an input cell (K2 holds 6.5% here; your number goes there) and divide each NOI by it.

At 6.5%, Oak St's $21,300 of NOI supports $327,692, about $17,700 above the $310,000 asking price. Elm Ave supports only $235,385, about $29,600 below its asking price. =F2:F6/$K$2-B2:B6 in Excel 365 shows the gap for every listing at once.

The result is only as good as the inputs. A target cap rate is a choice you make, not a fact about the market, and the NOI rests on your vacancy and expense estimates. Treat the implied price as one number to weigh, not as what the property is worth.

=F2/$K$2

Result: 327692.30769 shows as $327,692 with Currency format

About 327,692: the price at which Oak St's NOI gives a 6.5% cap rate.

Test the vacancy and expense estimates

Two estimates drive the answer: vacancy and expenses. Change them and watch the cap rate move. With 10% vacancy instead of 5%, Oak St falls from 6.87% to 6.31%. Leave vacancy and expenses out altogether and rent / price gives 11.2%. That's the gross yield some listings advertise as the "cap rate", and it's not one.

Keep the estimates in their own cells, never typed into the formula, so you can see and change them. Rental listings often quote last year's expenses from the seller; check the property tax bill and insurance quote yourself, because both can change when the property sells.

=(C2*12*(1-0.1)-E2*12)/B2

Result: 0.063096774194 shows as 6.31% with Percent format

About 0.0631: Oak St's cap rate if vacancy is 10% instead of 5%.

Common mistakes

Dividing gross rent by price

That's gross yield. Take off vacancy and operating expenses first, or the "cap rate" comes out far too high (11.2% instead of 6.87% here).

Subtracting the mortgage

NOI is before financing. Put the mortgage in a separate cash-flow column so cap rates stay comparable between properties.

Mixing monthly and yearly numbers

Cap rate uses yearly NOI. Multiply monthly rent and expenses by 12 before dividing by the price.

Typing estimates into the formula

Put vacancy, expenses and the target cap rate in cells, so you can test other values and see what the answer rests on.

FAQ

What is the cap rate formula in Excel?

=NOI/price, formatted as a percentage. With monthly figures: =(rent*12*(1-vacancy)-monthly_expenses*12)/price.

Is cap rate the same as return on investment?

No. Cap rate ignores how you pay for the property. Your own return depends on the loan, the cash you put in and what the property sells for later; cash-on-cash return is the usual way to include the loan.

What expenses go into NOI?

Running costs: property tax, insurance, repairs and maintenance, management, HOA fees and owner-paid utilities. Mortgage payments, depreciation and your income tax stay out. Some investors also include a yearly reserve for big repairs; do it the same way for every property you compare.

What is a good cap rate?

There's no single answer: cap rates differ a lot by city, neighborhood and property type, and a higher one usually comes with more risk or work. Compare a property with similar ones nearby. This page shows the calculation, not investment advice.

Functions used

Related guides

Updated