- A write-off records that something you own, such as stock or an unpaid invoice, has lost some or all of its value; the loss becomes an expense in the P&L.
- Most write-offs are non-cash expenses: the cash left earlier, when you bought the stock or shipped the goods.
- Inventory write-offs hit gross profit, bad debts and chargebacks hit operating profit, and depreciation sits below EBITDA.
- A write-off is not a charge-off, a chargeback or a refund; each is a different event with a different place in the books.
- This is general information, not tax or accounting advice: the rules for recording and deducting write-offs differ by country, so check them with your accountant.
A write-off in a profit and loss statement records that something the business owns has lost value: stock that will never sell, an invoice a customer will never pay, a chargeback you lost, equipment that wore out. The value comes off the balance sheet and shows up as an expense in the P&L, so profit falls even though no cash leaves that month. For a webshop, the common write-offs are dead stock, returns that cannot be resold, lost chargebacks, unpaid wholesale invoices and depreciation.
This guide explains what each one is, where it lands in the P&L, how it changes your margins and how to keep it small. It is general information, not tax or accounting advice: how you record and deduct a write-off depends on your country's rules and your accounting method.
What is a profit and loss write-off?
What "the books" means
Your books are two statements that work together. The balance sheet lists what the business owns and owes on one day: cash, stock, money customers still owe you, equipment, loans. The P&L lists what the business earned and spent over a period. A write-off moves value from the first to the second. Stock worth $3,600 on the balance sheet becomes a $3,600 expense in the P&L of the month you decide it will not sell. P&L vs balance sheet explains the two statements in more detail.
Write-offs are usually non-cash expenses
The cash left earlier. You paid the supplier when you bought the stock, or you shipped goods to a wholesale buyer who then did not pay. The write-off only admits in the P&L what already happened to your money. This is why a store can have a good cash month and a poor profit month at the same time, or the other way round.
A write-off is also different from a write-down. A write-off takes the full value off. A write-down lowers it to what the item is still worth, for example stock you can only sell at half its cost.
Why write-offs matter for a webshop
Write-offs are easy to overlook because they rarely appear in the reports a store owner reads every day. The store dashboard shows sales; the ad platform shows ROAS. Neither shows the 400 units in the back of the warehouse that went out of fashion. When the write-off finally comes, often at the year-end close, it takes a month's profit or more in one line. Seeing write-offs early means you can still act: discount the stock while it sells, chase the invoice, or stop the product that keeps coming back.
The most common write-offs for ecommerce stores
| Write-off | What happened | Where it lands in the P&L |
|---|---|---|
| Dead or damaged stock | Products that will not sell, expired, broke or went missing | Cost of goods sold: lowers gross profit |
| Returns you cannot resell | Returned items that are opened, damaged or out of season | Returns and cost of goods: lower net sales and gross profit |
| Lost chargebacks | A card dispute decided against you, plus the dispute fee | Operating costs: lower operating profit |
| Bad debt | A wholesale or invoice customer who will not pay | Operating costs: lower operating profit |
| Depreciation | Equipment, a packing machine or a van losing value over its useful life | Below EBITDA: lowers operating and net profit |
| Amortization | An intangible asset, such as a bought domain or a custom-built app, spread over its life | Below EBITDA: lowers operating and net profit |
Returns are the one most stores underestimate
A refund lowers revenue, but the return has more costs: the return label if you pay it, the time to inspect and restock, and the item itself if it cannot be sold again. A product with a moderate return rate overall can still be unprofitable if most returns are damaged or worn. Count the returns you cannot resell as an inventory write-off, and the handling as a cost of the return.
How a write-off moves through your financials
Write-off vs charge-off vs chargeback vs refund
Four words that sound alike and mean different things:
| Term | What it is | Who starts it | Effect on the books |
|---|---|---|---|
| Write-off | Taking an asset that lost its value off the books | You, in your accounts | Asset down, expense up |
| Charge-off | A lender or creditor declaring a debt unlikely to be collected; mostly a term from banking and credit | The creditor | For a store: the same as a bad-debt write-off |
| Chargeback | A card payment reversed after the buyer disputes it with their bank | The buyer and their bank | Revenue reversed, a dispute fee, and the goods often gone |
| Refund | Money you return to a customer, usually after a return | You, on the customer's request | Revenue down; the item may go back into stock |
How write-offs hit your profit metrics
Here is one month of an example store, without and with three one-off write-offs: $3,600 of dead stock, a $2,400 wholesale invoice that will not be paid, and $1,000 of lost chargebacks including dispute fees.
| Line | Without write-offs | With write-offs |
|---|---|---|
| Revenue | $120,000 | $120,000 |
| Cost of goods sold | −$48,000 | −$48,000 |
| Inventory write-off | — | −$3,600 |
| Shipping, fees and handling | −$14,400 | −$14,400 |
| Gross profit | $57,600 (48.0%) | $54,000 (45.0%) |
| Ad spend and marketing | −$30,000 | −$30,000 |
| Contribution margin | $27,600 | $24,000 |
| Operating expenses | −$15,000 | −$15,000 |
| Bad debt | — | −$2,400 |
| Chargeback loss and fees | — | −$1,000 |
| EBITDA | $12,600 | $5,600 |
| Depreciation and amortization | −$500 | −$500 |
| Net profit | $12,100 (10.1%) | $5,100 (4.3%) |
Gross profit takes the first hit
Inventory and unsellable returns belong with the cost of goods, so they lower gross profit and gross margin. In the example, gross margin falls from 48% to 45%, which also raises the break-even ROAS for the month.
Operating profit sits in the middle
Bad debts and lost chargebacks are operating costs. They do not change gross profit, but they lower EBITDA and operating profit. Depreciation and amortization lower operating profit but not EBITDA, which is why EBITDA is often used to compare the operations of two businesses.
Net profit absorbs everything
Every write-off ends up in net profit. In the example, $7,000 of one-off write-offs cut net profit from $12,100 to $5,100. For more on the layers, see gross, operating and net profit.
The write-off and revenue growth trap
Fast growth tends to produce write-offs later. To keep up with demand, a store buys stock in larger batches and more variants; it opens wholesale accounts on invoice; it runs more ads, which bring more first-time buyers, who return and dispute more often. While revenue climbs, the risk builds on the balance sheet. When growth slows, the excess stock, the unpaid invoices and the returns all show up at once. Revenue looked fine every month, and profit was overstated the whole time. This is one reason to judge growth on profit, not revenue; see revenue vs profit.
How to record a write-off without an accounting degree
There are two common approaches. Which one you must use depends on your country's rules, your size and your accounting method, so agree it with your accountant.
The allowance method: estimate in advance
You expect some losses before you know which ones. Each month you set aside an estimate, for example a share of invoice sales for bad debts or a share of item sales for returns, as an expense and a reserve. When a specific invoice proves uncollectable, it comes off the reserve, not off that month's profit. Monthly profit is smoother and closer to the truth.
The direct method: write off when it happens
You record the loss in the month you know it: the month the customer goes bankrupt or the stock is written off. It is simpler, but it puts the whole loss in one month and lets earlier months look better than they were.
How to keep write-offs small
Buy stock more carefully
Over-buying is the fastest route to an inventory write-off. Before a large order, check the product's sell-through rate and how many days of stock you already have. A fashion or trend product with four months of stock on hand is a write-off waiting to happen. Smaller, more frequent orders cost a little more per unit and much less in dead stock.
Tighten credit for wholesale buyers
If you sell on invoice, ask new accounts for references, set a credit limit, ask for a deposit on large first orders and chase overdue invoices early. The longer an invoice is overdue, the less likely it is to be paid.
Track returns by product
A store-wide return rate hides the products that cause most of it. Look at the refund rate per product and per variant. One size or colour that keeps coming back can turn a profitable product into a loss once return costs and unsellable items are counted.
Know your real profit every month
The real problem is not the write-off; it is finding out too late. If you only look at revenue and ROAS, write-offs stay invisible until the year-end close or a cash shortfall. A monthly P&L with every cost in it, including estimates for returns, shows the problem while you can still act. Marginal analysis and the profitability analysis guide help you decide what to change.
Write-offs in the ROASaurus P&L
Profit › P&L shows the full statement by day or by month, as amounts or as a share of sales, for all customers or split into new and returning, and exports to CSV. Several write-off lines are built in, and the others go in as custom costs:
| Write-off | Where it goes in ROASaurus | P&L line |
|---|---|---|
| Refunds | From your store's orders and refunds | Returns |
| Expected returns not yet refunded | Settings › Costs › Cost settings: Predicted returns, a % of item sales on recent orders until real refunds arrive | Returns, of which predicted |
| Return handling | Settings › Costs › Cost rules: return handling | Return handling (above gross profit) |
| Lost chargebacks | Shopify Payments disputes lost or accepted, with the dispute fee | Chargeback loss, Chargeback fees |
| Dead stock written off | Settings › Costs › Custom costs, category Cost of goods | Cost of goods sold |
| Bad debt | Settings › Costs › Custom costs, category Operating expense (other) | Operating expenses |
| Depreciation | Settings › Costs › Custom costs, category Depreciation & amortization | Depreciation & amortization (below EBITDA) |
The predicted returns setting works like an allowance: it takes an expected share of returns off recent orders, so this week's profit is not overstated while refunds are still on their way. To find the products behind the returns, Profit › Products shows the refund rate next to revenue, COGS and profit per product and variant:

For stock, Profit › Inventory shows stock value, sell-through and dead stock for Shopify stores, so you can act before a product becomes a write-off. See profit analytics for how each line is built, the glossary entries on contribution margin and operating revenue, and gross, operating and net profit for the layers of the P&L.
In ROASaurus
- Profit analytics in ROASaurus
- Contribution margin in the glossary
- COGS in the glossary
- Contribution margin calculator