How to Calculate Hours Worked Times Hourly Rate

Hourly Wage Calculator

Hourly Pay Calculator

Calculate your total gross pay based on hours worked and hourly rate.

Overtime (Optional)

Time and a half (1.5x) Double time (2.0x) Regular Rate (1.0x)

Paycheck Estimate

Regular Pay: $0.00
Overtime Pay: $0.00
Total Gross Pay: $0.00

*Calculated based on 0 total decimal hours.

function calculateWage() { // Get inputs var rate = parseFloat(document.getElementById('hourlyRate').value); var hours = parseFloat(document.getElementById('hoursWorked').value) || 0; var minutes = parseFloat(document.getElementById('minutesWorked').value) || 0; var otHours = parseFloat(document.getElementById('overtimeHours').value) || 0; var otMultiplier = parseFloat(document.getElementById('overtimeRate').value); // Validation if (isNaN(rate) || rate < 0) { alert("Please enter a valid hourly rate."); return; } // Convert regular minutes to decimal hours var decimalMinutes = minutes / 60; var totalRegularHours = hours + decimalMinutes; // Calculations var regularPay = totalRegularHours * rate; var overtimePay = otHours * (rate * otMultiplier); var totalPay = regularPay + overtimePay; var totalHoursWorked = totalRegularHours + otHours; // Display Results document.getElementById('displayRegular').innerText = "$" + regularPay.toFixed(2); document.getElementById('displayOvertime').innerText = "$" + overtimePay.toFixed(2); document.getElementById('displayTotal').innerText = "$" + totalPay.toFixed(2); document.getElementById('displayTotalHours').innerText = totalHoursWorked.toFixed(2); document.getElementById('wageResult').style.display = "block"; }

How to Calculate Hours Worked Times Hourly Rate

Calculating your gross pay is an essential skill for verifying your paycheck, estimating freelance income, or managing payroll. While the basic concept is simple—multiplying time by money—the math can become slightly complex when dealing with partial hours (minutes) and overtime rates.

The Basic Formula

The fundamental formula for calculating gross wages is:

Gross Pay = (Hours Worked × Hourly Rate)

For example, if you work 40 hours at a rate of $20.00 per hour, your calculation is 40 × 20 = $800.00.

How to Handle Minutes (Decimal Conversion)

Time clocks often record minutes, but calculators require decimal numbers. You cannot simply multiply "8 hours and 30 minutes" as 8.30. You must convert the minutes into a decimal fraction of an hour.

To convert minutes to decimals, divide the minutes by 60:

  • 15 minutes: 15 ÷ 60 = 0.25 hours
  • 30 minutes: 30 ÷ 60 = 0.50 hours
  • 45 minutes: 45 ÷ 60 = 0.75 hours

Example: If you worked 8 hours and 15 minutes at $20/hr:

  1. Convert time: 8 + (15/60) = 8.25 hours.
  2. Calculate pay: 8.25 × $20 = $165.00.

Calculating Overtime Pay

In many regions, hours worked over a specific threshold (usually 40 hours per week) are paid at a higher rate, commonly referred to as "time and a half" (1.5x).

To calculate overtime:

  1. Determine your regular hours (e.g., first 40 hours).
  2. Determine your overtime hours (total hours minus 40).
  3. Multiply regular hours by your standard rate.
  4. Multiply overtime hours by your rate × 1.5.
  5. Add both totals together.

Using the calculator above ensures you don't make common arithmetic errors when combining regular pay, minute conversions, and overtime multipliers.

Leave a Comment