Please enter valid numerical values for Price, Rent, and Interest Rate.
Total Cash Invested:$0.00
Monthly Mortgage Payment:$0.00
Total Monthly Expenses:$0.00
Monthly Cash Flow:$0.00
Annual Cash Flow:$0.00
Cash on Cash Return
0.00%
function calculateCoC() {
// Get Input Values
var price = parseFloat(document.getElementById('purchasePrice').value);
var downPercent = parseFloat(document.getElementById('downPaymentPercent').value);
var closing = parseFloat(document.getElementById('closingCosts').value);
var rent = parseFloat(document.getElementById('monthlyRent').value);
var rate = parseFloat(document.getElementById('interestRate').value);
var years = parseFloat(document.getElementById('loanTerm').value);
var expenses = parseFloat(document.getElementById('monthlyExpenses').value);
// Error Handling / Defaults
if (isNaN(price) || isNaN(rent) || isNaN(rate)) {
document.getElementById('cocError').style.display = 'block';
document.getElementById('cocResults').style.display = 'none';
return;
}
document.getElementById('cocError').style.display = 'none';
// Handle optional inputs defaulting to 0
if (isNaN(closing)) closing = 0;
if (isNaN(expenses)) expenses = 0;
if (isNaN(downPercent)) downPercent = 20;
// 1. Calculate Mortgage Payment
var downPaymentAmount = price * (downPercent / 100);
var loanAmount = price – downPaymentAmount;
var monthlyRate = (rate / 100) / 12;
var numPayments = years * 12;
// Mortgage Formula: M = P [ i(1 + i)^n ] / [ (1 + i)^n – 1]
var mortgagePayment = 0;
if (rate > 0) {
mortgagePayment = loanAmount * (monthlyRate * Math.pow(1 + monthlyRate, numPayments)) / (Math.pow(1 + monthlyRate, numPayments) – 1);
} else {
mortgagePayment = loanAmount / numPayments;
}
// 2. Calculate Cash Invested (Denominator)
var totalInvested = downPaymentAmount + closing;
// 3. Calculate Monthly Cash Flow (Numerator basis)
var totalMonthlyExpenses = mortgagePayment + expenses;
var monthlyCashFlow = rent – totalMonthlyExpenses;
// 4. Calculate Annual Cash Flow
var annualCashFlow = monthlyCashFlow * 12;
// 5. Calculate Cash on Cash Return
var cocReturn = 0;
if (totalInvested > 0) {
cocReturn = (annualCashFlow / totalInvested) * 100;
}
// Display Results
document.getElementById('resTotalInvested').innerText = formatMoney(totalInvested);
document.getElementById('resMortgage').innerText = formatMoney(mortgagePayment);
document.getElementById('resTotalExp').innerText = formatMoney(totalMonthlyExpenses);
document.getElementById('resMonthlyCashFlow').innerText = formatMoney(monthlyCashFlow);
document.getElementById('resAnnualCashFlow').innerText = formatMoney(annualCashFlow);
var cocElement = document.getElementById('resCoC');
cocElement.innerText = cocReturn.toFixed(2) + "%";
// Color coding for negative flow
if (cocReturn < 0) {
cocElement.style.color = "#c0392b";
} else {
cocElement.style.color = "#27ae60";
}
document.getElementById('cocResults').style.display = 'block';
}
function formatMoney(amount) {
return "$" + amount.toFixed(2).replace(/\d(?=(\d{3})+\.)/g, '$&,');
}
How to Calculate Cash on Cash Return for Rental Properties
Understanding the Cash on Cash (CoC) Return is vital for real estate investors. Unlike generic ROI, which might look at the total value of the asset, CoC Return focuses specifically on the money you actually put into the deal. It answers the question: "For every dollar I invested in cash, how much am I getting back this year?"
The Cash on Cash Return Formula
The calculation is relatively straightforward but requires accurate expense tracking:
Cash on Cash Return (%) = (Annual Pre-Tax Cash Flow / Total Cash Invested) x 100
1. Annual Pre-Tax Cash Flow
This is your net income from the property after all debts and operating expenses are paid, but before income taxes.
Calculation: (Monthly Rent – Mortgage Payment – Taxes – Insurance – Maintenance – Vacancy) × 12.
2. Total Cash Invested
This is the actual cash required to close the deal and get the property rent-ready. It typically includes:
Down Payment
Closing Costs (loan fees, title insurance, recording fees)
Immediate Repair/Rehab Costs
Real-World Example
Let's say you buy a property for $200,000 using the inputs in the calculator above:
Down Payment (20%): $40,000
Closing/Rehab Costs: $5,000
Total Cash Invested: $45,000
If your rental income is $2,000/month and your total expenses (mortgage + operations) are $1,600/month, your monthly cash flow is $400.
Annual Cash Flow: $400 × 12 = $4,800
CoC Return: ($4,800 / $45,000) × 100 = 10.66%
What is a Good Cash on Cash Return?
While targets vary by market and investor strategy, a CoC return between 8% and 12% is generally considered solid for long-term residential rentals. Investors seeking high cash flow might target 15%+, while those banking on appreciation might accept lower immediate returns.