The sales magic number, also known as the SaaS magic number, measures the revenue return on money spent on sales and marketing in SaaS businesses. It is calculated by comparing the change in annual recurring revenue (ARR) to the total customer acquisition cost (CAC) from the previous quarter. A magic number over 0.75 indicates efficient sales and marketing activities.