割増賃金(時間外・深夜・休日)の計算
calculate_overtime_payWorks out statutory premium pay under 労働基準法第37条 — overtime, night work and work on a statutory holiday.
The rates do not simply add up, and getting this wrong under-pays wages. A night premium stacks on top: overtime at night is 1.25 + 0.25 = 1.5, holiday work at night is 1.35 + 0.25 = 1.6. But a statutory holiday carries no overtime premium at all — a day with no duty to work has nothing to exceed — so holiday hours are 1.35, never 1.6 by adding overtime. Overtime beyond sixty hours in a month is 50%, and the deferral that exempted small employers ended on 1 April 2023, so headcount no longer matters.
Rounding follows 昭和63年基発第150号, which rounds each category separately rather than once at the end, so the total will not always match a single multiplication. Rounding the hours themselves down is a breach of 労基法第24条 and this tool will not do it.
base_monthly_pay must exclude the seven allowances that 労基法37条5項 and 施行規則21条 enumerate exhaustively, and only those. Exclusion turns on substance, not the name: a 「家族手当」 paid at a flat rate regardless of dependants cannot be excluded. The response lists all seven. Do not guess at whether an allowance qualifies — ask which way it is paid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| night_hours | No | How many of those hours fell between 22:00 and 05:00. | |
| holiday_hours | No | Hours worked on a statutory holiday. | |
| overtime_hours | No | Statutory overtime hours, excluding work on a statutory holiday. | |
| base_monthly_pay | Yes | Monthly pay forming the premium base, after removing any of the seven excludable allowances. | |
| holiday_night_hours | No | How many of those fell between 22:00 and 05:00. | |
| monthly_scheduled_hours | Yes | 月平均所定労働時間 — annual scheduled working days times daily hours, divided by twelve. |