How to calculate attorney fee in Pennsylvania
Quick takeaways
- In Pennsylvania, lawyer fees must comply with the ethics rule on “illegal or clearly excessive” charges in Pa. R.P.C. 1.5 (Fees).
- DocketMath’s Attorney Fee calculator (US-PA) lets you model attorney fees using structured inputs (hours/rate, flat fee, contingency terms, and expenses if applicable), then you apply Pennsylvania’s Pa. R.P.C. 1.5 reasonableness constraint.
- Pennsylvania’s fee analysis is typically not a single plug-in formula—it’s a calculation plus a reasonableness/ethics check under Pa. R.P.C. 1.5.
- You can use DocketMath for hourly, flat, and contingency-style calculations, but you should still verify that the modeled amount is consistent with Pa. R.P.C. 1.5 and the fee agreement’s actual terms.
Note: The Pennsylvania “period” guidance in the DocketMath attorney-fee setup defaults to the general/default rule. No claim-type-specific sub-rule was found. If you see a setting that suggests a special period by claim type, validate it against Pa. R.P.C. 1.5 and the fee agreement terms.
Inputs you need
Before you use DocketMath’s /tools/attorney-fee workflow, gather the information that will drive the modeled output—and that you’ll need when assessing whether a fee could be “clearly excessive” under Pennsylvania ethics rules.
Use this checklist:
- Fee model (choose one)
- Hourly billing (time * rate)
- Flat fee (fixed amount)
- Contingency (percentage or multiplier on recovery)
- Time entries (for hourly model)
- Total hours billed (or hours by date/task)
- Hourly rate(s) (one rate or multiple rates by attorney/paralegal)
- Cost/expense components (if your billing includes them)
- Copying, research, filing fees, expert costs, etc.
- Whether those costs are charged separately or included in the fee
- Fee agreement terms
- Any cap, minimum, or maximum
- Whether the fee is refundable or subject to adjustment
- Contingency terms (if applicable)
- Percentage of recovery
- Recovery amount used for the calculation (settlement or judgment)
- Any tiering (e.g., 33% up to a threshold, 40% above)
Then keep the Pennsylvania ethics constraint in view:
- Pa. R.P.C. 1.5 (Fees): A lawyer shall not enter into an agreement for, charge, or collect an illegal or clearly excessive fee.
Source (Pennsylvania Code): https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/204/chapter81/s1.5.html&d=
How the calculation works
DocketMath’s Attorney Fee calculator is a modeling tool: it turns your inputs into a computed fee amount for US-PA, and then you apply the applicable ethical constraint. Understanding what each input changes will help you spot results that might not be reasonable or that could be consistent (or inconsistent) with Pa. R.P.C. 1.5.
1) Hourly billing: time × rate (+ expenses if applicable)
With an hourly fee model, the calculator generally computes:
- Base fee = (hours billed) × (hourly rate)
- Total fee = base fee + (entered/allowed expenses, if you choose to include them)
Example input set
- Hours billed: 18.5
- Hourly rate: $300
- Expenses: $450 (charged separately)
Modeled output
- Base fee = 18.5 × 300 = $5,550
- Total fee = $5,550 + $450 = $6,000
2) Flat fee: fixed amount (+ expenses if applicable)
With a flat fee model, the calculator generally computes:
- Total fee = flat fee amount + (entered/allowed expenses, if you choose to include them)
Even when the math is simple, Pennsylvania’s ethics rule still matters: a flat fee can still be “clearly excessive” depending on context and what the fee agreement actually covers under Pa. R.P.C. 1.5.
3) Contingency: percentage × recovery (+ expenses if applicable)
For contingency-style calculations, DocketMath generally computes:
- Base fee = (contingency percentage) × (recovery amount)
- Total fee = base fee + (entered/allowed expenses, if you choose to include them)
Example input set
- Contingency percentage: 33%
- Recovery amount: $100,000
- Expenses: $1,200
Modeled output:
- Base fee = 0.33 × 100,000 = $33,000
- Total fee = 33,000 + 1,200 = $34,200
4) The Pennsylvania reasonableness/ethics constraint (Pa. R.P.C. 1.5)
No matter which math model you use, treat the DocketMath result as a calculation that you then evaluate for ethical reasonableness under:
- Pa. R.P.C. 1.5 (Fees): A lawyer shall not enter into an agreement for, charge, or collect an illegal or clearly excessive fee.
https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/204/chapter81/s1.5.html&d=
In practical terms for DocketMath users:
- If the modeled fee is unusually high compared to the work/time inputs, revisit your inputs.
- If the fee agreement includes multipliers, premiums, or broad expense pass-throughs, confirm the entered values match the agreement.
- If you’re uncertain whether a number is consistent with “clearly excessive,” consider getting legal/ethics guidance—because a calculator cannot make that legal judgment by itself.
Warning: A calculator can’t determine whether a fee is “clearly excessive.” That is a context-specific ethics assessment tied to Pa. R.P.C. 1.5 and the fee agreement’s terms—not just arithmetic.
Common pitfalls
These are the most common reasons attorney-fee calculations in Pennsylvania end up misleading—either because the numbers are inflated or because incompatible fee-model inputs get mixed.
1) Mixing hourly and contingency inputs
- If you choose hourly billing, don’t also enter a contingency percentage.
- If you choose contingency, don’t also multiply hours × rate unless the agreement truly structures the fee that way.
2) Treating expenses as automatically included
Attorney’s fees and costs/expenses are often handled differently. If you include expenses in DocketMath, ensure your approach matches the fee agreement and billing practice you’re modeling (e.g., whether expenses are billed separately versus bundled).
3) Using inconsistent rate/time scales
Common data issues:
- Hours entered in decimals that don’t match your intended time increment (e.g., 1.5 meaning 1.5 hours rather than 1 hour 30 minutes—make sure it’s deliberate).
- Paralegal time entered at attorney rates (or vice versa). These inconsistencies can make the modeled result appear “clearly excessive” relative to the work, raising an internal reasonableness concern under Pa. R.P.C. 1.5.
4) Assuming a claim-type-specific formula exists
For this guide, no claim-type-specific sub-rule was found. Don’t assume Pennsylvania has a special fee-period or computation rule by claim category. Instead:
- Use the default/general modeling approach available in the calculator, based on your fee agreement structure, and
- Apply Pa. R.P.C. 1.5 as the ethics constraint.
Verify any “period” settings against Pa. R.P.C. 1.5 and the underlying fee agreement terms.
5) Forgetting to reconcile the calculator output with the fee agreement
Even perfect math can be wrong if the agreement changes the outcome. Recheck:
- Any cap or maximum
- Any tiered contingency terms by milestone
- Whether certain costs are excluded or handled separately
Sources and references
Pa. R.P.C. 1.5 (Fees) (Pennsylvania Rules of Professional Conduct; ethics constraint on illegal or clearly excessive fees):
https://www.pacodeandbulletin.gov/Display/pacode?file=/secure/pacode/data/204/chapter81/s1.5.html&d=TODO (if you need more specificity):
- Identify the exact fee agreement terms you’re modeling (contingency tiers, caps, expense treatment).
- Confirm whether any court-awarded fee mechanisms apply to your specific scenario (this guide focuses on calculation mechanics and the Pa. R.P.C. 1.5 constraint).
Next steps
- Open DocketMath’s Pennsylvania attorney-fee calculator here:
Attorney fee calculator - Choose the correct fee model:
- Hourly: enter hours and rate(s)
- Flat: enter the flat fee amount
- Contingency: enter contingency percentage and recovery amount (plus any tiers, if available in your setup)
- Add expenses only if your fee agreement actually includes or passes them through in the way you’re modeling.
- Review the output for internal consistency:
- Do the hours and rates align with your billing assumptions?
- Do the expense assumptions match how you/your agreement treats costs?
- Apply the Pennsylvania ethics constraint from Pa. R.P.C. 1.5:
- The modeled fee should not be “illegal or clearly excessive” under **Pa. R.P.C. 1.5
Run the numbers for your matter against the verified rule for this jurisdiction.
Calculate fees