UK Statutory Maternity Pay
calculate_statutory_maternity_payWorks out UK Statutory Maternity Pay (SMP) week by week for 39 weeks: 90% of average weekly earnings for 6 weeks, then the lower of the flat rate or 90% for 33 weeks. Flat rate £187.18 from 6 April 2025 and £194.32 from 5 April 2026, switching for pay weeks that start after the April uprating. Finds the expected week of childbirth, the qualifying week (15th week before), the latest employment start date for 26 weeks' service and the lower earnings limit for that week (£125 in 2025/26, £129 in 2026/27). Same structure applies to Statutory Adoption Pay. Figures from gov.uk, fetched 2026-11-02.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due_date | Yes | Expected due date of the baby, yyyy-mm-dd. | |
| smp_start_date | No | Optional. Date SMP starts, yyyy-mm-dd. Default is the due date. | |
| employment_start | Yes | Date the employee started with this employer, yyyy-mm-dd. | |
| average_weekly_earnings | Yes | Average weekly earnings in pounds, before tax, over the 8-week relevant period. |