Salary Proration Calculator (Working Days, Holidays, and Payroll Periods)

Prorate salary by working days using country-specific public holidays and custom schedules. Calculate accurate payroll for partial periods and international teams.

Salary proration calculator (by working days and public holidays)

If you have ever tried to prorate salary for part of a month, you know it is not as simple as dividing by 30.

Months have different lengths.
Public holidays reduce actual working time.
And work schedules vary across countries and teams.

That is why we built a salary proration calculator:
salary proration calculator

With it, you can:

  • calculate prorated salary for any date range
  • use working days instead of calendar days
  • include public holidays by country
  • narrow calculations to a specific region or subdivision
  • customize working days (for example Sunday to Thursday)
  • handle full payroll periods or custom date ranges

This makes it useful for:

  • payroll adjustments
  • contractor payments
  • employee onboarding and offboarding
  • unpaid leave calculations
  • international payroll scenarios

Instead of approximating salary manually, you get consistent and accurate results.


Why salary proration is not trivial

At first glance, salary proration looks simple:
just divide salary by days and multiply by worked time.

In reality, this approach breaks quickly.

Common problems:

  • using calendar days instead of working days
  • ignoring public holidays
  • assuming all months are equal
  • not accounting for regional differences

For example:

  • February vs March produces different results
  • a public holiday week reduces actual working time
  • two employees in different regions may have different payable days

That is why payroll systems rely on working-day-based logic.


How salary proration works

The calculator uses working days within a payroll period.

The process is straightforward:

  • determine total working days in the payroll period
  • determine working days in the selected date range
  • calculate the proportional salary

In practice:

prorated salary = (worked days / total working days) * full salary

Public holidays are excluded automatically based on the selected country and subdivision.

This ensures the result reflects actual working time, not just calendar time.


Payroll periods and custom ranges

The calculator supports two main approaches:

  • full payroll periods (for example full month or full year)
  • custom date ranges inside a payroll period

This allows you to handle real-world cases such as:

  • employee joining mid-month
  • employee leaving before the end of the period
  • unpaid leave periods
  • contract start and end adjustments

If no custom range is selected, the calculation assumes the full payroll period.


Public holidays and regional differences

Public holidays are applied automatically based on the selected country.

If a subdivision or region is selected:

  • regional public holidays are also excluded
  • working-day counts adjust accordingly

This is important because:

  • different regions may have different holidays
  • payroll must reflect local labor conditions
  • global teams cannot rely on a single universal calendar

Custom work schedules

Not every team works Monday to Friday.

The calculator supports flexible schedules such as:

  • Monday to Saturday
  • Sunday to Thursday
  • every day

This makes it suitable for:

  • retail and hospitality
  • logistics and operations
  • shift-based teams
  • international organizations

Working days are always calculated based on the selected schedule.


Salary proration for international teams

For companies operating across multiple countries, salary proration must be calculated per location.

Why:

  • public holidays differ by country and region
  • workweeks vary (for example Gulf countries vs Europe)
  • payroll compliance depends on local rules

Best practice:

  • calculate per employee location
  • use consistent working-day logic
  • aggregate results in your payroll system

Calculator vs API

The salary proration calculator is designed for quick, manual use.

If you need automation or integration into your product, you can use the API.

Salary proration API (for developers)

Use:

GET /api/salary-proration

Docs:

Public holiday data comes from:

GET /api/holidays

This ensures your backend logic matches the calculator results exactly.


Start calculating prorated salary

Use it to validate payroll scenarios, contracts, and salary adjustments.

Accurate salary proration is essential for fair payments, compliant payroll, and predictable financial planning.