Free tool

Free P&L statement generator

Build a complete profit and loss statement for your store, laid out the way an ecommerce P&L should be: net revenue, gross profit, contribution margin and net profit, each with its margin. Fill in your figures and download it as a CSV.

Runs in your browser · Nothing you type is saved or sent · Updated 4 December 2026

Your figures

One month of an example store is filled in. Replace the numbers with yours — the statement rebuilds as you type. Leave anything that doesn’t apply at zero.

Revenue

All sales before deductions, excluding tax.
Shipping income is revenue.
Gift cards redeemed, wholesale, other.
Coupons and sale reductions given.
Money returned to customers.

Cost of goods sold

What the products you sold cost you, landed. Not what you bought for stock.

Variable costs

Stripe, PayPal, Shopify Payments and the rest.
Labels, carriers, 3PL pick and pack.
Boxes, mailers, inserts, tape.

Operating costs

All paid channels, agencies, influencers.
Platform subscription, apps, tools.
Wages, contractors, your own salary.
Rent, insurance, accounting, bank charges.

Your profit and loss statement

Net profit for the period

—

— net margin

Revenue
Gross sales—
Shipping charged—
Other income—
Discounts—
Refunds—
Net revenue—
Cost of goods sold
Cost of goods sold—
Gross profit ——
Variable costs
Payment processing fees—
Shipping and fulfilment—
Packaging—
Contribution margin ——
Operating costs
Advertising—
Apps and software—
Staff and freelancers—
Other overheads—
Net profit ——
  • Net revenue—
  • Cost of goods—
  • Variable costs—
  • Operating costs—
  • Net profit—

The CSV is created in your browser from the numbers you entered; nothing is uploaded. Sales tax and VAT are excluded throughout: tax collected is held for a tax authority and is not revenue.

What each line means

The order of the lines is the point of a P&L. Costs are grouped by how they behave, so each subtotal answers a different question about the business.

LineWhat belongs here
Gross salesEverything customers paid for products, before discounts and refunds, excluding sales tax and VAT.
Shipping chargedShipping fees you charged customers. This is revenue, and it is separate from what shipping cost you.
Discounts and refundsSubtracted from revenue, not treated as expenses. A refund reverses a sale; it was never really income.
Cost of goods soldThe landed cost of the items you sold this period — not what you spent restocking. Buying $20,000 of inventory you haven’t sold yet is not a $20,000 cost; it is stock.
Variable costsCosts that rise and fall with order count: payment fees, shipping labels, fulfilment, packaging.
Operating costsCosts of running the business whether or not you sell: advertising, software, staff, rent, insurance, accounting.

The most common error on an ecommerce P&L is putting stock purchases into cost of goods sold. COGS follows the sale, not the purchase. If you bought 500 units in March and sold 200 of them, March’s COGS is the cost of 200 units; the other 300 sit on the balance sheet as inventory until they sell.

The four totals, and what each one tells you

  1. Net revenue — what customers actually paid and kept paid. Everything below is measured against this, which is why discounts and refunds come out here rather than further down.
  2. Gross profit — whether your prices cover your products. If this is thin, no amount of cost-cutting elsewhere will save the business: the problem is pricing or sourcing.
  3. Contribution margin — whether each order pays for itself once fees, shipping and packaging are counted. This is the figure that tells you if growth helps or hurts. If contribution margin is negative, every additional order makes you poorer, and more advertising accelerates the loss.
  4. Net profit — what the business kept after everything, including the fixed costs no single order carries.

Watching these four over several months is more informative than any single month. A healthy business usually shows a stable gross margin and a contribution margin that improves as it grows, because fixed costs spread across more orders.

Where to find each figure

  • Gross sales, discounts, refunds, shipping charged: your store’s own sales report for the period. In WooCommerce, mind which order statuses are included — see which statuses count as revenue, because including pending or cancelled orders inflates revenue.
  • Cost of goods sold: units sold × landed unit cost, per product. Landed cost means the supplier price plus freight, duty and import handling — not just the invoice.
  • Payment processing fees: your processor’s monthly statement, not an estimate. If you take PayPal, the PayPal fee calculator shows how the fee is built up.
  • Shipping and fulfilment: your carrier or 3PL invoice for the period, which is often meaningfully higher than the rates quoted at checkout.
  • Advertising: what actually left your bank account, from the ad platforms’ billing pages rather than their reported spend, which can differ.

Questions

Is this P&L statement generator really free?

Yes, with no sign-up and no email required. It runs entirely in your browser: nothing you type is stored, and nothing is sent to a server. The CSV is generated on your own device.

How do I make a profit and loss statement for my online store?

List your revenue for the period, subtract discounts and refunds to get net revenue, subtract the cost of the goods you sold to get gross profit, subtract variable costs such as payment fees and shipping to get contribution margin, then subtract operating costs such as advertising, software and staff. What remains is net profit. The generator above lays this out for you and does the arithmetic.

What is the difference between a P&L and an income statement?

None. “Profit and loss statement”, “P&L”, “income statement” and “statement of profit and loss” all name the same report.

Should refunds be an expense or a reduction in revenue?

A reduction in revenue. A refund reverses a sale that should not be counted as income in the first place, so it belongs in the revenue section. Note that your payment processor usually keeps some or all of its fee on a refunded order, so the fee stays in your costs.

Do I include sales tax or VAT?

No. Tax you collect from customers is money you hold on behalf of a tax authority, not revenue, so it is excluded from both revenue and costs. The tax you pay on your own purchases may be a cost, depending on whether you can reclaim it — that is a question for your accountant.

Can I download the statement?

Yes. “Download as CSV” gives you a spreadsheet file that opens in Excel, Google Sheets or Numbers. “Print or save as PDF” uses your browser’s print dialogue, where you can choose “Save as PDF” as the destination. If you would rather start from a spreadsheet, use our free P&L template.

How often should I make a P&L?

Monthly is the usual rhythm for an online store, and it is frequent enough to catch a problem while you can still act on it. Many sellers also look at a weekly contribution margin during heavy advertising periods, because that is where losses appear fastest.

Doing this every month, without the typing

A generator is useful for a one-off statement, a loan application or a conversation with an accountant. Doing it by hand every month is where it breaks down: the figures live in several places, refunds arrive late and change a month you already closed, and the cost of goods sold has to be rebuilt from units sold each time.

PLManager connects to your store with a read-only key and produces this statement from your real orders and your real costs, every month, without re-entry. Further reading: the ecommerce P&L format explained in full and how to build a profit report from WooCommerce.