Business metrics library: formulas and SQL

106 metrics, each with a plain definition, the formula, a ready-to-adapt SQL query, and the specific mistakes that make the number wrong. Standard definitions only: no benchmarks, because good values depend on your business.

Sales metrics

Marketing metrics

SaaS and subscription metrics

Finance metrics

Retail and e-commerce metrics

Operations and logistics metrics

Customer support metrics

People and HR metrics

Product analytics metrics