Matter profitability: calculating cost, margin and collection separately
A management method for separating fees, labour costs, overheads and collection when reviewing the profitability of each matter at a law firm.

The matter with the largest invoice does not necessarily leave the largest margin. Nor does an issued invoice mean cash is available in the bank. Reviewing a firm's economics means separating four questions: which income relates to the work, what delivery costs, how much shared infrastructure it consumes and when the money is collected. This guide proposes an internal matter-management sheet, not a new accounting rule or a mandatory profitability percentage for Spanish lawyers.
The accounting reference behind the distinction is the accrual principle in Spain's General Accounting Plan: economic effects are recorded when they occur, independently of payment or collection. Formal application depends on the relevant accounting regime. The internal sheet below replaces neither statutory accounts nor tax obligations. It helps a matter owner explain a deviation and improve the next quote without presenting estimates as observed results. Explanations of Spanish source material are this publication's own translations.
Decide what the calculation measures
Before opening a spreadsheet, decide whether the aim is direct matter contribution, the result after allocating overheads or outstanding cash collection. These are different measures. Positive direct contribution can coexist with a negative result after overhead allocation; good forecast profitability can coexist with a liquidity problem if the client does not pay. Showing all three avoids choosing solely the most flattering number.
For this guide, direct contribution means net fee income less labour costs and external costs actually borne by the firm for that matter. The result after overheads adds a separate allocation of shared expenses. These measures are not called official accounting profit and are not presented as universal industry definitions. The important point is to write the chosen definition down and apply it consistently when comparing engagements.
Start with comparable income
Identify whether fees are quoted, earned, invoiced or collected. Comparing the whole quoted fee with the costs of only one completed phase makes an open matter look artificially profitable. An interim review should show both completed and remaining work, and estimated income relating to the same scope. Estimates must stay visibly identified as estimates rather than gradually becoming assumed facts.
The internal comparison proposed here separates output VAT from fee income. It also distinguishes client disbursements and recharged expenses: counting them as the firm's own sales or excluding them without explanation changes the comparison. Their specific tax and accounting classification requires a separate check; this guide does not turn every reimbursement into a disbursement. Discounts, credit notes and later price agreements should be reflected so the income used matches the price that is actually maintained.
Measure work at cost, not selling rates
The rate quoted to the client is not the internal cost of the person doing the work. Multiplying every hour by the commercial rate and subtracting it from income mixes a cost with an expected selling price. The sheet needs a separate, documented assumption for cost per hour or unit of work. This can be built from staff costs and estimated productive capacity, without claiming that the chosen divisor is prescribed by law.
The owner's time also needs an explicit treatment. Ignoring it can make an engagement appear almost free to produce; allocating an arbitrary amount can distort the result in the opposite direction. Show the assumption and test how margin changes if it changes. This is not a fictional payroll entry or a tax rule. It is an economic management cost used to decide how capacity and price fit together.
A complete and deliberately hypothetical example
Assume net fees of EUR 3,000 for completed work. Delivery takes 20 hours at an assumed internal cost of EUR 35 per hour and eight review hours at EUR 70. Labour costs are EUR 700 and EUR 560 respectively: EUR 1,260 in total. Add EUR 240 of an external matter cost that cannot be recovered from the client. Direct cost is EUR 1,500 and direct contribution another EUR 1,500, or 50% of net income.
If EUR 600 of overheads is also allocated, the internal result after overheads is EUR 900, or 30% of income. Neither percentage is a recommended target or a market observation: both follow from figures invented to demonstrate the calculation. If only EUR 1,000 has been collected, the outstanding amount is EUR 2,000. That does not automatically turn the calculated margin into a EUR 1,100 loss. The profitability sheet and cash view answer different questions, although management needs both.
Allocate overheads without hiding the rule
Rent, administration, insurance, shared licences and other common expenses need an allocation policy if the aim is a result after overheads for each matter. No single allocation key suits every firm. Hours, revenue or reserved capacity produce different answers. The policy must identify the costs included and the base used, while avoiding a second allocation of expenses already included in hourly costs.
A useful check is to display direct contribution and the after-overhead number in separate columns. This can identify a matter that comfortably covers delivery but bears a high share of common costs, without automatically concluding it should be rejected. For period comparisons, keep the rule consistent or explain the change. Selecting each month's allocation key to improve the appearance of results prevents the firm from learning from deviations.
Compare the budget with delivery
The information matters before the engagement ends. A phase review can compare expected and actual hours, planned and committed external costs, and initial scope against additions. When a client asks for extra work, the question is not only how many hours remain. It is also whether that work falls within the agreed engagement and whether revised scope and price must be explained or agreed.
Article 48(4) of the General Statute requires information about fees and costs through an engagement letter or equivalent means. Article 14 of the Code of Conduct requires advance information about the approximate amount or the basis for determining it. An internal cost sheet does not itself amend the client agreement: discovering lost margin does not authorise a unilateral increase to an agreed fixed bill. The fixed-fee quoting guide addresses the pricing process.
Finish with a concrete decision
At closure, distinguish estimating errors, scope mistakes, duplicated reviews, unexpected external costs and slow collection. They are not the same cause and do not have the same remedy. A higher price does not remove unnecessary double review. A faster tool does not resolve a disputed bill where the engagement was never clear.
The review can finish with a small, testable decision: change the quote template, require approval before commissioning a provider or record a phase previously omitted. The guide to fee models compares pricing structures without confusing them with internal costs. The 90-day business development plan helps place these decisions within commercial activity, without promising minimum margins or extrapolating foreign surveys to the firm.
Dates and sources
General Accounting Plan published by BOE, conceptual framework and accrual principle; General Statute of the Spanish Legal Profession, art. 48(4); 2019 Code of Conduct, art. 14. Read 17 November 2026. The management method, hourly costs, allocations and example are expressly hypothetical editorial work, not demand figures, official tariffs or observed profitability.