Total Addressable Market (TAM) is the total potential market size for a product or service, while the Served Available Market (SAM) is the portion of the TAM that a company can realistically target and serve.