Skip to content

UK National Minimum Wage over the pay reference period

The rule

In the United Kingdom the National Minimum Wage (and the National Living Wage) is checked over each pay reference period: the pay for the period, divided by the hours worked in it, must reach the hourly minimum of the worker’s age band.

  • The pay reference period is the pay period: a month for monthly pay.
  • What counts is the basic pay: an hourly rate, or a salary. An overtime premium (the part above the basic rate), tips and most allowances do not count toward the minimum.
  • Salaried hours work counts the hours worked in the period: a salary is measured against them, however it is paid.
  • What is short is owed for that period.

Who uses it

Every employer in the United Kingdom, for hourly and salaried workers alike.

How the recipe does it

Configuration only: the package (package.toml) has one layer.

[[layer]]
id = "minimum-wage"
settings = { pay_periods = { month_days = [1] } }
[[layer.step]]
id = "minimum-wage"
uses = "standard/minimum_wage"
params = { rate = "pay", minimum = "minimum", pay = "wages", category = "minimum_wage_top_up", includes = ["salary"], window = "period" }
  • minimum_wage with window = "period" checks the whole pay reference period: its hours worked at the pay rate their context matches (none for a salaried worker), plus the money in includes (the salary entered as money in salary), against the minimum rate each hour matches. What is short is added in minimum_wage_top_up, on the period’s last day worked.
  • The minimum is a rate of kind minimum: the National Living Wage with no context, and each younger age band’s naming it (matches = { age_band = "18-20" }); a worker’s age band is a value of their work, here the employee’s default.
  • An overtime premium is money in a category includes does not name, so it makes up nothing.

What your setup needs

Set up before you adopt the recipe; the recipe’s steps read them by name, and adopting it is refused, with a list of what is missing, until they exist.

  • A measure called wages: the amount the recipe adds up (money in a currency, or a count).

The scenarios show each as it was set up for them.

Parameters

ParameterMeaning
rateThe rate kind the hours are paid at (none for a salaried worker).
minimumThe rate kind of the minimum, by context (an age band).
includesThe money that counts as pay for the minimum (the salary).
pay, categoryThe measure and category the top-up is added in.
windowThe pay reference period: period.

What the scenarios show

  • a-salaried-worker-paid-under-the-minimum: 2,000.00 for 180 hours is topped up by 287.80.
  • a-salary-over-the-minimum-owes-nothing: 2,500.00 for the same hours.
  • an-overtime-premium-does-not-count: 11.00 an hour is short whatever the premium: 273.60.
  • a-younger-workers-rate: the 18 to 20 band’s 10.85: 44.50 owed.

This is a common way to check the minimum over a pay reference period; check the rules where you operate. The rates change each April, and what counts as pay, which hours count (travel, training, sleep-ins, time on call) and the rules for salaried hours work (annual basic hours) are detailed: a salary is checked here against the hours worked in each period.

Get the recipe

The recipe’s package and its scenarios are in the example packages repository: attendance/uk_minimum_wage. Test it, or your own copy of it, with hourctl attend test, and publish it with hourctl attend pkg publish.

The policy package

The package’s layers, with the standard steps each one runs and their settings:

uk_minimum_wage/package.toml
name = "uk_minimum_wage"
version = "1.0.0"
description = "The UK National Minimum Wage, checked over each pay reference period: a salaried worker's salary or an hourly worker's basic pay, over the hours worked in it, made up to the minimum of their age band."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
measures = ["wages"]
# Monthly pay periods, each a pay reference period. The hours worked in
# it are paid at least the minimum rate each one's context matches (the
# National Living Wage, or an age band's rate). What counts is the basic
# pay: the hourly rate, and the salary (money in salary). An overtime
# premium, tips and allowances do not; what is short is added in
# minimum_wage_top_up.
[[layer]]
id = "minimum-wage"
settings = { pay_periods = { month_days = [1] } }
[[layer.step]]
id = "minimum-wage"
uses = "standard/minimum_wage"
params = { rate = "pay", minimum = "minimum", pay = "wages", category = "minimum_wage_top_up", includes = ["salary"], window = "period" }

Scenarios

Each scenario gives a person’s punches and setup and the timecard they must produce, worked out with this package adopted (the format).

A salary of 2,000.00 for October, the pay reference period, and 180 hours worked in it: 11.11 an hour, under 12.71. 180 hours at 12.71 are 2,287.80, so 287.80 is owed, on the period's last day worked
scenarios/a-salaried-worker-paid-under-the-minimum.toml
description = "A salary of 2,000.00 for October, the pay reference period, and 180 hours worked in it: 11.11 an hour, under 12.71. 180 hours at 12.71 are 2,287.80, so 287.80 is owed, on the period's last day worked"
[policy]
zone = "Europe/London"
[[measure]]
id = "hours"
kind = "duration"
[[measure]]
id = "wages"
kind = "money"
currency = "GBP"
[[category]]
id = "minimum_wage_top_up"
worked = false
[[rate]]
kind = "minimum"
amount = 1271
currency = "GBP"
[[labor]]
workday = "2026-10-05"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-05 18:00"
[[labor]]
workday = "2026-10-12"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-12 18:00"
[[labor]]
workday = "2026-10-19"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-19 18:00"
[[labor]]
workday = "2026-10-26"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-26 18:00"
[[labor]]
workday = "2026-10-01"
measure = "wages"
quantity = 200000
category = "salary"
recorded = "2026-10-01 18:00"
[expect.period]
day = "2026-10-01"
quantities = ["2026-10-01 wages 2000.00 GBP salary", "2026-10-26 wages 287.80 GBP minimum_wage_top_up"]
2,500.00 for the same 180 hours is 13.88 an hour: nothing is owed
scenarios/a-salary-over-the-minimum-owes-nothing.toml
description = "2,500.00 for the same 180 hours is 13.88 an hour: nothing is owed"
[policy]
zone = "Europe/London"
[[measure]]
id = "hours"
kind = "duration"
[[measure]]
id = "wages"
kind = "money"
currency = "GBP"
[[category]]
id = "minimum_wage_top_up"
worked = false
[[rate]]
kind = "minimum"
amount = 1271
currency = "GBP"
[[labor]]
workday = "2026-10-05"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-05 18:00"
[[labor]]
workday = "2026-10-12"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-12 18:00"
[[labor]]
workday = "2026-10-19"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-19 18:00"
[[labor]]
workday = "2026-10-26"
measure = "hours"
quantity = "45h"
category = "work"
recorded = "2026-10-26 18:00"
[[labor]]
workday = "2026-10-01"
measure = "wages"
quantity = 250000
category = "salary"
recorded = "2026-10-01 18:00"
[expect.period]
day = "2026-10-01"
quantities = ["2026-10-01 wages 2500.00 GBP salary"]
A worker of 18 to 20 (the employee default age_band, a dimension of their work) has the minimum of their age band, 10.85: 1,800.00 for 170 hours is 10.58, and 44.50 is owed
scenarios/a-younger-workers-rate.toml
description = "A worker of 18 to 20 (the employee default age_band, a dimension of their work) has the minimum of their age band, 10.85: 1,800.00 for 170 hours is 10.58, and 44.50 is owed"
[policy]
zone = "Europe/London"
[[measure]]
id = "hours"
kind = "duration"
[[measure]]
id = "wages"
kind = "money"
currency = "GBP"
[[category]]
id = "minimum_wage_top_up"
worked = false
[[rate]]
kind = "minimum"
amount = 1271
currency = "GBP"
[[rate]]
kind = "minimum"
matches = { age_band = "18-20" }
amount = 1085
currency = "GBP"
[defaults]
employee = { age_band = "18-20" }
[[labor]]
workday = "2026-10-05"
measure = "hours"
quantity = "42h 30m"
category = "work"
recorded = "2026-10-05 18:00"
[[labor]]
workday = "2026-10-12"
measure = "hours"
quantity = "42h 30m"
category = "work"
recorded = "2026-10-12 18:00"
[[labor]]
workday = "2026-10-19"
measure = "hours"
quantity = "42h 30m"
category = "work"
recorded = "2026-10-19 18:00"
[[labor]]
workday = "2026-10-26"
measure = "hours"
quantity = "42h 30m"
category = "work"
recorded = "2026-10-26 18:00"
[[labor]]
workday = "2026-10-01"
measure = "wages"
quantity = 180000
category = "salary"
recorded = "2026-10-01 18:00"
[expect.period]
day = "2026-10-01"
quantities = ["2026-10-01 wages 1800.00 GBP salary age_band=18-20", "2026-10-26 wages 44.50 GBP minimum_wage_top_up"]
An hourly worker paid 11.00 for 160 hours, with 100.00 of overtime premium on top: the premium is not pay for the national minimum wage, so 160 hours at 1.71 under the minimum, 273.60, are owed whatever the premium
scenarios/an-overtime-premium-does-not-count.toml
description = "An hourly worker paid 11.00 for 160 hours, with 100.00 of overtime premium on top: the premium is not pay for the national minimum wage, so 160 hours at 1.71 under the minimum, 273.60, are owed whatever the premium"
[policy]
zone = "Europe/London"
[[measure]]
id = "hours"
kind = "duration"
[[measure]]
id = "wages"
kind = "money"
currency = "GBP"
[[category]]
id = "minimum_wage_top_up"
worked = false
[[rate]]
kind = "minimum"
amount = 1271
currency = "GBP"
[[rate]]
kind = "pay"
amount = 1100
currency = "GBP"
[[labor]]
workday = "2026-10-05"
measure = "hours"
quantity = "40h"
category = "work"
recorded = "2026-10-05 18:00"
[[labor]]
workday = "2026-10-12"
measure = "hours"
quantity = "40h"
category = "work"
recorded = "2026-10-12 18:00"
[[labor]]
workday = "2026-10-19"
measure = "hours"
quantity = "40h"
category = "work"
recorded = "2026-10-19 18:00"
[[labor]]
workday = "2026-10-26"
measure = "hours"
quantity = "40h"
category = "work"
recorded = "2026-10-26 18:00"
[[labor]]
workday = "2026-10-26"
measure = "wages"
quantity = 10000
category = "overtime_premium"
recorded = "2026-10-26 18:00"
[expect.period]
day = "2026-10-01"
quantities = ["2026-10-26 wages 273.60 GBP minimum_wage_top_up", "2026-10-26 wages 100.00 GBP overtime_premium"]