40%

Complete your profile to find better job opportunities

saas-churn-unit-economics
GitHubRepository

saas-churn-unit-economics

SaaS churn prediction & unit economics — LTV, CAC, cohort analysis, NRR diagnostics

  • 0 stars
  • 0 forks
  • Python language
View on GitHub
Published
18 Sept 2026
Updated
3 Oct 2026
AI summary

This repository contains Python scripts for analyzing subscription/SaaS business metrics, including churn prediction and unit economics. It generates synthetic customer data and calculates financial metrics like LTV, CAC, and NRR, alongside cohort analysis and churn root cause diagnosis.

From the README

SaaS Churn & Unit Economics Analysis What is this? This project analyses a subscription/SaaS business and tries to answer a simple question: Why are customers leaving, and what does that mean for the business financially? It creates synthetic SaaS customer data and analyses: • Revenue • Churn • Customer retention • CAC • LTV • Payback period • NRR • GRR • Customer cohorts • Possible churn causes How the project works Main files • generatesaasdata.py — creates sample customer data • financialmodel.py — calculates business and financial metrics • cohortanalysis.py — studies customer retention over time • rootcausediagnosis.py — looks for possible reasons for churn • app.py — Streamlit...

Skills

  • Python

More work by Ajit Pal Singh