How is sales tax calculated?

How is sales tax calculated?

For items shipped to the State of California, sales tax is calculated based on our warehouse location in San Leandro, CA.