# Collect tax with Checkout

Learn how to automatically calculate taxes using Stripe Checkout.

Stripe Tax automatically calculates taxes on purchases and *subscriptions* (A Subscription represents the product details associated with the plan that your customer subscribes to. Allows you to charge the customer on a recurring basis) during a Checkout Session. If you haven’t integrated with Stripe Checkout, start with the [Accept a Payment guide](https://docs.stripe.com/checkout/quickstart.md) first.

> #### Transfer tax liability to Stripe
> 
> If you sell digital products, [Managed Payments](https://docs.stripe.com/payments/managed-payments/tax-compliance.md) lets you transfer tax liability to Stripe, meaning we’re directly responsible for handling sales tax, VAT, or GST globally. Managed Payments also handles fraud prevention, dispute management, and customer support on all transactions.

## Choose your integration

| **Integration** | **Description** |
| --- | --- |
| [Checkout page](https://docs.stripe.com/tax/checkout/page.md) | Use the Stripe-hosted Checkout page or the embedded form for a prebuilt UI. |
| [Checkout elements](https://docs.stripe.com/tax/checkout/elements.md) | Use elements mode for full control over the payment form layout. |

## See also

- [Collect tax IDs with Checkout](https://docs.stripe.com/tax/checkout/tax-ids.md)
- [Adaptive Pricing and Stripe Tax](https://docs.stripe.com/tax/calculating/adaptive-pricing.md)
- [Test your tax integration](https://docs.stripe.com/tax/testing.md)
