The payroll factor is a fraction, the numerator of which is the total amount paid in this state during the tax period by the taxpayer for compensation, and the denominator of which is the total compensation paid everywhere during the tax period.
NMS § 7-4-14