boardfluent-saas-calculators
v1.0.0
Published
Dependency-free TypeScript library of SaaS metric calculators from BoardFluent
Maintainers
Readme
boardfluent-saas-calculators
Dependency-free TypeScript library of SaaS metric calculators.
This is the open, deterministic layer beneath BoardFluent, the SaaS board-meeting platform. The benchmark data, premium calculators, and AI-driven GTM Diagnostic stay private in the product. Every formula here is a pure function with no network calls, no state, and no dependencies outside the TypeScript standard library. You can read the source, verify the math, and trust the output.
Calculators
Core Financial and Profitability
ruleOf40-- growth rate + profit marginruleOfX-- weighted growth rate + FCF margingrossMargin-- gross profit and margin from revenue and COGSebitdaMargin-- EBITDA / revenuefcfMargin-- free cash flow / revenuerevenueGrowth-- year-over-year or period-over-period growth raterevenuePerEmployee-- revenue / FTE headcountburnMultiple-- net burn / net new ARRrunway-- months of cash runway at current burnquickRatio-- (new MRR + expansion MRR) / (churned MRR + contraction MRR)
SaaS Revenue and Retention
arrFromMrr,mrrFromArr,arpa-- recurring revenue conversions and average revenue per accountnrr-- net revenue retentiongrr-- gross revenue retentionlogoChurn,grossRevenueChurn,netRevenueChurn-- logo and revenue churn ratesnetNewArr-- net new ARR from all four ARR movementscac-- customer acquisition costcacPayback-- CAC payback period in monthsltv-- customer lifetime valueltvToCac-- LTV to CAC ratiomagicNumber-- net new ARR / prior-period S&M spend
GTM and Sales Efficiency
salesCapacity-- realistic bookings capacity from ramped AEsrampedQuotaCoverage-- ramped capacity / bookings plan
Pricing and GTM Diagnostic
topSegmentShare,herfindahlIndex-- revenue concentration by segmentcoverage,topIntegrationAttachRate-- integration coverage and attach ratepriceRealization-- realized ARPA / list ARPAdiscountWaterfall-- average discount from list to realized price
Installation
npm install boardfluent-saas-calculatorsUsage
import { ruleOf40, cacPayback } from "boardfluent-saas-calculators";
// Rule of 40: growth rate + profit margin (both as decimals)
const score = ruleOf40({ growthRate: 0.42, profitMargin: 0.08 });
console.log(score); // 0.50 (50 -- above the 40-point threshold)
// CAC payback in months
const paybackMonths = cacPayback({
cac: 12_000, // cost to acquire one customer
arpa: 1_000, // monthly revenue per account
grossMargin: 0.78, // 78% gross margin
});
console.log(paybackMonths); // ~15.4 monthsEvery formula carries a JSDoc comment with its definition, where teams commonly get it wrong, and a healthy range by company stage. You can trust the number without taking my word for it.
License
MIT
Who built this
Mike Dayton. Two decades leading revenue as a CRO, CSO, and GM at PE-backed, public, and founder-led B2B software companies, plus one company founded and sold. I build BoardFluent, the SaaS board-meeting platform these calculators come from.
If a number here raises a question you want an operator's read on, I work with SaaS founders and boards on GTM diagnostics and advisory. More at https://boardfluent.com.
