Templates/Profit & Loss Statement

Profit & Loss Statement — Free Online Template

Build a clear profit and loss statement that summarizes revenue, costs, and net income over a given period. This template follows the standard P&L structure used by accountants and CFOs: revenue at the top, cost of goods sold, gross profit, operating expenses broken into categories, and net income at the bottom. Each row represents a financial line item with the current period amount and the prior period for comparison. The variance column makes it easy to spot trends — growing revenue, rising costs, or improving margins. When generated via the API, you can pull data directly from your ERP or accounting software and produce a fresh P&L every month without manual spreadsheet work. Export to PDF for board decks or to XLSX for further analysis in Excel.

Preview

Line ItemCategoryCurrent PeriodPrior PeriodVarianceVariance %
Product RevenueRevenue$142,000$128,500+$13,500+10.5%
Service RevenueRevenue$38,000$41,200-$3,200-7.8%
Cost of Goods SoldCOGS$52,400$48,100-$4,300+8.9%
Salaries & WagesOperating Expenses$64,000$61,000-$3,000+4.9%
Net IncomeBottom Line$28,600$31,100-$2,500-8.0%

Create via API

Generate this profit & loss statement programmatically with a single POST request. The API returns a shareable URL that anyone can open in the browser.

curl
curl -X POST https://openofficeai.com/api/v1/sheets \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "My Profit & Loss Statement",
    "sheets": [{ "rows": [["Line Item","Category","Current Period","Prior Period","Variance","Variance %"],["Product Revenue","Revenue","$142,000","$128,500","+$13,500","+10.5%"],["Service Revenue","Revenue","$38,000","$41,200","-$3,200","-7.8%"]] }]
  }'

Returns { "id": "...", "url": "...", "created_at": "..." }. See the full API docs for formatting, formulas, and export options.

What's included

This template comes with 6 columns designed for a standard profit & loss statement workflow. Each column can be renamed, reordered, or extended through the API or the browser editor.

Line Item

The financial line item name, such as Product Revenue, COGS, or Salaries & Wages.

Category

The P&L section: Revenue, COGS, Operating Expenses, or Bottom Line.

Current Period

The amount for the current reporting period.

Prior Period

The amount for the previous period, used for comparison.

Variance

The absolute difference between current and prior period.

Variance %

The percentage change from the prior period to the current period.

How to customize

This template is a starting point. Here are specific ways to adapt it to your workflow:

1

Add quarterly columns (Q1, Q2, Q3, Q4) alongside the current/prior period to show seasonal trends and year-over-year performance.

2

Include a "% of Revenue" column that shows each expense line as a percentage of total revenue, which is standard for financial analysis.

3

Add a "Budget" column next to actuals so you can compare planned vs. actual performance in the same view.

Frequently asked questions

Can I generate a P&L statement every month automatically?

Yes. Set up a monthly cron job or scheduled function that queries your accounting database, formats the numbers into the P&L structure, and sends a POST request to the API. Each month you get a new shareable spreadsheet with a unique URL you can send to stakeholders.

Does the template support multiple currencies?

The template uses plain text columns, so you can format amounts in any currency. If you need to handle multi-currency P&L statements, add a Currency column and store amounts as raw numbers with the currency symbol in a separate field for clean calculations.

How do I compare P&L across multiple periods?

Add additional columns for each period you want to compare — Q1, Q2, Q3, Q4, for example. The API lets you define as many columns as you need. You can also create separate spreadsheets per period and link them in a summary document.

Related templates

Ready to create your profit & loss statement?

Sign up for free and start building spreadsheets in seconds — from the browser or via the API.