{
  "id": "salary-to-hourly",
  "version": "2aae5f029625",
  "status": "published",
  "name": "Salary to Hourly Calculator",
  "question": "Salary to hourly: what is my pay?",
  "summary": "Converts a yearly salary to an hourly rate from the hours worked a week and the paid weeks a year, and back.",
  "category": "finance",
  "subcategory": "tax-and-pay",
  "url": "https://www.acalculator.org/finance/salary-to-hourly-calculator",
  "markdown": "https://www.acalculator.org/finance/salary-to-hourly-calculator.md",
  "kind": "formulas",
  "method": "salary = hourly × hours × weeks, with hours paid a week and weeks paid a year (52 when every week is paid).",
  "assumptions": [
    "Pay is gross: before tax and other deductions.",
    "Every paid hour earns the same rate. Overtime at a higher rate is not included.",
    "Paid time off counts as paid weeks; only unpaid weeks off lower the weeks a year.",
    "Per month is the salary ÷ 12, every two weeks is ÷ 26, and per week is ÷ 52."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "salary": {
        "title": "Yearly salary",
        "description": "Gross pay for a year, before tax.",
        "type": "number",
        "x-unit": "USD",
        "exclusiveMinimum": 0,
        "maximum": 1000000000
      },
      "hourly": {
        "title": "Hourly pay",
        "description": "Gross pay for one hour of work, before tax.",
        "type": "number",
        "x-unit": "USD",
        "exclusiveMinimum": 0,
        "maximum": 1000000
      },
      "hours": {
        "title": "Hours a week",
        "description": "The hours you are paid for in a week. A full-time week is often 40.",
        "type": "number",
        "exclusiveMinimum": 0,
        "maximum": 168
      },
      "weeks": {
        "title": "Paid weeks a year",
        "description": "The weeks you are paid for in a year: 52, less any unpaid weeks off.",
        "type": "number",
        "exclusiveMinimum": 0,
        "maximum": 53
      }
    }
  },
  "solve": {
    "fillAny": 3,
    "variables": [
      "salary",
      "hourly",
      "hours",
      "weeks"
    ],
    "inputsOnly": []
  },
  "outputs": {
    "salary": {
      "label": "Yearly salary",
      "description": "Gross pay for a year, before tax.",
      "format": "money"
    },
    "hourly": {
      "label": "Hourly pay",
      "description": "Gross pay for one hour of work, before tax.",
      "format": "money"
    },
    "hours": {
      "label": "Hours a week",
      "description": "The hours you are paid for in a week. A full-time week is often 40.",
      "format": "number"
    },
    "weeks": {
      "label": "Paid weeks a year",
      "description": "The weeks you are paid for in a year: 52, less any unpaid weeks off.",
      "format": "number"
    },
    "monthly": {
      "label": "Per month",
      "description": "The yearly salary divided by 12.",
      "format": "money"
    },
    "biweekly": {
      "label": "Every two weeks",
      "description": "The yearly salary divided by 26 pay periods.",
      "format": "money"
    },
    "weekly": {
      "label": "Per week",
      "description": "The yearly salary divided by 52 weeks.",
      "format": "money"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "salary": 60000,
      "hours": 40,
      "weeks": 52
    },
    "outputs": {
      "hourly": 28.846153846153847,
      "monthly": 5000,
      "biweekly": 2307.6923076923076,
      "weekly": 1153.8461538461538
    },
    "text": "A salary of $60,000.00 a year for 40 hours a week over 52 weeks is $28.85 an hour."
  },
  "examples": [
    {
      "given": {
        "salary": 75000,
        "hours": 37.5,
        "weeks": 52
      },
      "expect": {
        "hourly": 38.46153846153846,
        "monthly": 6250,
        "biweekly": 2884.6153846153848,
        "weekly": 1442.3076923076924
      },
      "source": "hand calculation in content.mdx: 75,000 ÷ (37.5 × 52) = 75,000 ÷ 1,950 = 38.46"
    },
    {
      "given": {
        "salary": 18200,
        "hours": 35,
        "weeks": 52
      },
      "expect": {
        "hourly": 10,
        "weekly": 350
      },
      "source": "29 CFR 778.113(a): a $350 weekly salary for a 35-hour week is a $10 regular rate; $350 × 52 = $18,200 a year"
    },
    {
      "given": {
        "salary": 89033,
        "hours": 40,
        "weeks": 52.175
      },
      "expect": {
        "hourly": 42.66
      },
      "source": "OPM, Computing Hourly Rates of Pay Using the 2,087-Hour Divisor: $89,033 ÷ 2,087 = $42.66 (rounded to the cent, hence the tolerance); 2,087 ÷ 40 = 52.175 weeks",
      "tolerance": 0.0002
    },
    {
      "given": {
        "salary": 50000,
        "hours": 40,
        "weeks": 50
      },
      "expect": {
        "hourly": 25
      },
      "source": "hand calculation in content.mdx: two unpaid weeks: 50,000 ÷ (40 × 50) = 25"
    },
    {
      "given": {
        "salary": 60000,
        "hourly": 30,
        "weeks": 50
      },
      "expect": {
        "hours": 40
      },
      "source": "hand calculation in content.mdx: 60,000 ÷ (30 × 50) = 40 hours a week"
    }
  ],
  "sources": [
    "29 CFR 778.113, Salaried employees: a salary is reduced to its workweek equivalent and divided by the hours it is meant to pay for ($350 for 35 hours is $10 an hour). https://www.law.cornell.edu/cfr/text/29/778.113",
    "U.S. Office of Personnel Management, Computing Hourly Rates of Pay Using the 2,087-Hour Divisor ($89,033 ÷ 2,087 = $42.66). https://www.opm.gov/policy-data-oversight/pay-leave/pay-administration/fact-sheets/computing-hourly-rates-of-pay-using-the-2087-hour-divisor/"
  ],
  "related": [
    "hourly-to-salary",
    "salary",
    "annual-income"
  ],
  "changelog": []
}
