Finding Product-Market Fit: A Data-Driven Framework for SaaS Founders

Published: (June 11, 2026 at 09:12 PM EDT)
5 min read
Source: Dev.to

Source: Dev.to

Product-market fit is not a binary milestone — it is a measurable state where your product solves a problem so well that users return organically and tell others. This guide presents a quantifiable framework for measuring PMF, including the Supergraphic metric, cohort retention analysis, the Sean Ellis test, and specific action plans for when you have not yet found fit. The techniques described here were used in the development of tanstackship.com. The most practical definition comes from Andrew Chen (a16z): PMF is when your retention curve flattens. Users do not churn because your product has become a habit. Before PMF, your retention curve looks like this: 100% │ 75% │ ↘ 50% │ ↘ 25% │ ↘ 0% │______ │ D1 D7 D30 D90

After PMF: 100% │ 75% │ ↘ 50% │ ↘─── 25% │ ──── 0% │__________──── │ D1 D7 D30 D90

The difference is the plateau — users who reach day 30 tend to stay. This is the single metric that matters more than any other. Coined by David Sacks (Yammer/Craft Ventures), the Supergraphic is a simple cohort retention chart that visually shows PMF: // Calculate cohort retention from your analytics database // src/server/analytics.ts export const getCohortRetention = createServerFn({ method: “GET” }).handler( async ({}, { context }) => { const rows = await context.env.DB.prepare( SELECT strftime('%Y-%m', created_at) as cohort_month, COUNT(DISTINCT id) as total_users, COUNT(DISTINCT CASE WHEN last_active_at >= datetime('now', '-7 days') THEN id END) as active_last_week, COUNT(DISTINCT CASE WHEN last_active_at >= datetime('now', '-30 days') THEN id END) as active_last_month FROM users GROUP BY cohort_month ORDER BY cohort_month DESC LIMIT 12 ).all()

return rows.results.map((row) => ({
  cohort: row.cohort_month,
  retention: (row.active_last_month / row.total_users) * 100,
  weeklyActive: (row.active_last_week / row.total_users) * 100,
}))

} )

Reading the Supergraphic: If earlier cohorts show higher retention than recent ones → product is improving If all cohorts converge at ~30-40% → you have weak PMF If any cohort stably plateaus > 40% → you have strong PMF If the most recent cohort drops below 20% → you have a problem with onboarding or activation The most famous PMF metric: “How would you feel if you could no longer use the product?” // Prompt this survey in-app after 2 weeks of usage const pmfSurvey = { question: “How would you feel if you could no longer use [Product Name]?”, options: [ “Very disappointed”, “Somewhat disappointed”, “Not disappointed”, “N/A — I no longer use it”, ], }

Survey Result Interpretation

40%+ “Very disappointed” Strong PMF — focus on growth

25-40% “Very disappointed” Promising — improve core features

{ await context.env.DB.prepare( INSERT INTO pmf_surveys (user_id, response, created_at) VALUES (?, ?, ?) ).bind(context.user.id, data.response, Date.now()).run()

// Also check: do "very disappointed" users have higher usage?
return { recorded: true }

} )

Set up automatic cohort analysis using TanStack Start server functions and Cloudflare D1: export const getCohortAnalysis = createServerFn({ method: “GET” }).handler( async ({ data, context }: { data: { months: number } }) => { const cohorts = []

for (let i = 0; i = ? AND created_at  30% of total signups

Self-serve conversions Paid without touching sales

20% conversion rate

Feature adoption % of users using core feature

60% weekly use

NPS score Post-onboarding survey

30

Time to value From signup to first “aha” 1 referral per user

When we started building at tanstackship.com, the initial assumption was that the product would appeal to all React developers building SaaS. Cohort analysis told a different story: Cohort Analysis (Early Stage): ┌────────────┬──────────┬──────────┬──────────┐ │ Cohort │ D1 │ D7 │ D30 │ ├────────────┼──────────┼──────────┼──────────┤ │ 2025-Q3 │ 82% │ 52% │ 18% │ │ 2025-Q4 │ 85% │ 58% │ 22% │ │ 2026-Q1 │ 88% │ 62% │ 35% │ │ 2026-Q2 │ 91% │ 71% │ 48% │ └────────────┴──────────┴──────────┴──────────┘

The key insight from user interviews: users who were solo founders or small teams building their first SaaS had significantly higher retention than users evaluating it as part of an enterprise stack. We narrowed messaging, documentation, and feature development to serve the solo founder segment first. If you have built UTM and event tracking into your SaaS (as TanStack Ship provides), you can automate PMF measurement: // Automate PMF dashboard with worker cron export const generatePmfReport = createServerFn({ method: “GET” }).handler( async ({}, { context }) => { const [retention, survey, usage] = await Promise.all([ getCohortRetention(), getPmfSurveyResults(), getCoreFeatureAdoption(), ])

return {
  supergraphic: retention,
  seanEllisScore: survey.veryDisappointedPercent,
  dailyActiveUsers: usage.dau,
  weeklyActiveUsers: usage.wau,
  recommendation: survey.veryDisappointedPercent > 40
    ? "Scale acquisition"
    : survey.veryDisappointedPercent > 25
    ? "Deepen engagement"
    : "Investigate pivot",
}

} )

Product-market fit is not magic — it is measurable. The Supergraphic shows you at a glance whether your retention curve is flattening. The Sean Ellis survey tells you whether users would miss your product. Cohort analysis reveals which segments love you and which do not. The framework is simple but not easy: Measure cohort retention weekly Survey users at the 2-week mark Segment power users and analyze their behavior Act on the data — narrow, deepen, or pivot Most startups fail not because they never find PMF, but because they give up too early or pivot too late. A systematic, data-driven approach removes the guesswork. For a SaaS starter with built-in analytics and cohort tracking infrastructure, see tanstackship.com. SaaS Customer Onboarding: Turning Signups into Active Users Content Marketing ROI: Measuring What Matters for SaaS Growth SaaS Growth Framework: First 100 Paying Customers UTM Attribution Complete Guide

0 views
Back to Blog

Related posts

Read more »