Calculate your vacation pay accurately

Enter your leave dates and average monthly earnings over the last year, and see the amount payable at a glance.

Leave details

Enter the details and calculate the vacation pay.

Add up everything you were paid over the last 12 months (salary, awards, bonuses, extra payments) and divide by the number of months you worked. For example: 43 200 AZN in total over 12 months → 43 200 ÷ 12 = 3 600 AZN. Vacation pay is calculated both from this average and from the monthly base salary, and the larger amount is paid.

gg.aa.iiii
gg.aa.iiii

The calculation uses both the average monthly earnings over the last year and the monthly salary, and picks the larger amount. Public holidays that fall within the leave are not counted as paid days.

Calculated vacation pay

Enter the details

Vacation pay (before deductions)

0,00 AZN

Average daily earnings: 0,00 AZN

Calendar days

0 days

Public holidays

0 days

Paid leave days

0 days

Average monthly earnings

0,00 AZN

Monthly salary

0,00 AZN

Connect this tool to your own system

Call the same API this page uses from your ERP, accounting or HR system: send a request and get the result back as JSON.

POSTcalculate-api.7hrm.az/api/calculations/vacation
  • Free and open
  • No API key needed
  • JSON response

Request fields

startDate, endDate
First and last day of the leave (yyyy-mm-dd).
averageMonthlySalary
Average monthly earnings over the last 12 months, AZN.
positionSalary
Position salary; if given, the larger of the two methods is used.
isMain
true for the main workplace, false for a secondary one.

Returned in the response

vacationDays, holidayDays
Paid days and the public holidays within the leave.
grossVacationPayment, netVacationPayment
Vacation pay, gross and net.
slices
The calculation for each month the leave covers.
API docs

API integration

Leave your email about the Vacation pay calculator API and our team will get in touch.

By sending, you agree to us processing your data.

curl -X POST "https://calculate-api.7hrm.az/api/calculations/vacation" \
  -H "Content-Type: application/json" \
  -d '{
    "startDate": "2026-07-01",
    "endDate": "2026-07-21",
    "averageMonthlySalary": 1800,
    "positionSalary": 1500,
    "isMain": true,
    "privilegeAmount": 0
  }'

Every request and response field, examples and a form to try requests are in the API docs.

Frequently asked questions

Can't find your answer? Write to our support team

The application is addressed to the manager and gives the employee's name, position, type of leave, start date and duration. On the platform, just pick the type of leave and fill in the fields; the application is put together automatically.

Under the Labour Code, basic leave cannot be shorter than 21 calendar days. The law may set a longer period for some categories of employees.

The employee writes an application, and if the employer agrees, a leave order is prepared. The application must state the reason for the leave and how long it lasts.

Social leave is granted in cases set out in law (for example, for childcare). On the platform, pick the “Social leave” type and fill in the application and order templates.

The order gives the employee's name, position, type of leave, dates and the grounds (the application). The template takes these details from the form and prepares the order.

Vacation pay is calculated from the employee's average salary over the previous period. The calculation rules are set out in legislation.

These are the leave days the employee hasn't used. When an employee leaves the company, compensation for unused leave days is dealt with separately.

Manage leave in one system with 7HRM

Calculating one leave is easy. Tracking the whole team's balances, approvals and payments takes an automated system.

  • Automatic leave balance and length-of-service calculation

  • Online applications and multi-step approval flow

  • Payments passed automatically to the payroll module

  • Team calendar and cover planning

Book a demo

Məzuniyyət • Sentyabr 2026

7HRM

İcmal

Məzuniyyət

Əməkdaşlar

Hesabatlar

Məzuniyyət idarəetməsi

124 əməkdaş • 6 sorğu gözləyir

Yeni sorğu

Orta balans

16,4 gün

Bu ay məzuniyyətdə

18 nəfər

Gözləyən sorğular

6 sorğu

Əməkdaş

Balans

Status

Aysel Məmmədova

18 gün

Planlaşdırılıb

Kamran Əliyev

12 gün

Təsdiqlənib

Nigar Həsənli

21 gün

Gözləyir

Orxan Quliyev

9 gün

Təsdiqlənib