Back to all articlesHow to do a financial analysis, from trend lines to budget variance
Claire HolmanClaire Holman
Finance

How to do a financial analysis, from trend lines to budget variance

Financial analysis means evaluating a company's financial statements and related data to judge its performance and financial position, then deciding what to do about them. Four methods do most of the work: trend analysis compares a line over time, common-size analysis shows each line as a share of a base such as revenue, ratio analysis divides one figure by another, and variance analysis compares actual results with the budget.

A single method rarely explains a result. Take a wholesale distributor whose revenue grew 13.6% in FY2026 while its operating income fell 11.1%: each of the four methods below finds a different piece of the reason. The distributor and its books are invented for this article, and nothing in them comes from a customer.

What the CFA Institute and the SEC mean by financial analysis

The CFA Institute defines financial analysis as "the process of interpreting and evaluating a company's performance and position in the context of its economic environment." Its introduction describes the core work as "structuring and scaling data to facilitate comparisons by calculating percentages, changes, and ratios," and it notes that many answers depend on how the analyst interprets the results.

Investors and lenders use financial analysis to decide whether to invest in a company or lend to it. Inside a company, the same methods feed the monthly or quarterly business review, where finance and the leaders who own a P&L find where results changed and decide what to do next. The distributor example takes that internal view.

The inputs are the three financial statements. The U.S. Securities and Exchange Commission's beginners' guide to financial statements describes the balance sheet as a snapshot of assets, liabilities, and shareholders' equity at the end of a period, the income statement as revenue and the costs of earning it over a period, and the cash flow statement as cash coming in and going out. It also warns: "No one financial statement tells the complete story."

Four methods and the question each one answers

MethodQuestion it answersBasic calculation
Horizontal or trend analysisHow did each line change over time?(Current period minus prior period) ÷ prior period
Vertical or common-size analysisHow large is each line relative to a base?Line ÷ revenue on the income statement, or line ÷ total assets on the balance sheet
Ratio analysisHow do two related figures compare with history or peers?One figure ÷ another, such as income from operations ÷ net revenues
Variance analysisHow far is the result from plan, and why?Actual minus budget, then a split into drivers

IBM's overview of financial analysis describes vertical analysis as comparing "each line item as a percentage of a base figure within a single reporting period, such as total assets or net sales," and horizontal analysis as a way to quantify year-over-year growth. Ratio analysis, in IBM's words, converts raw data into indicators, "enabling direct comparisons against historical performance, competitors or industry benchmarks." Analysts usually sort ratios by what they test: profitability, liquidity, leverage, and efficiency.

The SEC guide supplies formulas for the common ratios. Operating margin is income from operations divided by net revenues. Inventory turnover is cost of sales divided by average inventory for the period. Working capital is current assets minus current liabilities. Qlik's guide defines the current ratio as current assets divided by current liabilities.

Variance analysis measures actual results against a standard such as the budget. The Association for Financial Professionals (AFP) guide to variance analysis recommends recording each variance in dollars and percent, applying a materiality threshold, and splitting each material variance into its drivers, such as price, volume, mix, or timing.

Trend and common-size: overhead held, gross margin slipped

The distributor's figures are in thousands of dollars. FY2026 brought its fastest growth in the period shown, and still its operating income fell. Start with each line as a share of revenue, then with growth rates.

LineFY2024FY2025FY2026% of revenue FY2024% of revenue FY2025% of revenue FY2026
Revenue20,00022,00025,000100.0%100.0%100.0%
Cost of goods sold12,00013,42016,00060.0%61.0%64.0%
Gross profit8,0008,5809,00040.0%39.0%36.0%
Operating expenses5,6006,0506,75028.0%27.5%27.0%
Operating income2,4002,5302,25012.0%11.5%9.0%
LineGrowth FY2025Growth FY2026
Revenue10.0%13.6%
Cost of goods sold11.8%19.2%
Gross profit7.3%4.9%
Operating expenses8.0%11.6%
Operating income5.4%-11.1%

Overhead behaved. Operating expenses fell as a share of revenue, from 28.0% to 27.0% over two years. The profit went out through gross margin: cost of goods sold grew 19.2% against revenue growth of 13.6%, so gross margin fell 3.0 percentage points in FY2026 after a 1.0-point slip in FY2025. Had FY2026 kept FY2025's 39.0% gross margin, gross profit would have been $750,000 higher and operating income $3.0 million, 18.6% above FY2025.

Ratios: inventory piled up as the margin fell

Item ($000 unless noted)FY2024FY2025FY2026
Year-end inventory (FY2023 year end: 1,900)2,0002,4003,600
Average inventory1,9502,2003,000
Inventory turnover (times)6.26.15.3
Days of inventory (365 ÷ turnover)596068
Current assets5,0005,5006,300
Current liabilities2,5002,7504,200
Current ratio (times)2.02.01.5
Working capital2,5002,7502,100
Gross margin40.0%39.0%36.0%
Operating margin12.0%11.5%9.0%

Year-end inventory rose 50% in FY2026 while revenue rose 13.6%. Inventory turnover fell from 6.1 to 5.3, so the average item sat in stock about 68 days, up from 60. Current liabilities grew faster than current assets, which pulled the current ratio from 2.0 to 1.5 and cut working capital by $650,000. Since "desirable ratios vary by industry," as the SEC guide puts it, compare each ratio with the company's own history first and with peers in the same industry second.

The ratios describe the problem without explaining it. A margin drop alongside an inventory build fits several stories: discounts to clear stock, a shift toward lower-margin products, supplier cost increases that were not passed on, or stock bought ahead of a price rise. Each one points to a different decision, and only the owners of pricing and purchasing know which happened.

Budget variance: what the margin cost against plan

The budget assumed a 39.0% gross margin. A positive variance is favorable.

LineBudget FY2026Actual FY2026VarianceVariance %
Revenue24,00025,000+1,000+4.2%
Gross profit9,3609,000-360-3.8%
Operating expenses6,6006,750-150-2.3%
Operating income2,7602,250-510-18.5%

AFP splits a revenue variance into volume and price, and the same logic splits gross profit. The revenue effect uses the budgeted margin, and the rate effect uses actual revenue.

ComponentCalculationEffect ($000)
Revenue above budget(25,000 - 24,000) × 39.0%+390
Gross margin below budget(36.0% - 39.0%) × 25,000-750
Gross profit varianceSum of the two effects-360

Selling $1.0 million more than planned added $390,000 of gross profit at the budgeted margin. The 3-point margin shortfall took away $750,000, more than the whole $510,000 operating income miss. Operating expenses ran $150,000 over budget, yet at 27.0% of revenue they came in below the planned 27.5%.

Put together, the distributor's FY2026 growth came with a 3-point loss of gross margin and a 50% inventory build, and the margin loss cost $750,000 against plan. The next step is to ask the owners of pricing and purchasing which of the four stories is true.

The order of work, and the errors that creep in

  1. Name the decision first. IBM's guide puts the objective first because it determines which data and metrics to use.
  2. Agree on definitions before you calculate: net revenue, operating income, the budget version, and whether a ratio uses year-end or average balances.
  3. Run trend and common-size analysis to locate the change.
  4. Calculate the ratios for that area, and compare each with the company's own history before any peer benchmark.
  5. Compare results with the plan, and split material variances into drivers.
  6. Write the finding with its open questions, and name the owner who can answer each one.

Most errors come from reading one number alone. Revenue growth read without the margin beside it would have made FY2026 look like the distributor's best year. Percentages averaged across periods or segments give the wrong answer, so divide the totals. Year-end inventory gives a different turnover from the average balance the formula calls for. Ratios compared across industries mislead. And profit is no proof of cash; in the SEC guide's words, "While an income statement can tell you whether a company made a profit, a cash flow statement can tell you whether the company generated cash."

For other metrics, Gravity's walkthrough of why a metric changed and which drivers moved it covers the same driver split at more length.

Which tool should carry the analysis each month?

The distributor's analysis is a one-time job in a spreadsheet. Repeating it every month is a different job, and each common tool covers part of it.

ToolGood atLeaves to a person
SpreadsheetA one-time analysis like this one, with every formula visible and easy to auditRebuilding it each month and noticing when margin slips
BI dashboardShowing gross margin and inventory turnover every weekRunning the split and asking purchasing why
Planning platformHolding the budget and the forecastWriting the explanation behind each variance
OrionRerunning the analysis on a schedule the team approves, and asking owners what the data cannot showDeciding whether to defend the margin

Keep each of the first three where it works. For the step after the chart, when someone has to notice the margin slip and run the split, a finance team can use Orion, the analytics platform from Gravity.

It starts from what the finance team knows: how the company defines net revenue and gross margin, which ratios the review reads first, whether turnover uses average balances, how large a margin move must be before it deserves a question, and who owns pricing and purchasing. Orion takes each of these in as a Context page and works from them in every analysis. Where the existing semantic layer, such as LookML or dbt, defines net revenue or gross margin, Orion reads that business logic as well.

With that in place, Orion proposes work through Suggested analyses, such as the gross profit split above, and asks the questions the numbers leave open, such as whether purchasing bought inventory ahead of a price rise. Behind each analysis is a notebook of SQL and Python that an analyst can read, edit, and rerun, the same audit trail a spreadsheet gives. When the team wants the split every month, it asks Orion to build a Workflow. Orion tests the Workflow in a dry run, the team approves it, and from then on each monthly run highlights the drivers behind any gross margin move.

To repeat this article's analysis on a real company's books, a first request to Orion could read:

For the last three fiscal years, show revenue, cost of goods sold, gross profit, operating expenses, and operating income, with year-over-year growth and each line as a share of revenue. Calculate gross margin, operating margin, inventory turnover on average inventory, and the current ratio. Compare this year with budget, and split the gross profit variance into a revenue effect at the budgeted margin and a margin rate effect at actual revenue. Show the calculation and list the questions the numbers cannot answer.

What the distributor's review has to settle

The pack for the review is short: the common-size income statement, a ratio table covering at least three periods, and the variance split, with an owner beside each open question. Mark which conclusions rest on arithmetic and which still need an explanation from the business.

The distributor's leaders have to choose between defending gross margin and accepting its loss as the price of growth. Sales beat the plan by $1.0 million, the 3-point margin loss cost $750,000, and the inventory build behind it has already pulled the current ratio from 2.0 to 1.5.

Keep reading

View all