Quick Answer: Calculate CAC by allocating every non-attributable direct-traffic customer into an "unknown" acquisition bucket, then distribute that bucket’s cost using a defensible attribution rule such as last non-direct touch, first-touch assisted conversion, or modeled source mix. The key is not to ignore direct traffic, but to normalize it into a measurable channel so total CAC still equals total sales and marketing spend divided by total new customers acquired.
When customers arrive via direct traffic with no identifiable source, the correct CAC method is to treat those conversions as an attribution problem, not as an exception. Start with total acquisition spend across paid media, content, sales development, tools, and relevant labor, then divide by total new customers, including direct visitors, after assigning them to a channel using a consistent rule. In mature reporting systems, direct traffic is often a catch-all for untracked channels such as dark social, email opens, offline referrals, brand search, or returning users, so the most reliable approach is to supplement platform data with UTM governance, CRM source capture, call tracking, and first-party analytics. If attribution remains incomplete, use a weighted model or proportional allocation based on known channel mix to prevent artificially inflating or understating CAC.