Attorney Fee Structures Explained: Contingency, Hourly, and Flat Fees
8 min read
Published June 4, 2026 • By DocketMath Team
This page is in our current primary-source review cycle.
Quick takeaways
- Contingency fees tie the attorney’s payment to a percentage of a win (e.g., settlement or judgment). Agreements often specify separate rules for costs and whether the percentage applies to gross vs. net recovery.
- Hourly fees charge a rate per time unit (typically per hour), so your total generally tracks attorney time plus any reimbursable expenses.
- Flat fees set a fixed price for a defined scope, so outputs can be more predictable—but only if the engagement agreement clearly describes what’s included and what triggers extra charges.
- DocketMath helps make contingency, hourly, and flat-fee arrangements comparable by modeling the same scenario using shared inputs (recovery or hours, likelihood/stage assumptions, and expenses), rather than treating each fee type as unrelated.
- The most important step is gathering agreement terms exactly as written—especially success triggers, percentage base, fee caps, and what counts as billable work.
Note: This is intended for comparison and budgeting, not for predicting outcomes or providing legal advice. Fee terms can be interpreted differently, negotiated, or affected by court-specific rules and the exact agreement language.
Inputs you need
Before you can model attorney fee structures side-by-side, pull the following details from your engagement agreement (or a term sheet). If a term isn’t stated, note whether the agreement is silent—DocketMath works best when you can capture explicit assumptions.
1) Amount at stake / recovery scenarios
Identify which number(s) the agreement uses for fee calculation.
- ☐ Expected recovery (e.g., settlement amount or judgment amount to model)
- ☐ Low / medium / high recovery (optional, but recommended for a range)
- ☐ Definition of “recovery” for contingency (commonly one of these):
- gross settlement/judgment
- amount after specific deductions
- amounts paid by the defendant vs. third parties
2) Contingency-specific terms (if applicable)
- ☐ Contingency percentage (e.g., 30% of recovery)
- ☐ Trigger for the percentage rate (examples: pre-suit, after filing, after certain motions, at trial)
- ☐ Escalators / sliding scale (e.g., 25% pre-filing, 35% post-filing)
- ☐ Whether the percentage applies to settlement only, judgment only, or both
- ☐ “Gross vs. net” base language (what deductions are allowed before applying the percentage)
- ☐ Settlement-before-milestone rules (does the percentage reduce, or does the stage not change?)
- ☐ Whether you owe anything if there’s no recovery (some agreements require payment of specific costs)
3) Hourly-specific terms (if applicable)
- ☐ Hourly rate(s) (and whether rates change over time or by attorney level)
- ☐ Time estimate(s) (or ranges, if the agreement states them)
- ☐ Minimum billing increment (commonly 0.1 or 0.25 hour, sometimes different by provider)
- ☐ Who is billing (partner/associate/paralegal—rates often differ)
- ☐ Any retainer or prepayment requirements
- ☐ How time is recorded (some agreements include administrative time; others exclude it)
4) Flat-fee-specific terms (if applicable)
Flat fees often hide complexity in scope boundaries. Capture them precisely:
- ☐ Flat fee amount
- ☐ Scope of services covered by the flat fee (e.g., filing, negotiations, motion practice, trial)
- ☐ Included vs. excluded items (examples: court costs, expert fees, transcripts)
- ☐ Rework or revisions policy (e.g., what if a first draft is rejected?)
- ☐ What triggers additional fees (e.g., extra hearings, appeals, supplemental filings)
- ☐ Expiration of flat scope (some flat fees cover only up to a certain milestone)
5) Expenses, costs, and reimbursement rules (affects all three)
Even when the attorney’s fee is contingent or flat, costs can still change your total.
- ☐ Client-responsible expense categories (and any caps/limits)
- ☐ Examples: filing fees, service of process, deposition costs, expert costs
- ☐ Whether expenses are advanced up front (and if so, how much)
- ☐ Whether costs are deducted before contingency is calculated, or charged separately
6) Payment timing and caps
These terms affect both cash flow and maximum risk.
- ☐ Billing timeline (hourly monthly? flat upon signing? contingency after settlement?)
- ☐ Fee caps (maximum hourly amount, maximum contingency fee, or blended caps)
- ☐ Termination terms (what happens if you end the engagement midstream?)
- ☐ Attorney substitution / withdrawal consequences (if addressed)
How the calculation works
DocketMath models three fee types using the same “scenario skeleton,” so each option answers the same question:
Given a modeled recovery (and/or modeled hours) and modeled expenses, what is the attorney’s fee and your total cost under each structure?
A) Contingency fee model (percentage of recovery)
A typical structure:
- Compute the Recovery Base
- If the agreement says gross recovery, the base is the full settlement/judgment.
- If it says net, subtract the specified deductions to get the base.
- Apply the contingency rate
- If there are milestones, select the rate matching the modeled stage.
- Apply the agreement’s cost treatment
- Some agreements calculate attorney fees and then add costs.
- Others require costs to be taken out before applying the percentage.
Simplified formula (single-rate contingency):
- Attorney Fee = Recovery Base × Contingency %
- Total Client Payment = Attorney Fee + Costs (if costs are reimbursable separately or charged in addition)
B) Hourly fee model (rate × time)
- Multiply hours by rate (optionally by role if multiple billing rates apply)
- Add expenses if reimbursable
- Apply caps/minimums if stated
Simplified structure:
- Attorney Fee = Σ (Hours by role × Rate by role)
- Total Client Payment = Attorney Fee + Costs
C) Flat fee model (fixed scope price)
- Set attorney fee as the defined flat amount
- Add excluded items billed separately (costs, certain filings, experts)
- Add extra charges only when your modeled activity triggers “out of scope” work per the agreement
Simplified structure:
- Attorney Fee = Flat Fee
- Total Client Payment = Flat Fee + Costs + Any additional fees triggered by milestones/scope changes
Putting it together (side-by-side comparability)
DocketMath produces outputs for each structure using your inputs. For practical comparison, model multiple scenarios such as low / medium / high recovery (for contingency) and corresponding hour ranges (for hourly). Then you can compare:
- a range of totals (best/typical/worst),
- whether costs dominate (common in all structures),
- and how sensitive each fee type is to changes in time, stage, or recovery base.
If you want a risk-based discussion, remember: a “success trigger” is not the same as a “probability-weighted expected value.” If your tool supports it, you’ll want to model both likelihood of recovery and the fee trigger language so you’re not comparing certainty (flat fee) to an all-or-nothing contingency without accounting for odds.
Common pitfalls
Fee comparisons can go wrong when definitions are incomplete or mismatched. The most frequent distortions are:
Mixing “gross” and “net” recovery bases
- One model uses gross while another uses net, and contingency results swing dramatically.
Ignoring milestone-based contingency rates
- Sliding scales can change the attorney fee more than your modeled recovery size.
Forgetting costs treatment
- Some agreements deduct costs before contingency is computed; others charge costs separately. That difference can shift totals significantly.
Underestimating “out-of-scope” flat-fee triggers
- Flat fees often exclude appeals, additional hearings, or expert work—so the “flat” number may not remain flat for your scenario.
Using a single hourly rate when multiple roles bill
- Blended hourly assumptions can understate or overstate your total if the agreement uses different rates by role.
Skipping termination consequences
- Contingency may still require payment of costs; hourly may require paying for work performed; flat fees may be partially earned or refundable depending on the agreement.
Practical reminder: Don’t compare fee numbers without verifying the underlying definitions—especially what counts as recovery and whether costs are deducted before or after fee calculation.
Sources and references
- Use the DocketMath fee comparison tool at /tools to model contingency, hourly, and flat-fee scenarios using the agreement inputs you capture.
- General fee-structure concepts (contingency recovery base definitions, milestone triggers, hourly increment assumptions, and flat-fee scope boundaries) are represented in DocketMath as modeling assumptions derived from your stated engagement terms.
- If you’re applying statutes or court rules, tie those citations to your jurisdiction and fact pattern. Fee language interpretation is often agreement- and context-specific.
Next steps
- Open DocketMath and go to /tools.
- Collect the agreement terms listed above and enter the scenario assumptions you want to model (recovery amounts, time ranges, and expenses).
- Verify the definitions before relying on the output:
- contingency success trigger and recovery base (gross vs. net),
- any milestones/escalators and cost treatment,
- hourly rates/time increments and who bills,
- flat-fee
