Cap rate calculator
The capitalization rate is a property's net operating income divided by its price: what it earns in a year before any loan, as a share of what you pay. Enter the price, rent and expenses, or fill them from an address.
Fill from an address (optional)
Optional: fills the price, rent estimate, taxes and HOA from the home's public Zillow page. Or just type your numbers.
Results for the worked example
- Gross rent (a year)
- $25,200
- Vacancy
- -$1,260
- Effective gross income
- $23,940
- Operating expenses
- -$8,485
- Net operating income
- $15,455
- Expense ratio
- 35.44%
- Cash flow is negative with these inputs: the rent doesn't cover the costs and the loan payment.
Not financial advice. These figures are estimates for illustration: plain arithmetic on the inputs shown, several of which are assumptions or estimates (see inputs). The Zestimate and rent Zestimate are Zillow's estimates, not appraisals or offers. Check every input with a lender, an insurer and a local expert before you rely on it.
Not financial advice. The results are estimates for illustration: arithmetic on the numbers shown, some of which are assumptions. The Zestimate and rent Zestimate are Zillow's estimates. Check every input before you rely on it.
Run this for any home, from your own code
The rental analysis API returns these inputs, results and the projection as JSON from a Zillow link or an address. 50 free lookups, no card.
How it's calculated
Cap rate = net operating income / purchase price
The cap rate formula
Take a year of rent, subtract an allowance for vacancy, then subtract the operating expenses. That is the net operating income (NOI). Divide it by the purchase price and show it as a percentage.
The loan doesn't appear anywhere in the formula. That is the point of a cap rate: it describes the property, not the way you pay for it, so two buyers with different loans see the same cap rate.
What counts as an operating expense
Operating expenses are the costs of running the property, whoever owns it. The calculator counts:
- Vacancy (as lost rent, before expenses)
- Property management, as a share of the rent collected
- Maintenance and capital expenditures, set aside as a share of the gross rent
- Property tax, insurance and the HOA fee
- Any other monthly costs you pay as the owner
Cap rate vs cash-on-cash return
Cap rate ignores financing. Cash-on-cash return includes it: it divides the cash flow after loan payments by the cash you actually put in. A leveraged purchase can have a higher or lower cash-on-cash return than its cap rate, depending on the interest rate.
Use the cap rate to compare properties with each other, and cash-on-cash return to judge a purchase with your own loan. The calculator shows both.
Reading a cap rate the way an appraiser does
Cap rate turns a year of income into a price and back again. Divide NOI by the cap rate buyers expect in an area and you get a rough income value; divide NOI by an asking price and you get the cap rate that price implies. That is why investors compare it across listings before they look at any loan.
Because the formula has only two parts, small changes move it a lot. A higher vacancy allowance, a management fee you had forgotten, or a reassessed property tax all lower NOI and with it the cap rate. A lower purchase price raises it. Try each in the calculator to see which assumption matters most for the home you're looking at.
Gross yield is not cap rate
Gross yield divides a year of rent by the price and stops there. Cap rate takes off vacancy and every operating cost first, so it is always lower for the same home. When a listing quotes a yield, ask which one it means, and recompute it here with the expenses filled in.
What is a good cap rate?
There is no single good number. Cap rates differ by market, property type and condition, and a higher cap rate often comes with more risk or less expected growth. Compare a property with similar homes in the same area, worked out the same way, with the same expenses counted.
Watch for listings that quote a cap rate without vacancy, management or maintenance: they look better than the property will perform.
Worked example
Illustrative numbers, worked out with the same formulas as the calculator; the other inputs are the defaults below.
| Price | $250,000 |
|---|---|
| Monthly rent | $2,100 |
| Vacancy, management, maintenance, capex | 5%, 8%, 5%, 5% |
| Property tax, insurance (a year) | $2,800, $1,250 |
| Step | How | Result |
|---|---|---|
| Gross rent (a year) | monthly rent x 12 | $25,200 |
| Vacancy | gross rent x vacancy | -$1,260 |
| Effective gross income | gross rent - vacancy | $23,940 |
| Operating expenses | management + maintenance + capex + tax + insurance + HOA + other | -$8,485 |
| Net operating income (NOI) | effective gross income - operating expenses | $15,455 |
| Cap rate | NOI / price | 6.18% |
The inputs this calculator doesn't ask for keep their defaults. Every default and estimate is listed once, with its reason, in the rental property calculator's assumptions.
Cap rate calculator questions
Does the cap rate include the mortgage?+
No. The cap rate uses the net operating income, before any loan payment, so it is the same however you finance the purchase.
Should I use the asking price or the Zestimate?+
Use the price you expect to pay. With an address the calculator fills the list or sold price, or Zillow's Zestimate when the home isn't listed; you can type any price instead.
Why is my cap rate lower than the one in a listing?+
Listings often leave out vacancy, management, maintenance or capital expenditures. This calculator counts them, at defaults you can change.
Is a higher cap rate always better?+
Not always. A higher cap rate means more income for the price, but it often comes with more risk, an older building or a weaker market.
Does appreciation change the cap rate?+
No. Cap rate is a snapshot of one year of income against the price; expected price growth isn't part of it. The rental property calculator's projection covers appreciation.
Can a cap rate decide the deal on its own?+
No. It describes the property's income, not your loan, your taxes or your plans for the home, so treat it as one input to a decision you make with qualified advice. It isn't financial advice.
More free tools and the API
- Rental property calculator
- Cash-on-cash return calculator
- DSCR calculator
- Rent estimate by address
- Zillow data lookupEvery field for one home: price, Zestimate, history, photos
- Rental analysis API referenceThe same analysis as JSON from your own code
- Zillow API pricingPlans and per-lookup prices
- Get a free API key50 free lookups, no card
Related guides
- Calculate Estimated Gross Rental Yield for a Property Shortlist
A Python gross rental yield calculator for a property shortlist that labels every input: your assumed price and rent, or the source's asking price and rent Zestimate, with expenses excluded.
- Build a Property Research Dashboard with Python
Build a local dashboard for a property shortlist using an API snapshot. Compare returned addresses, listing prices, estimates, errors, and collection times.
- Missing Zestimate data: handle null values correctly
Why is a Zestimate not available? What a missing Zestimate means, and how to keep null distinct from zero, asking price, and rent Zestimate.
Rental analysis by API
50 free lookups, no card, no approval.
Zillow is a trademark of Zillow, Inc. PropertiesAPI is an independent service and is not affiliated with, endorsed by or sponsored by Zillow.