The federal rule: over 40 in a workweek
Multiply your regular rate by 1.5 for every hour over 40 in the workweek. At $18 an hour, each overtime hour pays $27. Hours up to 40 are paid at the regular rate. The federal law, the Fair Labor Standards Act (FLSA), only counts hours over 40 in a workweek. It does not require overtime for working over 8 hours in a day, nor for weekends or holidays.
The Department of Labor says the Act applies on a workweek basis and averaging hours over two or more weeks is not permitted. A 50-hour week followed by a 30-hour week still earns 10 overtime hours.
Your regular rate with more than one pay rate
If you were paid two different rates in the same week, your regular rate is your total straight-time earnings for the week divided by all hours worked. Overtime is then half that rate on top of the straight time already paid for each overtime hour.
California's Labor Commissioner uses a weighted average. Its example: 32 hours at $11 and 10 hours at $9 is $442 divided by 42 hours, or $10.52.
California: daily overtime
California requires overtime after 8 hours in a workday. Hours over 8 up to and including 12 are paid at 1.5 times the regular rate, and hours over 12 at 2 times (double time).
California: the seventh-day rule
If you work all seven days of the workweek, the first 8 hours on the seventh day are paid at 1.5 times, and any hours over 8 that day at 2 times.
Daily and weekly overtime do not stack
An hour is paid at one overtime rate only. Hours already paid as daily overtime are not counted again toward the 40-hour weekly limit, so weekly overtime applies only to the regular hours over 40.
What these rules do not cover
Employees on an approved alternative workweek schedule, such as four 10-hour days, and some industries under their own wage orders follow different rules. Some employees are exempt from overtime altogether. If you are unsure whether you are covered, ask your employer or the labor agency in your state.