Overtime pay/overtime labor calculation simulator | ZeroTools

Automatically calculates overtime pay (overtime, late night, holiday work) based on the Labor Standards Act based on basic wage (or basic hourly wage) and working hours. It is a convenient web tool that operates completely locally and safely without sending data to an external server.

Loading tool interface...

Client-Side Secure Execution

This tool executes entirely in your browser sandbox. None of your input strings, files, or configurations are uploaded to any external server.

ZeroTools: Browser Processing & Privacy

ZeroTools focuses on tools that process input on your device. Check each tool’s scope and limitations before use.

Processing and privacy policy
Chapter 1

Strict application and calculation of premium wage rates based on Article 37 of the Labor Standards Act

In order to accurately calculate compensation for overtime work, it is essential to apply the various premium wage rates stipulated in Article 37 of the Labor Standards Act in a hierarchical manner.

This system implements an algorithm that maps the legal premium rate in seconds to the input working hours. Based on the principle of multiplication of overtime work by 1.25 times, it has a trigger mechanism that automatically shifts to a 1.5 times premium rate when the cumulative overtime work exceeds 60 hours in one month.

Furthermore, in determining late-night work, we independently extract the labor records that belong to the time period from 10:00 pm to 5:00 am the next day, and perform a compound calculation in parallel that adds 0.25 times the basic premium rate.

In addition, if work data on a calendar day designated as a legal holiday is detected, there is a built-in judgment logic that immediately applies a special premium rate of 1.35 times, in addition to the overtime framework.

These complex multiplier variations uniquely determine which labor units belong to which legal premium category by sequentially parsing the timestamp array generated from stamping data and calendar date data, ensuring accurate accounting of wage claims.

Chapter 2

Basic hourly wage calculation and determination of seven major exclusion allowances in accordance with Article 21 of the Labor Standards Act Enforcement Regulations

When calculating the basic hourly wage, which is the basis for calculating overtime pay, it is not legally permitted to unconditionally add up all salary items.

This system strictly implements the deduction process for the seven major exclusion allowances specified in Article 21 of the Labor Standards Act Enforcement Regulations.

Specifically, we have adopted an interface that separates and recognizes seven items as parameters when entering payslip data: family allowance, commuting allowance, separation allowance, child education allowance, housing allowance, temporary wages, and wages paid for periods exceeding one month.

By extracting the pure calculated basic wage amount by subtracting these court-excluded items from the combined value of basic salary and fixed job allowances, and dividing that amount by the scheduled working hours, the accurate basic hourly wage per hour is derived.

This basic hourly wage calculation module structurally prevents overestimation of overtime pay due to the inclusion of inappropriate allowances, and conversely, underestimation due to the exclusion of allowances that should be included, by managing flags to determine whether the nature of payment falls under the exclusion requirements, even if the names of various allowances differ from company to company.

Chapter 3

Algorithmic implementation of legal standards regarding rounding of total working hours in a month

This system strictly applies legal rounding standards based on the notification regarding minute fractions that occur in the daily working hours aggregation process.

Although it is illegal to round individual working hours per day because it puts workers at a disadvantage, special rounding is permitted for the final cumulative value of overtime work after adding up the total working hours for a month.

The system's aggregation engine maintains the pure minute-by-minute cumulative value of overtime work generated from daily work records, and calls the rounding function only during the processing phase of the monthly closing date.

This judgment function executes a combination of modulo operation and conditional branching: if the last minute of the cumulative overtime hours is less than 30 minutes, that part is rounded down to zero minutes, and if it is between 30 and 59 minutes, it is rounded up to one hour.

This monthly batch rounding logic allows us to accurately determine the number of overtime hours, completely eliminating the risk of violating the Labor Standards Act due to misapplication of daily processing, while complying with the purpose of the administrative notification to reduce the calculation burden in corporate payroll calculation practices.

Chapter 4

Determination of legal working hours exceeding 8 hours per day and 40 hours per week and overtime work calculation

The core of working time management is to accurately identify the boundary between legal working hours and scheduled working hours, and to extract legal overtime work.

The overtime calculation algorithm installed in this system uses a sliding window method that continuously monitors the double legal upper limit of 8 hours per day and 40 hours per week.

First, in the daily scanning process, break time is deducted from the difference between the start time and end time, and the portion of the day's actual working hours that exceeds 8 hours is immediately stored in a queue as daily overtime work.

The weekly scanning process then runs, accumulating up to 8 hours of daily work time for a week from Sunday to Saturday.

The moment this weekly cumulative value exceeds 40 hours, the excess time is newly recognized as weekly overtime, and exclusive processing is executed to avoid double counting with overtime that has already been extracted on a daily basis.

This two-step monitoring logic makes it possible to identify all hours that exceed the legal working hours stipulated by the Labor Standards Act, without omission or duplication, even in complex work calendars that include irregular shift work and holiday work.

Chapter 5

Local in-browser calculation mechanism for working time data and confidentiality of labor information

In handling sensitive labor data such as individual work records and salary amounts, this system has a complete client-side processing architecture that does not send any data to an external server.

All parameters entered by the user, such as start and end times, amounts of various allowances, scheduled holidays, etc., are instantiated only in the browser's local memory, and the overtime pay calculation process is completed within the JavaScript engine.

By blocking communication with the server-side database and external API endpoints, we physically reduce the risk of data interception in the communication path and the risk of information leakage on the server side to zero.

In addition, even after the calculation results are displayed, all variables in memory are volatile when the browser tab is closed or reloaded, and no cache or persistent logs remain on the device.

This thorough local calculation method ensures that users can safely enter highly private information such as their payslips and work records into the verification system without fear of disclosing it to third parties.

Chapter 6

Practical utilization process for visualizing unpaid overtime and claiming unpaid overtime

The final output of this system is not just a list of numbers, but is designed to serve as practical evidence for workers to protect their rights.

Users can directly compare the actual amount paid on their pay slips with the theoretical value of legal overtime pay calculated by this system in accordance with legal standards.

If a discrepancy is detected between the two, it strongly suggests the existence of unpaid overtime due to illegal labor management practices such as misuse of the deemed overtime system, unfair reduction of basic hourly wages, or rounding off of time cards.

The detailed calculation tree generated by this system, which shows the daily breakdown of overtime work, the application status of late-night premiums and holiday premiums, and the basis for calculating basic hourly wages, has a level of logical consistency that can be used as is for reporting to the Labor Standards Inspection Office or as the basis for claims in labor tribunals.

In this way, by making the legal calculation process transparent and visualizing the amount of potential unpaid overtime as a clear numerical value, it will serve as a powerful practical support platform for workers to recognize their legal rights and seek appropriate correction of treatment.