Late Fee Calculator Formula
Understand the math behind the late fee calculator. Each variable explained with a worked example.
Formulas Used
Total Late Fee
total_late_fee = days_late > grace_period ? initial_fee + (penalty_days > 0 ? penalty_days * daily_penalty : 0) : 0Initial Late Charge
initial_late_charge = days_late > grace_period ? initial_fee : 0Total Amount Owed
total_owed = monthly_rent + (days_late > grace_period ? initial_fee + (penalty_days > 0 ? penalty_days * daily_penalty : 0) : 0)Variables
| Variable | Description | Default |
|---|---|---|
monthly_rent | Monthly Rent(USD) | 1800 |
late_fee_pct | Late Fee Percentage(%) | 5 |
days_late | Days Late(days) | 10 |
daily_penalty | Daily Penalty After Initial Fee(USD) | 10 |
grace_period | Grace Period(days) | 5 |
initial_fee | Derived value= monthly_rent * late_fee_pct / 100 | calculated |
penalty_days | Derived value= days_late > grace_period ? days_late - grace_period - 1 : 0 | calculated |
How It Works
Late Fee Calculation
Late fees compensate landlords for the cost and inconvenience of delayed rent payment.
Structure
Initial Fee = Monthly Rent x Late Fee% (charged after grace period)
Additional Penalty = Daily Rate x Days Beyond Grace + 1
Legal Limits
Worked Example
$1,800 rent, 5% late fee, 10 days late, $10/day penalty, 5-day grace period.
monthly_rent = 1800late_fee_pct = 5days_late = 10daily_penalty = 10grace_period = 5
- 01Initial late fee: $1,800 x 5% = $90 (charged on day 6)
- 02Penalty days beyond grace+1: 10 - 5 - 1 = 4 days
- 03Daily penalties: 4 x $10 = $40
- 04Total late fee: $90 + $40 = $130
- 05Total owed: $1,800 + $130 = $1,930
Ready to run the numbers?
Open Late Fee Calculator