How do I calculate location based taxes?

Is it possible to calculate location based taxes? For instance, charge a different tax rate for a different zip-code.