Profit and Loss Statement Calculator
Enter recorded income and expense amounts for two comparable periods of the same business. Build both income statements from gross sales to net earnings and compare the gross, operating and net margins. The change chart shows how much each of the six entered lines added to or subtracted from the movement in net income.
Compare two income statements
See how sales, costs and expenses changed the bottom line.
Net income comparison
- Change from A to B
- +$26,000.00
- Period A net income
- $265,000.00
- Period B net income
- $291,000.00
Effects below zero reduced Period B income. Effects above zero increased it.
- Gross sales+$35,000.00
- Returns and allowances+$15,000.00
- Cost of sales-$10,000.00
- Operating expenses-$10,000.00
- Net non-operating income-$2,000.00
- Income tax expense or benefit-$2,000.00
Bookkeeping amounts
Use periods of the same length and accounting basis. Enter zero for a confirmed zero amount.
Statement and change ledger
Margins use positive net sales. Expenses, costs and allowances are entered as positive deductions, with signed non-operating income and tax.
| Line | Period A | Period B |
|---|---|---|
| Gross sales | $800,000.00 | $835,000.00 |
| Returns and allowances | $15,000.00 | $0.00 |
| Net sales | $785,000.00 | $835,000.00 |
| Cost of sales | $240,000.00 | $250,000.00 |
| Gross profit | $545,000.00 | $585,000.00 |
| Operating expenses | $200,000.00 | $210,000.00 |
| Operating income | $345,000.00 | $375,000.00 |
| Net non-operating income | -$5,000.00 | -$7,000.00 |
| Pretax income | $340,000.00 | $368,000.00 |
| Income tax expense or benefit | $75,000.00 | $77,000.00 |
| Net income | $265,000.00 | $291,000.00 |
| Gross margin | 69.43% | 70.06% |
| Operating margin | 43.95% | 44.91% |
| Net margin | 33.76% | 34.85% |
Show statement CSV text
How to use this calculator
- Use two comparable periods. Enter gross sales and separately recorded returns and allowances for each period.
- Enter the costs already assigned to sales and the other operating expenses from the same period.
- Enter net non-operating income and income tax expense with the correct signs. Use zero for a confirmed zero amount.
- Read the two bottom lines and income change chart. Open Statement and change ledger to review margins, each subtotal and the CSV.
The Formula
The mathematical logic powering this calculation is:
Use two comparable reporting periods of the same business. Enter recorded amounts on the same accounting basis. Enter gross sales before any returns and allowances, and include discounts here only if gross sales still include them. Net sales equal gross sales less returns and allowances. Gross profit equals net sales less the cost of sales. Operating income equals gross profit less operating expenses. Include booked depreciation and amortization once, in the cost or expense category where you record it.
Pretax income equals operating income plus net non-operating income. For this input, enter a positive amount for net income or a negative amount for net expense, including interest where applicable. Net income equals pretax income less income tax expense. Enter a negative tax value for a booked income tax benefit.
Gross, operating and net margins divide their respective income amounts by net sales. These margins are shown only for positive net sales. Dollar subtotals remain available in periods with zero or negative net sales. The net income change equals Period B net income minus Period A net income. Each revenue or non-operating line contributes its B-minus-A change. Each returns, cost, expense or tax line contributes the opposite of that change. Those contributions add to the net income change.
Enter each amount to two decimals, up to $10 billion in magnitude. Gross sales, returns, cost of sales and operating expenses take nonnegative amounts. The worksheet calculates amounts in cents and displays margins to two percentage decimals. Use already classified bookkeeping values. Accounting recognition, tax calculation, balance-sheet and cash-flow preparation, and reporting compliance require their own figures and review.Worked Example
If you input:
- Period A gross sales and returns: $800,000 gross sales and $15,000 returns
- Period A costs, expenses and tax: $240,000 cost of sales, $200,000 operating expenses, −$5,000 net non-operating and $75,000 tax expense
- Period B gross sales and returns: $835,000 gross sales and $0 returns
- Period B costs, expenses and tax: $250,000 cost of sales, $210,000 operating expenses, −$7,000 net non-operating and $77,000 tax expense
Result:
Period A net income is $265,000. Period B reproduces the SEC example’s $291,000 net income. The $26,000 increase reflects $35,000 higher sales and $15,000 fewer returns, offset by $10,000 more cost of sales, $10,000 more operating expenses, $2,000 more net non-operating expense and $2,000 more income tax expense.
Frequently Asked Questions
Where does cost of sales go?
Use the amount already assigned to sales for that period. It reduces net sales to gross profit. Enter separate overhead and other operating amounts in Operating expenses.
How do I enter a tax benefit or net interest expense?
Enter booked income tax benefits as negative tax expense. For net non-operating expenses, including applicable interest expense net of non-operating income, enter a negative amount.
Why are the margins unavailable?
Gross, operating and net margin use positive net sales as their denominator in this worksheet. Net sales can be zero or negative after returns, and the dollar income results and change remain available.
What does a positive bar for returns mean?
The contribution chart shows the effect on net income. Returns fell if their effect is positive, so they reduced Period B income by a smaller amount.
Can net income differ from my change in cash?
Yes. Period income follows the bookkeeping basis used in the inputs. Cash flow also depends on cash receipts, payments and balance-sheet movements, which this statement comparison leaves outside its scope.
What are good periods to compare?
Use the same duration, accounting basis and line definitions. Comparable months or quarters make the change easier to interpret. The worksheet uses the figures directly without annualizing them.
Similar Calculators
Profit Margin Calculator
Calculate gross, operating, and net profit margin percentages for your business or product.
Cost of Goods Sold & Inventory Ledger
Calculate COGS and ending inventory with FIFO, moving average and period-end weighted average. Trace inventory costs and compare gross profit on the same receipts and sales.
Cash Conversion Cycle & Inventory Days Calculator
Calculate inventory, receivable and payable days together. Compare growth and timing scenarios, visualize operating-capital changes, weight balance snapshots and export the full analysis.
Break-Even Calculator
Find the break-even point for your business — how many units you must sell to cover all costs.
Hotel Occupancy Calculator & ADR and RevPAR Worksheet
Compare hotel occupancy, average daily rate and RevPAR for two room-sales mixes. Find the whole-night or whole-cent threshold to match the reference room revenue.
Cash Register Calculator & Drawer Closeout Worksheet
Reconcile a USD cash register closeout. Compare two bill and coin counts, drawer over or short, retained float and the cash deposit posted for the same session.
Burn Rate Calculator & Business Cash Runway Planner
Measure historical gross and net cash burn and compare two operating cash scenarios. See the first month below an entered cash floor and any modeled recovery.
