How do you handle sales tax on shipping charges when selling to customers in different states?
Shipping is one of the few line items where the tax answer flips from state to state. Here is how the rules break down and how to configure your store so the shipping line gets taxed correctly without manual fixes.

Why shipping is taxed differently depending on the state
Every state that has a sales tax defines a taxable sales price, and the disagreement is about whether the cost of getting the item to the buyer belongs inside that price. One group of states treats delivery as part of the sale: if the item is taxable, the shipping charge is taxable too, no matter how it is presented on the invoice. Texas is a well-known example of this approach. Another group excludes shipping when it is separately stated and reflects the actual cost of a common carrier, with California being the most cited example, while still taxing anything labeled as handling. A third set of states applies conditions such as whether the buyer had the option to pick up the goods or whether title passed before or after delivery. Related: Common Sales Tax Mistakes Small Sellers Make
Handling is the piece sellers most often get wrong. In many states that exempt pure transportation, a combined shipping and handling charge becomes fully taxable because the exempt portion is no longer separately stated. The practical lesson is to keep shipping and handling as distinct line items in your order system, even if you show the customer one delivery total, so that you can apply the exemption where it exists. When your cart merges them, you lose the ability to treat them differently and typically end up overcharging in exempt states or undercharging in taxable ones.
Keep reading: US Sales Tax Basics for Online Sellers, What Economic Nexus Means and Why It Matters, Origin vs Destination Based Sales Tax, Explained. See how SalesTaxly helps you us sales tax rates and lookup for online stores.
Mixed orders, free shipping, and partial exemptions
The hard cases show up when a single shipment contains both taxable and exempt items, such as a taxable gadget shipped with exempt groceries or a clothing item that is exempt in one state and taxable in another. Most states that tax shipping want it allocated: the portion of the delivery charge attributable to taxable items is taxed and the rest is not. Allocation is usually done by price ratio or by weight ratio, and a state will typically accept either as long as it is reasonable and applied consistently. If you do not allocate, the default in many states is that the entire shipping charge is taxable, which is the worst outcome for your customer.
Free shipping removes the question entirely, since a zero charge produces zero tax. Flat-rate shipping that exceeds actual carrier cost is the opposite: in states that exempt only actual cost, the markup above cost is generally treated as handling and taxed. A store charging a flat delivery fee on every order should expect that fee to be taxable in more states than a store passing through the carrier's rate. Neither approach is wrong, but the tax configuration must match the pricing strategy you actually use.
Configuring your checkout so shipping tax follows the destination
Because shipping taxability follows the same destination rules as the goods, your tax engine needs to know three things at checkout: the ship-to address, whether the items in the cart are taxable at that address, and how the shipping charge is labeled. A rate lookup that only returns a combined percentage for the ZIP code cannot answer whether shipping is included in the base; it needs a shipping taxability flag per state layered on top. Most modern rate services expose this as a separate setting, and it is worth verifying that the flag is enabled for every state where you have nexus rather than assuming the default is right. Related: How to Charge the Right Sales Tax at Checkout
Test the configuration with real addresses in a few contrasting states before launch. Place a taxable order to a state that taxes shipping, a taxable order to a state that exempts separately stated shipping, and a mixed order to a state that requires allocation, then compare the tax line against a manual calculation. The differences are typically small per order, but on thousands of orders a year a shipping tax error becomes an audit finding or a wave of refund requests. Keep the test orders documented so you can show your reasoning if a state ever asks.
Handling shipping tax on your returns and records
When you file, states that tax shipping expect it to be included in gross taxable sales, and states that exempt it usually want the amount reported as a deduction or simply excluded. Your sales report needs to break shipping out by state and by taxability so the return matches the tax you actually collected. If you collected tax on shipping in a state where it was exempt, you cannot keep the excess; it must be refunded to customers or remitted to the state depending on the state's rules on over-collection. Related: Product Taxability: Why Not Everything Is Taxed the Same
Finally, remember that shipping rules change like everything else in sales tax. States revise their definitions of sales price, courts rule on whether delivery is part of the sale, and a state that exempted shipping last year may tax it now. Add shipping taxability to the same review cycle you use for rate changes, typically each quarter, and confirm that your tax settings still match the current rule in every state where you collect. Related: Why Sales Tax Rates Change So Often
- Shipping is taxable in some states whenever the item is taxable, and exempt in others only if it is separately stated and reflects actual carrier cost.
- Handling charges are taxable far more often than pure shipping, so keep them as separate line items in your order data.
- Mixed taxable and exempt orders usually require allocating the shipping charge by price or weight ratio.
- Verify the shipping taxability setting in your tax engine for every nexus state and retest it each quarter.
Charge the right US sales tax, every time
US sales tax rates and lookup for online stores. SalesTaxly is built to help you put this into practice.
Look up a rateMore from the SalesTaxly blog

US Sales Tax Basics for Online Sellers

What Economic Nexus Means and Why It Matters

Origin vs Destination Based Sales Tax, Explained
Get the SalesTaxly playbook
Practical guides on sales tax rates, straight to your inbox as we publish them. No spam, unsubscribe any time.
