Convert Churn Rate to Customer Retention & Project Growth
The percentage of customers cancelling per period.
Used to project customer loss over time.
Monthly
Yearly
Quarterly
Retention Rate
0%
Customers Retained (Period 1)
0
Customers Lost (Period 1)
0
Implied Average Lifespan
0 Periods
Retention Decay Projection (Next 12 Periods)
Period
Start Count
Churned
Retained (End)
Retention Rate
function calculateRetention() {
// 1. Get Inputs
var churnRateInput = document.getElementById('churnRateInput').value;
var startCustomersInput = document.getElementById('initialCustomers').value;
var periodType = document.getElementById('periodType').value;
// 2. Validation
if (churnRateInput === "" || isNaN(churnRateInput)) {
alert("Please enter a valid Churn Rate percentage.");
return;
}
var churnRate = parseFloat(churnRateInput);
var startCustomers = parseFloat(startCustomersInput);
if (isNaN(startCustomers) || startCustomers < 0) {
startCustomers = 1000; // Default fallback
}
if (churnRate 100) {
alert("Churn Rate must be between 0 and 100.");
return;
}
// 3. Main Logic: Retention from Churn
// Formula: Retention Rate = 100% – Churn Rate
var retentionRate = 100 – churnRate;
// Calculate immediate impact (Period 1)
var lostCustomers = Math.round(startCustomers * (churnRate / 100));
var retainedCustomers = startCustomers – lostCustomers;
// Calculate Implied Customer Lifespan (1 / Churn Rate)
var lifespan = 0;
if (churnRate > 0) {
lifespan = 1 / (churnRate / 100);
} else {
lifespan = "Infinite";
}
// 4. Update UI Results
document.getElementById('resultRetentionRate').innerHTML = retentionRate.toFixed(2) + "%";
document.getElementById('resultRetainedCount').innerHTML = retainedCustomers.toLocaleString();
document.getElementById('resultLostCount').innerHTML = "-" + lostCustomers.toLocaleString();
if (typeof lifespan === 'number') {
document.getElementById('resultLifespan').innerHTML = lifespan.toFixed(1) + " " + periodType + "s";
} else {
document.getElementById('resultLifespan').innerHTML = lifespan;
}
document.getElementById('resultsArea').style.display = "block";
// 5. Generate Projection Table Loop
var tableBody = document.getElementById('projectionTableBody');
tableBody.innerHTML = ""; // Clear previous
var currentCustomers = startCustomers;
for (var i = 1; i <= 12; i++) {
var startOfPeriod = currentCustomers;
var churnedInPeriod = startOfPeriod * (churnRate / 100);
var endOfPeriod = startOfPeriod – churnedInPeriod;
// For integer display in table
var displayStart = Math.round(startOfPeriod);
var displayChurn = Math.round(churnedInPeriod);
var displayEnd = Math.round(endOfPeriod);
var row = "
";
row += "
" + periodType + " " + i + "
";
row += "
" + displayStart.toLocaleString() + "
";
row += "
-" + displayChurn.toLocaleString() + "
";
row += "
" + displayEnd.toLocaleString() + "
";
row += "
" + retentionRate.toFixed(2) + "%
";
row += "
";
tableBody.innerHTML += row;
// Update for next loop iteration
currentCustomers = endOfPeriod;
// Break if customers reach 0
if (currentCustomers <= 0) break;
}
}
How to Calculate Retention Rate from Churn Rate
Understanding the relationship between Churn Rate and Retention Rate is fundamental for any business operating on a subscription or recurring revenue model (SaaS, memberships, service retainers). These two metrics are essentially two sides of the same coin.
The Core Relationship
The calculation to derive Retention Rate from Churn Rate is straightforward because they are inverse metrics that must sum up to 100% of your customer base for any given period.
Retention Rate (%) = 100% – Churn Rate (%)
For example, if your monthly Churn Rate is 5%, your Retention Rate is 95%. This means that in any given month, you keep 95% of the customers you had at the start of that month.
Definitions
Churn Rate: The percentage of subscribers who discontinue their subscriptions within a given time period.
Retention Rate: The percentage of subscribers who continue their subscriptions within a given time period.
Why Calculate "From Churn"?
Often, analytics dashboards prioritize showing Churn Rate because it represents a "leak" in the business bucket that needs immediate attention. However, when communicating with investors or calculating Customer Lifetime Value (LTV), the Retention Rate is frequently the required variable.
Using the calculator above, you can not only perform the percentage conversion but also visualize the Decay Rate. Even a high retention rate (e.g., 95%) can lead to a significant reduction in the original customer cohort over 12 months due to compound loss.
Calculating Implied Customer Lifespan
Once you have derived your Churn Rate (or Retention Rate), you can estimate how long the average customer stays with you. The formula is:
Average Customer Lifespan = 1 / (Churn Rate as a decimal)
If your churn rate is 5% (0.05), the calculation is 1 / 0.05 = 20. This indicates the average customer stays for 20 periods (months/years depending on your data).