Calculating piece rates

Piece rate is calculated with this formula:

pieceRateTotal = (60 * pieceRate * WorkDetailQuantity * htypeMultiple) / WorkDetailMinutes

Therefore, if the employee works 100 pieces in 600 minutes with $1 per piece at REG, then rate = 60 * 1 * 100 * 1 / 600 = $10 per hour.