Attorney Fee Structures Explained: Contingency, Hourly, and Flat Fees
8 min read
Published March 22, 2026 • By DocketMath Team
Quick takeaways
- Contingency fees tie your lawyer’s payout to the outcome (often a percentage of recovery). They can reduce upfront cost, but they typically cost more if you win.
- Hourly fees bill for time at an agreed rate. Total cost depends heavily on scope, complexity, and how long matters take.
- Flat fees charge a set amount for defined tasks. They work best when the matter’s scope is clear and unlikely to expand.
- You can use DocketMath to compare fee structures side-by-side—especially when you estimate hours, expected recovery, or task scope.
- Watch for minimum fees, retainer replenishment, and fee-shifting clauses in the underlying agreement or any statute/rules that may apply.
Note: Fee structures often interact with costs (filing fees, expert expenses, transcripts). Even when the attorney’s fee is capped, costs may still be separate.
Inputs you need
To model contingency, hourly, and flat fee arrangements in a way that’s actually comparable, gather the following details from your engagement agreement (or proposed terms). Use whatever you have—DocketMath can still help you test scenarios.
Use this intake checklist as your baseline for N/A work in this jurisdiction.
- jurisdiction selection
- key dates and triggering events
- amounts or rates
- any caps or overrides
If any of these inputs are uncertain, document the assumption before you run the tool.
1) For all fee structures
- Matter type / stage (demand letter, negotiation, litigation, appeal)
- Starting date and target milestones (e.g., hearing date, discovery deadlines)
- Scope definition (what’s included vs. excluded)
- Costs policy
- What costs are reimbursed?
- Is there a cap on costs?
- Are costs advanced by you or paid from a retainer?
2) Contingency fee inputs
- Contingency percentage (e.g., 30% of recovery)
- Trigger for the percentage
- Is it based on total recovery, net recovery, or gross recovery?
- Does the percentage change at different stages (e.g., before/after suit filed)?
- **Netting rules (if any)
- Are attorneys’ fees taken before calculating “net” to you?
- Expenses and deductions
- Are litigation costs deducted from the client’s recovery before percentage is applied?
3) Hourly fee inputs
- **Hourly rate(s)
- Partner rate, associate rate, paralegal rate (if any)
- Time estimate
- Total expected hours, or a breakdown by phase (pre-suit, discovery, motion practice, trial)
- Minimum billing increments
- Example: billed in 0.1 hour increments
- Retainer terms
- Is there an initial retainer?
- Does it require replenishment when depleted?
4) Flat fee inputs
- Flat fee amount
- Scope of services included
- Example: “draft motion + one hearing prep + appearance at one hearing”
- Change-control terms
- What happens if the scope expands?
- Are additional tasks billed hourly or via an additional flat fee?
- Success/extra incentive terms (if any)
- Some flat fee arrangements still add a bonus for favorable outcomes.
How the calculation works
DocketMath models fee structures using a small set of arithmetic rules. The point isn’t to predict the future—it’s to create transparent, comparable scenarios.
DocketMath applies the this jurisdiction rule set to the inputs, then runs the calculation in ordered steps. It validates the trigger date, applies rate or cap logic, and produces a breakdown you can audit. If you change any one variable, the tool recalculates the downstream outputs immediately.
1) Contingency fee math
A common structure looks like this:
- **Contingency fee = (Recovery) × (Contingency %)
- **Client net = Recovery − Contingency fee − (Subtractable costs, if defined)
Because contracts vary, DocketMath lets you test alternate “recovery” definitions:
| Scenario choice | If recovery is defined as… | Effect on attorney fee |
|---|---|---|
| Gross recovery | Total amount paid/awarded | Higher fees if costs are deducted later |
| Net recovery | Recovery minus certain costs | Lower fees (fee base shrinks) |
| Tiered contingency | Different % by stage | Fee can drop or rise depending on timing |
Example structure (illustrative):
- Recovery: $100,000
- Contingency: 30%
- Contingency fee: $30,000
- Client net (before any costs rules): $70,000
2) Hourly fee math
Hourly arrangements generally follow:
- **Attorney fee = Σ (Rate × Hours)
- Client net = Recovery (if applicable) − Attorney fee − Costs
DocketMath comparisons work best when you build a quick time budget by phase. Even rough ranges improve accuracy:
- Pre-suit: 2–6 hours
- Discovery: 10–30 hours
- Motions/hearings: 5–20 hours
- Settlement/close-out: 1–4 hours
If your engagement agreement also includes minimum increments or different rates per attorney, ensure the hours are assigned to the correct rate bucket.
3) Flat fee math
Flat fee calculations are straightforward:
- Attorney fee = Flat fee amount
- Client net = Recovery (if applicable) − Flat fee − Costs − Extra-scope charges
Flat fee arrangements become complex when scope expands. DocketMath treats expansion using your agreement’s rule, such as:
- additional hourly billing after a threshold, or
- an added flat fee for defined extra work.
4) Side-by-side comparison framework (what DocketMath helps you do)
To compare contingency, hourly, and flat fees meaningfully, DocketMath encourages you to run a scenario set. Consider three scenarios:
- Low outcome / early resolution
- Mid outcome / partial litigation
- High outcome / full litigation
Then compare total attorney compensation under each structure.
Checklists you can use in DocketMath:
Warning: If the agreement is silent about how costs are handled (or how “recovery” is defined), the math can swing dramatically. DocketMath works best when you can tie calculations to specific contract language.
Common pitfalls
Fee structures feel simple until the agreement includes “gotchas.” Here are recurring issues that materially change the numbers.
- missing a required input
- using a stale rate or rule
- ignoring calendar or holiday adjustments
- skipping documentation of assumptions
When rules change, rerun the calculation with updated inputs and store the revision in the matter record.
1) Confusing “recovery” with “net to client”
In contingency math, some agreements define recovery as gross receipts; others subtract costs first. Even a $20,000 cost difference can change the attorney’s percentage outcome.
2) Ignoring scope creep in flat fees
Flat fees often include a clause like “additional services billed separately.” Without a clear scope, a matter can drift into additional work quickly—especially if new facts arise after filings.
3) Underestimating hourly time for procedural events
Hourly matters can accelerate due to:
- expedited deadlines,
- emergency motions,
- multiple depositions,
- or heavy document review.
These events often occur outside the “expected” timeline.
4) Missing retainer depletion and replenishment
If your hourly agreement requires a retainer and you must replenish it, your cash-flow cost can be higher than the final fee total suggests.
5) Overlooking fee-shifting rules (where applicable)
Some legal settings allow a prevailing party to recover attorney’s fees under statutes or rules. That can flip the risk calculus for both parties—though you should rely on the agreement and governing law rather than assumptions.
Note: DocketMath helps model fee arithmetic, but fee-shifting outcomes depend on the specific claim and procedural posture.
Sources and references
- For fee agreements and professional conduct frameworks, many jurisdictions regulate attorney fee arrangements through professional responsibility rules and court rules.
- When using statutes or rules for fee recovery (including fee-shifting), the controlling authority depends on the claim type and jurisdiction.
- Because this article is guidance on fee structure math, it does not attempt to resolve jurisdiction-specific entitlement to fees.
If you want, share the fee terms (percentages, rates, and scope language), and DocketMath can help you translate them into comparable scenario outputs.
Next steps
- Collect the exact numbers from your agreement:
- contingency %, hourly rates, flat fee scope, and the cost policy.
- Define three scenarios in plain estimates:
- early, mid, and late resolution (or low/mid/high recovery).
- Run a comparison in DocketMath to see:
- total attorney compensation,
- client net under each outcome definition,
- and sensitivity to costs and timeline.
- Document your assumptions:
- gross vs. net recovery definition,
- expected hours by phase,
- and what “scope included” means in practice.
If you’re comparing options right now, start with a baseline case in DocketMath using your best estimates, then adjust one variable at a time (percentage, hours, or recovery) to see which assumption matters most.
Primary CTA: ** /tools
Related reading
- How to calculate deadlines in Delaware — Full how-to guide with jurisdiction-specific rules
- Statute of limitations in Singapore: how to estimate the deadline — Full how-to guide with jurisdiction-specific rules
- Statute of limitations in United States (Federal): how to estimate the deadline — Full how-to guide with jurisdiction-specific rules
