Settings
  • Tably
    • Simple and powerful data analytics for everyone. Import, explore, share and collaborate with ease.
    • Quick templates
      • Open a CSV. Edit, explore, and chart, from 10 rows to 10 million.
      • Marketing
      • Product metrics
      • Social statistics
      • Consumer research
      • Visual analysis
      • Google Ads Dashboard
      • PostHog
      • Easy imports
        • Google Analytics
        • Google Ads
        • Google Sheets
        • Amazon Seller Partner
        • Amazon Ads
        • Shopify
        • TikTok Marketing
        • Instagram
        • Facebook Pages
        • Facebook Marketing
        • LinkedIn Ads
        • Linkedin Pages
        • Paypal Transaction
        • Stripe
        • Square
        • Mailchimp
        • Intercom
        • ClickUp
        • HubSpot
        • Salesforce
        • QuickBooks
        • Sentry
        • PostgreSQL
        • Snowflake
        • MySQL
        • DBT
        • 7shifts
        • ActiveCampaign
        • Aha
        • Airbyte
        • Aircall
        • Airtable
        • Algolia
        • Amazon SQS
        • Amplitude
        • Apify Dataset
        • Appcues
        • Appfigures
        • Appfollow
        • Apple Search Ads
        • Asana
        • Ashby
        • Auth0
        • Aws Cloudtrail
        • Azure Table Storage
        • BambooHR
        • Basecamp
        • Beamer
        • BigQuery
        • Bing Ads
        • Bitly
        • Braintree
        • Braze
        • Breezy HR
        • Brevo
        • Buildkite
        • Buzzsprout
        • Calendly
        • CallRail
        • Campaign Monitor
        • Canny
        • Cart.com
        • Chargebee
        • Chartmogul
        • ClickHouse
        • Clockify
        • Close.com
        • Coda
        • Coin API
        • CoinMarketCap
        • ConfigCat
        • Confluence
        • Convex
        • Datascope
        • Delighted
        • Dixa
        • Dockerhub
        • Dremio
        • DynamoDB
        • EmailOctopus
        • Exchange Rates Api
        • Firebolt
        • Flexport
        • Freshcaller
        • Freshdesk
        • Freshsales
        • Gainsight PX
        • Lago
        • GitHub
        • Gitlab
        • Glassfrog
        • GNews.io
        • Google Directory
        • Google PageSpeed Insights
        • Google Search Console
        • Google Webfonts
        • Greenhouse
        • Gridly
        • Harvest
        • Hibob
        • Hubplanner
        • Insightly
        • Instatus
        • IP2Whois
        • Iterable
        • Jira
        • K6 Cloud
        • Klarna
        • Klaviyo
        • KYVE
        • LaunchDarkly
        • Lemlist
        • Lever Hiring
        • Link to File
        • Linnworks
        • Lokalise
        • Mailgun
        • Mailjet SMS
        • Marketo
        • Metabase
        • Microsoft Teams
        • Mixpanel
        • Monday
        • MongoDB
        • Microsoft SQL Server
        • My Hours
        • Netsuite
        • Notion
        • The New York Times
        • Okta
        • Omnisend
        • OneSignal
        • Oracle Database
        • Orb
        • Outbrain Amplify
        • Outreach
        • Paystack
        • Pendo
        • PersistIQ
        • Pexels
        • Pinterest
        • Pipedrive
        • Pocket
        • Polygon.io
        • Postmark
        • PrestaShop
        • Python Package Index
        • Qualaroo
        • Railz
        • Recharge
        • Recreation
        • Recruitee
        • Recurly
        • Redshift
        • Retently
        • RSS
        • Salesloft
        • SAP Fieldglass
        • Secoda
        • Sendgrid
        • Brevo
        • Senseforce
        • Shortio
        • Slack
        • Smaily
        • Smartsheets
        • Snapchat Marketing
        • SpaceX
        • Strava
        • SurveyMonkey
        • Tempo
        • The Guardian
        • Todoist
        • Trello
        • TrustPilot
        • TVMaze Schedule
        • Twilio
        • Twilio Taskrouter
        • Twitter
        • Typeform
        • Vantage
        • Webflow
        • Whisky Hunter
        • Wikipedia Pageviews
        • WooCommerce
        • Xero
        • Yandex Metrica
        • Yotpo
        • YouTube Analytics
        • Zendesk Chat
        • Zendesk Sunshine
        • Zendesk Support
        • Zendesk Talk
        • Zenloop
        • ZohoCRM
        • Zoom
    • Company
      • About
      • Whatโ€™s new?
      • Blog
        • Connecting people with their data. Empathy-driven design at Tably.
        • 10 years of betting on Rust and what Iโ€™m looking forward to next.
        • A Trillion-Dollar Problem
      • Terms of Service
      • Privacy policy
    • Pricing
    • Follow us
    • Community

Today

    Tably
    ๐Ÿš€
    Simple and powerful data analytics for everyone. Import, explore, share and collaborate with ease.
    โšก
    Quick templates
    ๐Ÿ›Ÿ
    Company
    ๐Ÿ’ธ
    Pricing
    ๐Ÿ“„
    Open a CSV. Edit, explore, and chart, from 10 rows to 10 million.
    ๐Ÿ“Š
    Marketing
    ๐ŸŽฎ
    Product metrics
    ๐ŸŒŽ
    Social statistics
    ๐Ÿ›’
    Consumer research
    ๐Ÿ–ผ๏ธ
    Visual analysis
    Google Ads Dashboard
    PostHog
    ๐Ÿ†
    Easy imports
    ๐Ÿ›ฐ๏ธ
    About
    โญ
    Whatโ€™s new?
    ๐Ÿ“ฐ
    Blog
    ๐Ÿ“œ
    Terms of Service
    ๐Ÿ”’
    Privacy policy
    Google Analytics
    Google Ads
    Google Sheets
    Amazon Seller Partner
    Amazon Ads
    Shopify
    TikTok Marketing
    Instagram
    Facebook Pages
    Facebook Marketing
    LinkedIn Ads
    Linkedin Pages
    Paypal Transaction
    Stripe
    Square
    Mailchimp
    Intercom
    ClickUp
    HubSpot
    Salesforce
    QuickBooks
    Sentry
    PostgreSQL
    Snowflake
    MySQL
    DBT
    7shifts
    ActiveCampaign
    Aha
    Airbyte
    Aircall
    Airtable
    Algolia
    Amazon SQS
    Amplitude
    Apify Dataset
    Appcues
    Appfigures
    Appfollow
    Apple Search Ads
    Asana
    Ashby
    Auth0
    Aws Cloudtrail
    Azure Table Storage
    BambooHR
    Basecamp
    Beamer
    BigQuery
    Bing Ads
    Bitly
    Braintree
    Braze
    Breezy HR
    Brevo
    Buildkite
    Buzzsprout
    Calendly
    CallRail
    Campaign Monitor
    Canny
    Cart.com
    Chargebee
    Chartmogul
    ClickHouse
    Clockify
    Close.com
    Coda
    Coin API
    CoinMarketCap
    ConfigCat
    Confluence
    Convex
    Datascope
    Delighted
    Dixa
    Dockerhub
    Dremio
    DynamoDB
    EmailOctopus
    Exchange Rates Api
    Firebolt
    Flexport
    Freshcaller
    Freshdesk
    Freshsales
    Gainsight PX
    Lago
    GitHub
    Gitlab
    Glassfrog
    GNews.io
    Google Directory
    Google PageSpeed Insights
    Google Search Console
    Google Webfonts
    Greenhouse
    Gridly
    Harvest
    Hibob
    Hubplanner
    Insightly
    Instatus
    IP2Whois
    Iterable
    Jira
    K6 Cloud
    Klarna
    Klaviyo
    KYVE
    LaunchDarkly
    Lemlist
    Lever Hiring
    Link to File
    Linnworks
    Lokalise
    Mailgun
    Mailjet SMS
    Marketo
    Metabase
    Microsoft Teams
    Mixpanel
    Monday
    MongoDB
    Microsoft SQL Server
    My Hours
    Netsuite
    Notion
    The New York Times
    Okta
    Omnisend
    OneSignal
    Oracle Database
    Orb
    Outbrain Amplify
    Outreach
    Paystack
    Pendo
    PersistIQ
    Pexels
    Pinterest
    Pipedrive
    Pocket
    Polygon.io
    Postmark
    PrestaShop
    Python Package Index
    Qualaroo
    Railz
    Recharge
    Recreation
    Recruitee
    Recurly
    Redshift
    Retently
    RSS
    Salesloft
    SAP Fieldglass
    Secoda
    Sendgrid
    Brevo
    Senseforce
    Shortio
    Slack
    Smaily
    Smartsheets
    Snapchat Marketing
    SpaceX
    Strava
    SurveyMonkey
    Tempo
    The Guardian
    Todoist
    Trello
    TrustPilot
    TVMaze Schedule
    Twilio
    Twilio Taskrouter
    Twitter
    Typeform
    Vantage
    Webflow
    Whisky Hunter
    Wikipedia Pageviews
    WooCommerce
    Xero
    Yandex Metrica
    Yotpo
    YouTube Analytics
    Zendesk Chat
    Zendesk Sunshine
    Zendesk Support
    Zendesk Talk
    Zenloop
    ZohoCRM
    Zoom
    ๐ŸŒŽ
    Connecting people with their data. Empathy-driven design at Tably.
    ๐Ÿฆ€
    10 years of betting on Rust and what Iโ€™m looking forward to next.
    ๐Ÿ“ˆ
    A Trillion-Dollar Problem

Product metrics

There are a lot of critical metrics for monitoring the health of a Software-as-a-Service (SaaS) startup. Letโ€™s take Churn Rate and LTV:CAC Ratio as example and calculate them.

Loading, cleaning, and joining the data

This includes information on which marketing campaigns our users were acquired through.

Additionally, for each campaign, letโ€™s make sure we know the acquisition cost per user.








Churn Rate

Churn Rate is the percentage of customers who cancel their subscription in a given period. You want to keep this number as low as possible, to ensure a healthy growth. They say a churn rate between 3-8% is good.


Looks like customers are sticking around, which suggests they must like the product

LTV:CAC Ratio โš–๏ธ๏ธ๏ธ

Lifetime Value (LTV) shows the expected profit from a customer over their lifetime.




Now letโ€™s find out our LTV:CAC Ratio. A good one is around ~3.


Nice. Our metrics are looking too promising!


Product metrics

There are a lot of critical metrics for monitoring the health of a Software-as-a-Service (SaaS) startup. Letโ€™s take Churn Rate and LTV:CAC Ratio as example and calculate them.

Loading, cleaning, and joining the data

This includes information on which marketing campaigns our users were acquired through.

Additionally, for each campaign, letโ€™s make sure we know the acquisition cost per user.








Churn Rate

Churn Rate is the percentage of customers who cancel their subscription in a given period. You want to keep this number as low as possible, to ensure a healthy growth. They say a churn rate between 3-8% is good.

# Churn Rate (over a period of one month)

from dateutil.relativedelta import relativedelta
from datetime import datetime

df0["LastActivity"] = df0["LastActivity"].map(lambda x: datetime.strptime(x, '%Y-%m-%d').date())
df0["SignupDate"] = df0["SignupDate"].map(lambda x: datetime.strptime(x, '%Y-%m-%d').date())

end_date = df0["SignupDate"].max() - relativedelta(years=1)
start_date = end_date - relativedelta(months=1)

is_existing_user = df0["SignupDate"] <= start_date

active_at_start = is_existing_user & (df0["LastActivity"] >= start_date)
inactive_at_end = is_existing_user & (df0["LastActivity"] <= end_date)

churn_rate = (active_at_start & inactive_at_end).sum() / active_at_start.sum()
pd.DataFrame({ 'Churn Rate' : [churn_rate] })

Looks like customers are sticking around, which suggests they must like the product

LTV:CAC Ratio โš–๏ธ๏ธ๏ธ

Lifetime Value (LTV) shows the expected profit from a customer over their lifetime.

# Lifetime Value (LTV) = Average Revenue ร— Average Customer Lifespan

from dateutil.relativedelta import relativedelta
from datetime import datetime
import numpy as np

df0["LastActivity"] = df0["LastActivity"].map(lambda x: datetime.strptime(x, '%Y-%m-%d').date())
df0["SignupDate"] = df0["SignupDate"].map(lambda x: datetime.strptime(x, '%Y-%m-%d').date())

monthly_revenue = df0["Fee"].astype(int)

lifespan_months = (df0["LastActivity"] - df0["SignupDate"]) / np.timedelta64(1, 'M')

LTV = monthly_revenue * lifespan_months

pd.DataFrame({ 'ID' : df0["ID"], 'LTV' : LTV })



Now letโ€™s find out our LTV:CAC Ratio. A good one is around ~3.

# LTV:CAC Ratio

LTV_CAC = (df0["LTV"] / df0["AcquisitionCostPerUser"]).mean()

pd.DataFrame({ 'LTV:CAC' : [LTV_CAC] })

Nice. Our metrics are looking too promising!


Product metrics

There are a lot of critical metrics for monitoring the health of a Software-as-a-Service (SaaS) startup. Letโ€™s take Churn Rate and LTV:CAC Ratio as example and calculate them.

Loading, cleaning, and joining the data

This includes information on which marketing campaigns our users were acquired through.

Additionally, for each campaign, letโ€™s make sure we know the acquisition cost per user.

CSV

CSV

Find and replace

ยฃ
with

Column settings

Join

on columnandon column

CSV

Join

on columnandon column
Loadingโ€ฆ

Churn Rate

Churn Rate is the percentage of customers who cancel their subscription in a given period. You want to keep this number as low as possible, to ensure a healthy growth. They say a churn rate between 3-8% is good.

Code

Loadingโ€ฆ

Looks like customers are sticking around, which suggests they must like the product

LTV:CAC Ratio โš–๏ธ๏ธ๏ธ

Lifetime Value (LTV) shows the expected profit from a customer over their lifetime.

Code

Column settings

Join

on columnandon column

Now letโ€™s find out our LTV:CAC Ratio. A good one is around ~3.

Code

Loadingโ€ฆ

Nice. Our metrics are looking too promising!


Actions

Insert

Connect service

Connect database

Open a file

Open from cloud

No matches

Suggestions

Insert

Actions

Connect service

Connect database

Open a file

Open from cloud

No matches

TablyโšกQuick templates๐ŸŽฎProduct metrics

Continue with

Loadingโ€ฆ
GoogleMicrosoft