Country & language

Sets the currency, units and country-specific rules (tax, VAT, salary) in calculators. General tools stay the same.

Pages that are not translated yet open in English.

↑ ↓ to move · Enter to open · Esc to close

Hours Calculator

Enter each day’s clock times and unpaid break as they appear on your time card – overnight shifts included, blank days skipped. Pick US, UAE, Saudi or Ramadan rules to see the hours beyond the legal limits, and add an hourly rate to turn the total into pay.

Quick answer: Hours worked = end time − start time − unpaid break. 9:00 AM to 5:30 PM with a 30-minute break is 8 hours, so a Monday-to-Friday week is 40 hours – $800.00 at $20 an hour.

Updated · Free · No sign-up

Hours Calculator inputs

min
min
min
min
min
min
min
$

Result

Total time worked

40 h

40 decimal hours over 5 days

Hours (h:mm)
40:00
Decimal hours
40
Average per day
8 h
Pay at $20.00/h
$800.00

Time card

DayStartEndBreakHoursPay
Monday9:00 AM5:30 PM30 min8:00 (8)$160.00
Tuesday9:00 AM5:30 PM30 min8:00 (8)$160.00
Wednesday9:00 AM5:30 PM30 min8:00 (8)$160.00
Thursday9:00 AM5:30 PM30 min8:00 (8)$160.00
Friday9:00 AM5:30 PM30 min8:00 (8)$160.00

What counts as hours worked

A time card records when you started and finished, but pay and overtime depend on working time: the span between clocking in and out, less any break during which you were free of duties. That last part is where the three rule sets on this page differ.

  • United States. Under the Fair Labor Standards Act, short rest breaks of about 5–20 minutes are paid working time (29 CFR 785.18). A meal period of normally 30 minutes or more is unpaid only if you are completely relieved of duty – eating at your desk while answering calls is work (29 CFR 785.19).
  • UAE. Article 17 of Federal Decree-Law No. 33 of 2021 sets normal hours at 8 a day or 48 a week, and you may not work more than 5 consecutive hours without breaks totalling at least 1 hour, which are not counted as working time.
  • Saudi Arabia. Article 98 of the Labor Law sets the same 8-hour day or 48-hour week. Article 101 requires a break of at least 30 minutes after 5 consecutive hours and limits the time you spend at the workplace to 12 hours a day; Article 102 keeps rest, prayer and meal breaks out of working hours.

Hours that day = (end − start, + 24 h if the shift passes midnight) − unpaid break · Decimal hours = minutes ÷ 60 · Pay = decimal hours × rate

Three time cards, worked through

A 45-hour week in the US at $22 an hour

Five days of 8:00 AM to 5:30 PM with a 30-minute unpaid lunch are 9 hours each, so the card totals 45 hours. Straight time would be $990.00, but the FLSA pays the 5 hours past 40 at time and a half: 40 × $22 + 5 × $33 = $1,045.00. The calculator shows both lines when you pick US rules.

A six-day week in Dubai

Monday to Saturday, 8:00 to 18:00 with a 1-hour lunch, gives 9 hours a day and 54 hours a week. That is 6 hours beyond both 8 a day and 48 a week, and each day stays within the 2-hour overtime cap of Article 19. Those 6 hours are paid on the basic wage: on AED 6,000 basic the basic hourly wage is 6,000 ÷ 30 ÷ 8 = AED 25, an overtime hour is AED 31.25, and the week’s overtime is AED 187.50 (our overtime calculator prices it). Cut the lunch to 30 minutes and the total rises to 57 hours – and every day is flagged, because a shift that long needs breaks of at least an hour in total.

12-hour shifts in Riyadh

Five days of 7:00 to 19:30 with a 30-minute break are 12 hours each, 60 hours in all. Article 98 lets the employer measure normal hours by the day or by the week, and the answer changes: on the daily standard, 4 hours a day are overtime – 20 hours; on the weekly standard, only the 12 hours past 48. The calculator shows both. It also flags each day, because 12.5 hours on site, break included, is past the 12-hour ceiling of Article 101.

Limits compared

RuleUS (federal)UAESaudi Arabia
Normal hours40 a workweek, no daily limit8 a day or 48 a week8 a day or 48 a week
Ramadan–2 hours less a day6 a day, 36 a week (Muslim workers)
Breaks5–20 min paid; meals of 30 min+ unpaid1 hour in total after 5 hours, unpaid30 min after 5 hours, unpaid
Daily ceilingNone federally2 overtime hours a day12 hours at the workplace
Overtime pay1.5 × regular rateBasic hourly wage + 25% (+50% 10 pm–4 am)Hourly wage + 50% of the basic hourly wage

Minutes convert to decimals as 15 = 0.25, 20 = 0.33, 30 = 0.50, 40 = 0.67 and 45 = 0.75. Use those, not the clock digits, when you key hours into payroll.

What changes your total

  • Overnight shifts. A 22:00 start and 07:00 finish is one 9-hour span, not a negative number. Six such nights with a 1-hour break are exactly 48 hours – within the UAE limit, though Article 19’s higher night rate applies only to overtime between 10 pm and 4 am, not to normal night shifts.
  • Ramadan. Five days of 9:00 to 16:30 with a 30-minute break are 35 hours: inside the Saudi 36-hour week but 1 hour a day past the 6-hour day. In the UAE, the Executive Regulations (Article 15) cut normal hours by 2 a day, so an 8-hour day becomes 6.
  • State law in the US. Some states go further than the FLSA – California, for example, pays overtime after 8 hours in a day. Pick US rules for the federal weekly figure and check your state.
  • Exempt roles. In Saudi Arabia, Article 108 takes senior management and some other categories out of the daily and weekly limits; in the US, salaried exempt staff are not owed overtime.
  • Rounding. If your employer rounds clock times to the nearest quarter hour, round each start and end before entering them, or your total will not match the pay slip.

Common mistakes

  • Writing 8 h 30 min as 8.30 instead of 8.50 – the most common payroll error.
  • Deducting paid rest breaks, or a lunch you worked through.
  • Treating the US 40-hour line as overtime in Dubai or Riyadh, where the threshold is 8 a day or 48 a week.
  • Splitting a night shift at midnight and losing part of it.
  • Pricing Gulf overtime on the full salary: the UAE premium uses the basic wage, and Saudi law pays the full hourly wage plus 50% of the basic.

When to get help

If your recorded hours or overtime don’t match your pay, raise it with HR first and keep your own weekly card as evidence. In the UAE you can then file a complaint with MOHRE (600 590 000); in Saudi Arabia, with the Ministry of Human Resources and Social Development; in the US, with the Department of Labor’s Wage and Hour Division (1-866-487-9243).

For general information, based on the FLSA, UAE Federal Decree-Law No. 33 of 2021 and the Saudi Labor Law as of November 2026. Your contract, sector and any exemptions can change the result.

Frequently asked questions

How do I calculate hours worked in a day?

Subtract the start time from the end time, then take off the unpaid break. 8:15 AM to 5:45 PM is 9 h 30 min on site; minus a 45-minute lunch that is 8 h 45 min, or 8.75 decimal hours.

How do I count an overnight shift?

Enter the real clock times, such as 22:00 to 07:00 – when the end is earlier than the start, the shift is treated as finishing the next morning. With a 1-hour break that night is 8 hours, and six such nights make 48 hours.

How do I convert hours and minutes to decimal for payroll?

Divide the minutes by 60: 7 h 45 min is 7.75 hours, 8 h 20 min is 8.33. Typing 7.45 for 7 h 45 min pays 18 minutes too little – $6.00 a day at $20 an hour.

Should I deduct my lunch break?

Deduct only breaks you are not paid for. In the US, rest breaks of about 5–20 minutes count as work and a meal break of 30 minutes or more with no duties does not (29 CFR 785.18–785.19); UAE and Saudi law both exclude rest breaks from working hours.

What are the legal working hours in the UAE and Saudi Arabia?

Both set normal hours at 8 a day or 48 a week (UAE Decree-Law 33/2021 Art. 17; Saudi Labor Law Art. 98). A six-day week of 8:00 to 18:00 with a 1-hour break is 54 hours – 6 hours beyond the limit, which are overtime.

How many overtime hours are allowed in a day in the UAE?

Article 19 caps overtime at 2 hours a day, so 10 hours of work is the usual daily ceiling. On AED 6,000 basic, each overtime hour pays at least AED 31.25, so 6 hours add AED 187.50.

What are working hours during Ramadan?

UAE private-sector hours are cut by 2 hours a day, and in Saudi Arabia Muslim workers may work at most 6 hours a day or 36 a week. Five days of 9:00 to 16:30 with a 30-minute break is 35 hours – within 36 a week, but 1 hour beyond 6 every day.

How is weekly pay with overtime worked out in the US?

Hours over 40 in a workweek earn 1.5 × the regular rate under the FLSA. A 45-hour week at $22 is 40 × $22 + 5 × $33 = $1,045.00, not the $990.00 straight-time total.

What changed

  • – Page fully reviewed: the calculator now checks US, UAE, Saudi and Ramadan limits – hours beyond the daily and weekly maximum, short breaks and over-long days – and shows US pay with time and a half.
  • – UAE Federal Decree-Law No. 33 of 2021 took effect, keeping normal hours at 8 a day or 48 a week and capping overtime at 2 hours a day.

Sources

Last reviewed: · Reviewed by Chelsea, CalcBright's animated guide, for the CalcBright editorial team · How we check our numbers