Running an online store means wearing a lot of hats, and tax planning is usually the least welcome one. Ecommerce tax deductions can make a real difference to your bottom line each year, so they are worth getting right.
If you sell on Amazon, Shopify, or other platforms and generate meaningful revenue, a well-prepared tax return can save you thousands. The IRS lets you subtract every “ordinary and necessary” business expense from your gross income before tax is calculated. For product-based sellers, that includes inventory costs, platform fees, advertising, home office space, shipping supplies, software, and insurance. The trick is knowing which deductions apply, documenting them properly, and timing them for maximum benefit.
Below you will find a breakdown of the major ecommerce tax deductions, from cost of goods sold to retirement contributions, with practical steps for putting each one into action. This guide also covers sales tax nexus, estimated tax payments, and building a recordkeeping system that keeps you ready for an audit. One thing to note up front: if you earn more than $400 in net self-employment income, the IRS requires you to report it and pay self-employment tax, and most sellers also need to make quarterly estimated payments.
Deductions are only worth what you actually claim, and missed ones are money left on the table. Our ecommerce tax preparation service makes sure online sellers capture every deduction they are entitled to, correctly and defensibly.
Start With Revenue, COGS, And Inventory
Your tax return begins with gross sales, then you subtract cost of goods sold to find gross profit. Getting these numbers right is critical, because COGS is often the largest deduction for a product-based business, and fulfillment costs, storage fees, and Amazon FBA fees all factor in.
How Gross Sales Differ From Marketplace Payouts
The amount deposited in your bank from Amazon, Shopify Payments, or other processors is not your gross sales. Marketplaces withhold fees, refunds, and sometimes sales tax before sending funds. Gross sales are the total customers paid before any deductions, while your payout is what is left after the platform takes its share.
Report only bank deposits as revenue and you understate income and miss fee deductions. The IRS may receive a 1099-K showing a higher figure than your deposits, which can prompt questions. Reconcile your marketplace settlement reports with your bank statements each month so you report accurate gross revenue and deduct fees separately as business expenses.
What Counts In Cost Of Goods Sold
COGS includes all direct costs tied to products actually sold during the tax year, which typically covers wholesale inventory costs, manufacturing or production expenses, inbound freight, import duties, and storage fees. Amazon FBA fulfillment fees for pick, pack, ship, and storage are part of your cost structure. Some sellers list FBA fees under COGS while others treat them as operating expenses, and either approach is acceptable as long as it is applied consistently and accurately.
Inventory you purchased but have not yet sold cannot be deducted. The cost of unsold goods stays on your balance sheet as an asset until it sells.
COGS Calculation And Inventory Accounting Basics
The basic COGS formula is beginning inventory, plus purchases during the year, minus ending inventory, which equals cost of goods sold. Accurate inventory counts at the start and end of the year are essential, and you also need to select an inventory accounting method. FIFO (first in, first out) assumes you sell your oldest stock first, while LIFO (last in, first out) assumes you sell the newest first. Most ecommerce sellers use FIFO because it matches how inventory typically moves. Choose a method, apply it consistently, and note that changing methods requires IRS approval.
Tracking per-unit costs gets complex when you buy inventory at varying prices. Inventory management software that syncs with your sales channels can simplify this and give you reliable numbers if you are ever audited.
Track Operating Expenses Sellers Commonly Miss
Beyond COGS, your business runs up plenty of recurring operating expenses. Platform fees, advertising, and software subscriptions are the ones most often overlooked, especially without solid bookkeeping.
Platform, Marketplace, And Merchant Fees
Every sale generates fees. Amazon charges referral, closing, and subscription fees, and Shopify charges a monthly fee plus payment processing. If you sell on multiple channels, you pay marketplace fees to each. Payment processing fees from Stripe, PayPal, or Square also qualify, and these usually run 2.5 to 3 percent per transaction and add up fast. As an example, $500,000 in annual revenue can mean $12,000 to $15,000 in processing fees, all of it deductible.
Pull fee reports from each platform monthly. Amazon’s settlement reports, Shopify’s finance summary, and your payment processor dashboards detail these charges, so categorize them clearly in your books.
Advertising, Software, And Store Tools
Spending on Amazon PPC, social ads, and search or shopping ads is fully deductible. Influencer payments, affiliate commissions, product photography, and copywriting fees also qualify. Software subscriptions used exclusively for your business are deductible in the year paid, including inventory management, email marketing, listing optimization, accounting, and design tools. If a subscription serves both business and personal use, deduct only the business-use percentage.
Payroll, Contractors, And Team Costs
Employee salaries, benefits, and your share of payroll taxes are deductible, and so are fees paid to independent contractors such as virtual assistants, designers, or bookkeepers. If you pay a contractor $600 or more in a year, you must issue a 1099-NEC by January 31 of the following year, so track contractor payments throughout the year. Employer-side Social Security and Medicare contributions are straightforward deductions. If payroll is becoming a headache as your team grows, our ecommerce payroll services keep it accurate and compliant.
Claim Workspace, Vehicle, And Insurance Write-Offs Carefully
Home office expenses, business mileage, and insurance premiums are valid deductions, but they need careful documentation. Good records protect you in an audit.
Home Office Rules And The Principal Place Of Business Test
If you run your ecommerce business from a dedicated space at home, you may qualify for the home office deduction, but the space must be used regularly and exclusively for business. A spare bedroom used for packing and shipping qualifies. A shared dining table does not. Your home office must also be your principal place of business, where you handle significant administrative or management work.
You can use the simplified method, which is $5 per square foot of dedicated space up to 300 square feet, for a maximum of $1,500. The regular method calculates the business-use percentage of rent or mortgage interest, utilities, property tax, insurance, and repairs. The regular method may produce a larger deduction but requires more documentation, so keep records of your square footage and expenses.
Mileage Vs The Actual Expense Method
Business driving, such as trips to the post office, supplier meetings, or trade shows, is deductible, and you choose between two methods. The standard mileage method multiplies your business miles by the IRS rate. That rate can change, sometimes mid-year: for 2026 it was 72.5 cents per mile for the first half of the year and rose to 76 cents per mile from July 1, so confirm the current rate for the period you are claiming. A mileage tracking app can log trips automatically.
The actual expense method lets you deduct gas, maintenance, insurance, repairs, registration, and depreciation, applying your business-use percentage to those costs. Choose your method in the first year you use a vehicle for business, since that choice may lock you in for that vehicle.
Business Insurance And Property-Related Costs
Insurance premiums that protect your ecommerce business are fully deductible, including product liability, commercial property, general liability, and business interruption coverage. If you are self-employed and pay for your own health insurance, you may qualify for a separate deduction for those premiums. Rent for warehouse or storage space is deductible, and if you own commercial property, you can deduct property tax, mortgage interest, and depreciation. Keep receipts and policy documents for every business-related policy.
Handle Sales Tax And Nexus Without Confusing It With Income Tax
Sales tax and income tax are separate obligations. Sales tax is collected from customers for state and local governments, while income tax is calculated on your profit. Mixing the two causes reporting errors.
Sales Tax Nexus And Economic Nexus Thresholds
You must collect sales tax in any state where you have nexus, which can be physical, such as a warehouse or employee, or economic. Economic nexus is triggered when your sales into a state exceed that state’s threshold, often $100,000 in revenue or 200 transactions annually, though thresholds vary. Amazon FBA inventory stored in a state’s warehouse can create physical nexus there, so review each state’s economic nexus thresholds and monitor your sales by state.
Marketplace Facilitator Rules And Multi-Channel Selling
Most states require marketplaces like Amazon, Walmart, Etsy, and eBay to collect and remit sales tax on your behalf, which simplifies compliance for marketplace-only sellers. If you sell on your own website through Shopify or a similar platform, you are responsible for collecting and remitting sales tax on those sales in every state where you have nexus. Multi-channel sellers need a system to track obligations across all platforms, and our ecommerce sales tax services can manage that tracking and filing for you.
What Sales Tax You Can And Cannot Deduct
Sales tax collected from customers and remitted to states is not income and not deductible, since it is pass-through money. Do not include collected sales tax in your gross revenue, and do not deduct it as a business expense. Sales tax you pay on business purchases not for resale, such as equipment or supplies, is deductible as part of the item’s cost. State income or franchise taxes paid on business profits may also be deductible on your federal return, subject to limitations. Keep these categories separate in your records.
Use Entity, Retirement, and Tax Planning Opportunities
Your business structure, retirement contributions, and equipment expensing strategies can save you thousands each year. These choices have long-term effects, so getting them right early matters.
Forms, Owner Taxes, and Filing Basics
Sole proprietors report business income on Schedule C of their personal return. Partnerships file Form 1065 and issue K-1s to each partner. S-corps file Form 1120-S. Your entity type determines which forms you file and how owner compensation is taxed.
Sole proprietors face self-employment tax, paying both the employer and employee portions of Social Security and Medicare, which totals 15.3 percent on net earnings up to the Social Security wage base, with the Medicare portion continuing beyond that. Electing S-corp status and paying yourself a reasonable salary can reduce self-employment tax on profits taken as shareholder distributions. This works best once your net income consistently exceeds a certain level, so it is worth reviewing the timing with ecommerce business structure and advisory support before you make the switch.
Retirement and Qualified Business Income Strategies
Self-employed sellers can reduce taxable income through retirement accounts. A Solo 401(k) allows contributions as both employer and employee, sheltering a significant portion of earnings. A SEP IRA allows contributions up to 25 percent of net self-employment income, and a SIMPLE IRA works well if you have a small team.
The Qualified Business Income deduction (QBI) allows eligible pass-through business owners to deduct up to 20 percent of qualified business income, and the deduction was made permanent under the 2025 tax law. For example, if your business generates $100,000 in QBI, you could potentially exclude $20,000 from taxable income. Income phase-outs and limitations apply, so eligibility depends on your total taxable income and filing status.
Equipment Expensing and Recent Law Changes
The One Big Beautiful Bill Act, signed in 2025, restored 100 percent bonus depreciation and raised the Section 179 expensing limit to $2.5 million. You can now deduct the full cost of qualifying equipment in the year of purchase rather than depreciating it over several years. For smaller purchases, the de minimis safe harbor election lets you expense items costing $2,500 or less per invoice, which covers things like label printers, barcode scanners, and shelving units. Make the election on your tax return for the year you want it to apply.
Build a Clean Year-Round Recordkeeping System
Good records make tax season straightforward. The IRS requires documentation for every deduction, and sellers handle a high volume of transactions that demand consistent tracking.
Separate Accounts, Reconcile Deposits, and Save Documentation
Open a dedicated business bank account and business credit card, because mixing personal and business transactions risks losing deductions and increases audit exposure. Route every business purchase through your business accounts, and reconcile marketplace deposits against settlement reports at least monthly. Amazon, Shopify, and other platforms withhold fees, refunds, and sometimes sales tax before paying you, so relying on bank deposits alone undercounts both revenue and deductions. Save settlement reports, supplier invoices, receipts, and 1099-K forms, and digital storage is fine as long as documents are retrievable when needed. Keeping this current is far easier with cloud bookkeeping for online sellers handling the monthly reconciliation.
Prepare for Estimated Payments and Tax Time
If you expect to owe $1,000 or more in federal tax for the year, the IRS requires quarterly estimated payments, due April 15, June 15, September 15, and January 15 of the following year. Missing deadlines triggers penalties and interest. Estimate your quarterly obligation by projecting annual income, subtracting expected deductions, and calculating both income tax and self-employment tax, then divide by four. Many sellers use the prior year’s tax liability as a safe harbor, which is 100 percent of last year’s tax, or 110 percent if income exceeded $150,000. Set aside 25 to 30 percent of net profit each month in a separate savings account so cash is ready when payments are due.
Know When to Escalate to a Specialist
Ecommerce accounting involves complexities general accountants often overlook, including inventory methods, multi-state sales tax nexus, marketplace fee reconciliation, FBA-specific costs, and 1099-K matching. Consider a specialist if your revenue has reached six or seven figures, you sell on multiple channels, you have nexus in several states, or you have received an IRS notice you do not fully understand. Expert guidance often pays for itself in deductions found and penalties avoided.
If you would rather stop guessing and know your deductions are being handled properly, book a free consultation with an ecommerce tax specialist and keep more of what your store earns.
Frequently Asked Questions
What business expenses can online sellers typically deduct when filing taxes?
You can deduct any expense that is ordinary and necessary for running your ecommerce business. Common deductions include cost of goods sold, shipping and packaging, platform fees, payment processing fees, advertising, software subscriptions, home office costs, business insurance, and professional service fees.
How do I handle inventory costs and cost of goods sold for tax purposes as a reseller?
Deduct inventory costs only when goods are sold, not when purchased, using the formula beginning inventory plus purchases minus ending inventory equals COGS. Choose an inventory method like FIFO and apply it consistently each year, track per-unit costs for every product, and count inventory at year-end.
Can I deduct home office expenses if I run my online store from home?
Yes, if the space is used regularly and exclusively for business and serves as your principal place of business. Use either the simplified method ($5 per square foot, up to $1,500) or the regular method, which applies your business-use percentage to actual housing costs.
What are the tax rules for deducting shipping, packaging, and postage costs?
All costs related to delivering products to customers are deductible, including carrier fees, packaging materials, postage meter subscriptions, and third-party fulfillment fees such as FBA charges. Inbound freight for receiving inventory from suppliers also qualifies.
How does the $2,500 de minimis safe harbor rule affect expensing equipment and supplies?
The de minimis safe harbor election lets you deduct items costing $2,500 or less per invoice as current-year expenses instead of capitalizing and depreciating them, which applies to printers, scanners, and small equipment. You must make the election on your tax return for the year you want it to apply.
What is the $400 self-employment income threshold and how does it affect my filing obligations?
If your net self-employment income from your online business reaches $400 or more, you must file a federal tax return and pay self-employment tax for Social Security and Medicare. This applies even if your total income falls below the standard filing threshold. The self-employment tax rate is 15.3 percent, calculated on your net earnings and reported on Schedule SE.