If you are paid monthly, divide your yearly hourly rate by the number of months in the year, which comes out to 12. If you receive payment twice a month, divide the total number of hours worked by 24.